Class LayeredDigraphEdge

GoDiagram®
v10.0.12
by Northwoods Software®

This holds LayeredDigraphLayout-specific information about Links.

Namespace: Northwoods.Go.Layouts
Assembly: Northwoods.GoDiagram.Avalonia.LayeredDigraphLayout.dll
Syntax
public class LayeredDigraphEdge : Network<LayeredDigraphVertex, LayeredDigraphEdge, LayeredDigraphLayout>.Edge
Remarks

This class inherits from Network<V, E, Y>.Edge.

Constructors

LayeredDigraphEdge(LayeredDigraphNetwork)

This constructs an edge that does not know about any Link and sets its network.

Declaration
public LayeredDigraphEdge(LayeredDigraphNetwork network)
Parameters
Type Name Description
LayeredDigraphNetwork network

Properties

Forest

True if the link is part of the depth first forest.

Declaration
public bool Forest { get; set; }
Property Value
Type Description
bool
Remarks

The default value is false.

PortFromColOffset

Approximate column offset of the from port of the link from the from node column used in straightening.

Declaration
public int PortFromColOffset { get; set; }
Property Value
Type Description
int
Remarks

The default value is 0.

PortFromPos

Location of the port at the from node of the link.

Declaration
public int PortFromPos { get; set; }
Property Value
Type Description
int
Remarks

Allows the crossing matrix to correctly calculate the crossings for nodes with multiple ports. The default value is -1.

PortToColOffset

Approximate column offset of the to port of the link from the to node column used in straightening.

Declaration
public int PortToColOffset { get; set; }
Property Value
Type Description
int
Remarks

The default value is 0.

PortToPos

Location of the port at the to node of the link.

Declaration
public int PortToPos { get; set; }
Property Value
Type Description
int
Remarks

Allows the crossing matrix to correctly calculate the crossings for nodes with multiple ports. The default value is -1.

Rev

True if the link was reversed during cycle removal.

Declaration
public bool Rev { get; set; }
Property Value
Type Description
bool
Remarks

The default value is false.

Valid

True if the link is part of the proper digraph.

Declaration
public bool Valid { get; set; }
Property Value
Type Description
bool
Remarks

The default value is false.