Drawing Multigraphs

Nima nima.irt at gmail.com
Tue Jun 1 12:42:02 EDT 2010


Hi there,
Is it possible to draw an (undirected) multigraph using a python library?
I need to write a program that finds an Eulerian circuit in a graph
(which might obviously be a multigraph). As the output of the program,
I should draw the graph and print out the solution.

I asked my question at NetworkX discussion group. They told me that
matplotlib, which provides drawing routines for NetworkX, doesn't show
multiple edges and I have to pass the graph to another graph drawing
package (if there is one!).

* I've used the Fleury's algorithm to solve the problem.
--
Yours sincerely,
Nima Mohammadi



More information about the Python-list mailing list