I can highly recommend PlantUML as a simple language for creating sequence diagrams. It also supports other UML diagram types, which, despite what the article says, are also useful sometimes (so long as you don't worry about every last silly detail that's specified in the standard). @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice…
The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
61–70 of 113 posts
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#62I have noticed that some tools don't allow exporting diagrams anymore or have a watermark on them now. Need to add that info someday.
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#63It was amazingly useful for diagnosing problems. I wish more logging systems were able to visualise flows through a system of micro services so well!
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#64I can highly recommend PlantUML as a simple language for creating sequence diagrams. It also supports other UML diagram types, which, despite what the article says, are also useful sometimes (so long as you don't worry about every last silly detail that's specified in the standard). @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice…
It does look nice, and covers most things, except for life lines. Is there a way to add life lines? And why do so many tools choose to ignore life lines and provide incomplete sequence diagrams? Perhaps it gets really complicated to express in such a simple way as the examples do?
https://plantuml.com/sequence-diagram#5cc0040514e70f7b
You can even have two active on the same lane at the same time, as shown in the second example on that page.
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#65i love mermaid but i find sequence diagrams too thin on information, a graph view always feels like the right amount of data
Please elaborate. The amount of information provided is up to the creator of the diagram...
i hope it makes a bit more sense
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#66Maybe I'm nuts because I've never found these useful. If you actually want to model a real-world scenario, you'll end with an arrow from every system to every other system to the point that it's meaningless as a visualization.
I think you’re nuts :) I find them super helpful for refreshing when I need to see the flow for protocol exchanges like SIP, FTP, TLS. I don’t know how else you would model that. Words don’t communicate deeply enough.
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#67But that diagram just renders as code via GitHub Pages:
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#68Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#69Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#70Earlier quoted context omitted.
I believe PlantUML was basically the inspiration for MermaidJS. A huge advantage of MermaidJS is that it can run in the browser, though.
And if you start a markdown codeblock like ```mermaid graph TD; A-->B ``` Many things that support markdown (e.g. github, gitlab, typora, ...) will render the resulting graph.