Bit.Blow
11.0.0-pre-13
See the version list below for details.
dotnet add package Bit.Blow --version 11.0.0-pre-13
NuGet\Install-Package Bit.Blow -Version 11.0.0-pre-13
<PackageReference Include="Bit.Blow" Version="11.0.0-pre-13" />
<PackageVersion Include="Bit.Blow" Version="11.0.0-pre-13" />
<PackageReference Include="Bit.Blow" />
paket add Bit.Blow --version 11.0.0-pre-13
#r "nuget: Bit.Blow, 11.0.0-pre-13"
#:package Bit.Blow@11.0.0-pre-13
#addin nuget:?package=Bit.Blow&version=11.0.0-pre-13&prerelease
#tool nuget:?package=Bit.Blow&version=11.0.0-pre-13&prerelease
Bit.Blow
A Blazor-native library for node-based UIs - editors, flow charts, pipelines, state machines and diagrams - and the Blazor counterpart to React Flow. Dragging, selecting, connecting, resizing, the keyboard, layout and edge geometry are written in C# on Blazor's own event system. JavaScript only measures the DOM, watches it for size changes and finds the handle under a point - there is no JavaScript diagram library underneath.
Quick start
dotnet add package Bit.Blow
@* _Imports.razor *@
@using Bit.Blow
Link the stylesheet from your host page (App.razor or index.html); it is not injected for you. No services to
register: the script module, _content/Bit.Blow/bit-blow.js, is imported by the component on demand.
<link rel="stylesheet" href="_content/Bit.Blow/bit-blow.css" />
<div style="height: 500px">
<BlowCanvas @ref="_flow" Nodes="_nodes" Edges="_edges" FitViewOnInit="true">
<BlowBackground />
<BlowControls />
<BlowMiniMap />
</BlowCanvas>
</div>
@code {
private BlowCanvas? _flow;
private List<BlowNode> _nodes =
[
new BlowNode { Id = "1", Type = "input", Label = "Start", Position = new(0, 0) },
new BlowNode { Id = "2", Label = "Review", Position = new(0, 100) },
new BlowNode { Id = "3", Type = "output", Label = "Done", Position = new(0, 200) },
];
private List<BlowEdge> _edges =
[
new BlowEdge { Id = "e1-2", Source = "1", Target = "2" },
new BlowEdge { Id = "e2-3", Source = "2", Target = "3", Animated = true },
];
// The canvas edits _nodes and _edges in place; ToObject() + RestoreAsync() save and bring back a graph.
private BlowSnapshot Save() => _flow!.ToObject();
}
Give nodes your own markup with NodeTemplate and BlowHandle, and edges with EdgeTemplate and BlowBaseEdge.
Features
- A pannable, zoomable canvas: wheel zoom toward the cursor, pinch, pan-on-scroll and hold-Space-to-pan.
- Draggable nodes with multi-selection, box selection, snap-to-grid, alignment guides and auto-panning.
- Connections by drag or click, with proximity snapping, live validation on the canvas and per handle, and reconnection of existing edges.
- Typed ports with data types, connection limits and required inputs; rejection reasons, cycle prevention and asynchronous confirmation of a connection.
- Graph algorithms (topological order, cycles, components, reachability, shortest paths) and a rule-based graph validator, all usable with no UI.
- Built-in
input,default,outputandgroupnodes, and custom node templates. - Bezier, simple bezier, straight, step and smooth-step edges, and orthogonal routes round the nodes in the way from a router you can replace, tunable per edge, with labels, arrowheads, animation and self-loops.
- Sub-flows with parent extents and growing parents, grouping and ungrouping, collapsible groups; node resizing and node and edge toolbars.
- Background, controls, minimap, panels and a viewport portal.
- Layered, tree, radial, force, grid and circle auto-layouts for the graph or a selection, align and distribute, and animated viewport transitions - all in C#.
- Typed change events with origins, transactions, labelled and structurally shared undo history, edits a collaborator made that local undo leaves alone, and copy and paste that rewires edges and keeps groups intact.
- Versioned JSON documents with migrations and bounded imports, React Flow interchange, and SVG export.
- Validation problems and run states shown on the graph by shape as well as colour.
- Keyboard access including connections, reconnecting edges and the minimap, search and focus helpers, element state read by screen readers, reduced motion, high contrast and localizable strings.
OnErrordiagnostics for malformed graphs instead of exceptions.- Theming through
--bit-blow-*CSS custom properties, with light, dark and system colour modes. - Blazor WebAssembly, Server, Web App (including prerendering) and Hybrid on .NET 10 and 11.
For AI agents
The demo site hosts an MCP server at https://blow.bitplatform.dev/mcp
that answers from the shipped library: its API, its guide, its theme properties and
the demo's working pages, and it can inspect a flow you hand it.
Documentation
The full guide - nodes, handles and connections, edges, interaction, the viewport, layout and alignment, add-ons, saving, undo and the clipboard, theming, keyboard and accessibility, localization, diagnostics, performance, hosting models, architecture and a React Flow mapping - is in the Blow README. See it running at blow.bitplatform.dev.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.0 && < 11.0.0)
-
net11.0
- Microsoft.AspNetCore.Components.Web (>= 11.0.0-rc.1.26425.128 && < 12.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Bit.Blow:
| Package | Downloads |
|---|---|
|
Bit.Bcrdt.Blow
bit Bcrdt as the collaboration backend for bit Blow: BcrdtBlowBinding keeps the node and edge lists a BlowCanvas edits and a collaborative map in step in both directions - every node and edge an entry of its own, keyed by id, one key per property, so concurrent edits of different elements or of different properties of one node all survive - with one transaction per finished edit, no echo, selective collaborative undo and cursor and selection presence. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-pre-23 | 97 | 11/19/2026 |
| 11.0.0-pre-22 | 177 | 11/18/2026 |
| 11.0.0-pre-21 | 205 | 11/17/2026 |
| 11.0.0-pre-20 | 523 | 11/15/2026 |
| 11.0.0-pre-19 | 362 | 11/13/2026 |
| 11.0.0-pre-18 | 392 | 11/11/2026 |
| 11.0.0-pre-17 | 726 | 11/4/2026 |
| 11.0.0-pre-16 | 344 | 11/2/2026 |
| 11.0.0-pre-15 | 143 | 10/27/2026 |
| 11.0.0-pre-14 | 61 | 10/26/2026 |
| 11.0.0-pre-13 | 64 | 10/26/2026 |
| 11.0.0-pre-12 | 60 | 10/26/2026 |
| 11.0.0-pre-11 | 68 | 10/25/2026 |
| 11.0.0-pre-10 | 74 | 10/18/2026 |
| 10.7.0 | 236 | 10/25/2026 |
| 10.7.0-pre-04 | 89 | 10/25/2026 |
| 10.7.0-pre-03 | 89 | 10/22/2026 |
| 10.7.0-pre-02 | 90 | 10/22/2026 |