Class SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex
Sugiyama internal graph vertex.
Inheritance
Implements
Inherited Members
Namespace: GraphShape.Algorithms.Layout
Assembly: GraphShape.dll
Syntax
protected class SugiVertex : SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Data, SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.IData
Constructors
| Improve this Doc View SourceSugiVertex()
Initializes a new instance of the SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex class.
Declaration
public SugiVertex()
SugiVertex(TVertex, SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexTypes, Size)
Initializes a new instance of the SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex class.
Declaration
public SugiVertex(TVertex originalVertex, SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexTypes type, Size size)
Parameters
Type | Name | Description |
---|---|---|
TVertex | originalVertex | Wrapped vertex. |
SugiyamaLayoutAlgorithm.VertexTypes<> | type | Vertex type. |
Size | size | Vertex size. |
SugiVertex(TVertex, Size)
Initializes a new instance of the SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex class.
Declaration
public SugiVertex(TVertex originalVertex, Size size)
Parameters
Type | Name | Description |
---|---|---|
TVertex | originalVertex | Wrapped vertex. |
Size | size | Vertex size. |
SugiVertex(SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexTypes)
Initializes a new instance of the SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex class.
Declaration
public SugiVertex(SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexTypes type)
Parameters
Type | Name | Description |
---|---|---|
SugiyamaLayoutAlgorithm.VertexTypes<> | type | Vertex type. |
Fields
| Improve this Doc View SourceAligns
Align vertices..
Declaration
public readonly SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex[] Aligns
Field Value
Type | Description |
---|---|
SugiyamaLayoutAlgorithm.SugiVertex<>[] |
BlockWidths
Block widths.
Declaration
public readonly double[] BlockWidths
Field Value
Type | Description |
---|---|
System.Double[] |
OriginalVertex
Vertex from the original graph to layout.
Declaration
public readonly TVertex OriginalVertex
Field Value
Type | Description |
---|---|
TVertex |
Roots
Root vertices.
Declaration
public readonly SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex[] Roots
Field Value
Type | Description |
---|---|
SugiyamaLayoutAlgorithm.SugiVertex<>[] |
Size
Vertex size.
Declaration
public readonly Size Size
Field Value
Type | Description |
---|---|
Size |
SlicePositions
Slice positions.
Declaration
public readonly double[] SlicePositions
Field Value
Type | Description |
---|---|
System.Double[] |
Properties
| Improve this Doc View SourceDoNotOptimize
Indicates if the vertex must be optimized or not.
Declaration
public bool DoNotOptimize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IndexInsideLayer
The index inside the layer.
Declaration
public int IndexInsideLayer { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LayerIndex
Layer index.
Declaration
public int LayerIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LayerPosition
Vertex layer position.
Declaration
public double LayerPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MeasuredPosition
Measured position.
Declaration
public double MeasuredPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PermutationIndex
Permutation index.
Declaration
public int PermutationIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Segment
Attached segment.
Declaration
public SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment Segment { get; set; }
Property Value
Type | Description |
---|---|
SugiyamaLayoutAlgorithm.Segment<> |
SlicePosition
Vertex slice position.
Declaration
public double SlicePosition { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Type
Vertex type.
Declaration
public SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexTypes Type { get; }
Property Value
Type | Description |
---|---|
SugiyamaLayoutAlgorithm.VertexTypes<> |
Methods
| Improve this Doc View SourceLoadPositionFromTemp()
Restore Position from GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm`3.SugiVertex._tempPosition.
Declaration
public void LoadPositionFromTemp()
SavePositionToTemp()
Backup Position into GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm`3.SugiVertex._tempPosition.
Declaration
public void SavePositionToTemp()