Class RadialVertex
This holds RadialLayout-specific information about Nodes.
Namespace: Northwoods.Go.Layouts.Extensions
Assembly: RadialAvalonia.dll
Syntax
public class RadialVertex : Network<RadialVertex, RadialEdge, RadialLayout>.Vertex
Remarks
This class inherits from Network<V, E, Y>.Vertex.
Constructors
RadialVertex(RadialNetwork)
This constructs a vertex that does not know about any Node and sets its network.
Declaration
public RadialVertex(RadialNetwork network)
Parameters
Type | Name | Description |
---|---|---|
RadialNetwork | network |
Properties
Angle
The direction at which the node is placed relative to the root node.
Declaration
public double Angle { get; set; }
Property Value
Type | Description |
---|---|
double |
Children
A list of the RadialVertex children of this vertex, when treating the network as a tree.
Declaration
public List<RadialVertex> Children { get; set; }
Property Value
Type | Description |
---|---|
List<RadialVertex> |
Distance
Number of layers from the root, non-negative integers.
Declaration
public int Distance { get; set; }
Property Value
Type | Description |
---|---|
int |
Laid
Used internally to keep track.
Declaration
public bool Laid { get; set; }
Property Value
Type | Description |
---|---|
bool |
Radius
The inner radius of the layer containing this vertex.
Declaration
public double Radius { get; set; }
Property Value
Type | Description |
---|---|
double |
Sweep
The angle subtended by the vertex.
Declaration
public double Sweep { get; set; }
Property Value
Type | Description |
---|---|
double |