Skip to content

All Examples

94 working pages, grouped by topic. Most are ports of the official React Flow examples, so a React Flow user can open the same example on both sides; the rest show what Blow adds on top - typed ports, validation, runs, localization and more. Each card opens a self-contained page about one feature, and View code on that page shows its whole source.

Basics

Nodes

Edges

Handles & Connections

Interaction

Viewport & Layout

State & API

Workflow Runner A pipeline validated, then run step by step with each node's state shown on it.Node Catalog Node kinds defined once in a registry: a searchable catalog, drag to add, dynamic ports, deprecation and upgrade, validation and execution.Diagram Formats & Diff Mermaid, Graphviz DOT and GraphML export and import, and a diff of every change since a baseline that can be reverted.State Machine States and transitions drawn as a graph and driven by events, with routed edges and a self-loop.Use Flow API Drive the canvas from your own buttons through its imperative API: zoom, fit, read the viewport, add, look up and delete elements, snapshot.Provider A sidebar outside the canvas reads the graph and drives the flow - no provider needed.Save & Restore Save the flow as versioned JSON to local storage or a file, load it back with every problem reported, and exchange it with React Flow.Controlled vs Uncontrolled Compare controlled and uncontrolled node state.Multi setNodes Several changes to the nodes in one handler, drawn once; Refresh for changes made outside a render.setNodes Batching Add many nodes as one change - AddNodes with an array, or EditAsync - and compare the events and undo steps with adding them one by one.Use Nodes Data Nodes compute their value from the data of the nodes connected into them.Update Node Internals Re-measure a node after its handles change.Multi Flows Two independent canvases on one page, and a selection copied from one to the other.External Store Drive a flow from a shared external store.Diagnostics OnError reports a malformed graph instead of throwing on it.Graph Analysis Order, cycles, components, reachability, shortest paths, validation and search, run over a graph you edit and marked on it.Undo & Redo Snapshot-based history you drive from your own change events.Built-in Undo & Redo Let the canvas keep the undo stack and bind the shortcuts itself.Grouping & Transactions Group and ungroup the selection, reorder it, batch edits into one undo step and log every graph change.Copy & Paste Copy, cut, paste and duplicate a selection, groups and all.

Add-ons

An unhandled error has occurred. Reload 🗙