Commit Graph
590 Commits
Author SHA1 Message Date
braks 277979f72c fix(core): use correct prop value when watcher triggers 2023-11-10 15:19:16 +01:00
braks ba0cf54fef refactor(core): keep connection line snapped to handle while hovering 2023-11-10 15:19:16 +01:00
braks cc89e995fb fix(core): respect zoom key when hovering nopan elements 2023-11-09 14:19:51 +01:00
braks 0c07bd4e2a fix(core): use node rect for intersection check 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 e4e3188b76 revert(core): wait for d3zoom before setting opts 2023-11-08 15:12:28 +01:00
braks 17e5966e4f revert(core): import toValue from vueuse/core to avoid ambiguous export 2023-11-08 15:12:28 +01:00
braks 45ce98558e chore(core): cleanup 2023-11-08 08:27:12 +01:00
braks c1603b2d58 feat(core): add nodes to isValidConnection args 2023-11-08 08:27:12 +01:00
braks 75cb0c9b1e chore(core): cleanup 2023-11-08 08:27:12 +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 196cafdf81 feat(core): add slots and emits type definition 2023-11-08 08:27:12 +01:00
braks c30ddc61ed fix(core): properly cleanup handlers when drag is disabled 2023-11-04 19:25:49 +01:00
braks 5bda311f8d fix(core): use existing node for intersection check 2023-11-04 19:25:49 +01:00
braks 07b37830b1 fix(core): do not wait for d3zoom to be available to set skipped opts 2023-11-04 19:25:49 +01:00
braks ac8dab30c7 fix(core): add immediate flag to prop watchers 2023-11-04 19:25:49 +01:00
braks ffceea93a8 fix(core): allow pan on drag when pan key is activated 2023-10-30 20:30:56 +01:00
braks 2ecd8def81 fix(core): push emit handlers into listeners set 2023-10-30 13:36:07 +01:00
braks 0bf12601df refactor(core): rename onError arg to triggerError 2023-10-30 13:36:07 +01:00
braks 7494817842 refactor(core): remove default event listener void fn 2023-10-30 13:36:07 +01:00
braks 7e7e0fb8cb refactor(core): allow adding edges with missing source or target nodes 2023-10-30 13:36:07 +01:00
braks 009e6faf0d chore(core): add comments 2023-10-30 13:36:07 +01:00
jayrchampandBraks 8651019eb6 fix(core): ensure events introduced by the watcher are released when no longer needed 2023-10-30 13:36:07 +01:00
braks 53be29de8a chore(core): cleanup 2023-10-30 13:36:07 +01:00
braks 88cfd402ed perf(core): cleanup computed vars 2023-10-30 13:36:07 +01:00
braks 3b175a553e refactor(core): remove primtive typeguards 2023-10-30 13:36:07 +01:00
braks 785f147236 perf(core): cleanup possible re-bindings of listeners in useKeyPress 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 11138a6d9a fix(core): create predicate for string key filters 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 03242dde9b feat(core): use nodes from state for getIntersectingNodes 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 ee45b4e560 fix(core): select nodes on drag when threshold is > 0 2023-10-30 13:36:07 +01:00
braks a32c81aaf3 refactor(core): add warning when viewport noop is triggered 2023-10-30 13:36:07 +01:00
braks c32c0df4fa chore(core): use define slots 2023-10-30 13:36:07 +01:00
braks e51c7e9c17 chore: update deps 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 c916284917 refactor(core): allow using expandParent with parent extent 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
braks e36980337b fix(core): respect pan on scroll class name 2023-10-06 18:00:01 +02:00
braks e71a2aa4ef feat(core): add nodeDragThreshold option 2023-10-06 18:00:01 +02:00
braks db894a5adb feat(core): add flowToScreenCoordinate & screenToFlowCoordinate to viewport actions 2023-10-06 18:00:01 +02:00
braks 29f3d2d5e1 feat(core): add areNodesInitialized getter 2023-10-06 18:00:01 +02:00
braks edc7669b18 feat(core): add getIncomers, getOutgoers & getConnectedEdges as store actions 2023-10-06 18:00:01 +02:00
braks 870bc4f74a chore(core): cleanup 2023-10-06 18:00:01 +02:00
braks ce1647ad1e feat(core): cleanup handle bounds from node when handle is unmounted 2023-10-06 18:00:01 +02:00
braks 3e446fab68 feat(core): allow passing a number as connectable prop 2023-10-06 18:00:01 +02:00