BlockDiagramEdge Class

An edge of a block diagram: a straight line between two blocks.

public sealed class BlockDiagramEdge

Constructors

NameDescription
BlockDiagramEdge(BlockDiagramBlock, BlockDiagramBlock)Initializes a new instance of the BlockDiagramEdge class.

BlockDiagramEdge(BlockDiagramBlock, BlockDiagramBlock)

BlockDiagramEdge.cs

Initializes a new instance of the BlockDiagramEdge class.

public BlockDiagramEdge(BlockDiagramBlock from, BlockDiagramBlock to)

Parameters

from BlockDiagramBlock
The source.
to BlockDiagramBlock
The target.

Properties

NameDescription
EndArrowHeadGets or sets the decoration at BlockDiagramEdge.To. The default is an arrowhead.
FromGets the source.
LabelGets or sets the text, or null for none.
LineStyleGets or sets the style of the line.
StartArrowHeadGets or sets the decoration at BlockDiagramEdge.From.
ToGets the target.

Gets or sets the decoration at BlockDiagramEdge.To. The default is an arrowhead.

public FlowchartArrowHead EndArrowHead { get; set; }

Property value

FlowchartArrowHead

Gets the source.

public BlockDiagramBlock From { get; }

Property value

BlockDiagramBlock

Gets or sets the text, or null for none.

public DiagramText? Label { get; set; }

Property value

DiagramText?

Gets or sets the style of the line.

public FlowchartLineStyle LineStyle { get; set; }

Property value

FlowchartLineStyle

StartArrowHead

BlockDiagramEdge.cs

Gets or sets the decoration at BlockDiagramEdge.From.

public FlowchartArrowHead StartArrowHead { get; set; }

Property value

FlowchartArrowHead

Gets the target.

public BlockDiagramBlock To { get; }

Property value

BlockDiagramBlock