Class LinLogLayoutAlgorithm<TVertex, TEdge, TGraph>
LinLog layout algorithm.
Inheritance
System.Object
LayoutAlgorithmBase<TVertex, TEdge, TGraph>
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, LinLogLayoutParameters>
DefaultParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, LinLogLayoutParameters>
LinLogLayoutAlgorithm<TVertex, TEdge, TGraph>
Implements
IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph, LinLogLayoutParameters>
IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph>
ILayoutAlgorithm<TVertex, TEdge, TGraph>
QuikGraph.Algorithms.IAlgorithm<TGraph>
QuikGraph.Algorithms.IComputation
Inherited Members
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 LinLogLayoutAlgorithm<TVertex, TEdge, TGraph> : DefaultParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, LinLogLayoutParameters>, IAlgorithm, IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph, LinLogLayoutParameters>, IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph>, ILayoutAlgorithm<TVertex, TEdge, TGraph>, IAlgorithm<TGraph>, IComputation where TEdge : IEdge<TVertex> where TGraph : IBidirectionalGraph<TVertex, TEdge>
Type Parameters
| Name | Description |
|---|---|
| TVertex | Vertex type. |
| TEdge | Edge type. |
| TGraph | Graph type |
Constructors
| Improve this Doc View SourceLinLogLayoutAlgorithm(TGraph, LinLogLayoutParameters)
Initializes a new instance of the LinLogLayoutAlgorithm<TVertex, TEdge, TGraph> class.
Declaration
public LinLogLayoutAlgorithm(TGraph visitedGraph, LinLogLayoutParameters parameters = null)
Parameters
| Type | Name | Description |
|---|---|---|
| TGraph | visitedGraph | Graph to layout. |
| LinLogLayoutParameters | parameters | Optional algorithm parameters. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
LinLogLayoutAlgorithm(TGraph, IDictionary<TVertex, Point>, LinLogLayoutParameters)
Initializes a new instance of the LinLogLayoutAlgorithm<TVertex, TEdge, TGraph> class.
Declaration
public LinLogLayoutAlgorithm(TGraph visitedGraph, IDictionary<TVertex, Point> verticesPositions, LinLogLayoutParameters parameters = null)
Parameters
| Type | Name | Description |
|---|---|---|
| TGraph | visitedGraph | Graph to layout. |
| System.Collections.Generic.IDictionary<TVertex, Point> | verticesPositions | Vertices positions. |
| LinLogLayoutParameters | parameters | Optional algorithm parameters. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
Methods
| Improve this Doc View SourceCopyPositions()
Copies positions from GraphShape.Algorithms.Layout.LinLogLayoutAlgorithm`3._vertices to VerticesPositions.
Declaration
protected void CopyPositions()
Initialize()
Called on algorithm initialization step.
Declaration
protected override void Initialize()
Overrides
| Improve this Doc View SourceInternalCompute()
Algorithm compute step.
Declaration
protected override void InternalCompute()
Overrides
| Improve this Doc View SourceReport(Int32)
Reports the end of iteration step.
Declaration
protected void Report(int step)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | step |
Implements
QuikGraph.Algorithms.IAlgorithm<TGraph>
QuikGraph.Algorithms.IComputation