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
<PackageReference Include="Meziantou.Framework.Diagrams" Version="1.0.1" />
<PackageVersion Include="Meziantou.Framework.Diagrams" Version="1.0.1" />
<PackageReference Include="Meziantou.Framework.Diagrams" />
paket add Meziantou.Framework.Diagrams --version 1.0.1
#r "nuget: Meziantou.Framework.Diagrams, 1.0.1"
#:package Meziantou.Framework.Diagrams@1.0.1
#addin nuget:?package=Meziantou.Framework.Diagrams&version=1.0.1
#tool nuget:?package=Meziantou.Framework.Diagrams&version=1.0.1
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 | 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
- Meziantou.Framework.VectorGraphics (>= 1.0.1)
-
net11.0
- Meziantou.Framework.VectorGraphics (>= 1.0.1)
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.