The popularity of MermaidJS makes me wonder why I cannot have that natively in Confluence.
The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
51–60 of 113 posts
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#52I guess it’s effective because it is similar to Markdown and other lightweight stuff: things like bullet items are just written like bullet items, with hyphens (or similar). You write it how you want it to be displayed. Granted for a diagram it’s more complicated since it’s a graph and not a tree, and you write it with declarative arrows rather than as ASCII art, but perhaps that in practice strikes a nice balance be…
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#53The article claims that sequence charts are the only useful thing in UML. What about: Entity diagrams, especially for database ERD Timing diagrams (think: Gantt) Interaction/flow diagrams Use case diagrams
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#54I 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…
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?
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#55Maybe 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 don’t know how else you would model that. Words don’t communicate deeply enough.
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#56I 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…
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#57I 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…
I'd use whichever works for your ecosystem and diagram lifecycle. The syntax is similar enough that I think the diagram creation constraints are often a bigger difference.
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#58The popularity of MermaidJS makes me wonder why I cannot have that natively in Confluence.
0: https://marketplace.atlassian.com/apps/1214124/mermaid-plugi...
Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#59I 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…
I believe PlantUML was basically the inspiration for MermaidJS. A huge advantage of MermaidJS is that it can run in the browser, though.
```mermaid
graph TD;
A-->B
```
Many things that support markdown (e.g. github, gitlab, typora, ...) will render the resulting graph.Re: The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
#60It's not the interesting problem that I'm trying to solve so I'd love to reuse something if I can.