chartjs-chart-graph / ForceDirectedGraphController
Class: ForceDirectedGraphController
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:154
Extends
Constructors
Constructor
new ForceDirectedGraphController(
chart,datasetIndex):ForceDirectedGraphController
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:167
Parameters
chart
Chart
datasetIndex
number
Returns
ForceDirectedGraphController
Overrides
Properties
getContext()
getContext: (
index,active,mode) =>unknown
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:210
Parameters
index
number
active
boolean
mode
"none" | "hide" | "show" | "default" | "active" | "resize" | "reset"
Returns
unknown
Inherited from
id
readonlystaticid:"forceDirectedGraph"='forceDirectedGraph'
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:363
Overrides
Methods
_resyncElements()
protected_resyncElements():void
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:396
Returns
void
Inherited from
GraphController._resyncElements
getTreeChildren()
getTreeChildren(
node):ITreeNode[]
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:436
Parameters
node
index?
number
Returns
Inherited from
GraphController.getTreeChildren
getTreeRoot()
getTreeRoot():
ITreeNode
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:429
Returns
Inherited from
getTreeRootIndex()
getTreeRootIndex():
number
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:413
Returns
number
Inherited from
GraphController.getTreeRootIndex
reLayout()
reLayout():
void
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:354
Returns
void
Overrides
resetLayout()
resetLayout():
void
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:279
Returns
void
Overrides
resyncLayout()
resyncLayout():
void
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:301
Returns
void
Overrides
stopLayout()
stopLayout():
void
Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:358
Returns
void