Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Library/Module for (simple) Undirected Graphs

I've been searching the web for the past hour trying to find a library for python that will help me create and draw simple undirected graphs. It looks like NetworkX (http://networkx.lanl.gov/index.html) is by far the most popular one but unfortunately it doesn't support drawing for Python 3.

Any suggestions? I don't need anything super powerful or complex, just basic (even undirected) graph creation and drawing (and maybe exporting as png, jpeg, etc). You know, just a few nodes and edges.


1 Answers

NetworkX mentions quite a few ways to draw graphs using Graphviz.

like image 153
Jochen Ritzel Avatar answered May 23 '26 09:05

Jochen Ritzel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!