Skip to content
ChartForgeX
Class

MermaidMindMapNode

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes one Mermaid mindmap node.

Inheritance

Usage

Explore 1 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

Constructors

MermaidMindMapNode 2 overloads
public MermaidMindMapNode(string id, string text, int level, MermaidSourceSpan span) #

Initializes a mindmap node.

Parameters

id string required
text string required
level int required
span ChartForgeX.Mermaid.MermaidSourceSpan required
public MermaidMindMapNode(string id, string text, int level, MermaidSourceSpan span, string? sourceId) #

Initializes a node with its optional authored prefix identity, independently of its generated hierarchy id.

Parameters

id string required
text string required
level int required
span ChartForgeX.Mermaid.MermaidSourceSpan required
sourceId string? required

Properties

public string Id { get; } #

Gets the generated stable node id.

public string? SourceId { get; } #

Gets the optional authored prefix before a shape delimiter. Generated ids continue to own hierarchy links.

public string Text { get; } #

Gets the source caption, including any Markdown wrapper, before safe native text lowering.

public int Level { get; } #

Gets the structural parent-child depth, starting at zero for the root, independently of indentation width.

public string? ParentId { get; set; } #

Gets or sets the parent node id.

public string? Shape { get; set; } #

Gets or sets the parsed shape token.

public List<string> Classes { get; } #

Gets parsed class names.

public List<string> Icons { get; } #

Gets authored icon tokens. Only explicit qualified built-in catalog ids have a native visual mapping.