How do I fix clipping issues with graph_draw when they arise?

Here's a minimal example that shows some clipping of the self-loops. I have
this issue occasionally with mor complicated graphs too.

edge_list = [ (0,1), (1,2), (2,0), (0,2), (1,1), (2,2) ]
g = gt.Graph()
g.add_edge_list(edge_list)
pos = gt.sfdp_layout(g)
gt.graph_draw(g,pos=pos,vertex_text=g.vertex_index)

I've tried fit_view options and rescaling pos by hand, all to no avail.



--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/graph-draw-clipping-issues-tp4026980.html
Sent from the Main discussion list for the graph-tool project mailing list 
archive at Nabble.com.
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to