Braks
|
c28376950d
|
refactor(flow)!: make opts for useElementsState optional
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2021-12-20 19:29:52 +01:00 |
|
Braks
|
35165c3a98
|
refactor: make nodes/edges for useStates helpers optional
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2021-12-20 19:29:52 +01:00 |
|
Braks
|
a9e7eb31ea
|
feat(flow): Narrow options type for useNodesState/useEdgesState/useElementsState
* remove storageKey
* make modelValue optional
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2021-12-20 19:29:52 +01:00 |
|
Braks
|
4c7cf39e7b
|
refactor(flow): add options to useElementsState
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2021-12-20 19:29:52 +01:00 |
|
Braks
|
b12863f297
|
refactor(flow): lowercase event names (OnPaneLoad -> onPaneLoad)
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2021-12-20 19:29:52 +01:00 |
|
Braks
|
e2e094b987
|
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>
|
2021-12-20 19:29:52 +01:00 |
|
Braks
|
423f6aa78d
|
refactor(flow): remove separate apply changes function and add them to useNodesState useEdgesState
* immedatiely execute props watcher
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2021-12-20 19:29:52 +01:00 |
|
Braks
|
994dd9929c
|
feat(flow): export applychanges utilities separately
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2021-12-20 19:29:52 +01:00 |
|
Braks
|
39501d0bb0
|
refactor(flow): export useNodesState and useEdgesState separately from useVueFlow
* bind vueFlow instance to currentInstance when useVueFlow is called multiple times in a single setup call
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2021-12-20 19:29:52 +01:00 |
|