fix(core): add initialized prop to GraphNode

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-14 12:44:36 +01:00
committed by Braks
parent 00a9795a41
commit 8734a16ae6
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -92,6 +92,7 @@ export const parseNode = (node: Node, nodeExtent: CoordinateExtent, defaults?: P
selected: false,
dragging: false,
resizing: false,
initialized: false,
...defaults,
data: isDef(node.data) ? node.data : {},
events: markRaw(isDef(node.events) ? node.events : {}),