# MermaidMindMapDocument

Describes a parsed Mermaid mindmap. 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:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidMindMapDocument.cs#L22)

**Base**

`MermaidDocument`

**Modifiers**

sealed

Describes a parsed Mermaid mindmap.

## Inheritance

- [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)
- MermaidMindMapDocument

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

- Method [MermaidParser.ParseMindMap](/api/chartforgex-mermaid-mermaidparser/#method-parsemindmap-string)

### Accepted by parameters 8

- Extension method [MermaidMindMapDocument.ToPng](/api/chartforgex-mermaid-mermaidmindmapdocument/#extension-topng-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) parameter `document`
- Extension method [MermaidMindMapDocument.ToSvg](/api/chartforgex-mermaid-mermaidmindmapdocument/#extension-tosvg-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) parameter `document`
- Extension method [MermaidMindMapDocument.ToTopologyChart](/api/chartforgex-mermaid-mermaidmindmapdocument/#extension-totopologychart-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) parameter `document`
- Extension method [MermaidMindMapDocument.ToVisualArtifact](/api/chartforgex-mermaid-mermaidmindmapdocument/#extension-tovisualartifact-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) parameter `document`
- Method [MermaidTopologyRendering.ToPng](/api/chartforgex-mermaid-mermaidtopologyrendering/#method-topng-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) parameter `document`
- Method [MermaidTopologyRendering.ToSvg](/api/chartforgex-mermaid-mermaidtopologyrendering/#method-tosvg-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) parameter `document`
- Method [MermaidTopologyRendering.ToTopologyChart](/api/chartforgex-mermaid-mermaidtopologyrendering/#method-totopologychart-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) parameter `document`
- Method [MermaidTopologyRendering.ToVisualArtifact](/api/chartforgex-mermaid-mermaidtopologyrendering/#method-tovisualartifact-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) parameter `document`

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidMindMapDocument()` [#](#constructor-ctor) 

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

## 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 MermaidMindMapColorMode ColorBy { get; set; }` [#](#property-colorby) 

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

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

 `public List<MermaidMindMapNode> Nodes { get; }` [#](#property-nodes) 

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

Gets mindmap nodes in source order.

## Inherited Properties

 `public MermaidDiagramKind Kind { get; set; }` [#](#property-kind) 

[MermaidDocument.cs:91](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L91)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public bool IsDiagnosticOnly { get; }` [#](#property-isdiagnosticonly) 

[MermaidDocument.cs:94](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L94)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public string SourceText { get; set; }` [#](#property-sourcetext) 

[MermaidDocument.cs:97](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L97)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public MermaidSourceSpan HeaderSpan { get; set; }` [#](#property-headerspan) 

[MermaidDocument.cs:100](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L100)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public string Header { get; set; }` [#](#property-header) 

[MermaidDocument.cs:103](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L103)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

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

[MermaidDocument.cs:106](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L106)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public VisualAccessibility Accessibility { get; }` [#](#property-accessibility) 

[MermaidDocument.cs:109](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L109)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

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

[MermaidDocument.cs:112](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L112)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public MermaidSourceConfiguration Configuration { get; internal set; }` [#](#property-configuration) 

[MermaidDocument.cs:115](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L115)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public List<MermaidDirective> Directives { get; }` [#](#property-directives) 

[MermaidDocument.cs:118](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L118)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public List<MermaidRawStatement> RawStatements { get; }` [#](#property-rawstatements) 

[MermaidDocument.cs:121](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L121)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

## Extension Methods

 `public static byte[] ToPng(MermaidMindMapDocument document, MermaidTopologyRenderOptions? options = null)` [#](#extension-topng-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) 

[MermaidTopologyRendering.cs:163](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTopologyRendering.cs#L163)

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)` [#](#extension-tosvg-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) 

[MermaidTopologyRendering.cs:147](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTopologyRendering.cs#L147)

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)` [#](#extension-totopologychart-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) 

[MermaidTopologyRendering.MindMap.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTopologyRendering.MindMap.cs#L12)

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

Returns

 `TopologyChart` 

 `public static VisualArtifact ToVisualArtifact(MermaidMindMapDocument document, MermaidTopologyRenderOptions? options = null)` [#](#extension-tovisualartifact-chartforgex-mermaid-mermaidmindmapdocument-chartforgex-mermaid-mermaidtopologyrenderoptions) 

[MermaidTopologyRendering.cs:131](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTopologyRendering.cs#L131)

Wraps a Mermaid mindmap in a visual artifact envelope.

Parameters

**document ChartForgeX.Mermaid.MermaidMindMapDocument required**

**options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional**

Returns

 `VisualArtifact` 

<!-- PowerForge markdown artifact sha256:F2D1188129131D150E7782DC50CF9A5DFB3B82B2EB313DD8F431D2139A844FF7 -->
