Oh. I see. It's just that the default layout does not like disconnected
graphs at all. Your graph ha many connected components, and it would be
best to print them independently :-)
for cc in CG.connected_components_subgraphs():
cc.show()
Nathann
--
You received this message because you are
Here is a picture of the problem. The vertices are too small and the edge
arrows are too big. I can't tell anything that is going on. I tried
increasing figsize, vertex_size, and the dpi you suggested. I cannot
figure out why this won't work. Any help is greatly appreciated. Thank
you.
Hell !!!
You problem may be solved by copying the graph's edges first :
dg2 = DiGraph()
dg2.add_edges(dg.edges())
dg2.show()
If it changes nothing there's not much that I can do unless you give us a
way to create your graph on our computers :-)
Nathann
On Sunday, January 13, 2013
Hi Nathann. Unfortuantely, I didn't get any difference. Here is a way to
create the graph:
CG = DiGraph()
CG.add_edges([(0, 36, None), (1, 48, None), (2, 14, None), (3, 22, None),
(4, 5, None), (4, 56, None), (5, 4, None), (6, 8, None), (6, 27, None), (7,
8, None), (8, 6, None), (8, 7, None),
Alternatively, is there a way I can make the graphics produced higher
resolution?
On Thursday, January 10, 2013 3:27:53 PM UTC-6, crushinator wrote:
Hi,
I have a problem getting a graph to plot on sage. I have a graph called
dg, a digraph on 100 vertices. The graph is several components.
On Thu, Jan 10, 2013 at 6:07 PM, crushinator joel.macal...@gmail.com wrote:
Alternatively, is there a way I can make the graphics produced higher
resolution?
I don't understand what you tried and what you didn't.
Did you try the dpi option? (It's in th reference manual...
search sagemath graph