# MermaidIshikawaDocument

Describes a parsed Mermaid Ishikawa diagram.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

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

**Base**

`MermaidDocument`

**Modifiers**

sealed

Describes a parsed Mermaid Ishikawa diagram.

## Inheritance

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

## 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.ParseIshikawa](/api/chartforgex-mermaid-mermaidparser/#method-parseishikawa-string)

### Accepted by parameters 8

- Extension method [MermaidIshikawaDocument.ToFishboneDiagramBlock](/api/chartforgex-mermaid-mermaidishikawadocument/#extension-tofishbonediagramblock-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) parameter `document`
- Extension method [MermaidIshikawaDocument.ToPng](/api/chartforgex-mermaid-mermaidishikawadocument/#extension-topng-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) parameter `document`
- Extension method [MermaidIshikawaDocument.ToSvg](/api/chartforgex-mermaid-mermaidishikawadocument/#extension-tosvg-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) parameter `document`
- Extension method [MermaidIshikawaDocument.ToVisualArtifact](/api/chartforgex-mermaid-mermaidishikawadocument/#extension-tovisualartifact-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) parameter `document`
- Method [MermaidIshikawaRendering.ToFishboneDiagramBlock](/api/chartforgex-mermaid-mermaidishikawarendering/#method-tofishbonediagramblock-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) parameter `document`
- Method [MermaidIshikawaRendering.ToPng](/api/chartforgex-mermaid-mermaidishikawarendering/#method-topng-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) parameter `document`
- Method [MermaidIshikawaRendering.ToSvg](/api/chartforgex-mermaid-mermaidishikawarendering/#method-tosvg-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) parameter `document`
- Method [MermaidIshikawaRendering.ToVisualArtifact](/api/chartforgex-mermaid-mermaidishikawarendering/#method-tovisualartifact-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) parameter `document`

 Filter members   

    Show inherited   

 

## Constructors

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

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

## 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 List<MermaidRawStatement> Statements { get; }` [#](#property-statements) 

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

Gets Ishikawa statements retained in source order.

 `public MermaidIshikawaNode? Root { get; set; }` [#](#property-root) 

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

Gets or sets the root effect node.

## 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 FishboneDiagramBlock ToFishboneDiagramBlock(MermaidIshikawaDocument document, MermaidIshikawaRenderOptions? options = null)` [#](#extension-tofishbonediagramblock-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) 

[MermaidIshikawaRendering.cs:17](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaRendering.cs#L17)

Converts a Mermaid Ishikawa document into a reusable fishbone visual block.

Parameters

**document ChartForgeX.Mermaid.MermaidIshikawaDocument required**

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

Returns

 `FishboneDiagramBlock` 

 `public static byte[] ToPng(MermaidIshikawaDocument document, MermaidIshikawaRenderOptions? options = null)` [#](#extension-topng-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) 

[MermaidIshikawaRendering.cs:67](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaRendering.cs#L67)

Renders a Mermaid Ishikawa document to static PNG.

Parameters

**document ChartForgeX.Mermaid.MermaidIshikawaDocument required**

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

Returns

 `byte[]` 

 `public static string ToSvg(MermaidIshikawaDocument document, MermaidIshikawaRenderOptions? options = null)` [#](#extension-tosvg-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) 

[MermaidIshikawaRendering.cs:63](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaRendering.cs#L63)

Renders a Mermaid Ishikawa document to static SVG.

Parameters

**document ChartForgeX.Mermaid.MermaidIshikawaDocument required**

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

Returns

 `string` 

 `public static VisualArtifact ToVisualArtifact(MermaidIshikawaDocument document, MermaidIshikawaRenderOptions? options = null)` [#](#extension-tovisualartifact-chartforgex-mermaid-mermaidishikawadocument-chartforgex-mermaid-mermaidishikawarenderoptions) 

[MermaidIshikawaRendering.cs:39](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidIshikawaRendering.cs#L39)

Wraps a Mermaid Ishikawa document in a visual artifact envelope.

Parameters

**document ChartForgeX.Mermaid.MermaidIshikawaDocument required**

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

Returns

 `VisualArtifact` 

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