I have version 2.33 of python3-graph-tool installed on my computer which
runs on Linux Mint 19.2 Tina (based on Ubuntu 18.04 LTS, bionic). My
graphviz version is 2.40.1-2.
It works fine if I don't add the loop e11 to the graph.
It works fine if I use gt.graph_draw() instead of gt.graphviz_draw()
It works fine if I use graphviz directly (via a .dot file).
It did work fine in earlier versions of graph_tool.
I tracked this down and I believe the issue is related to the
interpretation of the global variables Agdirected and Agundirected from
libgvc. If you replace lines 75 and 76 of graphviz_draw.py from:
Jeff: Thanks very much for finding and fixing the bug! Plotting loops
works fine for me now.
Tiago: I can understand very well that it is a lot of work to maintain
the two similar functions graphviz_draw() and graph_draw() at the same
time. Still, it would be a pity if graphviz_draw() disappears completely
in future versions of graph-tool. I'm using graphviz_draw() a lot
because it has some features that graph_draw() doesn't have. In
particular, graphviz can put text nicely into oval-shaped vertices.
Cairo, however, produces large circles that hide much of the graph.
Using the vertex property "aspect" is very slow and does not improve the
plots much. Examples are available here: