FruchtermanForce class
Fruchterman
Constructors
-
FruchtermanForce({List<
SNumber> center = const [SNumber.percent(50), SNumber(50, true)], GraphLayout? preLayout, int maxIteration = 1000, num gravity = 10, num speed = 1, num clusterGravity = 10, bool clustering = false})
Properties
-
center
↔ List<
SNumber> -
getter/setter pair
- clusterGravity ↔ num
-
getter/setter pair
- clustering ↔ bool
-
getter/setter pair
- gravity ↔ num
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ num
-
getter/setter pairinherited
- maxIteration ↔ int
-
getter/setter pair
- preLayout ↔ GraphLayout?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed ↔ num
-
getter/setter pair
- width ↔ num
-
getter/setter pairinherited
Methods
-
force(
[double alpha = 1]) → void -
override
-
initialize(
Context context, Graph graph, LCG lcg, num width, num height) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onFinish(
) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- speedDivisor → const int