Skip to content
ChartForgeX

API Reference

Class

MermaidSankeyDocument

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) #
Returns: Chart

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

Parameters

document ChartForgeX.Mermaid.MermaidSankeyDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidSankeyRenderOptions? = null optionalposition: 1
public static Byte[] ToPng(MermaidSankeyDocument document, MermaidSankeyRenderOptions? options = null) #
Returns: Byte[]

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

Parameters

document ChartForgeX.Mermaid.MermaidSankeyDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidSankeyRenderOptions? = null optionalposition: 1
public static String ToSvg(MermaidSankeyDocument document, MermaidSankeyRenderOptions? options = null) #
Returns: String

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

Parameters

document ChartForgeX.Mermaid.MermaidSankeyDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidSankeyRenderOptions? = null optionalposition: 1
public static VisualArtifact ToVisualArtifact(MermaidSankeyDocument document, MermaidSankeyRenderOptions? options = null) #
Returns: VisualArtifact

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

Parameters

document ChartForgeX.Mermaid.MermaidSankeyDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidSankeyRenderOptions? = null optionalposition: 1