Attraction force for d3.forceSimulation.
ericsoco.github.io/d3-force-attract/
ericsoco/d3-force-attract