feat(flow): Add option to disable default change handlers globally

* overwrites applyDefault setting for useEdgeState/useNodeState/useElementsState
* export apply change handlers

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent 423f6aa78d
commit e2e094b987
6 changed files with 19 additions and 5 deletions
+1
View File
@@ -119,6 +119,7 @@ export interface FlowProps<N = any, E = N> {
edgeUpdaterRadius?: number
storageKey?: string
fitViewOnInit?: boolean
applyDefault?: boolean
}
export type FlowOptions<N = any, E = N> = FlowProps<N, E>