Blazorade.Mermaid
1.0.0
See the version list below for details.
dotnet add package Blazorade.Mermaid --version 1.0.0
NuGet\Install-Package Blazorade.Mermaid -Version 1.0.0
<PackageReference Include="Blazorade.Mermaid" Version="1.0.0" />
paket add Blazorade.Mermaid --version 1.0.0
#r "nuget: Blazorade.Mermaid, 1.0.0"
// Install Blazorade.Mermaid as a Cake Addin #addin nuget:?package=Blazorade.Mermaid&version=1.0.0 // Install Blazorade.Mermaid as a Cake Tool #tool nuget:?package=Blazorade.Mermaid&version=1.0.0
Blazorade Mermaid
Blazorade Mermaid is a library that allows you to easily add Mermaid diagrams to your Blazor application. You don't have to bother with importing the JavaScript library, or calling the right JavaScript functions in the Mermaid library at the right time.
You just add the MermaidDiagram
component to your application, set its Code
parameter to the Mermaid code you want to render as a diagram, the Blazorade Mermaid takes care of the rest.
Getting Started
Please refer to the Blazorade Mermaid wiki for information on how to get started with the library.
Please note that this library is still in beta phase, and the wiki is still heavily under construction. However, using Blazorade is pretty simple.
- Add a reference to
Blazorade.Mermaid
- Add a
using
statement to the following namespace:Blazorade.Mermaid.Components
- Add the
<MermaidDiagram />
to the page or component where you want to display a diagram. - Set the
Code
property of theMermaidDiagram
component to the Mermaid Code you want to render as a diagram.
Blazorade Mermaid will take care of the rest for you.
Version Highlights
v1.0.0
The first stable version of Blazorade Mermaid.
- Changed the
Code
parameter on theMermaidDiagram
component toDefinition
to better match the terminology on the Mermaid website.
v1.0.0-beta.3
- Prefixed the generated ID for the
MermaidDiagram
component with the characterm
to ensure that it never starts with a digit.id
attributes for HTML elements MUST start with a letter, not a digit.
v1.0.0-beta.2
- Added support for updating the diagram after it has been rendered the first time.
v1.0.0-beta.1
The first published prerelease of the library.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Blazorade.Core (>= 3.0.1)
- Microsoft.AspNetCore.Components.Web (>= 8.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Blazorade.Mermaid:
Package | Downloads |
---|---|
Frank.Blazor.Mermaid
Wrapper for Blazorade Mermaid |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Blazorade.Mermaid:
Repository | Stars |
---|---|
weibaohui/blazork8s
manage k8s using c# blazor enhance by chatgpt ,try something new !使用blazor技术开发的内置OpenAI GPT的k8s 管理界面
|
For details about this release, check out the release notes on Nuget at Blazorade.Mermaid.