Skip to content
ChartForgeX
Class

MermaidSankeyDocument

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes a parsed Mermaid Sankey diagram document.

Inheritance

Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 8

Constructors

public MermaidSankeyDocument() #

Properties

public List<MermaidRawStatement> Statements { get; } #

Gets retained raw CSV rows.

Extension Methods

public static Chart ToChart(MermaidSankeyDocument document, MermaidSankeyRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidSankeyDocument required
options ChartForgeX.Mermaid.MermaidSankeyRenderOptions? = null optional

Returns

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

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

Parameters

document ChartForgeX.Mermaid.MermaidSankeyDocument required
options ChartForgeX.Mermaid.MermaidSankeyRenderOptions? = null optional

Returns

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

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

Parameters

document ChartForgeX.Mermaid.MermaidSankeyDocument required
options ChartForgeX.Mermaid.MermaidSankeyRenderOptions? = null optional

Returns

string
public static VisualArtifact ToVisualArtifact(MermaidSankeyDocument document, MermaidSankeyRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidSankeyDocument required
options ChartForgeX.Mermaid.MermaidSankeyRenderOptions? = null optional