Skip to content
ChartForgeX
Class

MermaidWardleyRendering

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
static

Provides ChartForgeX rendering adapters for parsed Mermaid Wardley maps.

Inheritance

  • object
  • MermaidWardleyRendering

Methods

public static byte[] ToPng(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null) #

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

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

Wraps a Mermaid Wardley document in a visual artifact envelope.

Parameters

document ChartForgeX.Mermaid.MermaidWardleyDocument required
options ChartForgeX.Mermaid.MermaidWardleyRenderOptions? = null optional
public static WardleyMapBlock ToWardleyMapBlock(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidWardleyDocument required
options ChartForgeX.Mermaid.MermaidWardleyRenderOptions? = null optional