Skip to content
ChartForgeX
Class

MermaidMindMapDocument

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes a parsed Mermaid mindmap.

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

Properties

public MermaidMindMapColorMode ColorBy { get; set; } #

Gets or sets how categorical colors follow the source hierarchy. Branch is the default.

public List<MermaidMindMapNode> Nodes { get; } #

Gets mindmap nodes in source order.

Extension Methods

public static byte[] ToPng(MermaidMindMapDocument document, MermaidTopologyRenderOptions? options = null) #

Renders a Mermaid mindmap to PNG.

Parameters

document ChartForgeX.Mermaid.MermaidMindMapDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional

Returns

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

Renders a Mermaid mindmap to SVG.

Parameters

document ChartForgeX.Mermaid.MermaidMindMapDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional

Returns

string
public static TopologyChart ToTopologyChart(MermaidMindMapDocument document, MermaidTopologyRenderOptions? options = null) #

Converts a Mermaid mindmap to a topology chart with theme palette slots selected by branch or structural depth.

Parameters

document ChartForgeX.Mermaid.MermaidMindMapDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional
public static VisualArtifact ToVisualArtifact(MermaidMindMapDocument document, MermaidTopologyRenderOptions? options = null) #

Wraps a Mermaid mindmap in a visual artifact envelope.

Parameters

document ChartForgeX.Mermaid.MermaidMindMapDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional