# MermaidIshikawaNode

Describes one Mermaid Ishikawa cause node.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidIshikawaDocument.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaDocument.cs#L21)

**Modifiers**

sealed

Describes one Mermaid Ishikawa cause node.

## Inheritance

- object
- MermaidIshikawaNode

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

- Property [MermaidIshikawaDocument.Root](/api/chartforgex-mermaid-mermaidishikawadocument/#property-root)
- Property [MermaidIshikawaNode.Children](/api/chartforgex-mermaid-mermaidishikawanode/#property-children)

### Accepted by parameters 1

- Method [MermaidIshikawaNode.AddChild](/api/chartforgex-mermaid-mermaidishikawanode/#method-addchild-chartforgex-mermaid-mermaidishikawanode) parameter `child`

 Filter members   

    Show inherited   

 

## Constructors

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

[MermaidIshikawaDocument.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaDocument.cs#L21)

Initializes an Ishikawa node.

Parameters

**text string required**

**level int required**

**span ChartForgeX.Mermaid.MermaidSourceSpan required**

## Methods

 `public void AddChild(MermaidIshikawaNode child)` [#](#method-addchild-chartforgex-mermaid-mermaidishikawanode) 

[MermaidIshikawaDocument.cs:45](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaDocument.cs#L45)

Adds a child node.

Parameters

**child ChartForgeX.Mermaid.MermaidIshikawaNode 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 Text { get; set; }` [#](#property-text) 

[MermaidIshikawaDocument.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaDocument.cs#L32)

Gets or sets the display text.

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

[MermaidIshikawaDocument.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaDocument.cs#L35)

Gets the normalized tree level where zero is the root effect.

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

[MermaidIshikawaDocument.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaDocument.cs#L38)

Gets the source span for the node.

 `public IReadOnlyList<MermaidIshikawaNode> Children { get; }` [#](#property-children) 

[MermaidIshikawaDocument.cs:41](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaDocument.cs#L41)

Gets child causes.

<!-- PowerForge markdown artifact sha256:4E161F9F16C8AB663F3C94B6EEB328A22A7C0D52C474F6DEF52436C6F4D7F74C -->
