Commit Graph

5690 Commits

Author SHA1 Message Date
4t145
2daa4aa2cf fix: export BuiltInEdge type 2025-07-30 16:41:30 +08:00
Moritz Klack
bb5bf60e5d Merge pull request #5399 from Amr-Shams/main
feat(examples): sync dropdown with current example on refresh
2025-07-29 13:49:04 +02:00
Moritz Klack
d808fc0d66 Merge pull request #5420 from ShlomoGalle/chore/fix-node-domattributes-type
chore(types): omit defaultValue from Node domAttributes to fix Redux typing issue #5418
2025-07-29 13:45:38 +02:00
moklick
340fc9279e chore(types): omit defaultValue from Node and Edge type for Svelte Flow 2025-07-29 13:42:52 +02:00
Shlomo Galle
0c6f66ae67 chores(types): omit defaultValue from Node domAttributes #5418 2025-07-29 00:19:31 +03:00
Shlomo Galle
c453ee3f74 chore(changeset): add 2025-07-29 00:19:24 +03:00
Moritz Klack
fb0702ca6a Merge pull request #5415 from xyflow/chore/marker-types
chore(types): less strict marker type #5411
2025-07-28 10:52:36 +02:00
moklick
6838df9d67 chore(changeset): add 2025-07-28 10:44:35 +02:00
moklick
7ff0733726 chore(types): less strict marker type #5411 2025-07-28 10:43:28 +02:00
Amr-Shams
fb9684802a feat(examples): sync dropdown with current example on refresh
The dropdown now correctly reflects the current example after a page refresh. This is achieved by parsing the example name from the URL and setting the dropdown's initial state accordingly. Also, an  has been added to the dropdown for improved accessibility.
2025-07-16 19:01:27 +03:00
Moritz Klack
e625e1dffc Merge pull request #5386 from xyflow/changeset-release/main
Release packages
2025-07-11 09:46:47 +02:00
github-actions[bot]
97d34ac398 chore(packages): bump 2025-07-11 07:41:54 +00:00
Moritz Klack
16851c570d Merge pull request #5321 from dylanmiddendorf/bug-fix-node-positions
Fix bug where non-child node positions aren't clamped
2025-07-11 09:40:43 +02:00
moklick
953663f0e5 Merge branch 'main' of github.com:xyflow/xyflow 2025-07-11 09:11:43 +02:00
moklick
1a4c6c3ec8 chore(system): handle type annotations 2025-07-11 09:11:40 +02: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
f0ce2c876d chore(changeset): add 2025-07-10 11:31:54 +02:00
moklick
a60d77ce17 chore(edge-routing): use builtintedge type 2025-07-10 07:46:27 +02:00
Kenny Williams
630b2385e2 fix(step-edge): always center align label 2025-07-09 18:08:01 -07:00
Dylan Middendorf
cff8b00094 Merge branch 'main' into bug-fix-node-positions 2025-07-09 14:37:26 -04: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
Moritz Klack
c91c48c9a7 Merge pull request #5394 from xyflow/fix/get-node-intersections
`getNodeIntersections`: calculate overlapping area correctly
2025-07-09 12:04:15 +02:00
moklick
21db22d46a chore(changeset): add 2025-07-09 12:02:49 +02:00
moklick
025385ca4e fix(get-node-intersections): calculate overlapping area correctly #5382 2025-07-09 10:04:38 +02:00
Abbey Yacoe
7f64356534 docs(svelte): update marker documentation on svelte 2025-07-09 10:04:30 +02:00
Abbey Yacoe
49d543d62b docs(edges): update marker documentation to include formatting information 2025-07-08 16:15:35 +02:00
Moritz Klack
79a9b0da9a Merge pull request #5384 from Sec-ant/fix/unknown-node-type-fallback
fix(react): respect custom default node/edge type when falling back from unknown type
2025-07-07 09:14:55 +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
680f6e8b2d chore: change component name for clarity 2025-07-05 18:23:33 +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
Moritz Klack
549ec62d6d Merge pull request #5371 from xyflow/changeset-release/main
Release packages
2025-06-27 21:19:47 +02:00
github-actions[bot]
32dab77767 chore(packages): bump 2025-06-27 19:12:14 +00:00
Moritz Klack
1777b82390 Merge pull request #5370 from xyflow/fix/xyhandle-end-events
Fix/xyhandle end events
2025-06-27 21:11:04 +02:00
moklick
26f2cdd720 chore(changeset): add 2025-06-27 21:09:58 +02:00
moklick
4a3af6da2f fix(xyhandle): only fire end events when connection started #5315 2025-06-27 21:09:02 +02:00
Moritz Klack
ef90e2cb1a Merge pull request #5363 from xyflow/changeset-release/main
Release packages
2025-06-27 10:26:37 +02:00
github-actions[bot]
bce175f5f0 chore(packages): bump 2025-06-27 07:43:39 +00:00
moklick
832c72c393 chore(changesets): update 2025-06-27 09:42:24 +02:00
moklick
915691f35c chore(changesets): update 2025-06-27 09:38:28 +02:00
Moritz Klack
3485ee69d9 Merge pull request #5368 from xyflow/chore/store-updater
chore(store-updater): cleanup
2025-06-26 15:05:44 +02:00
moklick
445017ed6f chore(changesets): add 2025-06-26 15:04:25 +02:00
moklick
237d2d83c8 chore(store-updater): cleanup 2025-06-26 15:03:27 +02:00
moklick
8244828882 chore(changesets): update 2025-06-26 14:48:41 +02:00
Moritz Klack
0a853e11d3 Merge pull request #5361 from xyflow/fix/edge-elevation
Fix/edge elevation
2025-06-26 14:36:44 +02:00
moklick
90e9247adb chore(changeset): add 2025-06-26 12:19:43 +02:00
moklick
a7abcc0517 test(edges): zindex in sub flows 2025-06-26 12:12:13 +02:00
Moritz Klack
67c576dc29 Merge pull request #5344 from xyflow/feat/connection-drag-threshold
Add connectionDragThreshold
2025-06-25 16:40:49 +02:00
peterkogo
323f07dd01 revert some default behaviour from getElevatedZINdex 2025-06-25 15:43:01 +02:00