Commit Graph
625 Commits
Author SHA1 Message Date
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 KlackandGitHub 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 KlackandGitHub 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 KlackandGitHub 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 KlackandGitHub 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 KlackandGitHub 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 3858d3b08b chore(a11y): add controls to LabelConfig 2025-05-21 16:50:48 +02:00
Abbey Yacoe 91ecfe73cc chore(a11y): pass LabelConfig values through store SvelteFlow 2025-05-21 14:03:50 +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
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
Abbey Yacoe 9e4a9ae65d #5201 chore(A11yDescriptions): add static support for localization 2025-05-19 13:15:26 +02:00
moklick 9691d2c070 feat(viewport-options): add ease #3189 2025-05-19 13:14:27 +02:00
peterkogo b30a496bf4 merg main 2025-05-14 11:25:48 +02:00
peterkogo 301239c35c make $derived not required when using useSvelteFlow 2025-05-14 10:20:09 +02:00
peterkogo a05b6ad61e streamline onselectionchange 2025-05-13 15:44:44 +02:00
moklick b764875dec fix(react): call onNodesChange for uncontrolled flows that use updateNode #5062 2025-05-07 09:39:30 +02:00
peterkogo 47f9118296 implement onSelectionChanged 2025-04-30 20:32:06 +02:00