feat(svelte): add updateNodeInternals

This commit is contained in:
moklick
2023-09-14 19:31:15 +02:00
parent 89610ccd29
commit f919cb152d
8 changed files with 172 additions and 37 deletions
@@ -27,7 +27,6 @@ export function useSvelteFlow(): {
nodes: SvelteFlowStore['nodes'];
edges: SvelteFlowStore['edges'];
} {
// how to get the new context here? fit view doesn't work, because the store is not updated (uses old nodes store)
const {
zoomIn,
zoomOut,