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
Basic
The minimal flow: a few nodes and edges with pan, zoom and selection.Empty
An empty canvas built up at runtime, with OnNodesInitialized and NodesInitialized telling when new nodes are measured.Default Nodes
The built-in input, default, output and group node types, and restyling a type with CSS.Overview
A bigger graph combining node types, edge types and the add-ons, with a lock button that makes it read-only.Broken Nodes
How the canvas tolerates edges to missing or hidden nodes, missing handles and duplicate edge ids, and what OnError reports.
Nodes
Custom Node
A node rendered with a fully custom template and multiple handles.Default Node Overwrite
Replace the built-in default node with your own renderer.Drag Handle
Only a designated area of the node initiates dragging.Node Type Change
Switch a node's type at runtime.Update Node
Update a node's label, style, position and interaction flags from outside the canvas, and duplicate it with Clone.Stress
Many nodes and edges with only-render-visible virtualization.Hidden
Hide nodes and edges, and fit the view with or without the hidden nodes.Subflow
Nested nodes inside group containers (parent/child).Handle Positions
Move the built-in node handles for top-down or left-right flows.Node Extents
Constrain a node to a rectangle, its parent or the canvas's NodeExtent, or grow the parent to fit.Editable Node
Text inputs inside a node, with Backspace left to the field.
Edges
Edges
All six built-in edge path types side by side, with labelled, coloured, dashed, animated and arrow-headed variants.Edge Types
One edge of each of the six path types, and a picker for the type, animation and arrowhead of the edges you draw.Custom Edges
Custom edge templates built on BlowBaseEdge: colours from edge data, passed-on arrowheads and tinted labels.Edge Renderer
HTML edge labels with a delete button, kept at one size on the edge label layer.Default Edge Overwrite
Apply default options to every newly created edge.Floating Edges
Edges that attach to the facing point of each node's border, in any path type.Reconnect Edge
Drag an existing edge's end to a new handle, with the reconnect events and edges deleted when dropped on nothing.Edge Toolbar
A toolbar that appears on the selected edge.Edge Path Options
Tune curvature, corner radius, offset and bend position per edge.Edge Markers
Per-edge arrowheads: open or closed, in any colour and size.Edge Label Styling
Restyle, pad, round or remove the plate behind an edge label.Self-Connections
Edges back to their own node loop clear of it instead of collapsing onto it.Edge Routing
Edges routed round the nodes in their way, re-routed as you drag, and the graph exported as SVG.
Handles & Connections
Validation
Validate connections while dragging and reject invalid ones.Custom Connection Line
Restyle the line drawn while connecting, or draw it yourself with a template.Easy Connect
Start a connection from anywhere on a node.Connection Mode
Loose vs strict connection modes.Add Node on Edge Drop
Drop a connection on the pane to spawn a connected node.Cancel Connection
Cancel a connection with Escape or a click, and tell every way a gesture ends apart.Use Connection
Observe the in-progress connection state live.Use Node Connections
List a node's connections, per handle, and its neighbours.Moving Handles
Add and remove handles at runtime; edges follow their handles.Connection Rules
Duplicate, self, cycle and non-connectable rules with their reasons, from the canvas and as a pure function.Handle Rules
Validation, data types, limits and connectability set on the handle itself.Typed Ports
Declared ports with data types, limits and required inputs, enforced while connecting and validated.Confirm Connection
Confirm a finished connection asynchronously, as a server would, before the edge is made.
Interaction
Interaction
Toggle dragging, connecting, selecting, panning and zooming options live.Drag and Drop
Drag new nodes from a sidebar onto the canvas, or click to add them.Use Key Press
Bind keyboard shortcuts of your own around the flow.Intersection
Detect which nodes a dragged node overlaps, and which lie in an area.Click Distance
Distinguish a click from a drag using a distance threshold.Selection Change
React to selection changes, and change the selection from code.Delete Protection
Deletable/Selectable flags, select-all and the delete veto.Auto Pan & Pinch
Drag past the canvas edge to scroll, tab to an off-screen node to bring it into view; pinch with two fingers to zoom.Interaction Guards
nodrag, nopan and nowheel: carve interactivity back out of the canvas.Key Bindings
Choose which keys delete, zoom, multi-select, connect and select all.Alignment Guides
Dragged nodes click into line with their neighbours.Selection Gestures
Box selection keys and modes, and dragging and right-clicking a whole selection.Event Reference
Every event the canvas raises, logged live with its payload.
Viewport & Layout
Backgrounds
Dots, lines and cross patterns with every option live, and two backgrounds stacked into a grid.Controlled Viewport
Drive the viewport from your own state or the canvas's methods, within a zoom range and a translate extent.Color Mode
Light, dark and system colour modes, a palette of your own from the --bit-blow-* properties, and reduced motion.Interactive MiniMap
Steer the view from the minimap by pointer, wheel or keyboard, and pick nodes on it.Custom MiniMap Node
Render minimap nodes with custom colours and shapes.Layouts & Collapsing
Tree, radial and force layouts tuned live and applied to the graph or the selection, and a group that collapses into itself.Layouting
Layered, grid and circle auto-layouts from the built-in BlowLayout, every option live.Align & Distribute
Line up and evenly space the selected nodes, the way a drawing tool does.Viewport Transitions
Ease the viewport between two parts of a graph instead of cutting.Z-Index Mode
Control stacking of nodes and edges: modes, elevation on select and list order.DevTools
Inspect viewport, nodes and change events.Overlay Layout
Anchor controls, minimap, panels and attribution; tailor the control bar and lock the canvas.Responsive Canvas
Container and node resizes are tracked automatically; controlled viewport.
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
Node Resizer
Resize nodes with BlowNodeResizer: when its controls show, their colour, the side strips, size limits and the resize events.Node Toolbar
A toolbar anchored to a node at a constant size: its side, alignment, gap and when it shows.Touch Device
Pointer-based interactions that work on touch.Accessibility
Everything without a pointer: Tab and arrow keys, connecting and reconnecting from the keyboard, single-click move buttons.Keyboard Accessibility
The tab order and keyboard support switched on and off, panning to the focused node, and announcements of your own.Localization
Translate every label and announcement the canvas makes.