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
+1 -1
View File
@@ -114,7 +114,7 @@ export interface FlowProps<N = any, E = N> {
preventScrolling?: boolean
edgeUpdaterRadius?: number
storageKey?: string
loading?: string
fitViewOnInit?: boolean
}
export type FlowOptions<N = any, E = N> = FlowProps<N, E>