Arranging elements in 2d space

hi everybody,

i have a bunch of fixed x/y-positions in 2d space (let’s say 50 elements). At those positions i want to add a tooltip (or like a flag on a map). in some cases those positions are quite near to each other so that the tooltips overlap each other.

is there any intelligent way to re-arrange the given x/y-positions to avoid overlapings?

attatched is an attempt using Attractor (Value Self), but it does not really work (still overlapings, wrong algorithm)…

Thanks
joe

attractor-self-2d.v4p (30.9 kB)