Interface NodeRemovedParams

Payload for a node removed event in the model

interface NodeRemovedParams {
    edges: Edge[];
    node: Node;
    parentGroup?: Group;
    parentGroupIsBeingRemoved: boolean;
}

Properties

edges: Edge[]

List of edges that are being removed as a result of this node's removal.

node: Node

Node that was removed

parentGroup?: Group

If the node was a member of some other group, that group is provided here

parentGroupIsBeingRemoved: boolean

Indicates that the node is being removed because some parent group is being removed and is forcing removal of its children.

Version :