API Reference
Class
MermaidFlowchartRendering
Provides ChartForgeX rendering adapters for parsed Mermaid flowcharts.
Inheritance
- Object
- MermaidFlowchartRendering
Methods
ToPng(ChartForgeX.Mermaid.MermaidFlowchartDocument document, ChartForgeX.Mermaid.MermaidFlowchartRenderOptions options) #Renders a Mermaid flowchart document to static PNG through ChartForgeX topology rendering.
Parameters
- document ChartForgeX.Mermaid.MermaidFlowchartDocument
- The parsed Mermaid flowchart document.
- options ChartForgeX.Mermaid.MermaidFlowchartRenderOptions
- Optional conversion and rendering defaults.
Returns
PNG bytes.
ToSvg(ChartForgeX.Mermaid.MermaidFlowchartDocument document, ChartForgeX.Mermaid.MermaidFlowchartRenderOptions options) #Renders a Mermaid flowchart document to static SVG through ChartForgeX topology rendering.
Parameters
- document ChartForgeX.Mermaid.MermaidFlowchartDocument
- The parsed Mermaid flowchart document.
- options ChartForgeX.Mermaid.MermaidFlowchartRenderOptions
- Optional conversion and rendering defaults.
Returns
SVG markup.
ToTopologyChart(ChartForgeX.Mermaid.MermaidFlowchartDocument document, ChartForgeX.Mermaid.MermaidFlowchartRenderOptions options) #Converts a Mermaid flowchart document into a renderer-independent topology chart.
Parameters
- document ChartForgeX.Mermaid.MermaidFlowchartDocument
- The parsed Mermaid flowchart document.
- options ChartForgeX.Mermaid.MermaidFlowchartRenderOptions
- Optional conversion and rendering defaults.
Returns
A topology chart that can render to ChartForgeX SVG, HTML, PNG, and raster outputs.
ToVisualArtifact(ChartForgeX.Mermaid.MermaidFlowchartDocument document, ChartForgeX.Mermaid.MermaidFlowchartRenderOptions options) #Wraps a Mermaid flowchart document in a product-neutral visual artifact envelope backed by a topology chart.
Parameters
- document ChartForgeX.Mermaid.MermaidFlowchartDocument
- The parsed Mermaid flowchart document.
- options ChartForgeX.Mermaid.MermaidFlowchartRenderOptions
- Optional conversion and rendering defaults.
Returns
A visual artifact envelope.