Drawing Petri Network using Networkx module in Python

710 views Asked by At

As the question says, is there any way to draw a Petri Net to a cmd using networkx module in python?

If not what are the options availible to make do this task? I am working on a project for uni to make a Petri Network and to print it after the user chooses one of the transitions enabled. The source code is done with the various objects and it does what is meant to do.

1

There are 1 answers

0
Lecrapouille On

Ok old post and an partial answer: I do not know about Python/networkx concerning drawing bipartite graph but my Petri editor can generate LaTeX and Graphviz figures with colors on transitions. If this can help you.