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