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

MermaidArchitectureDocument

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers sealed

Describes a parsed Mermaid architecture 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 MermaidArchitectureDocument() #

Properties

public List<MermaidRawStatement> Statements { get; } #

Gets raw architecture statements retained with source spans.

public List<MermaidArchitectureGroup> Groups { get; } #

Gets parsed architecture groups in source order.

public List<MermaidArchitectureService> Services { get; } #

Gets parsed architecture services in source order.

public List<MermaidArchitectureJunction> Junctions { get; } #

Gets parsed architecture junctions in source order.

public List<MermaidArchitectureEdge> Edges { get; } #

Gets parsed architecture edges in source order.

Extension Methods

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

Renders a Mermaid architecture document to static PNG.

Parameters

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

Renders a Mermaid architecture document to static SVG.

Parameters

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

Converts a Mermaid architecture document into a renderer-independent ChartForgeX topology chart.

Parameters

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

Wraps a Mermaid architecture document in a visual artifact envelope backed by a ChartForgeX topology chart.

Parameters

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