Commit Graph

263 Commits

Author SHA1 Message Date
peterkogo
11aa29b587 always pass current pointer position to connection 2025-10-29 12:11:05 +01:00
peterkogo
f29adb8353 only prevent pointer events when starting selection box on top of node 2025-10-28 12:20:47 +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
peterkogo
f8c547d92f remove setPaneClickDistance from store and update it declaritively 2025-10-27 12:06:53 +01: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
Moritz Klack
83e40d50f4 Merge pull request #5550 from xyflow/feature/subflow-sort-order
Feature/subflow sort order
2025-10-17 19:17:37 +02:00
moklick
75aff8ef26 refactor(selection): make it possible to start a selection above a node #5342 2025-10-15 15:15:07 +02:00
peterkogo
3f98f91692 add rootNodeIndex to internals & implement sorting of group nodes 2025-10-15 14:08:05 +02:00
Alessandro Cheli
34c9b74914 Update examples/react/src/examples/CustomMiniMapNode/index.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-14 12:09:53 +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
Alessandro
bb9fe4f830 Correct positioning 2025-10-13 13:26:04 +02:00
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