Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

MermaidClassDocument

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers sealed

Describes a parsed Mermaid class diagram.

Inheritance

Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 8

Constructors

public MermaidClassDocument() #

Properties

public List<MermaidClassNode> Classes { get; } #

Gets classes in source order.

public List<MermaidClassRelationship> Relationships { get; } #

Gets class relationships in source order.

public List<MermaidClassStyleStatement> StyleStatements { get; } #

Gets class definition statements retained from source.

Extension Methods

public static Byte[] ToPng(MermaidClassDocument document, MermaidTopologyRenderOptions? options = null) #
Returns: Byte[]

Renders a Mermaid class diagram to PNG.

Parameters

document ChartForgeX.Mermaid.MermaidClassDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optionalposition: 1
public static String ToSvg(MermaidClassDocument document, MermaidTopologyRenderOptions? options = null) #
Returns: String

Renders a Mermaid class diagram to SVG.

Parameters

document ChartForgeX.Mermaid.MermaidClassDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optionalposition: 1
public static TopologyChart ToTopologyChart(MermaidClassDocument document, MermaidTopologyRenderOptions? options = null) #
Returns: TopologyChart

Converts a Mermaid class diagram to a topology chart.

Parameters

document ChartForgeX.Mermaid.MermaidClassDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optionalposition: 1
public static VisualArtifact ToVisualArtifact(MermaidClassDocument document, MermaidTopologyRenderOptions? options = null) #
Returns: VisualArtifact

Wraps a Mermaid class diagram in a visual artifact envelope.

Parameters

document ChartForgeX.Mermaid.MermaidClassDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optionalposition: 1