Commit Graph

2041 Commits

Author SHA1 Message Date
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
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
4t145
2daa4aa2cf fix: export BuiltInEdge type 2025-07-30 16:41:30 +08: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
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
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