Commit Graph
3370 Commits
Author SHA1 Message Date
braks aaf106938f fix(core): avoid adding invalid edges (like null or undefined) 2024-02-05 07:51:12 +01:00
braks 04658b2c0d fix(core): avoid options passed to useVueFlow overwriting default state 2024-02-05 07:51:12 +01:00
braks 3c288e643b chore(changeset): add 2024-02-05 07:51:12 +01:00
braks 983971f576 fix(core): use existing node/edge obj for assignment 2024-02-05 07:51:12 +01:00
braks cc20329be9 chore(changeset): update 2024-02-05 07:51:12 +01:00
braks cedb1f51e7 chore(core): cleanup EdgeWrapper 2024-02-05 07:51:12 +01:00
braks 0544fbdb6a refactor(core): call fitViewOnInit when node dimensions are initially set 2024-02-05 07:51:12 +01:00
braks 24c2091c7a chore(docs): cleanup examples 2024-02-05 07:51:12 +01:00
braks 034885062c chore(docs): update multi example 2024-02-05 07:51:12 +01:00
braks d732597065 chore(docs): update intersection example 2024-02-05 07:51:12 +01:00
braks 11f92f4a4a chore(docs): update interaction example 2024-02-05 07:51:12 +01:00
braks 02057b6c6c chore(docs): remove horizontal example 2024-02-05 07:51:12 +01:00
braks 8ce3e03ce9 chore(docs): update hidden example 2024-02-05 07:51:12 +01:00
braks f5b3d83731 chore(docs): remove empty example 2024-02-05 07:51:12 +01:00
braks 14f3abef1a chore(docs): update edges example 2024-02-05 07:51:12 +01:00
braks 88beaeca2b chore(docs): update drag and drop example 2024-02-05 07:51:12 +01:00
braks be57e51685 chore(docs): cleanup connection radius example 2024-02-05 07:51:12 +01:00
braks 27f54fd561 chore(docs): cleanup connection line example 2024-02-05 07:51:12 +01:00
braks 3c8182ead1 chore(docs): cleanup basic example and expand comments 2024-02-05 07:51:12 +01:00
braks 2637733aa9 chore(docs): update custom node example 2024-02-05 07:51:12 +01:00
braks 10060064f2 chore(examples): add cdn example file 2024-02-05 07:51:12 +01:00
braks fc2f36b419 chore(docs): update custom node example 2024-02-05 07:51:12 +01:00
braks c381e6c11d chore(docs): add docs about new composables 2024-02-05 07:51:12 +01:00
braks 32700b12d3 refactor(docs): use wider styles for example pages 2024-02-05 07:51:12 +01:00
braks 6f33a3b50e refactor(docs): show repl import map and tsconfig opts 2024-02-05 07:51:12 +01:00
braks 2ca5bd82a4 chore(core,composables): update jsdocs 2024-02-05 07:51:12 +01:00
braks 6e162d5f02 chore(changeset): add 2024-02-05 07:51:12 +01:00
braks 584782bcc6 refactor(core): call nodes initialized whenever areNodesInitialized is true 2024-02-05 07:51:12 +01:00
braks 417a301b42 refactor(core): add missing viewport helper functions to actions 2024-02-05 07:51:12 +01:00
braks 7161e9ec90 refactor(core): allow null instead of undefined as id for useHandleConnections 2024-02-05 07:51:12 +01:00
braks f4fb4d8036 refactor(core,composables): allow passing MaybeRefOrGetter to useNodesData 2024-02-05 07:51:12 +01:00
braks 533e37e624 chore(core,composables): cleanup useNodesData types 2024-02-05 07:51:12 +01:00
braks 7f6ae2fbf8 tests: add tests for useNodesData 2024-02-05 07:51:12 +01:00
braks 1dff3a1764 chore(changeset): add 2024-02-05 07:51:12 +01:00
braks cecf9d4c3b feat(core,composables): add useNodesData composable 2024-02-05 07:51:12 +01:00
braks c443af6991 chore(changeset): add 2024-02-05 07:51:12 +01:00
braks 4bbc14b882 fix(core): update node dimensions on next tick 2024-02-05 07:51:12 +01:00
braks 4d8cd3c1a4 tests: add tests for updateNodeData & updateNode 2024-02-05 07:51:12 +01:00
braks eca0447d3b chore(core): cleanup 2024-02-05 07:51:12 +01:00
braks 0e03b16328 chore(changeset): add 2024-02-05 07:51:12 +01:00
braks fe1d801d5b feat(core): add updateNode & updateNodeData actions to store 2024-02-05 07:51:12 +01:00
braks c855dfe454 feat(core): add viewport helper to state 2024-02-05 07:51:12 +01:00
braks fbadf9427f chore(changeset): add 2024-02-05 07:51:12 +01:00
braks fd84025dd1 feat(core): add init hook 2024-02-05 07:51:12 +01:00
braks 557a679e89 chore(core): cleanup vueflow cmp 2024-02-05 07:51:12 +01:00
braks 5798cc5578 refactor(core): use useOnInitHandler to emit paneReady event 2024-02-05 07:51:12 +01:00
braks 9e72e725e8 chore(changeset): add 2024-02-05 07:51:12 +01:00
braks c4b4a04aa0 perf(core): replace Array.forEach loops 2024-02-05 07:51:12 +01:00
braks 66d7198a2f chore(changeset): add 2024-02-05 07:51:12 +01:00
braks 8db9b1a997 chore(core): deprecate event properties of nodes and edges 2024-02-05 07:51:12 +01:00