moklick
b00eff979a
Merge branch 'next' into absolute-origin
2024-06-27 17:03:58 +02:00
moklick
aa0e131162
refactor(react): init store with user nodeOrigin
2024-06-27 17:01:01 +02:00
moklick
15241b4fd0
fix(react): use correct dimensions for ssr
2024-06-27 17:00:44 +02:00
moklick
7375e81a49
fix(svelte): handle nodeOrigin prop
2024-06-27 16:58:48 +02:00
moklick
609f7ed792
refactor(positions): remove unused node origins
2024-06-27 15:03:35 +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
38de98b6b7
removed console.log
2024-06-26 18:13:38 +02:00
peterkogo
25dfeb1c02
dont invoke connection updates if the snapped handle stays the same
2024-06-26 18:12:56 +02:00
peterkogo
1a51428bd4
turns out default values for object parameters don't work as expected
2024-06-26 17:24:36 +02:00
moklick
41ebe46d77
Merge branch 'enhance-connection-more' of github.com:xyflow/xyflow into enhance-connection-more
2024-06-26 17:24:15 +02:00
peterkogo
8f12fde9eb
Fixed NodeResizer for non-default node origins
2024-06-26 17:23:57 +02:00
moklick
25ff17a161
chore(useConnection): update tsdoc
2024-06-26 17:23:52 +02:00
Moritz Klack and GitHub
805a20336c
Merge branch 'next' into enhance-connection-more
2024-06-26 17:01:20 +02:00
Moritz Klack and GitHub
2fa017de7a
Merge pull request #4395 from xyflow/enhance-connection
...
Enhance connection
2024-06-26 17:00:00 +02:00
moklick
e179324264
chore(connection-line): variable name
2024-06-26 16:59:38 +02:00
moklick
08750d354f
chore(utils): remove logs
2024-06-26 15:45:05 +02:00
moklick
f968ff42ca
chore(react): node origin cleanup
2024-06-26 15:26:22 +02:00
peterkogo
5493f045ff
streamlined connections
2024-06-26 15:03:12 +02:00
moklick
c444eb380b
chore(react-minimap): remove unused origin values
2024-06-26 13:44:21 +02:00
moklick
ef14ba025c
fix(svelte): use absolute position instead of origin position
2024-06-26 13:43:32 +02:00
moklick
a8c9b93fe7
chore(examples): cleanup
2024-06-26 13:42:45 +02:00
moklick
eed8856536
chore(xyresizer): cleanup
2024-06-25 16:50:40 +02:00
moklick
6f14f92f8c
chore(examples): cleanup
2024-06-25 16:47:09 +02:00
moklick
e22c1b9391
chore(node-resizer): update
2024-06-25 12:13:34 +02:00
peterkogo
44254648c8
changed naming and streamlined connections
2024-06-24 16:37:11 +02:00
moklick
1a25a7da48
fix(store): calc handle pos
2024-06-24 14:38:45 +02:00
moklick
8ad1797f98
Merge branch 'next' into absolute-origin
2024-06-24 13:00:58 +02:00
moklick
5e96fa08ed
chore(tsconfig): update moduleResolution
2024-06-24 12:57:52 +02:00
Moritz Klack and GitHub
67e29b6c25
Merge branch 'next' into absolute-origin
2024-06-24 12:57:24 +02:00
peterkogo
bedd05663e
fix tsconfig error
2024-06-24 12:17:00 +02:00
moklick
71db83761c
fix(react): window bug
2024-06-20 15:53:35 +02:00
moklick
7338eab8c9
chore(react): bump
2024-06-20 15:47:51 +02:00
moklick
aac0e9d0ff
chore(react): changelog
2024-06-20 15:47:36 +02:00
moklick
6704e51d2a
fix(react): check if window exists
2024-06-20 15:47:01 +02:00
Moritz Klack and GitHub
b2b4d5121d
Merge pull request #4383 from xyflow/next
...
React Flow 12.0.0-next.22 and Svelte Flow 0.1.7
2024-06-20 13:45:18 +02:00
moklick
d0e166d4a8
chore(packages): bump
2024-06-20 13:40:36 +02:00
moklick
b18d3d1c53
chore(pnpm-lock): update
2024-06-20 13:37:45 +02:00
peterkogo
7c8c40a0d5
fixed tests
2024-06-20 13:03:09 +02:00
moklick
8346b79a9d
chore(libs): changelogs
2024-06-20 10:32:59 +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
moklick
3b48228437
chore(changelogs): update
2024-06-19 17:16:41 +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
moklick
6660427089
chore(svelte): changelog
2024-06-19 17:09:41 +02:00
Moritz Klack and GitHub
2691f0366d
Merge pull request #4380 from xyflow/svelte-fix-shift-scroll
...
Svelte: Only prevent shift scrolling when selection is actually in progress
2024-06-19 17:08:12 +02:00
moklick
45359c4861
chore(libs): changelogs
2024-06-19 17:07:31 +02:00
Peter Kogo and GitHub
86438a954f
Better selection usability ( #4379 )
...
* use pointer capture for selection boxes
* fixed selection box behaviour
* promoted modifier listeners to window level
* selection should still happen when shift key is let go during selection
* ported changes to svelte flow
* review changes
2024-06-19 17:05:04 +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
26456b3f0f
only prevent shift scrolling when selection is actually in progress
2024-06-19 13:23:20 +02:00