Commit Graph

239 Commits

Author SHA1 Message Date
Moritz Klack
7680cef3d8 Merge pull request #5594 from xyflow/enhance/connection-snapping
Enhance/connection snapping
2025-10-30 21:19:38 +01:00
peterkogo
07fbc7e34a also postpone starting selection when clicking on a node 2025-10-30 15:19:40 +01:00
peterkogo
11aa29b587 always pass current pointer position to connection 2025-10-29 12:11:05 +01:00
peterkogo
1f43ccc3ab fix onSelectionEnd behavior 2025-10-27 15:53:06 +01:00
peterkogo
fa7bf16ce3 allow paneClick events to happen more leniantly 2025-10-27 15:35:03 +01:00
Alessandro
6c7de33513 Add node id to MiniMapNodeProps and MiniMapNode in Svelte Flow. 2025-10-23 11:04:26 +02:00
Moritz Klack
1afd83717a Merge pull request #5544 from xyflow/edge-toolbar
Add EdgeToolbar Component
2025-10-20 13:02:57 +02:00
moklick
cb22c4541b chore(edge-toolbar): cleanup 2025-10-20 12:48:09 +02:00
peterkogo
353a497e71 fix selectOnDrag for Svelte Flow 2025-10-16 12:09:06 +02:00
Alessandro
0fbc99e529 remove example 2025-10-14 12:46:47 +02:00
Alessandro
a67f2992b1 Update getInternalNodesBounds and examples 2025-10-14 11:33:10 +02:00
Alessandro
3204173b2c add svelte version 2025-10-13 16:10:47 +02:00
Moritz Klack
dd11b2f958 Merge pull request #5528 from xyflow/resizer-update-keep-aspect
NodeResizer: Make parameters dynamic
2025-10-01 11:22:35 +02:00
peterkogo
1f118ad404 implemented resize direction for svelte 2025-09-29 18:52:57 +02:00
peterkogo
8f934d7793 switch keep aspect on shortcut 2025-09-29 18:02:18 +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
086b28e3a0 add hide/unhide buttons to example 2025-09-02 11:45:08 +02:00
Alessandro
f2bbdba33a Fix open arrow marker using fill color from edge instead of none 2025-08-18 12:44:49 +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
moklick
9c0d88ca34 chore(svelte): add detached handle example 2025-08-12 13:36:33 +02:00
Alessandro
d060c3fa87 Adjust SvelteFlow and allow for null to use CSS variable 2025-08-11 13:59:38 +02:00
Alessandro
8cb54fbf46 tighter check 2025-07-29 12:45:34 +02:00
Alessandro
0a0d171daa update examples 2025-07-28 16:05:20 +02:00
Alessandro
85c6266a0e Style Arrow Heads Edge Markers with CSS Variables 2025-07-28 13:27:21 +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
a7abcc0517 test(edges): zindex in sub flows 2025-06-26 12:12:13 +02:00
moklick
53d13aca01 chore(examples): use connectionDragThreshold 2025-06-16 21:23:25 +02:00
peterkogo
5e33ac3e8b fix useNodeConnections callback not firing if connections.current not used 2025-06-12 15:50:14 +02:00
peterkogo
33b7a47dd7 fix linting and linting errors. remove unused svelte prop 2025-06-11 15:30:28 +02:00
moklick
19cd285458 chore(autoFocus): rename to autoPanOnNodeFocus 2025-06-05 19:37:14 +02:00
Abbey Yacoe
6693c7300e feat: create enablePanOnFocus prop, update onFocus func 2025-06-05 12:22:06 +02:00
moklick
406c09aeff chore(a11y): cleanup config keys 2025-06-03 22:08:04 +02:00
Abbey Yacoe
13b64afbaf chore: rename LabelConfig -> AriaLabelConfig, update dict names 2025-06-03 15:42:57 +02:00
moklick
6543ddc31c chore(labelconfig): cleanup 2025-06-03 13:36:16 +02:00
Moritz Klack
220cb7f8a3 Merge branch 'main' into a11y 2025-06-03 12:54:44 +02:00
Abbey Yacoe
b310586dfb fix: revert addition of as prop 2025-05-22 16:31:50 +02:00
Abbey Yacoe
1fb7a5c98a chore(a11y): add ariaLiveMessage to label config 2025-05-22 15:58:31 +02:00
Abbey Yacoe
21e25d698c feat(node): add as property to allow custom HTML elements 2025-05-22 15:04:20 +02:00
Abbey Yacoe
74929f09bc chore(controls): add custom aria labels 2025-05-22 12:36:36 +02:00
Abbey Yacoe
3c421d5f02 chore(Minimap): add custom aria label for SF and RF 2025-05-22 12:16:37 +02:00
Abbey Yacoe
48c5467851 chore(a11y): merge labelConfig with defaults 2025-05-22 11:38:02 +02:00
Abbey Yacoe
6081f687bf chore(a11y): add custom control labels Svelte 2025-05-21 16:56:35 +02:00
Abbey Yacoe
91ecfe73cc chore(a11y): pass LabelConfig values through store SvelteFlow 2025-05-21 14:03:50 +02:00
Abbey Yacoe
ee8709b5fb chore: update LabelConfig name, add to store, create a11y example 2025-05-20 17:20:46 +02:00
Abbey Yacoe
07265ed277 chore(a11y): rename props, fix linting error 2025-05-20 14:40:28 +02:00
moklick
ce9814ddce feat(viewport-options): add interpolate 2025-05-19 15:19:11 +02:00
Abbey Yacoe
36f1d94ca7 chore(a11y): pass a11y descriptions in svelte 2025-05-19 15:16:19 +02:00
moklick
9691d2c070 feat(viewport-options): add ease #3189 2025-05-19 13:14:27 +02:00
peterkogo
301239c35c make $derived not required when using useSvelteFlow 2025-05-14 10:20:09 +02:00