Svelte Flow 2.0 Released: A Major Update for Node-Based UIs and GraphsBrief · digest for November 25
Brief≈ 1 min

Svelte Flow 2.0 Released: A Major Update for Node-Based UIs and Graphs

If you're building a browser-based workflow editor, network map, or dependency graph, check out Svelte Flow 2.0. The xyflow team (creators of React Flow) shipped this first major update in 18 months on November 18, 2026.

The headline addition is the onnodeschange and onedgeschange interceptors. They run before the engine applies edits to the graph, making it easy to validate, modify, reject, or manually apply changes for undo/redo or backend sync.

Svelte 5 support is cleaner too. Instead of wrapping values in $derived, use* hooks now take a getter function like useNodesData(() => ({ nodeIds })) to preserve reactivity. The team kept the use prefix rather than get to distinguish hooks tied to context and reactive state.

In subflows, parent-child node order no longer matters, and a new changeParent helper moves nodes between groups while recalculating coordinates. Styles now live inside CSS @layer, themes adapt automatically to light and dark modes, and the signature example styling moved into xy-theme.css.

Since this is a breaking release, follow the official migration guide when upgrading from 1.x. Projects like Patchies, TangleGuard, and NetSandbox already use it in production.

Want a deep diveVotes help us choose what to break down in detail. This material has 0 votes.
Sources · 2