# MermaidFlowchartNode

Describes a Mermaid flowchart node reference or definition.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidFlowchartDocument.cs:191](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L191)

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes a Mermaid flowchart node reference or definition.

## Inheritance

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

## Usage

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

- Property [MermaidFlowchartDocument.Nodes](/api/chartforgex-mermaid-mermaidflowchartdocument/#property-nodes)
- Property [MermaidSwimlaneDocument.Nodes](/api/chartforgex-mermaid-mermaidswimlanedocument/#property-nodes)
- Property [MermaidUseCaseDocument.Nodes](/api/chartforgex-mermaid-mermaidusecasedocument/#property-nodes)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidFlowchartNode(string id, MermaidSourceSpan span)` [#](#constructor-ctor-string-chartforgex-mermaid-mermaidsourcespan) 

[MermaidFlowchartDocument.cs:191](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L191)

Initializes a parsed flowchart node.

Parameters

**id string required**

**span ChartForgeX.Mermaid.MermaidSourceSpan 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; set; }` [#](#property-id) 

[MermaidFlowchartDocument.cs:180](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L180)

Gets or sets the Mermaid node identifier.

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

[MermaidFlowchartDocument.cs:183](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L183)

Gets or sets the optional node label text.

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

[MermaidFlowchartDocument.cs:189](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L189)

Gets or sets the explicit Mermaid node shape.

 `public Dictionary<string, string> Properties { get; }` [#](#property-properties) 

[MermaidFlowchartDocument.cs:195](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L195)

Gets source properties and retained UseCase stereotype facts.

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

[MermaidFlowchartDocument.cs:198](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L198)

Gets class names assigned through Mermaid class syntax.

 `public Dictionary<string, string> Styles { get; }` [#](#property-styles) 

[MermaidFlowchartDocument.cs:201](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L201)

Gets style declarations assigned directly or through class definitions.

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

[MermaidFlowchartDocument.cs:204](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L204)

Gets or sets an optional Mermaid click link target.

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

[MermaidFlowchartDocument.cs:207](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L207)

Gets or sets an optional Mermaid click tooltip.

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

[MermaidFlowchartDocument.cs:210](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L210)

Gets or sets an optional parent Mermaid subgraph id.

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