IshikawaDiagram Class

An Ishikawa diagram, also known as a fishbone or cause-and-effect diagram: the effect, a problem, at the head of a spine, and its causes as bones on both sides of the spine, with their own causes as smaller bones (Mermaid ishikawa-beta).

public sealed class IshikawaDiagram : Diagram
Inheritance
Diagram IshikawaDiagram

Constructors

NameDescription
IshikawaDiagram()Initializes a new instance of the IshikawaDiagram class, with the padding of Mermaid, 20 pixels.

IshikawaDiagram()

IshikawaDiagram.cs

Initializes a new instance of the IshikawaDiagram class, with the padding of Mermaid, 20 pixels.

public IshikawaDiagram()

Properties

NameDescription
CausesGets the causes of the effect: the main bones, placed from the head to the tail, alternately above and below the spine.
EffectGets or sets the effect: the problem drawn in the head of the fish, or null for none.

Gets the causes of the effect: the main bones, placed from the head to the tail, alternately above and below the spine.

public IList<IshikawaCause> Causes { get; }

Property value

IList<IshikawaCause>

Gets or sets the effect: the problem drawn in the head of the fish, or null for none.

public DiagramText? Effect { get; set; }

Property value

DiagramText?

Methods

NameDescription
AddCause(DiagramText)Adds a main cause of the effect.
EnumerateCauses()Enumerates the causes and their causes, depth first.

AddCause(DiagramText)

IshikawaDiagram.cs

Adds a main cause of the effect.

public IshikawaCause AddCause(DiagramText label)

Parameters

label DiagramText
The text of the cause.

Returns

IshikawaCause The cause.

EnumerateCauses()

IshikawaDiagram.cs

Enumerates the causes and their causes, depth first.

public IEnumerable<IshikawaCause> EnumerateCauses()

Returns

IEnumerable<IshikawaCause> The causes.