does anyone know if it's possible to generate such plots in matplotlib? the image is taken from the following page. If not, there another 'python' solution to generate such plots?
Asked
Active
Viewed 1,614 times
1 Answers
5
You want to use the packange networkx
which will take care of the layout and plotting (via matplotlib if you want).

tacaswell
- 84,579
- 22
- 210
- 199
-
do you know if arrows can be drawn as well using the networkx/matplotlib? http://networkx.lanl.gov/archive/networkx-1.0rc1/examples/drawing/node_colormap.html – dimka Apr 25 '13 at 22:55
-
If it isn't built in, it is easy to do with annotate. See http://stackoverflow.com/questions/14938541/how-to-improve-the-label-placement-for-matplotlib-scatter-chart-code-algorithm/15859652#15859652 for how to get the node locations out of a network. – tacaswell Apr 25 '13 at 23:10