Commit Graph
100 Commits
Author SHA1 Message Date
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
braks e0a48f0552 chore(core): cleanup transform cmp 2024-01-29 21:56:44 +01:00
braks 5e8001f7b0 chore(core,viewport): cleanup viewport helper 2024-01-29 21:56:44 +01:00
braks 2259b2ab9e refactor(core)!: remove experimental flag 2024-01-29 21:56:44 +01:00
braks 3977875d0b refactor(core): trigger fitViewOnInit together with paneReady 2024-01-29 21:56:44 +01:00
braks a5091b9b0c refactor(core,viewport): use useResizeHandler composable 2024-01-29 21:56:44 +01:00
braks b65f43c5d8 refactor(core): remove suspension 2024-01-29 21:56:44 +01:00
braks 1eefc8860e chore(docs): cleanup 2024-01-29 21:56:44 +01:00
braks 8a888a9194 tests: use transform matrix to confirm node positions 2024-01-29 21:56:44 +01:00
braks 3d362cb2d3 chore(changeset): add 2024-01-29 21:56:44 +01:00
braks ccaae216f8 fix(controls): set full width on control btn svgs 2024-01-29 21:56:44 +01:00
braks 1caaf364e7 chore(changeset): add 2024-01-29 21:56:44 +01:00
braks 5d2427ec2e chore(docs): cleanup intro 2024-01-29 21:56:44 +01:00
braks e427e21c28 chore(core): cleanup 2024-01-29 21:56:44 +01:00
braks ce229e547f refactor(core,viewport): suspens transformation pane 2024-01-29 21:56:44 +01:00
braks abe6006a09 refactor(core): emit pane ready after timeout of 1ms 2024-01-29 21:56:44 +01:00
braks 308cff5f45 refactor(core): add fitViewOnInitDone to state 2024-01-29 21:56:44 +01:00
Git Cliff 0faa483835 chore: update CHANGELOG.md 2024-01-25 08:00:04 +00:00
braks be9e58092a chore(core): cleanup condition 2024-01-25 08:57:52 +01:00
braks 390073e4d2 chore(changeset): add 2024-01-25 08:57:52 +01:00
braks 2b82098fab fix(core,key-press): check if key or code exists before matching 2024-01-25 08:57:52 +01:00