score:7

Accepted answer

As Lars Kotthoff stated it can be done manually (I found http://bl.ocks.org/mbostock/3231298#index.html as inspiration), but actually it could be done a lot simpler if I just changed the force-layout a bit.

If I let the central node have a quite strong charge compared to the remaining nodes, they will align nicely in a circle around the node, removing any overlaps:

.charge(function(d, i) { return i==0 ? -10000 : -500; })

score:0

You can put extra nodes on the edges to reduce overlap.

E.g: http://bl.ocks.org/couchand/7190660


Related Query

More Query from same tag