Long node labels are hidden by neighboring nodes

Dear all,

I am trying to draw a graph the labels of which are rather long and overlap with neighboring nodes. Because of that some labels are hidden apparently according to the drawing order of the nodes.

You can reproduce the effect by running the attached script in the same directory with the graph file.

Is there any workaround for that issue. Do z-coordinates help at all?

Yannis Panagis

attachment.html (649 Bytes)

draw.py (1.38 KB)

example.graphml (816 KB)

You can specify the relative ordering of the nodes via the "vorder"
parameter of graph-draw(). You can try simply vorder=g.vp.size.