gravity
number
default: "0.05"

Attracts nodes to the center. Prevents islands from drifting away.

scalingRatio
number
default: "0.8"

The amount of repulsion. Greater values lead to a larger and more sparse graph.

barnesHutTheta
number
default: "1.0"

Algorithmic “resolution”. Greater values lead to faster execution at the expense of less precise calculations.

Values must be in the following range:

0.0 ≤ barnesHutTheta ≤ 2.0
avoidHubs
boolean

Prefer authorities over hubs. Prefer “authorities” (nodes with a high indegree) over hubs (nodes with a high outdegree). Authorities will have more central and hubs more peripheral positions. (default=false).

linLogMode
boolean

Usually produces tighter clusters. Enabling it may also require adjusting the scalingRatio.

avoidOverlap
boolean

Try to avoid overlap between nodes.

iterations
integer
default: "500"

The more the better, though it will take longer.

nodeSize
number
default: "1.0"

How much space to (try and) give each node in the final layout.

Values must be in the following range:

1.0 ≤ nodeSize < inf
ignoreWeightsBelow
number

Links with weights below this value will be ignored.

Values must be in the following range:

0.0 ≤ ignoreWeightsBelow < inf
normalizeWeights
boolean

Normalize weights to the range [0, 1].