Class LayeredDigraphVertex

GoDiagram®
v10.0.12
by Northwoods Software®

This holds LayeredDigraphLayout-specific information about Nodes.

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

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

Constructors

LayeredDigraphVertex(LayeredDigraphNetwork)

This constructs a vertex that does not know about any Node and sets its network.

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

Properties

Column

Gets or sets the column to which the node is assigned.

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

The default value is -1.

Component

Gets or sets the connected component to which the node is assigned.

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

The default value is -1.

Index

Gets or sets the index to which the node is assigned.

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

The default value is -1.

Layer

Gets or sets the layer to which the node is assigned.

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

The default value is -1.

Near

Gets or sets another LayeredDigraphVertex in the same layer that this node should be near.

Declaration
public LayeredDigraphVertex Near { get; set; }
Property Value
Type Description
LayeredDigraphVertex
Remarks

The default value is null.