Commit Graph

651 Commits

Author SHA1 Message Date
Alessandro
0fbc99e529 remove example 2025-10-14 12:46:47 +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
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
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
f29593072c let resizer params be updated dynamically 2025-09-30 10:40:57 +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
peterkogo
d329702df9 skip force rendering nodes that have handles defined 2025-09-08 16:48:02 +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
moklick
295884fea9 chore(handle): cleanup 2025-08-12 13:16:56 +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
Karlo Bistrički
940b42de89 add DetachedHandle example 2025-07-31 16:18:45 +02:00
Alessandro
8cb54fbf46 tighter check 2025-07-29 12:45:34 +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
Alessandro
85c6266a0e Style Arrow Heads Edge Markers with CSS Variables 2025-07-28 13:27:21 +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
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
Moritz Klack
3d2205a781 Merge pull request #5327 from xyflow/fix/svelte-ssr-portals
Fix SSR and portals in Svelte Flow & update Astro Example
2025-06-11 13:29:14 +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
peterkogo
d1f8924b40 fix astro example, fix svelte SSR, fix portals 2025-06-10 20:44:14 +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