refactor(hooks)!: use selection change hook
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ export interface FlowEvents {
|
||||
move: FlowTransform | undefined
|
||||
moveStart: FlowTransform | undefined
|
||||
moveEnd: FlowTransform | undefined
|
||||
selectionChange: FlowElements | undefined
|
||||
selectionChange: { nodes?: GraphNode[]; edges?: GraphEdge[] }
|
||||
selectionDragStart: { event: MouseTouchEvent; nodes: GraphNode[] }
|
||||
selectionDrag: { event: MouseTouchEvent; nodes: GraphNode[] }
|
||||
selectionDragStop: { event: MouseTouchEvent; nodes: GraphNode[] }
|
||||
|
||||
Reference in New Issue
Block a user