views:

28

answers:

1

http://imgur.com/7wiRw.png The above is the output of my current graph. However, I have yet to manage what I am trying to achieve. I need to output my graph in a larger size so that each node/edge can be viewed with ease. Ive tried nx.draw(G, node_size=size), but that only increases the size of the nodes, not the distance between nodes and edges. Any help would be appreciated, thanks.

A: 

Since it seems that your network layout is too 'messy', you might want to try different graph layout algorithms and see which one suits you best.

>>> nx.draw(G)  
>>> nx.draw_random(G)  
>>> nx.draw_circular(G)  
>>> nx.draw_spectral(G)  
>>> nx.draw_spring(G)  

Also, if you have too many nodes (let's say some thousands) visualizing your graph can be a problem.

thetarro