Interface: ForceLayoutOptions
Defined in: graph/force.ts:14
Properties
area?
ts
optional area?: number;Defined in: graph/force.ts:18
Layout area; the ideal edge length is sqrt(area / n). Default 1.
gravity?
ts
optional gravity?: number;Defined in: graph/force.ts:20
Pull toward the origin each step. Default 0.05.
iterations?
ts
optional iterations?: number;Defined in: graph/force.ts:16
Relaxation steps. Default 300.
theta?
ts
optional theta?: number;Defined in: graph/force.ts:25
Barnes–Hut opening angle. Smaller is more accurate and slower; 0 forces the exact all-pairs sum. Default 0.9.