feat(core): add dragging, selected and resizing flag to GraphNode

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-13 15:49:20 +01:00
committed by Braks
parent 5033babdc2
commit 20c353a070
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -89,6 +89,9 @@ export const parseNode = (node: Node, nodeExtent: CoordinateExtent, defaults?: P
draggable: undefined,
selectable: undefined,
connectable: undefined,
selected: false,
dragging: false,
resizing: false,
...defaults,
data: isDef(node.data) ? node.data : {},
events: markRaw(isDef(node.events) ? node.events : {}),