Skip to content
ChartForgeX
Class

MermaidArchitectureRendering

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
static

Provides ChartForgeX rendering adapters for parsed Mermaid architecture diagrams.

Inheritance

  • object
  • MermaidArchitectureRendering

Methods

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

Renders a Mermaid architecture document to static PNG.

Parameters

document ChartForgeX.Mermaid.MermaidArchitectureDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional

Returns

byte[]
public static string ToSvg(MermaidArchitectureDocument document, MermaidTopologyRenderOptions? options = null) #

Renders a Mermaid architecture document to static SVG.

Parameters

document ChartForgeX.Mermaid.MermaidArchitectureDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional

Returns

string
public static TopologyChart ToTopologyChart(MermaidArchitectureDocument document, MermaidTopologyRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidArchitectureDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional
public static VisualArtifact ToVisualArtifact(MermaidArchitectureDocument document, MermaidTopologyRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidArchitectureDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional