ForceLayout
Defined in: network/force.ts:44
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ForceLayout(
graph,params?):ForceLayout
Defined in: network/force.ts:54
Parameters
Section titled “Parameters”params?
Section titled “params?”Partial<ForceParams> = {}
Returns
Section titled “Returns”ForceLayout
Methods
Section titled “Methods”run(
iterations):void
Defined in: network/force.ts:127
Run iterations ticks.
Parameters
Section titled “Parameters”iterations
Section titled “iterations”number
Returns
Section titled “Returns”void
tick()
Section titled “tick()”tick():
void
Defined in: network/force.ts:67
Advance the simulation one step, mutating graph.positions.
Returns
Section titled “Returns”void