Show / Hide Table of Contents

Class SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>

Sugiyama layout algorithm.

Inheritance
System.Object
AlgorithmBase
LayoutAlgorithmBase<TVertex, TEdge, TGraph>
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>
DefaultParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>
SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>
Implements
IAlgorithm
IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>
IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph>
ILayoutAlgorithm<TVertex, TEdge, TGraph>
IEdgeRoutingAlgorithm<TVertex, TEdge, TGraph>
QuikGraph.Algorithms.IAlgorithm<TGraph>
QuikGraph.Algorithms.IComputation
Inherited Members
DefaultParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.DefaultParameters
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.Parameters
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.GetParameters()
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.DefaultParameters
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.InitParameters(SugiyamaLayoutParameters)
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.Rand
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.InitializeWithRandomPositions(Double, Double)
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.InitializeWithRandomPositions(Double, Double, Double, Double)
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.NormalizePositions()
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.CreateLayoutIterationEventArgs(Int32, Double, String, IDictionary<TVertex, Point>)
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.OnIterationEnded(Int32, Double, String, Boolean)
LayoutAlgorithmBase<TVertex, TEdge, TGraph>.VisitedGraph
LayoutAlgorithmBase<TVertex, TEdge, TGraph>.VerticesPositions
LayoutAlgorithmBase<TVertex, TEdge, TGraph>.ProgressChanged
LayoutAlgorithmBase<TVertex, TEdge, TGraph>.IterationEnded
LayoutAlgorithmBase<TVertex, TEdge, TGraph>.ReportOnProgressChangedNeeded
LayoutAlgorithmBase<TVertex, TEdge, TGraph>.ReportOnIterationEndNeeded
LayoutAlgorithmBase<TVertex, TEdge, TGraph>.GetVertexInfo(TVertex)
LayoutAlgorithmBase<TVertex, TEdge, TGraph>.GetEdgeInfo(TEdge)
LayoutAlgorithmBase<TVertex, TEdge, TGraph>.OnProgressChanged(Double)
LayoutAlgorithmBase<TVertex, TEdge, TGraph>.OnIterationEnded(ILayoutIterationEventArgs<TVertex>)
AlgorithmBase.IsCancelling
AlgorithmBase.ThrowIfCancellationRequested()
AlgorithmBase.SyncRoot
AlgorithmBase.State
AlgorithmBase.Compute()
AlgorithmBase.Abort()
AlgorithmBase.StateChanged
AlgorithmBase.OnStateChanged(EventArgs)
AlgorithmBase.Started
AlgorithmBase.OnStarted(EventArgs)
AlgorithmBase.Finished
AlgorithmBase.OnFinished(EventArgs)
AlgorithmBase.Aborted
AlgorithmBase.OnAborted(EventArgs)
AlgorithmBase.Initialize()
AlgorithmBase.Clean()
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
public class SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph> : DefaultParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>, IAlgorithm, IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>, IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph>, ILayoutAlgorithm<TVertex, TEdge, TGraph>, IEdgeRoutingAlgorithm<TVertex, TEdge, TGraph>, IAlgorithm<TGraph>, IComputation where TVertex : class where TEdge : IEdge<TVertex> where TGraph : IVertexAndEdgeListGraph<TVertex, TEdge>
Type Parameters
Name Description
TVertex

Vertex type.

TEdge

Edge type.

TGraph

Graph type.

Constructors

| Improve this Doc View Source

SugiyamaLayoutAlgorithm(TGraph, SugiyamaLayoutParameters)

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

Declaration
public SugiyamaLayoutAlgorithm(TGraph visitedGraph, SugiyamaLayoutParameters parameters = null)
Parameters
Type Name Description
TGraph visitedGraph

Graph to layout.

SugiyamaLayoutParameters parameters

Optional algorithm parameters.

Exceptions
Type Condition
System.ArgumentNullException

visitedGraph is null.

| Improve this Doc View Source

SugiyamaLayoutAlgorithm(TGraph, IDictionary<TVertex, Point>, IDictionary<TVertex, Size>, SugiyamaLayoutParameters)

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

Declaration
public SugiyamaLayoutAlgorithm(TGraph visitedGraph, IDictionary<TVertex, Point> verticesPositions, IDictionary<TVertex, Size> verticesSizes, SugiyamaLayoutParameters parameters = null)
Parameters
Type Name Description
TGraph visitedGraph

Graph to layout.

System.Collections.Generic.IDictionary<TVertex, Point> verticesPositions

Vertices positions.

System.Collections.Generic.IDictionary<TVertex, Size> verticesSizes

Vertices sizes.

SugiyamaLayoutParameters parameters

Optional algorithm parameters.

Exceptions
Type Condition
System.ArgumentNullException

visitedGraph is null.

| Improve this Doc View Source

SugiyamaLayoutAlgorithm(TGraph, IDictionary<TVertex, Size>, SugiyamaLayoutParameters)

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

Declaration
public SugiyamaLayoutAlgorithm(TGraph visitedGraph, IDictionary<TVertex, Size> verticesSizes, SugiyamaLayoutParameters parameters = null)
Parameters
Type Name Description
TGraph visitedGraph

Graph to layout.

System.Collections.Generic.IDictionary<TVertex, Size> verticesSizes

Vertices sizes.

SugiyamaLayoutParameters parameters

Optional algorithm parameters.

Exceptions
Type Condition
System.ArgumentNullException

visitedGraph is null.

Properties

| Improve this Doc View Source

EdgeRoutes

The routing points of the edges (routes).

Declaration
public IDictionary<TEdge, Point[]> EdgeRoutes { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<TEdge, Point[]>

Methods

| Improve this Doc View Source

InternalCompute()

Algorithm compute step.

Declaration
protected override void InternalCompute()
Overrides
AlgorithmBase.InternalCompute()

Implements

IAlgorithm
IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph, TParameters>
IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph>
ILayoutAlgorithm<TVertex, TEdge, TGraph>
IEdgeRoutingAlgorithm<TVertex, TEdge, TGraph>
QuikGraph.Algorithms.IAlgorithm<TGraph>
QuikGraph.Algorithms.IComputation

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