@graphty/layout / index / ForceAtlas2Options
Interface: ForceAtlas2Options
Defined in: simulation/types.ts:23
Design 9.3 ForceAtlas2Options: the names and defaults of the positional forceatlas2Layout (design 7.14).
Extends
Properties
center?
readonlyoptionalcenter?:ArrayLike<number>
Defined in: simulation/types.ts:7
Inherited from
dim?
readonlyoptionaldim?:2|3
Defined in: simulation/types.ts:5
Inherited from
dissuadeHubs?
readonlyoptionaldissuadeHubs?:boolean
Defined in: simulation/types.ts:36
distributedAction?
readonlyoptionaldistributedAction?:boolean
Defined in: simulation/types.ts:29
gravity?
readonlyoptionalgravity?:number
Defined in: simulation/types.ts:27
iterationsPerStep?
readonlyoptionaliterationsPerStep?:number
Defined in: simulation/types.ts:17
Iterations per step() call; default 1; the element passes its stepMultiplier (design 9.4 item 4).
Inherited from
SimulationOptions.iterationsPerStep
jitterTolerance?
readonlyoptionaljitterTolerance?:number
Defined in: simulation/types.ts:25
linlog?
readonlyoptionallinlog?:boolean
Defined in: simulation/types.ts:30
maxInFlight?
readonlyoptionalmaxInFlight?:number
Defined in: simulation/types.ts:19
GPU simulations only (design 7.19); default 2.
Inherited from
maxIter?
readonlyoptionalmaxIter?:number
Defined in: simulation/types.ts:24
nodeMass?
readonlyoptionalnodeMass?:string|F32|Readonly<Record<NodeId,number>> |null
Defined in: simulation/types.ts:32
A per-node mass (n values), the name of a numeric node column, the legacy id-keyed record, or null (role-mass column, else outDegree + 1).
nodeSize?
readonlyoptionalnodeSize?:string|F32|Readonly<Record<NodeId,number>> |null
Defined in: simulation/types.ts:33
scale?
readonlyoptionalscale?:number
Defined in: simulation/types.ts:6
Inherited from
scalingRatio?
readonlyoptionalscalingRatio?:number
Defined in: simulation/types.ts:26
seed?
readonlyoptionalseed?:number|null
Defined in: simulation/types.ts:8
Inherited from
settleThreshold?
readonlyoptionalsettleThreshold?:number
Defined in: simulation/types.ts:14
Settle when the mean per-node displacement stays below settleThreshold * rmsRadius for settleWindow iterations (design 7.17).
Inherited from
SimulationOptions.settleThreshold
settleWindow?
readonlyoptionalsettleWindow?:number
Defined in: simulation/types.ts:15
Inherited from
SimulationOptions.settleWindow
strongGravity?
readonlyoptionalstrongGravity?:boolean
Defined in: simulation/types.ts:28
weight?
readonlyoptionalweight?:string|boolean|null
Defined in: simulation/types.ts:35
true: the snapshot's weights; a string: a numeric edge column; false / null: unweighted.