-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feature request: State transition graph in JSON format #146
Comments
The graph is being persisted, but as a binary proto file. |
Just curious what you want to use it for? |
Thanks for pointing me towards the protobuf files! That's definitely better than just the
Very generally making graphs easier to look at as the situation demands. For example:
Of course you could implement all of these in FizzBee's own GraphViz P. S. Just for the benefit of anyone else who comes across this issue, here is how I converted the data inside the protobuf files (generated by FizzBee @ aad1bb7) to JSON: After a successful
|
Feature request
Great project, thanks for writing and publishing it!
One thing I'd find useful is if the state transition graph which FizzBee currently outputs in GraphViz dot format could also be output as JSON, especially if the state inside each node could be represented as JSON as well. That would make it easier to process, apply custom filtering and formatting etc. as one desires.
Since the GraphViz dot file is produced unconditionally (unless the graph is too large) and I don't expect JSON to be more expensive to produce, I guess it would be fine if it was unconditional as well. But I don't think anyone would complain if it had to be enabled with a CLI switch or config option instead.
Additional context
Just to show that this is a common feature request for model checkers: People have been requesting the same feature in TLA+'s tooling for a while (tlaplus/tlaplus#639, tlaplus/tlaplus#1073) and the issues link to some examples of what people would do with it.
The text was updated successfully, but these errors were encountered: