Cairo-Error when attempting ARF layout of graph
Hello,
I am currently facing a problem similar to the one reported a few months ago (Crash when generating arf_layout for a directed twitter network). Plotting other layouts such as SFDP or radial work fine, but when attempting the ARF layout on some graphs, I am receiving the error shown below. I am not too sure when this error occurs, because the ARF layout does work for some graphs. I have attached one example which is not working for me.
Error message:
Traceback (most recent call last):
File "graph_layout.py", line 17, in <module>
graph_draw(g, pos=arf_layout(g, max_iter=0), output="graph-arf.png")
File "/home/tl393/anaconda/lib/python2.7/site-packages/graph_tool/draw/cairo_draw.py", line 1015, in graph_draw
cr.translate(offset[0], offset[1])
cairo.Error: invalid matrix (not invertible)
Files: