ArchitectureEdge Class

An edge of an architecture diagram, from a side of a node to a side of another node.

public sealed class ArchitectureEdge

Constructors

NameDescription
ArchitectureEdge(ArchitectureNode, ArchitectureSide, ArchitectureNode, ArchitectureSide)Initializes a new instance of the ArchitectureEdge class.

ArchitectureEdge(ArchitectureNode, ArchitectureSide, ArchitectureNode, ArchitectureSide)

ArchitectureEdge.cs

Initializes a new instance of the ArchitectureEdge class.

public ArchitectureEdge(ArchitectureNode from, ArchitectureSide fromSide, ArchitectureNode to, ArchitectureSide toSide)

Parameters

from ArchitectureNode
The first node.
fromSide ArchitectureSide
The side of from the edge leaves.
to ArchitectureNode
The second node.
toSide ArchitectureSide
The side of to the edge reaches.

Properties

NameDescription
FromGets the first node.
FromArrowGets or sets a value that indicates whether an arrowhead points to ArchitectureEdge.From (Mermaid <).
FromGroupGets or sets a value that indicates whether the edge starts at the frame of the group of ArchitectureEdge.From (Mermaid {group}).
FromSideGets or sets the side of ArchitectureEdge.From the edge leaves.
LabelGets or sets the text of the edge, or null for none.
ToGets the second node.
ToArrowGets or sets a value that indicates whether an arrowhead points to ArchitectureEdge.To (Mermaid >).
ToGroupGets or sets a value that indicates whether the edge ends at the frame of the group of ArchitectureEdge.To (Mermaid {group}).
ToSideGets or sets the side of ArchitectureEdge.To the edge reaches.

Gets the first node.

public ArchitectureNode From { get; }

Property value

ArchitectureNode

Gets or sets a value that indicates whether an arrowhead points to ArchitectureEdge.From (Mermaid <).

public bool FromArrow { get; set; }

Property value

bool

Gets or sets a value that indicates whether the edge starts at the frame of the group of ArchitectureEdge.From (Mermaid {group}).

public bool FromGroup { get; set; }

Property value

bool

Gets or sets the side of ArchitectureEdge.From the edge leaves.

public ArchitectureSide FromSide { get; set; }

Property value

ArchitectureSide

Gets or sets the text of the edge, or null for none.

public DiagramText? Label { get; set; }

Property value

DiagramText?

Gets the second node.

public ArchitectureNode To { get; }

Property value

ArchitectureNode

Gets or sets a value that indicates whether an arrowhead points to ArchitectureEdge.To (Mermaid >).

public bool ToArrow { get; set; }

Property value

bool

Gets or sets a value that indicates whether the edge ends at the frame of the group of ArchitectureEdge.To (Mermaid {group}).

public bool ToGroup { get; set; }

Property value

bool

Gets or sets the side of ArchitectureEdge.To the edge reaches.

public ArchitectureSide ToSide { get; set; }

Property value

ArchitectureSide