Commit Graph
30 Commits
Author SHA1 Message Date
moklick 2693a735f0 fix(handles): reconnect for connectionMode=loose #4459 2024-07-18 13:08:41 +02:00
moklick 6904b5bd49 refactor(useConnection): return internal node, add node generic 2024-07-10 11:58:49 +02:00
moklick 62ba38cea9 chore(autoPanSpeed): cleanup 2024-07-04 18:03:22 +02:00
peterkogo 3f259e9662 variable autoPanSpeed 2024-07-04 16:33:45 +02:00
peterkogo f1dd15384b removed console.log 2024-07-01 12:06:07 +02:00
peterkogo 4b1541d3a5 fix for connection snapping when connection radius overlaps 2024-07-01 12:01:30 +02:00
peterkogo 941898b97d fixed connectionLine not updating correctly on auto pan 2024-06-27 13:44:30 +02:00
moklick 6cc6960895 refactor(xyhandle): use center for to-xy, block updates only if valid 2024-06-27 12:33:54 +02:00
peterkogo 2b0f83b72e cleanup 2024-06-27 10:31:30 +02:00
peterkogo 25dfeb1c02 dont invoke connection updates if the snapped handle stays the same 2024-06-26 18:12:56 +02:00
peterkogo 5493f045ff streamlined connections 2024-06-26 15:03:12 +02:00
peterkogo 44254648c8 changed naming and streamlined connections 2024-06-24 16:37:11 +02:00
57b62f8d46 determine correct handle positions in for connections (#4384)
* determine correct handle positions in for connections

* refactor(handle-utils): cleanup

* refactor(handle-utils): cleanup

---------

Co-authored-by: moklick <info@moritzklack.com>
2024-06-20 10:28:50 +02:00
6cf0113005 Use correct end handle position when drawing a connection (#4382)
* use correct end handle position \when drawing connection lines

* provide correct connection end handle, also when connection is invalid

* add end handle position to connection despite being invalid

* chore(connectionline): remove logs

---------

Co-authored-by: moklick <info@moritzklack.com>
2024-06-19 17:15:07 +02:00
Moritz KlackandGitHub 75acd24cee Rename updateEdge to reconnectEdge (#4373)
* refactor(edges): rename update to reconnect

* refactor(react): rename edge update to reconnect

* chore(examples): repair broken reconnect example

* chore(react): changelog
2024-06-19 16:57:30 +02:00
peterkogo 835dec25ba resolved some requested changes 2024-04-10 14:47:49 +02:00
moklick 844d574c4f refactor(react): separate user nodes and indernal nodes 2024-03-27 11:22:43 +01:00
peterkogo e489df9808 added check to xyhandle pointermove if connection is cancelled 2024-03-13 14:26:27 +01:00
moklick 68ce560cf1 chore(handles): cleanup 2024-02-29 12:53:04 +01:00
peterkogo 83e0a333b0 fixed handle connections 2024-02-27 16:54:21 +01:00
moklick b8fc637091 refactor(svelte): use correct id for handle data-id attr 2024-01-25 11:42:03 +01:00
moklick bc69a6adb4 refactor(handles): prefix with flow id for handling nested flows #3196 2024-01-16 16:57:50 +01:00
moklick d4d773d9c6 feat(svelte): add useHandleConnections, useNodesData and useUpdateNodeData 2023-12-11 18:31:37 +01:00
moklick d812dbbe53 refactor(nodes): add computed attr for width/height and absolute position 2023-11-21 15:06:42 +01:00
Peter 66caa4c8ca chore(svelte) refactored connectionPath & connection 2023-09-27 13:40:03 +02:00
moklick 9dfec49ed5 chore(system): rename BaseNode/BaseEdge types to NodeBase/EdgeBase 2023-06-13 16:54:26 +02:00
moklick cefdfd4e70 chore(utils): cleanup 2023-06-12 12:14:57 +02:00
moklick 4707a07c8b refactor(react): improve performance by simplify edge renderer 2023-06-08 12:27:37 +02:00
moklick e0ccc0f980 feat(utils): vanilla interactive minimap 2023-06-05 17:32:40 +02:00
moklick 8354759f57 refactor(packages): change package structure 2023-06-05 15:40:18 +02:00