Novolis.Avalonia.Mermaid
2026.1.6.221
dotnet add package Novolis.Avalonia.Mermaid --version 2026.1.6.221
NuGet\Install-Package Novolis.Avalonia.Mermaid -Version 2026.1.6.221
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="Novolis.Avalonia.Mermaid" Version="2026.1.6.221" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.Avalonia.Mermaid" Version="2026.1.6.221" />
<PackageReference Include="Novolis.Avalonia.Mermaid" />
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 Novolis.Avalonia.Mermaid --version 2026.1.6.221
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Novolis.Avalonia.Mermaid, 2026.1.6.221"
#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 Novolis.Avalonia.Mermaid@2026.1.6.221
#: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=Novolis.Avalonia.Mermaid&version=2026.1.6.221
#tool nuget:?package=Novolis.Avalonia.Mermaid&version=2026.1.6.221
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Novolis.Avalonia.Mermaid
Avalonia control that renders Mermaid diagrams to SVG via Novolis.Markup.Mermaid.Rendering (Mermaider under the hood) without a browser.
Install
dotnet add package Novolis.Avalonia.Mermaid
Quick start
using Novolis.Avalonia.Mermaid;
using Novolis.Markup.Mermaid;
var control = new MermaidControl
{
DiagramTheme = MermaidTheme.StudioDark,
Diagram = new SequenceDiagram()
.AddParticipant("A", "Alice")
.AddParticipant("B", "Bob")
.Message("A", "B", "Hello"),
};
// Or raw source:
control.Source = """
flowchart TD
A[Start] --> B[Done]
""";
API
| Type | Role |
|---|---|
MermaidControl |
Code-only Avalonia control (Source / Diagram / DiagramTheme) |
MermaidSvg |
Static SVG / HTML helpers for custom hosts |
MermaidTheme |
StudioDark or GitHubLight |
Pair with Novolis.Markup.Mermaid for fluent builders, or bind any Mermaid source string. Headless SVG/PNG export lives in Novolis.Markup.Mermaid.Rendering.
Related
Novolis.Avalonia.Markdown— Markdown preview that also renders fencedmermaidblocksNovolis.Markup.Mermaid— diagram syntax buildersNovolis.Markup.Mermaid.Rendering— headless SVG/PNG export
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Avalonia (>= 12.1.3)
- Avalonia.HtmlRenderer (>= 12.0.0)
- Mermaider (>= 0.13.1)
- Novolis.Markup.Mermaid (>= 2026.1.1.61)
- Novolis.Markup.Mermaid.Rendering (>= 2026.1.1.61)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Novolis.Avalonia.Mermaid:
| Package | Downloads |
|---|---|
|
Novolis.Avalonia.Markdown
Avalonia Markdown editor, live preview, and split-pane controls with line numbers and Ctrl+scroll zoom. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.6.221 | 0 | 10/4/2026 |
| 2026.1.6.220 | 35 | 10/3/2026 |
| 2026.1.6.218 | 49 | 10/3/2026 |
| 2026.1.6.196 | 42 | 10/2/2026 |
| 2026.1.6.195 | 37 | 10/2/2026 |
| 2026.1.6.194 | 48 | 10/1/2026 |
| 2026.1.6.192 | 51 | 9/30/2026 |