SelectionRemovedEvent
since v0.8.0Event payload emitted when selected elements are deleted from the diagram.
This event fires when the user deletes nodes and edges using the delete key, or programmatically through the diagram service.
Properties
Section titled “Properties”deletedEdges
Section titled “deletedEdges”deletedEdges:
Edge<object>[]
Edges that were deleted from the diagram
deletedNodes
Section titled “deletedNodes”deletedNodes:
Node[]
Nodes that were deleted from the diagram
detachedEdges
Section titled “detachedEdges”detachedEdges:
Edge<object>[]
Edges that were detached into dangling edges instead of being deleted
(see danglingEdges.detachOnNodeDelete). The snapshots are taken after
the detach: the freed endpoints already have an empty source/target
and their anchor positions set. Empty when nothing was detached.
1.4.0