Skip to content
ChartForgeX
Class

MermaidTreemapRendering

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
static

Provides ChartForgeX rendering adapters for parsed Mermaid treemap diagrams.

Inheritance

  • object
  • MermaidTreemapRendering

Methods

public static Chart ToChart(MermaidTreemapDocument document, MermaidTreemapRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidTreemapDocument required
options ChartForgeX.Mermaid.MermaidTreemapRenderOptions? = null optional

Returns

Chart
public static byte[] ToPng(MermaidTreemapDocument document, MermaidTreemapRenderOptions? options = null) #

Renders a Mermaid treemap document to static PNG through ChartForgeX chart rendering.

Parameters

document ChartForgeX.Mermaid.MermaidTreemapDocument required
options ChartForgeX.Mermaid.MermaidTreemapRenderOptions? = null optional

Returns

byte[]
public static string ToSvg(MermaidTreemapDocument document, MermaidTreemapRenderOptions? options = null) #

Renders a Mermaid treemap document to static SVG through ChartForgeX chart rendering.

Parameters

document ChartForgeX.Mermaid.MermaidTreemapDocument required
options ChartForgeX.Mermaid.MermaidTreemapRenderOptions? = null optional

Returns

string
public static VisualArtifact ToVisualArtifact(MermaidTreemapDocument document, MermaidTreemapRenderOptions? options = null) #

Wraps a Mermaid treemap document in a visual artifact envelope backed by a ChartForgeX chart.

Parameters

document ChartForgeX.Mermaid.MermaidTreemapDocument required
options ChartForgeX.Mermaid.MermaidTreemapRenderOptions? = null optional