chartjs-chart-graph v4.3.0 / IForceDirectedControllerOptions
Interface: IForceDirectedControllerOptions
Extended by
Properties
simulation
simulation:
Object
simulation.autoRestart
autoRestart:
boolean
auto restarts the simulation upon dataset change, one can manually restart by calling: chart.getDatasetMeta(0).controller.reLayout();
Default
true
simulation.forces
forces:
Object
simulation.forces.center
center:
boolean
|ICenterForce
center force https://github.com/d3/d3-force/#centering
Default
true
simulation.forces.collide
collide:
boolean
|ICollideForce
collision between nodes https://github.com/d3/d3-force/#collision
Default
false
simulation.forces.link
link:
boolean
|ILinkForce
link force https://github.com/d3/d3-force/#links
Default
true
simulation.forces.manyBody
manyBody:
boolean
|IManyBodyForce
link force https://github.com/d3/d3-force/#many-body
Default
true
simulation.forces.radial
radial:
boolean
|IRadialForce
radial positioning force https://github.com/d3/d3-force/#forceRadial
Default
false
simulation.forces.x
x:
boolean
|IForceXForce
x positioning force https://github.com/d3/d3-force/#forceX
Default
false
simulation.forces.y
y:
boolean
|IForceYForce
y positioning force https://github.com/d3/d3-force/#forceY
Default
false
simulation.initialIterations
initialIterations:
number
Source
work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:41