public RadialTreeLayoutAlgorithm(TGraph visitedGraph, IDictionary <TVertex, Point> vertexPositions, IDictionary <TVertex, Size> vertexSizes,
                                  RadialTreeLayoutParameters parameters, TVertex selectedVertex)
     : base(visitedGraph, vertexPositions, parameters)
 {
     _vertexSizes = vertexSizes;
     _leafCounts  = new Dictionary <TVertex, int>();
     _root        = selectedVertex;
 }
示例#2
0
 public RadialTreeLayoutAlgorithm(
     TGraph visitedGraph,
     IDictionary <TVertex, Point> vertexPositions,
     RadialTreeLayoutParameters oldParameters,
     TVertex selectedVertex)
     : base(visitedGraph, vertexPositions, oldParameters)
 {
     this.root = selectedVertex;
 }