feat(general): add defaultNodes, defaultEdges and defaultEdgeOptions

This commit is contained in:
moklick
2022-01-18 13:05:41 +01:00
parent 660ec00be5
commit 634b592b3a
14 changed files with 364 additions and 60 deletions
+1
View File
@@ -13,6 +13,7 @@ const initialState: ReactFlowStore = {
edges: [],
onNodesChange: null,
onEdgesChange: null,
isControlled: false,
selectedNodesBbox: { x: 0, y: 0, width: 0, height: 0 },
d3Zoom: null,
d3Selection: null,