Tlsd: Generate (message) sequence diagrams from TLA+ state traces
github.com
github.com
I wrote it to make it more easy to understand why and how some message exchange scenarios failed (in a model) and the charts turned out to be quite helpful for that.
Wish it was easier to express directly in the models, though, or perhaps use this tool without any particular ALIASing, just with better analysis of the trace dumps tlc produces, but parsing TLA+ in general is not that easy. It should be easier to interactively study the state diagrams as well, because non-trivial scenarios can get a lot of states.
A learnxinyminutes for TLA+ might be helpful: https://learnxinyminutes.com/
awesome-tlaplus > Books, (University) courses teaching (with) TLA+: https://github.com/tlaplus/awesome-tlaplus#books
blockdiag > nwdiag > rackdiag does server rack charts: http://blockdiag.com/en/nwdiag/
Otherwise mermaidjs probably has advantages including Jupyter Notebook support.
E.g. Gephi supports JSON of some sort. Supported graph formats: https://gephi.org/users/supported-graph-formats/
More graph and edge layout options might help with larger traces
yEd has many graph layout algorithms and parameters and supports GraphML XML; yEd: https://en.wikipedia.org/wiki/YEd
MermaidJS docs > Syntax > sequenceDiagram: https://mermaid.js.org/syntax/sequenceDiagram.html
In addition there's also the case of messages that are never processed, but I suppose that could be its own "never handled" box.