Staggering layout to avoid overlapping labels

With the following code:

layout = g.layout_reingold_tilford()
ig.plot(g, “company.png”, layout=layout, bbox=(3000, 3000))
I obtain something like the following:

Is there a way to take the labels (people names) into account to stagger the vertices so they (mostly) do not overlap?

This is not so easy I believe.

Instead, I would suggest to rotate the layout (use layout.rotate), so that it is drawn horizontally. That way, you should be able to make sense of each label much more easily.

Thanks you very much @vtraag !!!

This is a good idea.

What I’d really need also is to find a way to force more distance between the vertex centers, but not managing so far …

Take care.