# MermaidMindMapNode

Describes one Mermaid mindmap node. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidMindMapDocument.cs:30](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L30)

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes one Mermaid mindmap node.

## Inheritance

- [MermaidAstNode](/api/chartforgex-mermaid-mermaidastnode/)
- MermaidMindMapNode

## 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

- Property [MermaidMindMapDocument.Nodes](/api/chartforgex-mermaid-mermaidmindmapdocument/#property-nodes)

 Filter members   

    Show inherited   

 

## Constructors

 MermaidMindMapNode 2 overloads 

 `public MermaidMindMapNode(string id, string text, int level, MermaidSourceSpan span)` [#](#constructor-ctor-string-string-int32-chartforgex-mermaid-mermaidsourcespan) 

[MermaidMindMapDocument.cs:30](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L30)

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)` [#](#constructor-ctor-string-string-int32-chartforgex-mermaid-mermaidsourcespan-string) 

[MermaidMindMapDocument.cs:62](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L62)

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**

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string Id { get; }` [#](#property-id) 

[MermaidMindMapDocument.cs:44](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L44)

Gets the generated stable node id.

 `public string? SourceId { get; }` [#](#property-sourceid) 

[MermaidMindMapDocument.cs:47](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L47)

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

 `public string Text { get; }` [#](#property-text) 

[MermaidMindMapDocument.cs:50](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L50)

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

 `public int Level { get; }` [#](#property-level) 

[MermaidMindMapDocument.cs:53](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L53)

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

 `public string? ParentId { get; set; }` [#](#property-parentid) 

[MermaidMindMapDocument.cs:56](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L56)

Gets or sets the parent node id.

 `public string? Shape { get; set; }` [#](#property-shape) 

[MermaidMindMapDocument.cs:59](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L59)

Gets or sets the parsed shape token.

 `public List<string> Classes { get; }` [#](#property-classes) 

[MermaidMindMapDocument.cs:62](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L62)

Gets parsed class names.

 `public List<string> Icons { get; }` [#](#property-icons) 

[MermaidMindMapDocument.cs:65](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L65)

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

## Inherited Properties

 `public MermaidSourceSpan Span { get; }` [#](#property-span) 

[MermaidAstNode.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidAstNode.cs#L13)

Inherited from [MermaidAstNode](/api/chartforgex-mermaid-mermaidastnode/)

<!-- PowerForge markdown artifact sha256:7A54D8C08FA2FE7B218CF34C3090126B00B4694FC46F7B51262CDD6A556E2B4B -->
