Is there any software for drawing a Petri net and generating any source code from there? The source code could be in any already known programming language...
Slightly less desirable option would be outputting a file with only the description of the Petri net graphs in a text-based file in some open format, like XML or any other data language. I could then write the code generator myself, but at least I would like to avoid gui/graph development part ;))
Thanks
Check PetriNetSim it is developed in Java, you can draw and simulate simple/colored/timed petrinets. It comes with few examples. You can extend arc and nodes constraints in Java. And finally you can see java classes of the generated petri net
You can grab the source code from github https://github.com/guillem-catala/PetriNetSim