Bit.Blow
10.7.0-pre-03
See the version list below for details.
dotnet add package Bit.Blow --version 10.7.0-pre-03
NuGet\Install-Package Bit.Blow -Version 10.7.0-pre-03
<PackageReference Include="Bit.Blow" Version="10.7.0-pre-03" />
<PackageVersion Include="Bit.Blow" Version="10.7.0-pre-03" />
<PackageReference Include="Bit.Blow" />
paket add Bit.Blow --version 10.7.0-pre-03
#r "nuget: Bit.Blow, 10.7.0-pre-03"
#:package Bit.Blow@10.7.0-pre-03
#addin nuget:?package=Bit.Blow&version=10.7.0-pre-03&prerelease
#tool nuget:?package=Bit.Blow&version=10.7.0-pre-03&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.
- Built-in
input,default,outputandgroupnodes, and custom node templates. - Bezier, simple bezier, straight, step and smooth-step edges, tunable per edge, with labels, arrowheads, animation and self-loops.
- Sub-flows with parent extents and growing parents; node resizing and node and edge toolbars.
- Background, controls, minimap, panels and a viewport portal.
- Layered, grid and circle auto-layouts, align and distribute, and animated viewport transitions - all in C#.
- Built-in or self-driven undo and redo, and copy and paste that rewires edges and keeps groups intact.
- Keyboard access, screen reader announcements 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 8, 9 and 10.
For AI agents
The demo site hosts an MCP server at https://blow.bitplatform.dev/mcp (also served through
https://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 | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.0 && < 11.0.0)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0 && < 9.0.0)
-
net9.0
- Microsoft.AspNetCore.Components.Web (>= 9.0.0 && < 10.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 |