Commit Graph
100 Commits
Author SHA1 Message Date
braks dc8faecd8c chore(docs): cleanup layouting example 2024-02-07 22:42:42 +01:00
braks a99c620b18 chore(docs): reorder menu items 2024-02-07 22:29:40 +01:00
braks 75355b04e7 feat(docs): add animation edge to layouting example 2024-02-07 22:29:40 +01:00
braks 43a1c9d2ac examples: animation edge 2024-02-07 22:29:40 +01:00
braks f9e4d84297 chore(docs): update layout example styles 2024-02-06 23:58:02 +01:00
braks 291095110a chore(docs): set LR as default in layouting example 2024-02-06 18:39:17 +01:00
braks abf5c3d0ce chore(docs): cleanup styles 2024-02-06 13:13:54 +01:00
braks 7bd29964a8 docs: add run process to layouting example 2024-02-06 13:10:58 +01:00
braks 0ae75025b6 examples: add example for running a process tree 2024-02-06 13:03:49 +01:00
braks 6dd95145b1 fix(docs): move node from edges array 2024-02-06 01:13:42 +01:00
braks 96b93e30e3 refactor(tests): use connection line tester cmp 2024-02-05 13:13:22 +01:00
braks 9837e0d34f refactor(tests): use composable tester cmp 2024-02-05 13:13:22 +01:00
braks 30f158cac7 chore(docs): update validation example text 2024-02-05 09:20:35 +01:00
Git Cliff 7c1cf13e54 chore: update CHANGELOG.md 2024-02-05 06:59:09 +00:00
braks 05c4677002 chore(docs): correct link 2024-02-05 07:51:12 +01:00
braks 308338fa79 refactor(core): remove exports from barrel files 2024-02-05 07:51:12 +01:00
braks 259514a229 refactor(core): cast zIndex to ref 2024-02-05 07:51:12 +01:00
braks cc9f4fb244 refactor(core): pass renderers to viewport cmp as slots 2024-02-05 07:51:12 +01:00
braks daff22f3cf chore(core): deprecate some node props 2024-02-05 07:51:12 +01:00
braks 3220e20c0e docs: add dagre layout example 2024-02-05 07:51:12 +01:00
braks 0bfb5f4046 docs: add troubleshooting page 2024-02-05 07:51:12 +01:00
braks 83848f4aa4 chore(changeset): add 2024-02-05 07:51:12 +01:00
braks f36fa770c2 feat(core,error): add error args to err 2024-02-05 07:51:12 +01:00
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
braks 3e9840a351 chore(changeset): add 2024-02-05 07:51:12 +01:00
braks 72cc175142 refactor(core): omit events when calling toObject 2024-02-05 07:51:12 +01:00
braks f09b7d934b refactor(core): move fitViewOnInit to node dimensions update 2024-02-05 07:51:12 +01:00
braks 97f4a17f83 refactor(core): remove unnecessary keys 2024-02-05 07:51:12 +01:00
braks 662c5fd998 chore(changeset): add 2024-02-05 07:51:12 +01:00
braks 7672672309 chore(changeset): add 2024-02-05 07:51:12 +01:00
braks 84c2f6df99 refactor(core): find handle by id regardless of num of handles 2024-02-05 07:51:12 +01:00
braks 0941e609dd chore(core): cleanup 2024-02-05 07:51:12 +01:00
braks 3f5519da4d chore(changeset): add 2024-02-05 07:51:12 +01:00
braks 064cfd84b3 feat(core,composables): add useHandleConnections composable 2024-02-05 07:51:12 +01:00
braks a9bd82d28a chore(core): cleanup 2024-02-05 07:51:12 +01:00
braks aab31f8296 refactor(core,composables): remove error from useNodeId 2024-02-05 07:51:12 +01:00
braks d001d802b5 refactor(core,viewport): replace watchEffect with onMounted/onBeforeUnmount 2024-02-05 07:51:12 +01:00
braks 1ed6dbe0d9 chore(changeset): add 2024-02-05 07:51:12 +01:00
braks 00a1f9d484 feat(core): add useNodeId composable 2024-02-05 07:51:12 +01:00
braks ab568b1913 chore(docs): update vueflow config docs 2024-02-03 18:07:46 +01:00
braks da8f82a60b fix(docs): set opacity on intro until el are set 2024-02-03 12:20:51 +01:00
braks 1c54e39c3a fix(docs): import pinia example 2024-02-02 10:21:12 +01:00
braks 4b4bcdccbb docs: update basic example 2024-02-01 13:33:04 +01:00
Git Cliff c1ef412bc4 chore: update CHANGELOG.md 2024-01-30 08:00:06 +00:00
braks 05e17d7951 chore(changeset): add 2024-01-30 08:56:46 +01:00
braks b7cc917a09 fix(core,utils): check if values are numeric in isRect 2024-01-30 08:56:46 +01:00
Git Cliff 9f76a775e3 chore: update CHANGELOG.md 2024-01-29 20:59:03 +00:00
braks b04cc29a6c chore(docs,deps): add vercel speed insights 2024-01-29 21:56:44 +01:00
braks a79d100b25 chore(docs,deps): update deps 2024-01-29 21:56:44 +01:00
braks 64a2091ddb chore(docs): update head 2024-01-29 21:56:44 +01:00
braks e24f436fc5 chore(core): cleanup type issues 2024-01-29 21:56:44 +01:00