moklick
295884fea9
chore(handle): cleanup
2025-08-12 13:16:56 +02:00
Karlo Bistrički
428f2e8fb9
Get clicked handle element from event.currentTarget
2025-07-31 15:55:11 +02:00
moklick
4a3af6da2f
fix(xyhandle): only fire end events when connection started #5315
2025-06-27 21:09:02 +02:00
moklick
7c5c14b2c5
feat(xyhandle): add dragThreshold #5315
2025-06-16 17:07:40 +02:00
peterkogo
2dd462ef5f
fix connection snapping
2025-05-15 13:37:48 +02:00
moklick
fb63462be3
chore(utils): tsdoc update
2025-02-11 15:18:41 +01:00
Dimitri POSTOLOV
b9c07dc211
fix lint command, bump eslint packages
2025-02-09 05:43:15 +07:00
CRIMX
b7b5032c02
fix(system): safe check all event target
2024-12-10 12:56:30 +08:00
peterkogo
30e83b7dd1
fixed reconnect with connectionMode=loose
2024-08-26 14:31:39 +02:00
peterkogo
8590f9dfea
added final connection state to onReconnectEnd
2024-08-15 12:52:40 +02:00
moklick
b1035e77b6
Merge branch 'handle-lookup' of github.com:xyflow/xyflow into handle-lookup
2024-08-14 16:31:06 +02:00
moklick
e0cfdc52cd
refactor(xyhandle): cleanup
2024-08-14 16:30:37 +02:00
Moritz Klack and GitHub
36f4511a6f
Merge branch 'main' into handle-lookup
2024-08-14 12:28:44 +02:00
moklick
aae62e9ec6
feat(onConnectEnd): pass connectionState
2024-08-14 11:17:34 +02:00
peterkogo
e3aa98b84e
connection snapping prioritizes opposite handle type instead of target
2024-08-14 09:50:06 +02:00
peterkogo
c3e7d61cb4
replaced handle lookup with ad-hoc way of searching for closest handles
2024-08-13 17:30:35 +02:00
peterkogo
39be7872f9
fixed connection snapping & updated internal easy-connect example
2024-08-06 10:55:28 +02:00
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 Klack and GitHub
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