ForceDirectedVertex$Typings extension
Properties
-
charge
↔ num
-
Gets or sets the electrical charge for this vertex.
The default value is NaN.
getter/setter pair
-
forceX
↔ num
-
Gets or sets the cumulative force on the vertex in the X direction.
The default value is zero.
getter/setter pair
-
forceY
↔ num
-
Gets or sets the cumulative force on the vertex in the Y direction.
The default value is zero.
getter/setter pair
-
isFixed
↔ bool
-
Gets or sets whether the vertex may be moved by any forces.
The default value is false.
getter/setter pair
-
mass
↔ num
-
Gets or sets the gravitational mass for this vertex.
The default value is NaN.
getter/setter pair