1

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?

0

1 Answer 1

5

You want to use the packange networkx which will take care of the layout and plotting (via matplotlib if you want).

Sign up to request clarification or add additional context in comments.

2 Comments

do you know if arrows can be drawn as well using the networkx/matplotlib? networkx.lanl.gov/archive/networkx-1.0rc1/examples/drawing/…
If it isn't built in, it is easy to do with annotate. See stackoverflow.com/questions/14938541/… for how to get the node locations out of a network.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.