Skip to content

SelectionChangedEvent

Event payload emitted when the selection state changes in the diagram. This event fires when the user selects or deselects nodes and edges through clicking or programmatically using the NgDiagramSelectionService.

previousEdges: Edge<object>[]

Previously selected edges before the change


previousNodes: Node[]

Previously selected nodes before the change


selectedEdges: Edge<object>[]

Currently selected edges


selectedNodes: Node[]

Currently selected nodes