ForceLayout constructor
ForceLayout(})
Implementation
ForceLayout(
this.forces, {
double alpha = 1,
double alphaMin = 0.001,
double? alphaDecay,
double alphaTarget = 0,
double velocityDecay = 0.6,
}) {
_alpha = alpha;
_alphaMin = alphaMin;
_alphaDecay = alphaDecay;
_alphaTarget = alphaTarget;
_velocityDecay = velocityDecay;
}