FruchtermanReingold constructor

FruchtermanReingold({
  1. required Graph graph,
  2. double C = 0.5,
  3. double tDecay = 0.99,
  4. double tInitial = 300.0,
  5. int maxIterations = 10000,
})

Implementation

FruchtermanReingold({
  required super.graph,
  // TODO: Tune these constants.
  this.C = 0.5,
  this.tDecay = 0.99,
  this.tInitial = 300.0,
  this.maxIterations = 10000,
}) : t = tInitial;