Class BalloonTreeLayoutAlgorithm<TVertex, TEdge, TGraph>
Balloon tree layout algorithm.
Inheritance
System.Object
LayoutAlgorithmBase<TVertex, TEdge, TGraph>
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>
DefaultParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>
BalloonTreeLayoutAlgorithm<TVertex, TEdge, TGraph>
Implements
IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>
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 BalloonTreeLayoutAlgorithm<TVertex, TEdge, TGraph> : DefaultParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>, IAlgorithm, IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>, 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 SourceBalloonTreeLayoutAlgorithm(TGraph, TVertex, BalloonTreeLayoutParameters)
Initializes a new instance of the BalloonTreeLayoutAlgorithm<TVertex, TEdge, TGraph> class.
Declaration
public BalloonTreeLayoutAlgorithm(TGraph visitedGraph, TVertex selectedVertex, BalloonTreeLayoutParameters parameters = null)
Parameters
Type | Name | Description |
---|---|---|
TGraph | visitedGraph | Graph to layout. |
TVertex | selectedVertex | Root vertex. |
BalloonTreeLayoutParameters | parameters | Optional algorithm parameters. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentNullException |
|
System.ArgumentException |
|
BalloonTreeLayoutAlgorithm(TGraph, IDictionary<TVertex, Point>, TVertex, BalloonTreeLayoutParameters)
Initializes a new instance of the BalloonTreeLayoutAlgorithm<TVertex, TEdge, TGraph> class.
Declaration
public BalloonTreeLayoutAlgorithm(TGraph visitedGraph, IDictionary<TVertex, Point> verticesPositions, TVertex selectedVertex, BalloonTreeLayoutParameters parameters = null)
Parameters
Type | Name | Description |
---|---|---|
TGraph | visitedGraph | Graph to layout. |
System.Collections.Generic.IDictionary<TVertex, Point> | verticesPositions | Vertices positions. |
TVertex | selectedVertex | Root vertex. |
BalloonTreeLayoutParameters | parameters | Optional algorithm parameters. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentNullException |
|
System.ArgumentException |
|
Methods
| Improve this Doc View SourceInitialize()
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
Implements
QuikGraph.Algorithms.IAlgorithm<TGraph>
QuikGraph.Algorithms.IComputation