Commit Graph

836 Commits

Author SHA1 Message Date
Alessandro
482b618f49 initial implementation of edge toolbar 2025-10-09 16:00:06 +02:00
Ze-Zheng Wu
fe2a45ed2a fix(edges): add type property to EdgeProps 2025-10-01 18:21:14 +08:00
peterkogo
0c1ad4c861 Memoize NodeWrapper and EdgeWrapper 2025-10-01 11:33:34 +02:00
github-actions[bot]
78ce574ebe chore(packages): bump 2025-09-19 13:56:44 +00:00
github-actions[bot]
dee8ab53e6 chore(packages): bump 2025-09-17 09:26:11 +00:00
moklick
1d3a1b573e chore(react): add TSDoc default for elevateEdgesOnSelect 2025-09-17 11:24:40 +02:00
peterkogo
d329702df9 skip force rendering nodes that have handles defined 2025-09-08 16:48:02 +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
Moritz Klack
cf4a3692c8 Merge pull request #5480 from xyflow/fix-connection-pinch
Fix connection pinch
2025-08-26 18:35:58 +02:00
peterkogo
1c218d27f1 make getIntersectingNodes and isNodeIntersecting behave the same 2025-08-26 13:06:15 +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
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
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
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
Paula Stachova
c502f27f86 Export MiniMapNode 2025-08-11 15:10:09 +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
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
moklick
340fc9279e chore(types): omit defaultValue from Node and Edge type for Svelte Flow 2025-07-29 13:42:52 +02:00
Alessandro
8cb54fbf46 tighter check 2025-07-29 12:45:34 +02:00
Alessandro
24dc140431 Merge remote-tracking branch 'origin/main' into arrow-heads-fallback-color 2025-07-29 12:24:35 +02:00
Shlomo Galle
0c6f66ae67 chores(types): omit defaultValue from Node domAttributes #5418 2025-07-29 00:19:31 +03:00
Alessandro
85c6266a0e Style Arrow Heads Edge Markers with CSS Variables 2025-07-28 13:27:21 +02:00
moklick
7ff0733726 chore(types): less strict marker type #5411 2025-07-28 10:43:28 +02:00
github-actions[bot]
97d34ac398 chore(packages): bump 2025-07-11 07:41:54 +00:00
Moritz Klack
9f4f57ca2a Merge pull request #5376 from kennyjwilli/bendposition
feat(smoothstep-edge): add bendPosition parameter to control bend location
2025-07-10 11:32:06 +02:00
moklick
772f53a27d chore(step-edge): rename bendPosition to stepPosition 2025-07-09 14:45:52 +02:00
Moritz Klack
1c3d99bb33 Merge pull request #5390 from xyflow/update-marker-documentation
docs(edges): update marker documentation to include formatting info
2025-07-09 12:08:34 +02:00
moklick
025385ca4e fix(get-node-intersections): calculate overlapping area correctly #5382 2025-07-09 10:04:38 +02:00
Abbey Yacoe
49d543d62b docs(edges): update marker documentation to include formatting information 2025-07-08 16:15:35 +02:00
Ze-Zheng Wu
ab05d008d9 fix(react): also respect custom default edge type in fallback logic 2025-07-05 19:31:55 +08:00
Ze-Zheng Wu
18514e118f fix(react): respect custom default node type when falling back from unknown node type 2025-07-05 18:11:27 +08:00
Kenny Williams
eaea14c617 feat(smoothstep-edge): add bendPosition to getSmoothStepPath 2025-07-02 20:12:00 -07:00
github-actions[bot]
32dab77767 chore(packages): bump 2025-06-27 19:12:14 +00:00
github-actions[bot]
bce175f5f0 chore(packages): bump 2025-06-27 07:43:39 +00:00