Show / Hide Table of Contents

Class BalloonTreeLayoutAlgorithm<TVertex, TEdge, TGraph>

Balloon tree layout algorithm.

Inheritance
System.Object
AlgorithmBase
LayoutAlgorithmBase<TVertex, TEdge, TGraph>
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>
DefaultParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>
BalloonTreeLayoutAlgorithm<TVertex, TEdge, TGraph>
Implements
IAlgorithm
IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>
IParameterizedLayoutAlgorithm<TVertex, TEdge, TGraph>
ILayoutAlgorithm<TVertex, TEdge, TGraph>
QuikGraph.Algorithms.IAlgorithm<TGraph>
QuikGraph.Algorithms.IComputation
Inherited Members
DefaultParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.DefaultParameters
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.Parameters
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.GetParameters()
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.DefaultParameters
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.InitParameters(BalloonTreeLayoutParameters)
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.Rand
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.InitializeWithRandomPositions(Double, Double)
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.InitializeWithRandomPositions(Double, Double, Double, Double)
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.NormalizePositions()
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.CreateLayoutIterationEventArgs(Int32, Double, String, IDictionary<TVertex, Point>)
ParameterizedLayoutAlgorithmBase<TVertex, TEdge, TGraph, BalloonTreeLayoutParameters>.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.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 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 Source

BalloonTreeLayoutAlgorithm(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

visitedGraph is null.

System.ArgumentNullException

selectedVertex is null.

System.ArgumentException

selectedVertex is not part of visitedGraph.

| Improve this Doc View Source

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

visitedGraph is null.

System.ArgumentNullException

selectedVertex is null.

System.ArgumentException

selectedVertex is not part of visitedGraph.

Methods

| Improve this Doc View Source

Initialize()

Called on algorithm initialization step.

Declaration
protected override void Initialize()
Overrides
AlgorithmBase.Initialize()
| 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>
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