This force pushes overlapping particles apart by assigning a radius to each particle, treating them as circles, and searches for overlaps through an optimised quad tree algorithm.
The following parameters defines the training of the force and can be passed
along a call to
strength : A dampening of the repulsion between overlapping circles. This
allows the force to iterate towards the optimal solution through iterative
relaxation. Should be a number between 0 and 1. Defaults to 0.7
radius : The radius of each particle. Defaults to 1 (tidy eval)
n_iter : The number of iterations to perform in the iterative relaxation.
Defaults to 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.