# MermaidWardleyRendering

Provides ChartForgeX rendering adapters for parsed Mermaid Wardley maps.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

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

**Modifiers**

static

Provides ChartForgeX rendering adapters for parsed Mermaid Wardley maps.

## Inheritance

- object
- MermaidWardleyRendering

 Filter members   

    Show inherited   

 

## Methods

 `public static byte[] ToPng(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null)` [#](#method-topng-chartforgex-mermaid-mermaidwardleydocument-chartforgex-mermaid-mermaidwardleyrenderoptions) 

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

Renders a Mermaid Wardley document to static PNG.

Parameters

**document ChartForgeX.Mermaid.MermaidWardleyDocument required**

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

Returns

 `byte[]` 

 `public static string ToSvg(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null)` [#](#method-tosvg-chartforgex-mermaid-mermaidwardleydocument-chartforgex-mermaid-mermaidwardleyrenderoptions) 

[MermaidWardleyRendering.cs:95](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidWardleyRendering.cs#L95)

Renders a Mermaid Wardley document to static SVG.

Parameters

**document ChartForgeX.Mermaid.MermaidWardleyDocument required**

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

Returns

 `string` 

 `public static VisualArtifact ToVisualArtifact(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null)` [#](#method-tovisualartifact-chartforgex-mermaid-mermaidwardleydocument-chartforgex-mermaid-mermaidwardleyrenderoptions) 

[MermaidWardleyRendering.cs:68](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidWardleyRendering.cs#L68)

Wraps a Mermaid Wardley document in a visual artifact envelope.

Parameters

**document ChartForgeX.Mermaid.MermaidWardleyDocument required**

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

Returns

 `VisualArtifact` 

 `public static WardleyMapBlock ToWardleyMapBlock(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null)` [#](#method-towardleymapblock-chartforgex-mermaid-mermaidwardleydocument-chartforgex-mermaid-mermaidwardleyrenderoptions) 

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

Converts a Mermaid Wardley document into a reusable Wardley map block.

Parameters

**document ChartForgeX.Mermaid.MermaidWardleyDocument required**

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

Returns

 `WardleyMapBlock` 

## 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:399B2A1C5885A8059AB4745D61AE7FF984B02B4411BA2008BCE2EE78364A571C -->
