# MermaidGanttRendering

Provides ChartForgeX rendering adapters for parsed Mermaid Gantt diagrams.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidGanttRendering.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L18)

**Modifiers**

static

Provides ChartForgeX rendering adapters for parsed Mermaid Gantt diagrams.

## Inheritance

- object
- MermaidGanttRendering

 Filter members   

    Show inherited   

 

## Methods

 `public static Chart ToChart(MermaidGanttDocument document, MermaidGanttRenderOptions? options = null)` [#](#method-tochart-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) 

[MermaidGanttRendering.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L18)

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)` [#](#method-topng-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) 

[MermaidGanttRendering.cs:99](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L99)

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)` [#](#method-tosvg-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) 

[MermaidGanttRendering.cs:93](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L93)

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)` [#](#method-tovisualartifact-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) 

[MermaidGanttRendering.cs:63](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L63)

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**

Returns

 `VisualArtifact` 

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

<!-- PowerForge markdown artifact sha256:DC5053BB42E8874A29A01BCE5562328E58B1500CA38A86C49CF03ABC4DD852D9 -->
