Commit Graph

249 Commits

Author SHA1 Message Date
Alessandro
482b618f49 initial implementation of edge toolbar 2025-10-09 16:00:06 +02:00
Moritz Klack
4c2a303057 Merge pull request #5530 from xyflow/memoize-wrappers
Memoize wrappers
2025-10-01 11:48:09 +02:00
peterkogo
0c1ad4c861 Memoize NodeWrapper and EdgeWrapper 2025-10-01 11:33:34 +02:00
peterkogo
f29593072c let resizer params be updated dynamically 2025-09-30 10:40:57 +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
295884fea9 chore(handle): cleanup 2025-08-12 13:16:56 +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
Karlo Bistrički
940b42de89 add DetachedHandle example 2025-07-31 16:18:45 +02:00
Alessandro
d6e5135c7c make it more visible 2025-07-28 16:30:53 +02:00
Alessandro
0a0d171daa update examples 2025-07-28 16:05:20 +02:00
Alessandro
a4fc108bbb react test 2025-07-28 13:35:30 +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
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
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
moklick
772f53a27d chore(step-edge): rename bendPosition to stepPosition 2025-07-09 14:45:52 +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
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
moklick
49e8c9329a feat(svelte): add autoScale for node resizer 2025-06-11 10:48:49 +02:00
moklick
ec3ef27c90 chore(resizer): cleanup and add scaleControls 2025-06-11 09:59:49 +02:00
Abbey Yacoe
f0ecdeeda5 fix(a11y): remove outdated ariaRoleDescription field 2025-06-10 12:36:58 +02:00
Moritz Klack
a522c481dc Merge branch 'main' into feat/nodes-html-attributes 2025-06-10 10:13:55 +02:00
moklick
19cd285458 chore(autoFocus): rename to autoPanOnNodeFocus 2025-06-05 19:37:14 +02:00
moklick
d434f0cde7 chore(nodewrapper): cleanup 2025-06-05 16:28:02 +02:00
moklick
09458f52ff feat(nodes-edges): add domAttributes 2025-06-05 15:41:44 +02:00
Abbey Yacoe
6693c7300e feat: create enablePanOnFocus prop, update onFocus func 2025-06-05 12:22:06 +02:00
Abbey Yacoe
343ed4364b chore: update a11y example for testing 2025-06-04 12:08:11 +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
3858d3b08b chore(a11y): add controls to LabelConfig 2025-05-21 16:50:48 +02:00
Abbey Yacoe
54fc3c0717 chore(a11y): pass labelConfig state through store updater 2025-05-21 12:21:59 +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