# MermaidTimelineRendering

Maps parsed Mermaid Timeline notation to its reusable native diagram.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidTimelineRendering.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTimelineRendering.cs#L14)

**Modifiers**

static

Maps parsed Mermaid Timeline notation to its reusable native diagram.

## Inheritance

- object
- MermaidTimelineRendering

 Filter members   

    Show inherited   

 

## Methods

 `public static byte[] ToPng(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null)` [#](#method-topng-chartforgex-mermaid-mermaidtimelinedocument-chartforgex-mermaid-mermaidtimelinerenderoptions) 

[MermaidTimelineRendering.cs:51](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTimelineRendering.cs#L51)

Renders native PNG from the same composed scene.

Parameters

**document ChartForgeX.Mermaid.MermaidTimelineDocument required**

**options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optional**

Returns

 `byte[]` 

 `public static string ToSvg(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null)` [#](#method-tosvg-chartforgex-mermaid-mermaidtimelinedocument-chartforgex-mermaid-mermaidtimelinerenderoptions) 

[MermaidTimelineRendering.cs:49](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTimelineRendering.cs#L49)

Renders native static SVG.

Parameters

**document ChartForgeX.Mermaid.MermaidTimelineDocument required**

**options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optional**

Returns

 `string` 

 `public static TimelineDiagramBlock ToTimelineDiagramBlock(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null)` [#](#method-totimelinediagramblock-chartforgex-mermaid-mermaidtimelinedocument-chartforgex-mermaid-mermaidtimelinerenderoptions) 

[MermaidTimelineRendering.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTimelineRendering.cs#L14)

Creates the native diagram, retaining authored ordering and section identity.

Parameters

**document ChartForgeX.Mermaid.MermaidTimelineDocument required**

**options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optional**

Returns

 `TimelineDiagramBlock` 

 `public static VisualArtifact ToVisualArtifact(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null)` [#](#method-tovisualartifact-chartforgex-mermaid-mermaidtimelinedocument-chartforgex-mermaid-mermaidtimelinerenderoptions) 

[MermaidTimelineRendering.cs:31](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTimelineRendering.cs#L31)

Wraps the native diagram in the shared bounded Mermaid artifact policy.

Parameters

**document ChartForgeX.Mermaid.MermaidTimelineDocument required**

**options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = 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:FA49314878897C8E6145FA51076A7529A8FEECDDABD54976E44409E324F1EF5C -->
