CynefinTheme Class

The colors and sizes of a CynefinDiagram that replace the ones of the theme (the cynefin theme variables of Mermaid). A null value keeps the one of the theme.

public sealed class CynefinTheme

Constructors

NameDescription
CynefinTheme()

CynefinTheme()

public CynefinTheme()

No documentation is available.

Properties

NameDescription
ArrowColorGets or sets the color of the arrows of the transitions (Mermaid arrowColor).
ArrowWidthGets or sets the width of the arrows of the transitions (Mermaid arrowWidth).
BoundaryColorGets or sets the color of the wavy boundaries between the domains (Mermaid boundaryColor).
BoundaryWidthGets or sets the width of the boundaries between the domains (Mermaid boundaryWidth).
ChaoticBackgroundGets or sets the background of the chaotic domain (Mermaid chaoticBg).
ClearBackgroundGets or sets the background of the clear domain (Mermaid clearBg).
CliffColorGets or sets the color of the cliff between the clear and the chaotic domains (Mermaid cliffColor).
CliffWidthGets or sets the width of the cliff between the clear and the chaotic domains (Mermaid cliffWidth).
ComplexBackgroundGets or sets the background of the complex domain (Mermaid complexBg).
ComplicatedBackgroundGets or sets the background of the complicated domain (Mermaid complicatedBg).
ConfusionBackgroundGets or sets the background of the confusion domain, in the center (Mermaid confusionBg).
DomainFontSizeGets or sets the size of the names of the domains (Mermaid domainFontSize).
ItemFontSizeGets or sets the size of the items; the descriptions and the texts of the transitions are one pixel smaller (Mermaid itemFontSize).
LabelColorGets or sets the color of the names of the domains (Mermaid labelColor).
TextColorGets or sets the color of the items, of the descriptions of the domains and of the texts of the transitions (Mermaid textColor).

ArrowColor

CynefinTheme.cs

Gets or sets the color of the arrows of the transitions (Mermaid arrowColor).

public SceneColor? ArrowColor { get; set; }

Property value

SceneColor?

ArrowWidth

CynefinTheme.cs

Gets or sets the width of the arrows of the transitions (Mermaid arrowWidth).

public double? ArrowWidth { get; set; }

Property value

double?

Exceptions

ArgumentOutOfRangeException
The value is negative or greater than 100.

BoundaryColor

CynefinTheme.cs

Gets or sets the color of the wavy boundaries between the domains (Mermaid boundaryColor).

public SceneColor? BoundaryColor { get; set; }

Property value

SceneColor?

BoundaryWidth

CynefinTheme.cs

Gets or sets the width of the boundaries between the domains (Mermaid boundaryWidth).

public double? BoundaryWidth { get; set; }

Property value

double?

Exceptions

ArgumentOutOfRangeException
The value is negative or greater than 100.

ChaoticBackground

CynefinTheme.cs

Gets or sets the background of the chaotic domain (Mermaid chaoticBg).

public SceneColor? ChaoticBackground { get; set; }

Property value

SceneColor?

ClearBackground

CynefinTheme.cs

Gets or sets the background of the clear domain (Mermaid clearBg).

public SceneColor? ClearBackground { get; set; }

Property value

SceneColor?

CliffColor

CynefinTheme.cs

Gets or sets the color of the cliff between the clear and the chaotic domains (Mermaid cliffColor).

public SceneColor? CliffColor { get; set; }

Property value

SceneColor?

CliffWidth

CynefinTheme.cs

Gets or sets the width of the cliff between the clear and the chaotic domains (Mermaid cliffWidth).

public double? CliffWidth { get; set; }

Property value

double?

Exceptions

ArgumentOutOfRangeException
The value is negative or greater than 100.

ComplexBackground

CynefinTheme.cs

Gets or sets the background of the complex domain (Mermaid complexBg).

public SceneColor? ComplexBackground { get; set; }

Property value

SceneColor?

ComplicatedBackground

CynefinTheme.cs

Gets or sets the background of the complicated domain (Mermaid complicatedBg).

public SceneColor? ComplicatedBackground { get; set; }

Property value

SceneColor?

ConfusionBackground

CynefinTheme.cs

Gets or sets the background of the confusion domain, in the center (Mermaid confusionBg).

public SceneColor? ConfusionBackground { get; set; }

Property value

SceneColor?

DomainFontSize

CynefinTheme.cs

Gets or sets the size of the names of the domains (Mermaid domainFontSize).

public double? DomainFontSize { get; set; }

Property value

double?

Exceptions

ArgumentOutOfRangeException
The value is not between 1 and 1000.

ItemFontSize

CynefinTheme.cs

Gets or sets the size of the items; the descriptions and the texts of the transitions are one pixel smaller (Mermaid itemFontSize).

public double? ItemFontSize { get; set; }

Property value

double?

Exceptions

ArgumentOutOfRangeException
The value is not between 2 and 1000.

LabelColor

CynefinTheme.cs

Gets or sets the color of the names of the domains (Mermaid labelColor).

public SceneColor? LabelColor { get; set; }

Property value

SceneColor?

Gets or sets the color of the items, of the descriptions of the domains and of the texts of the transitions (Mermaid textColor).

public SceneColor? TextColor { get; set; }

Property value

SceneColor?