Show / Hide Table of Contents

Class SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex

Sugiyama internal graph vertex.

Inheritance
System.Object
SugiyamaLayoutAlgorithm.Data<>
SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex
Implements
SugiyamaLayoutAlgorithm.IData<>
Inherited Members
SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Data.Position
SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Data.Sinks
SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Data.Shifts
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 Source

SugiVertex()

Initializes a new instance of the SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex class.

Declaration
public SugiVertex()
| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

Aligns

Align vertices..

Declaration
public readonly SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex[] Aligns
Field Value
Type Description
SugiyamaLayoutAlgorithm.SugiVertex<>[]
| Improve this Doc View Source

BlockWidths

Block widths.

Declaration
public readonly double[] BlockWidths
Field Value
Type Description
System.Double[]
| Improve this Doc View Source

OriginalVertex

Vertex from the original graph to layout.

Declaration
public readonly TVertex OriginalVertex
Field Value
Type Description
TVertex
| Improve this Doc View Source

Roots

Root vertices.

Declaration
public readonly SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SugiVertex[] Roots
Field Value
Type Description
SugiyamaLayoutAlgorithm.SugiVertex<>[]
| Improve this Doc View Source

Size

Vertex size.

Declaration
public readonly Size Size
Field Value
Type Description
Size
| Improve this Doc View Source

SlicePositions

Slice positions.

Declaration
public readonly double[] SlicePositions
Field Value
Type Description
System.Double[]

Properties

| Improve this Doc View Source

DoNotOptimize

Indicates if the vertex must be optimized or not.

Declaration
public bool DoNotOptimize { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IndexInsideLayer

The index inside the layer.

Declaration
public int IndexInsideLayer { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

LayerIndex

Layer index.

Declaration
public int LayerIndex { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

LayerPosition

Vertex layer position.

Declaration
public double LayerPosition { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

MeasuredPosition

Measured position.

Declaration
public double MeasuredPosition { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

PermutationIndex

Permutation index.

Declaration
public int PermutationIndex { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Segment

Attached segment.

Declaration
public SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment Segment { get; set; }
Property Value
Type Description
SugiyamaLayoutAlgorithm.Segment<>
| Improve this Doc View Source

SlicePosition

Vertex slice position.

Declaration
public double SlicePosition { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Type

Vertex type.

Declaration
public SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexTypes Type { get; }
Property Value
Type Description
SugiyamaLayoutAlgorithm.VertexTypes<>

Methods

| Improve this Doc View Source

LoadPositionFromTemp()

Restore Position from GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm`3.SugiVertex._tempPosition.

Declaration
public void LoadPositionFromTemp()
| Improve this Doc View Source

SavePositionToTemp()

Backup Position into GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm`3.SugiVertex._tempPosition.

Declaration
public void SavePositionToTemp()

Implements

SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.IData

Extension Methods

GraphHelpers.GetDistances<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph, out Double[,])
  • Improve this Doc
  • View Source
In This Article
Back to top GraphShape