# blazor-diagrams/blazor.diagrams

> blazor.diagrams is a fully customizable and extensible all-purpose diagrams library for Blazor, supporting both Server Side and WASM apps. It keeps each diagram as a data model that is separate from the UI widgets that render it, so the model can be saved as snapshots or changed regardless of where it is displayed. The library is written in C# on Blazor, and its behavior can be replaced with custom behaviors.

Source: https://github.com/blazor-diagrams/blazor.diagrams
Indexed: commit 6ae19bf on 2026-08-14 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: C#
- Stars: 1,417 at index time
- License: MIT
- Code health: 9.3/10, Excellent
- Last commit: 2026-02-23
- Contributors: 26

## How it works

The library code lives in the src directory, and src/Blazor.Diagrams.Core/Blazor.Diagrams.Core.csproj is the core project. The data layer of models is kept separate from the UI layer of widgets, which lets the same diagram model be rendered in different places. Nodes and links are drawn in an SVG layer, and nodes can also use an HTML layer. Most of the code is C#, and JavaScript is used only where needed, such as for bounds and observers. The samples directory contains sample projects, such as samples/Wasm/Wasm.csproj, and docs/Diagram-Demo/Program.cs is one of the demo entry points. The tests directory holds the test suite, and .github/workflows/main.yml defines the repository's workflow.

- .github/workflows/main.yml: entry point
- docs/CustomNodesLinks/Program.cs: entry point
- docs/CustomNodesLinks/Startup.cs: entry point
- docs/Diagram-Demo/Program.cs: entry point
- docs/Diagram-Demo/Startup.cs: entry point
Modules: src, samples, site, docs, tests, .github, root. 295 files, 60,519 lines, 1,957 symbols.

## Code health

- Score: 9.3/10 (Excellent)
- Rank: #8 of 4,000+ indexed repos
- Hotspots: none
- Lowest file: src/Blazor.Diagrams.Core/Routers/OrthogonalRouter.cs
- Dead code: 77 findings

## Maintenance

- Last commit 2026-02-23, first commit 2020-05-28, 709 commits
- 26 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/blazor-diagrams/blazor.diagrams/security

## More

- Page: https://repowise.dev/repo/blazor-diagrams/blazor.diagrams
- Ask this codebase: https://repowise.dev/repo/blazor-diagrams/blazor.diagrams/chat
- Docs: https://repowise.dev/repo/blazor-diagrams/blazor.diagrams/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/blazor-diagrams/blazor.diagrams
