Network Algorithm Parameters API

# attractiveForceFunction

Type of function to apply when calculating attractive force in forceDirected network layouts. Fruchterman-Reingold uses square while Eades uses log.
Default: square
Options: square, cubic, log, pow, sqrt
Used in: Network

# barnesHutNodesCache

barnesHutNodesCache array Private
Barnes Hut node cache for performance and avoid Javascript GC
Default: []
Used in: Network

# barnesHutNodesCacheCurrent

barnesHutNodesCacheCurrent integer Private
Barnes Hut idex for node cache for performance and avoid Javascript GC
Default:
Used in: Network

# barnesHutUpdateQueue

barnesHutUpdateQueue array Private
Barnes Hut Queue for performance and avoid Javascript GC
Default: []
Used in: Network

# networkDragCoeff

Drag force coefficient. Used to slow down system, thus should be less than 1. The closer it is to 0 the less tight system will be.
Default: 0.09
Used in: Network

# networkGravity

Network Gravity
Default: 0.75
Used in: Network

# networkRepulsion

Coulomb's law coefficient. It's used to repel nodes thus should be negative if you make it positive nodes start attract each other.
Default: -1
Used in: Network

# networkSpeed

networkSpeed float
Network Speed
Default: 0.1
Used in: Network

# networkSpringCoeff

Hook's law coefficient. 1 - solid spring.
Default: 0.0008
Used in: Network

# networkSpringLength

Ideal length for links (springs in physical model).
Default: 35
Used in: Network

# networkTheta

networkTheta float
Theta coefficient from Barnes Hut simulation. Ranged between (0, 1). The closer it's to 1 the more nodes algorithm will have to go through. Setting it to one makes Barnes Hut simulation no different from brute-force forces calculation (each node is considered).
Default: 0.8
Used in: Network

# networkTimeStep

networkTimeStep integer
Default time step (dt) for forces integration.
Default: 20
Used in: Network

# repulsiveForceFunction

Type of function to apply when calculating repulsive force in forceDirected network layouts. Fruchterman-Reingold uses square while Eades uses log.
Default: square
Options: square, cubic, log, pow, sqrt
Used in: Network

# useBarnesHutSimulation

Flag to use Barnes–Hut simulation
Default: false
Used in: Network