Skip to content
ChartForgeX

API Reference

Class

MermaidGanttRendering

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers static

Provides ChartForgeX rendering adapters for parsed Mermaid Gantt diagrams.

Inheritance

  • Object
  • MermaidGanttRendering

Methods

public static Chart ToChart(MermaidGanttDocument document, MermaidGanttRenderOptions? options = null) #
Returns: Chart

Converts a Mermaid Gantt document into a renderer-independent ChartForgeX chart.

Parameters

document ChartForgeX.Mermaid.MermaidGanttDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null optionalposition: 1
public static Byte[] ToPng(MermaidGanttDocument document, MermaidGanttRenderOptions? options = null) #
Returns: Byte[]

Renders a Mermaid Gantt document to static PNG through ChartForgeX chart rendering.

Parameters

document ChartForgeX.Mermaid.MermaidGanttDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null optionalposition: 1
public static String ToSvg(MermaidGanttDocument document, MermaidGanttRenderOptions? options = null) #
Returns: String

Renders a Mermaid Gantt document to static SVG through ChartForgeX chart rendering.

Parameters

document ChartForgeX.Mermaid.MermaidGanttDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null optionalposition: 1
public static VisualArtifact ToVisualArtifact(MermaidGanttDocument document, MermaidGanttRenderOptions? options = null) #
Returns: VisualArtifact

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

Parameters

document ChartForgeX.Mermaid.MermaidGanttDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null optionalposition: 1