Class
MermaidArchitectureRendering
ChartForgeX.Mermaid
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
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
byte[]public static string ToSvg(MermaidArchitectureDocument document, MermaidTopologyRenderOptions? options = null) #Renders a Mermaid architecture document to static SVG.
Parameters
- document ChartForgeX.Mermaid.MermaidArchitectureDocument
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
stringpublic 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
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
TopologyChartpublic 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
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
VisualArtifact