CynefinTransition Class

A movement between two domains of a CynefinDiagram, drawn as a curved arrow between their centers.

public sealed class CynefinTransition

Constructors

NameDescription
CynefinTransition(CynefinDomain, CynefinDomain, DiagramText?)A movement between two domains of a CynefinDiagram, drawn as a curved arrow between their centers.

CynefinTransition(CynefinDomain, CynefinDomain, DiagramText?)

CynefinTransition.cs

A movement between two domains of a CynefinDiagram, drawn as a curved arrow between their centers.

public CynefinTransition(CynefinDomain from, CynefinDomain to, DiagramText? label = null)

Parameters

from CynefinDomain
The domain the movement starts from.
to CynefinDomain
The domain the movement goes to. A transition to the same domain is not drawn, as in Mermaid.
label DiagramText?
The text drawn on the arrow, or null for none.

Properties

NameDescription
FromGets or sets the domain the movement starts from.
LabelGets or sets the text drawn on the arrow, or null for none.
ToGets or sets the domain the movement goes to.

Gets or sets the domain the movement starts from.

public CynefinDomain From { get; set; }

Property value

CynefinDomain

Gets or sets the text drawn on the arrow, or null for none.

public DiagramText? Label { get; set; }

Property value

DiagramText?

Gets or sets the domain the movement goes to.

public CynefinDomain To { get; set; }

Property value

CynefinDomain

Methods

NameDescription
ToString()Returns the domains and the text of the transition.

Returns the domains and the text of the transition.

public override string ToString()

Returns

string The text.