add onselectiondrag events

This commit is contained in:
peterkogo
2025-05-13 15:54:25 +02:00
parent e6aeff4acb
commit 17646123de
5 changed files with 30 additions and 2 deletions
@@ -47,6 +47,9 @@ export default function drag<NodeType extends Node = Node, EdgeType extends Edge
nodeDragThreshold: store.nodeDragThreshold,
unselectNodesAndEdges: store.unselectNodesAndEdges,
updateNodePositions: store.updateNodePositions,
onSelectionDrag: store.onselectiondrag,
onSelectionDragStart: store.onselectiondragstart,
onSelectionDragStop: store.onselectiondragstop,
panBy: store.panBy
};
}