OnBeforeDelete
The OnBeforeDelete type is the signature of the function you pass to the
onBeforeDelete prop. It receives the nodes and edges about to be deleted and
returns (a promise of) false to cancel the deletion, true to allow it, or a
filtered set of elements to delete a subset.
Fields
Parameters:| Name | Type | Default |
|---|---|---|
__0 | { nodes: NodeType[]; edges: EdgeType[]; } |