Commit Graph
578 Commits
Author SHA1 Message Date
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
braks ad7d01305e fix(core): unselect edge if selected and multi-selection is active 2023-10-06 18:00:01 +02:00
braks 88882d0875 chore(core): cleanup markers 2023-10-06 18:00:01 +02:00
braks 7a013771f3 feat(core): add source and target node ids to edge remove changes 2023-10-06 18:00:01 +02:00
braks 505ecc4c21 fix(core): reset isPressed value when switching from boolean to other keyfilter 2023-08-21 17:44:20 +02:00
braks 65c3a05d84 chore(core): cleanup 2023-08-21 17:44:20 +02:00
braks f095917e97 fix(core): clear key on keyup so combinations work during simultaneous keypress 2023-08-21 17:44:20 +02:00
braks 0867637b50 fix(core): allow passing key combination as string 2023-08-21 17:44:20 +02:00
braks 2f66300f05 fix(core): better smoothstep edge label position 2023-08-21 17:44:20 +02:00
braks 86957a0c71 fix(core): horizontal scroll on windows 2023-08-21 17:44:20 +02:00
braks 67704e5a8f fix(core): use os specific key defaults 2023-08-21 17:44:20 +02:00
braks 8943ec762b fix(core): vertically or horizontally aligned nodes 2023-08-21 17:44:20 +02:00
braks 77ccc7ec86 chore(core): cleanup 2023-08-21 17:44:20 +02:00