Class
MermaidGanttRendering
ChartForgeX.Mermaid
Provides ChartForgeX rendering adapters for parsed Mermaid Gantt diagrams.
Inheritance
- object
- MermaidGanttRendering
Methods
public static Chart ToChart(MermaidGanttDocument document, MermaidGanttRenderOptions? options = null) #Converts a Mermaid Gantt document into a renderer-independent ChartForgeX chart.
Parameters
- document ChartForgeX.Mermaid.MermaidGanttDocument
- options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null
Returns
Chartpublic static byte[] ToPng(MermaidGanttDocument document, MermaidGanttRenderOptions? options = null) #Renders a Mermaid Gantt document to static PNG through ChartForgeX chart rendering.
Parameters
- document ChartForgeX.Mermaid.MermaidGanttDocument
- options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null
Returns
byte[]public static string ToSvg(MermaidGanttDocument document, MermaidGanttRenderOptions? options = null) #Renders a Mermaid Gantt document to static SVG through ChartForgeX chart rendering.
Parameters
- document ChartForgeX.Mermaid.MermaidGanttDocument
- options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null
Returns
stringpublic static VisualArtifact ToVisualArtifact(MermaidGanttDocument document, MermaidGanttRenderOptions? options = null) #Wraps a Mermaid Gantt document in a visual artifact envelope backed by a ChartForgeX chart.
Parameters
- document ChartForgeX.Mermaid.MermaidGanttDocument
- options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null
Returns
VisualArtifact