Mostlylucid.Naiad 0.0.1-alpha

This is a prerelease version of Mostlylucid.Naiad.
dotnet add package Mostlylucid.Naiad --version 0.0.1-alpha
                    
NuGet\Install-Package Mostlylucid.Naiad -Version 0.0.1-alpha
                    
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="Mostlylucid.Naiad" Version="0.0.1-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mostlylucid.Naiad" Version="0.0.1-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Mostlylucid.Naiad" />
                    
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 Mostlylucid.Naiad --version 0.0.1-alpha
                    
#r "nuget: Mostlylucid.Naiad, 0.0.1-alpha"
                    
#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 Mostlylucid.Naiad@0.0.1-alpha
                    
#: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=Mostlylucid.Naiad&version=0.0.1-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Mostlylucid.Naiad&version=0.0.1-alpha&prerelease
                    
Install as a Cake Tool

Mostlylucid.Naiad

Pure C# Mermaid-compatible diagram renderer. 30+ diagram types, SVG output, no JavaScript required.

Install

dotnet add package Mostlylucid.Naiad

Quick Start

using Naiad;
using Naiad.Rendering;

var mermaid = """
    flowchart LR
      A[Start] --> B[Process]
      B --> C[End]
    """;

var svg = NaiadRenderer.RenderToSvg(mermaid);

Supported Diagram Types

Naiad supports 30+ Mermaid-compatible diagram types including:

  • Flowchart (LR, TB, RL, BT directions)
  • Sequence diagrams
  • Class diagrams
  • Entity Relationship (ER)
  • State diagrams
  • Gantt charts
  • Pie charts
  • Mindmap
  • Timeline
  • Git Graph
  • Sankey
  • XY Chart
  • Block
  • Architecture
  • Kanban
  • Radar
  • Quadrant
  • Requirement
  • User Journey
  • C4 diagrams
  • Packet
  • Wireframe
  • Treemap
  • Geo (choropleth maps)
  • Bubble Pack
  • Dendrogram
  • Voronoi
  • Parallel Coordinates
  • And more...

Skin Packs

Naiad supports pluggable skin packs for custom node shapes and styling. See Mostlylucid.Naiad.Skins.Showcase and Mostlylucid.Naiad.Skins.Cats for examples.

Rendering Surfaces

For rasterization (PNG/JPEG), add a rendering surface package:

  • Mostlylucid.Naiad.Surfaces.ImageSharp - cross-platform, pure managed
  • Mostlylucid.Naiad.Surfaces.Skia - SkiaSharp-based

License

Unlicense

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-browser1.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Mostlylucid.Naiad:

Package Downloads
Mostlylucid.Naiad.Meta.Mermaid

Meta package for Naiad Mermaid-equivalent composition.

Mostlylucid.Naiad.Meta.Complete

Meta package for complete Naiad composition with built-in plugin set.

Mostlylucid.Naiad.Skins.Cats

Cat-themed skin pack for Naiad flowchart shapes.

Mostlylucid.Naiad.Surfaces.ImageSharp

ImageSharp rasterization surface for Naiad SVG diagrams.

Mostlylucid.Naiad.Surfaces.Skia

SkiaSharp rasterization surface for Naiad SVG diagrams.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.1-alpha 85 2/25/2026

v0.1.1 - Initial public preview
- 30+ Mermaid diagram types (flowchart, sequence, class, ER, state, geo, etc.)
- Blazor web component wrapper
- ImageSharp and SkiaSharp rendering surfaces
- Showcase and Cats skin packs
- WebAssembly support via npm packages