Skip to content
ChartForgeX
Class

MermaidGanttRendering

ChartForgeX.Mermaid

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) #

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

Parameters

document ChartForgeX.Mermaid.MermaidGanttDocument required
options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null optional

Returns

Chart
public 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 required
options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null optional

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 required
options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null optional

Returns

string
public 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 required
options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null optional