Class LayeredDigraphVertex
- Namespace
- Northwoods.Go.Layouts
- Assembly
- Northwoods.GoDiagram.Avalonia.LayeredDigraphLayout.dll
This holds LayeredDigraphLayout-specific information about Nodes.
public class LayeredDigraphVertex : Network<LayeredDigraphVertex, LayeredDigraphEdge, LayeredDigraphLayout>.Vertex- Inheritance
- 
      
      
      LayeredDigraphVertex
- Inherited Members
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.
public LayeredDigraphVertex(LayeredDigraphNetwork network)Parameters
- networkLayeredDigraphNetwork
Properties
Column
Gets or sets the column to which the node is assigned.
public int Column { get; set; }Property Value
Remarks
The default value is -1.
Component
Gets or sets the connected component to which the node is assigned.
public int Component { get; set; }Property Value
Remarks
The default value is -1.
Index
Gets or sets the index to which the node is assigned.
public int Index { get; set; }Property Value
Remarks
The default value is -1.
Layer
Gets or sets the layer to which the node is assigned.
public int Layer { get; set; }Property Value
Remarks
The default value is -1.
Near
Gets or sets another LayeredDigraphVertex in the same layer that this node should be near.
public LayeredDigraphVertex Near { get; set; }Property Value
Remarks
The default value is null.
Methods
AddDestinationEdge(LayeredDigraphEdge)
Adds a Network<V, E, Y>.Edge to the list of successors (the edge will be going out from this vertex).
public override void AddDestinationEdge(LayeredDigraphEdge edge)Parameters
- edgeLayeredDigraphEdge
Remarks
Calling this method does not modify the FromVertex of the Edge.
AddSourceEdge(LayeredDigraphEdge)
Adds an Network<V, E, Y>.Edge to the list of predecessors (the edge will be coming into this vertex).
public override void AddSourceEdge(LayeredDigraphEdge edge)Parameters
- edgeLayeredDigraphEdge
Remarks
Calling this method does not modify the ToVertex of the Edge.
DeleteDestinationEdge(LayeredDigraphEdge)
Deletes a Network<V, E, Y>.Edge from the list of successors (the edge was going out from this vertex).
public override void DeleteDestinationEdge(LayeredDigraphEdge edge)Parameters
- edgeLayeredDigraphEdge
Remarks
Calling this method does not modify the FromVertex of the Edge.
DeleteSourceEdge(LayeredDigraphEdge)
Deletes an Network<V, E, Y>.Edge from the list of predecessors (the edge was coming into this vertex).
public override void DeleteSourceEdge(LayeredDigraphEdge edge)Parameters
- edgeLayeredDigraphEdge
Remarks
Calling this method does not modify the ToVertex of the Edge.