chartjs-chart-graph / IForceDirectedGraphChartControllerDatasetOptions
Interface: IForceDirectedGraphChartControllerDatasetOptions
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:408
Extends
Properties
arrowHeadOffset
arrowHeadOffset:
ScriptableAndArray<number,ScriptableContext<"graph">>
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/elements/EdgeLine.ts:45
Inherited from
IEdgeLineOptions.arrowHeadOffset
arrowHeadSize
arrowHeadSize:
ScriptableAndArray<number,ScriptableContext<"graph">>
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/elements/EdgeLine.ts:44
Inherited from
IEdgeLineOptions.arrowHeadSize
directed
directed:
ScriptableAndArray<boolean,ScriptableContext<"graph">>
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/elements/EdgeLine.ts:43
Inherited from
edges
edges:
IGraphEdgeDataPoint[]
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:661
Inherited from
IGraphChartControllerDatasetOptions.edges
simulation
simulation:
object
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:41
autoRestart
autoRestart:
boolean
auto restarts the simulation upon dataset change, one can manually restart by calling: chart.getDatasetMeta(0).controller.reLayout();
Default
trueforces
forces:
object
forces.center
center:
boolean|ICenterForce
center force https://github.com/d3/d3-force/#centering
Default
trueforces.collide
collide:
boolean|ICollideForce
collision between nodes https://github.com/d3/d3-force/#collision
Default
falseforces.link
link:
boolean|ILinkForce
link force https://github.com/d3/d3-force/#links
Default
trueforces.manyBody
manyBody:
boolean|IManyBodyForce
link force https://github.com/d3/d3-force/#many-body
Default
trueforces.radial
radial:
boolean|IRadialForce
radial positioning force https://github.com/d3/d3-force/#forceRadial
Default
falseforces.x
x:
boolean|IForceXForce
x positioning force https://github.com/d3/d3-force/#forceX
Default
falseforces.y
y:
boolean|IForceYForce
y positioning force https://github.com/d3/d3-force/#forceY
Default
falseinitialIterations
initialIterations:
number