Commit Graph

2056 Commits

Author SHA1 Message Date
peterkogo
521f76c241 revert setting measured automatically 2025-09-16 12:15:53 +02:00
peterkogo
d329702df9 skip force rendering nodes that have handles defined 2025-09-08 16:48:02 +02:00
Abbey Yacoe
24350a70e7 feat(Minimap): add nodeComponent prop 2025-09-04 11:23:25 +02:00
Peter Kogo
4783957dbf Merge pull request #5455 from Sec-ant/fix/check-visibility
fix: skip resize handler updates when DOM node is not visible
2025-09-02 11:52:31 +02:00
peterkogo
62fd1e0d9d correctly propagate style in Svelte Flow 2025-09-02 11:44:40 +02:00
peterkogo
99c67422a7 remove unnecessary check 2025-09-02 10:30:49 +02:00
Ze-Zheng Wu
2a35c65a02 fix: node selection instability by using client coordinates for drag threshold 2025-09-01 20:04:21 +08:00
Moritz Klack
cf4a3692c8 Merge pull request #5480 from xyflow/fix-connection-pinch
Fix connection pinch
2025-08-26 18:35:58 +02:00
Moritz Klack
12d9e4ace4 Refactor event type checks for xypanzoom filter 2025-08-26 18:31:27 +02:00
peterkogo
61bb5da528 allow wheel events when connection is being made 2025-08-26 16:52:38 +02:00
peterkogo
1c218d27f1 make getIntersectingNodes and isNodeIntersecting behave the same 2025-08-26 13:06:15 +02:00
peterkogo
61778080c7 prevent multitouch aborting connection 2025-08-26 11:21:07 +02:00
peterkogo
d7a3172a60 prevent pinch zooming while making a new conection 2025-08-25 19:12:33 +02:00
github-actions[bot]
64a4fc30e8 chore(packages): bump 2025-08-20 13:05:25 +00:00
moklick
761a8a0876 chore(types): remove dangerouslySetInnerHTML from domAttributes #5470 2025-08-20 15:02:29 +02:00
Moritz Klack
244e167d0a Merge pull request #5469 from xyflow/chore/coordinate-extent
Chore/coordinate extent
2025-08-19 16:06:52 +02:00
moklick
c451f99ab2 chore(extent): allow null #5458 2025-08-19 15:58:26 +02:00
Moritz Klack
442509694a Merge pull request #5468 from xyflow/svelte-fix-onbeforeconnect
Svelte fix onbeforeconnect
2025-08-19 15:57:35 +02:00
peterkogo
a00a6385b7 fix edge reconnection 2025-08-19 15:31:22 +02:00
peterkogo
1eba8d5a78 extend onBeforeConnect type to allow void & null & false 2025-08-19 15:14:39 +02:00
peterkogo
7df5d0cfb0 call ondelete anytime something is deleted 2025-08-19 14:53:57 +02:00
moklick
9d0e386373 chore(multi-drag): round node positions #5463 2025-08-19 09:53:04 +02:00
Alessandro
b4a8936009 restore attribute 2025-08-18 15:34:09 +02:00
Alessandro
f2bbdba33a Fix open arrow marker using fill color from edge instead of none 2025-08-18 12:44:49 +02:00
Ze-Zheng Wu
d2df1dced7 fix: skip resize handler updates when DOM node is not visible
Prevent unnecessary resize calculations and error messages for invisible elements by checking visibility before processing dimensions
2025-08-17 02:30:16 +08:00
github-actions[bot]
e8e7d11179 chore(packages): bump 2025-08-13 18:59:24 +00:00
moklick
6b2d1009a2 chore(xydrag): cleanup 2025-08-13 20:56:19 +02:00
moklick
a50cecca96 chore(multiselect): snap selection instead of single nodes #5389 2025-08-13 20:38:24 +02:00
moklick
6d842f17fb fix(autopan): fire onnodedrag while auto pan is ongoing #5355 2025-08-13 16:56:22 +02:00
moklick
c01d7560da chore(xyhandle): cleanup 2025-08-12 14:37:43 +02:00
moklick
4e588b2c23 fix(handle-on-connect): use correct HandleConnection type #5447 2025-08-12 14:36:06 +02:00
Moritz Klack
91e5e302d5 Merge pull request #5428 from Karl255/#5273-handle-click-target-fix
Allow detached handles
2025-08-12 14:18:20 +02:00
Moritz Klack
172c2db251 Merge pull request #5444 from paula-stacho/export-minimapnode
Export MiniMapNode
2025-08-12 13:52:38 +02:00
moklick
9aca483928 chore(changeset): add 2025-08-12 13:47:00 +02:00
moklick
295884fea9 chore(handle): cleanup 2025-08-12 13:16:56 +02:00
Moritz Klack
71e90ca0f4 Merge pull request #5443 from xyflow/fix/windows-scroll
chore(minimap): fix zooming on windows
2025-08-12 12:49:12 +02:00
moklick
9fa0779664 chore(minimap): use 1 as a default for zoom step 2025-08-12 12:44:49 +02:00
Alessandro
cab6883492 fix default svelte color 2025-08-11 15:33:56 +02:00
Paula Stachova
c502f27f86 Export MiniMapNode 2025-08-11 15:10:09 +02:00
moklick
e1c7022bbc chore(minimap): fix zooming on windows #5392 2025-08-11 14:17:04 +02:00
Alessandro
d060c3fa87 Adjust SvelteFlow and allow for null to use CSS variable 2025-08-11 13:59:38 +02:00
Alessandro
4c389117b7 allow null and correct behavior 2025-08-11 13:02:16 +02:00
Alessandro
d8808e09e6 Merge remote-tracking branch 'origin/main' into arrow-heads-fallback-color 2025-08-11 12:29:28 +02:00
moklick
195b4b4f76 chore(types): cleanup #5420 2025-08-07 07:32:22 +02:00
Moritz Klack
552ff4da4e Merge pull request #5436 from xyflow/fix/edge-interaction-width
Fix/edge interaction width
2025-08-07 07:28:06 +02:00
Moritz Klack
a0d36205c5 Merge pull request #5424 from 4t145/fix-export-builtin-edge-type
fix: export BuiltInEdge type for svelte
2025-08-07 07:27:28 +02:00
moklick
71dde07e93 fix(edges): don not add 0 to dom if interaction width is 0 #5426 2025-08-07 07:19:53 +02:00
Karlo Bistrički
bbdc67c858 fix EdgeUpdateAnchors 2025-07-31 16:23:44 +02:00
Karlo Bistrički
428f2e8fb9 Get clicked handle element from event.currentTarget 2025-07-31 15:55:11 +02:00
Campbell Wass
e8f860b5c4 Fix typo 2025-07-31 12:18:15 +10:00