statebox / purescript-studio

Statebox studio + core + API + REST client
https://studio.statebox.cloud
4 stars 0 forks source link

halogen-petrinet-editor: fire transitions via external Aff function #353

Closed sjoerdvisscher closed 4 years ago

sjoerdvisscher commented 4 years ago

Fixes #225

sjoerdvisscher commented 4 years ago

Good point about the animation when not firing. That would be a case for the fire method to just return a boolean instead of the new marking state. I guess we can delay this decision until it actually matters.

sjoerdvisscher commented 4 years ago

Do you know why the PetrinetEditor is currently overriding netApi? This makes it impossible to pass your own netApi at the moment.