Table of Contents

Class LayeredDigraphEdge

Namespace
Northwoods.Go.Layouts
Assembly
Northwoods.GoDiagram.WinForms.LayeredDigraphLayout.dll

This holds LayeredDigraphLayout-specific information about Links.

public class LayeredDigraphEdge : Network<LayeredDigraphVertex, LayeredDigraphEdge, LayeredDigraphLayout>.Edge
Inheritance
LayeredDigraphEdge
Inherited Members

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.

public LayeredDigraphEdge(LayeredDigraphNetwork network)

Parameters

network LayeredDigraphNetwork

Properties

Forest

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

public bool Forest { get; set; }

Property Value

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.

public int PortFromColOffset { get; set; }

Property Value

int

Remarks

The default value is 0.

PortFromPos

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

public int PortFromPos { get; set; }

Property Value

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.

public int PortToColOffset { get; set; }

Property Value

int

Remarks

The default value is 0.

PortToPos

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

public int PortToPos { get; set; }

Property Value

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.

public bool Rev { get; set; }

Property Value

bool

Remarks

The default value is false.

Valid

True if the link is part of the proper digraph.

public bool Valid { get; set; }

Property Value

bool

Remarks

The default value is false.