Class SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>
Sugiyama layout algorithm.
Inheritance
System.Object
LayoutAlgorithmBase<TVertex, TEdge, TGraph>
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>
DefaultParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>
SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>
Implements
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
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, SugiyamaLayoutParameters>.DefaultParameters
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 SourceSugiyamaLayoutAlgorithm(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 |
|
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 |
|
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 |
|
Properties
| Improve this Doc View SourceEdgeRoutes
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 SourceInternalCompute()
Algorithm compute step.
Declaration
protected override void InternalCompute()
Overrides
Implements
QuikGraph.Algorithms.IAlgorithm<TGraph>
QuikGraph.Algorithms.IComputation