Meziantou.Framework.Diagrams 1.0.1

Prefix Reserved
dotnet add package Meziantou.Framework.Diagrams --version 1.0.1
                    
NuGet\Install-Package Meziantou.Framework.Diagrams -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meziantou.Framework.Diagrams" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meziantou.Framework.Diagrams" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Meziantou.Framework.Diagrams" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meziantou.Framework.Diagrams --version 1.0.1
                    
#r "nuget: Meziantou.Framework.Diagrams, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Meziantou.Framework.Diagrams@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Meziantou.Framework.Diagrams&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Meziantou.Framework.Diagrams&version=1.0.1
                    
Install as a Cake Tool

Meziantou.Framework.Diagrams

Draws diagrams as deterministic SVG, inspired by Mermaid: flowcharts with the 53 shapes of Mermaid, swimlanes, class, state, entity relationship, requirement, use case, C4, block, architecture and sequence diagrams, Gantt charts, timelines, git graphs, kanban boards, packet diagrams, user journeys, event models, railroad diagrams, mind maps, tree views, Ishikawa diagrams, Venn diagrams, Wardley maps and Cynefin diagrams, with styles and classes, in the themes of Mermaid. Meziantou.Framework.Mermaid reads and writes the Mermaid text format, and draws the charts of Mermaid with Meziantou.Framework.Charts, and Meziantou.Framework.Imaging.VectorGraphics renders the diagrams as images.

Usage

var flowchart = new FlowchartDiagram { Title = "Order processing" };
var start = flowchart.AddNode("start", "Order received", FlowchartNodeShape.Stadium);
var check = flowchart.AddNode("check", "Is the payment valid?", FlowchartNodeShape.Diamond);
var ship = flowchart.AddNode("ship", "Ship the order");
var cancel = flowchart.AddNode("cancel", "Cancel the order");

flowchart.AddEdge(start, check);
flowchart.AddEdge(check, ship, "yes");
flowchart.AddEdge(check, cancel, "no");

var svg = flowchart.ToSvg();
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Meziantou.Framework.Diagrams:

Package Downloads
Meziantou.Framework.Mermaid

Reads and writes the Mermaid text format: the 25 diagram types of Meziantou.Framework.Diagrams, and the pie, XY, quadrant, sankey and radar charts and treemaps of Mermaid drawn with Meziantou.Framework.Charts, with the front matter, the directives and the themes of Mermaid.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 43 11/13/2026
1.0.0 73 11/10/2026