GraphConfig constructor

const GraphConfig({
  1. double maxStaticFriction = 20.0,
  2. double scaling = 0.01,
  3. double elasticity = 1.0,
  4. double repulsion = 60.0,
  5. double repulsionRange = 150.0,
  6. double minVelocity = 10,
  7. double length = 50.0,
  8. double damping = 0.93,
})

Implementation

const GraphConfig({
  this.maxStaticFriction = 20.0,
  this.scaling = 0.01,
  this.elasticity = 1.0,
  this.repulsion = 60.0,
  this.repulsionRange = 150.0,
  this.minVelocity = 10,
  this.length = 50.0,
  this.damping = 0.93,
});