Commit Graph
162 Commits
Author SHA1 Message Date
Braks e57f22c185 fix(core): correct pane pointer evt handlers (#1505) 2024-07-01 09:44:55 +02:00
Braks a52ac6e90e fix(core): remove v-memo from edge renderer (#1506)
* fix(core): remove v-memo from edge renderer

* chore(changeset): add
2024-07-01 09:44:55 +02:00
braks 4effbb0008 refactor(core): use pointer evts in pane and prevent cancel of selection 2024-07-01 09:44:55 +02:00
Braks 4fe1a7b541 refactor(core): add overloads to useVueFlow (#1481)
* refactor(core): add overloads to `useVueFlow`

* chore(changeset): add

* chore(core): cleanup
2024-06-18 12:29:29 +02:00
Braks d658c1d357 refactor(core): replace arr reduce methods (#1467)
* refactor(core): replace arr reduce methods

* chore(core): cleanup
2024-06-13 00:04:51 +02:00
braks 19df6ca57a fix(core): event type 2024-06-13 00:04:51 +02:00
Braks ed2e5744fd fix(core): hide graph until initial fitview is done (#1459)
* fix(core): hide graph until initial fitview is done

* chore(changeset): add

* fix(core): wait for fit view to finish
2024-06-13 00:04:51 +02:00
braks 40f2421dc9 chore(core): add missing container class name 2024-06-06 10:45:38 +02:00
braks 25bb585220 chore(core): cleanup 2024-06-06 10:45:38 +02:00
braks faf67c2b55 fix(core): use computed edge ref 2024-06-06 10:45:38 +02:00
Braks 876b71dc19 refactor(core): use node/edge id as only dependency for nodes/edges list (#1447)
* refactor(core): use node id to (re-)render nodes

* refactor(core): use edge id to (re-)render nodes

* chore(changeset): add

* chore(core): cleanup

* chore(core): cast cmp as any
2024-06-06 10:45:38 +02:00
Braks 1b5e14a5b8 fix(core): disable zoom on mobile when zoomToPinch is false (#1449)
* fix(core): disable zoom on mobile when zoomToPinch is false

* chore(changeset): add
2024-06-06 10:45:38 +02:00
braks cc0b8b69a3 refactor(core): remove hidden check from getNodes & getEdges 2024-06-06 10:45:38 +02:00
braks ea45545835 refactor(core): use all nodes in node renderer 2024-06-06 10:45:38 +02:00
braks 5d3f87fd56 refactor(core): use vue-flow__marker on marker defs el 2024-06-06 10:45:38 +02:00
braks 8a8c8f50bf feat(core): add missing styles warning 2024-05-28 19:18:23 +02:00
braks 7f51faee45 fix(core): allow wheel to bubble if not used by vf 2024-05-12 18:15:07 +02:00
braks b0f1bf0b85 fix(core): add options to useKeyPress 2024-04-29 20:56:09 +02:00
braks ffb649ecbd fix(core): allow pinch-zoom if preventScrolling is disabled 2024-04-29 20:56:09 +02:00
braks f858d13909 refactor(core): remove reactivity transform 2024-03-24 13:31:22 +01:00
braks e5a84656ad refactor(core): replace vueuse imports with vue 2024-02-21 23:27:01 +01:00
braks ffdea45af4 refactor(core): use useNodesInitialized to emit nodesInitialized 2024-02-15 17:46:21 +01:00
braks cc9f4fb244 refactor(core): pass renderers to viewport cmp as slots 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 557a679e89 chore(core): cleanup vueflow cmp 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 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 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 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 ce229e547f refactor(core,viewport): suspens transformation pane 2024-01-29 21:56:44 +01:00
braks 9e51070144 fix(core,viewport): watch shouldPanOnScroll & shouldPanOnDrag 2024-01-21 17:02:19 +01:00
braks e7fb6813cd fix(core,viewport): allow panning on scroll when selection is active 2024-01-21 14:35:35 +01:00
braks 458b5d42ba fix(core): remove ts-transform-paths and use relative paths 2023-12-12 23:36:33 +01:00
braks cc89e995fb fix(core): respect zoom key when hovering nopan elements 2023-11-09 14:19:51 +01:00
braks 6162389cc2 revert(core): cleanup imports from vueuse/core that exist in vue
This reverts commit 7cc798ad
2023-11-08 16:22:15 +01:00
braks 7cc798adae chore(core): cleanup imports from vueuse/core that exist in vue 2023-11-08 08:27:12 +01:00
braks 28b66a3d66 chore(core): add comments 2023-11-08 08:27:12 +01:00
braks 70ae0749b7 chore(core): cleanup slots 2023-11-08 08:27:12 +01:00
braks ffceea93a8 fix(core): allow pan on drag when pan key is activated 2023-10-30 20:30:56 +01:00
braks 88cfd402ed perf(core): cleanup computed vars 2023-10-30 13:36:07 +01:00
braks 049b1da0c6 fix(core): allow panning when panKey is pressed 2023-10-30 13:36:07 +01:00
braks 2a407f59e3 refactor(core): add stub for addEventListener in useWindow 2023-10-30 13:36:07 +01:00
braks 15c3fd5dd7 fix(core): use correct filter for panOnScroll class 2023-10-30 13:36:07 +01:00
braks c32c0df4fa chore(core): use define slots 2023-10-30 13:36:07 +01:00
braks b0ffe42007 chore(core): update d3 type deps 2023-10-07 11:39:48 +02:00
braks 93f0802257 fix(core): queue node dimensions update to nextTick 2023-10-06 18:00:01 +02:00
braks 8716a6e6b8 fix(core): disable panning when panOnDrag is false 2023-10-06 18:00:01 +02:00