feat(store, flow)!: Add apply changes handlers

* flow will not update changes unless a handler to apply changes is passed
* a default handler is available in the useVueFlow composable
* removeElements export removed
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent f6007d026c
commit 81c8145f3a
19 changed files with 173 additions and 184 deletions
-2
View File
@@ -28,8 +28,6 @@ export const initialState = (): FlowState => ({
height: 0,
},
transform: [0, 0, 1],
selectedNodes: [],
selectedEdges: [],
d3Zoom: undefined,
d3Selection: undefined,