Force protocol — contract-compatible with d3-force. A force is a function called once per tick with the current alpha; it mutates vx/vy on nodes. Optional initialize lets the force compute setup (link indices, etc.).
vx
vy
initialize
Optional
Force protocol — contract-compatible with d3-force. A force is a function called once per tick with the current alpha; it mutates
vx/vyon nodes. Optionalinitializelets the force compute setup (link indices, etc.).