Commit 1d52ef77 authored by Brian Wylie's avatar Brian Wylie
Browse files

ENH: 'Tune' vtkSimple2DLayoutStrategy for better layout on small graphs. We...

ENH: 'Tune' vtkSimple2DLayoutStrategy for better layout on small graphs. We should use fast, or cluster for larger graphs anyway.
parent ad641f4a
......@@ -36,7 +36,7 @@
#include "vtkTree.h"
vtkCxxRevisionMacro(vtkSimple2DLayoutStrategy, "1.20");
vtkCxxRevisionMacro(vtkSimple2DLayoutStrategy, "1.21");
vtkStandardNewMacro(vtkSimple2DLayoutStrategy);
#ifndef MIN
......@@ -60,15 +60,15 @@ vtkSimple2DLayoutStrategy::vtkSimple2DLayoutStrategy()
this->AttractionArray = vtkFloatArray::New();
this->RandomSeed = 123;
this->IterationsPerLayout = 100;
this->InitialTemperature = 5;
this->IterationsPerLayout = 200;
this->InitialTemperature = 1;
this->CoolDownRate = 50.0;
this->LayoutComplete = 0;
this->EdgeWeightField = 0;
this->SetEdgeWeightField("weight");
this->RestDistance = 0;
this->Jitter = true;
this->MaxNumberOfIterations = 100;
this->MaxNumberOfIterations = 200;
this->EdgeArray = NULL;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment