GraphConfig class

Constructors

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

Properties

damping double
Damping 0-1
final
elasticity double
Elasticity >0
final
hashCode int
The hash code for this object.
no setterinherited
length double
Spring length >0
final
maxStaticFriction double
Max static friction >0
final
minVelocity double
Min velocity >0
final
repulsion double
Repulsion >0
final
repulsionRange double
Repulsion range >0
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaling double
Force scaling >0
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited