-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
15 pnfrag add whitespace support and petri net export is buggy #16
15 pnfrag add whitespace support and petri net export is buggy #16
Conversation
…net-export-is-buggy
all tests are passing
now includes that the net has a name in the prom expected format
…net-export-is-buggy
…net-export-is-buggy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the patch. Better Petri net interoperability will be nice. I suspect it worked at the Java program level but not through the ProM GUI, which is how it went undetected. I can see the whitespace labels being handy too.
I had a question about why UUID ids were desirable or needed.
There is no special extension for PNML files with weights or other stochastic distribution info. |
I can't remember why that Petri net had a deadlock. I should probably fix it in the blog post as it will irritate PN heads. |
Na let them boil over with rage, then feed off their energy! |
This patch adds white space to the label of transitions for pnfrag and a bug fixes for the exporting pnml that can be read by prom.
Additional prom bits can be exported using a flag but is off by default.
The additionals allow for the example @ https://adamburkeware.net/2021/05/20/petri-net-fragments.html to be reproduced with the following code:
When visualised the net shows the same layout as before (but I am not sure of the export extension for weights Petri nets).

Visualised layout from ProM of the underlying Petri net:
Note that this net eventually deadlocks if the transition 'reinitiate request' is fired. Unsure if the model was intended to have this behaviour, but matches the blog post.