Novolis Docs
novolis-blazor / getting-started.md

Getting started

Install the required chrome stylesheet:

dotnet add package Novolis.Blazor.GraphicalProfile

Link GraphicalProfile.StylesheetHref from the host index.html and use --ngp-* tokens.

Install the Mermaid component:

dotnet add package Novolis.Blazor.Mermaid

Register the package's Razor components in the host and render a diagram:

<MermaidDiagram Mermaid="@diagram" Theme="MermaidRenderTheme.GitHubLight" />

The component renders through Novolis.Markup.Mermaid.Rendering. It is intended for interactive server and other hosts that can execute the Novolis renderer.