API Reference
Class
MermaidC4Rendering
Provides ChartForgeX rendering adapters for parsed Mermaid C4 diagrams.
Inheritance
- Object
- MermaidC4Rendering
Methods
public static Byte[] ToPng(MermaidC4Document document, MermaidTopologyRenderOptions? options = null) #Returns:
Byte[]Renders a Mermaid C4 document to static PNG.
Parameters
- document ChartForgeX.Mermaid.MermaidC4Document
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
public static String ToSvg(MermaidC4Document document, MermaidTopologyRenderOptions? options = null) #Returns:
StringRenders a Mermaid C4 document to static SVG.
Parameters
- document ChartForgeX.Mermaid.MermaidC4Document
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
public static TopologyChart ToTopologyChart(MermaidC4Document document, MermaidTopologyRenderOptions? options = null) #Returns:
TopologyChartConverts a Mermaid C4 document into a renderer-independent ChartForgeX topology chart.
Parameters
- document ChartForgeX.Mermaid.MermaidC4Document
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
public static VisualArtifact ToVisualArtifact(MermaidC4Document document, MermaidTopologyRenderOptions? options = null) #Returns:
VisualArtifactWraps a Mermaid C4 document in a visual artifact envelope backed by a ChartForgeX topology chart.
Parameters
- document ChartForgeX.Mermaid.MermaidC4Document
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?