Software Diagrams - Plant UML vs Mermaid | Dan Does Code #74
Replies: 5 comments 4 replies
-
Great comparison! |
Beta Was this translation helpful? Give feedback.
-
Awesome comparison. It's important to know that https://app.diagrams.net/ lets you insert PlantUML and Mermaid. The fact that you can also save the whole diagram as "blah.drawio.svg" (embedding the diagrams.net source and PlantUML/Mermaid source) is very meta and cool. The only thing that doesn't quite work is the non-supported SVG sometimes, but this workaround is reasonable: https://www.diagrams.net/do... |
Beta Was this translation helpful? Give feedback.
-
> With PlantUML, you need to also check in the images to source control and these could easily become out of date. Winner: Mermaid Not entirely accurate. See https://stackoverflow.com/a... for some markup magic that works if your repo isn't private (uses the PlantUML web service to render the images inline). |
Beta Was this translation helpful? Give feedback.
-
I've actually tried both plantUML and mermaid. Both in my opinion lack the most important kind of diagram which is the UML collaboration/communication diagram displaying the temporal/relationship at the same time within one diagram. It is the perfect diagram for explaining contexts, how they connect and when they communicate. It is the one that helps to crystallize what is elicited and then with the diagram you can get clarification and correct/tweak it to represent an existing real-world situation more accurately and then move on to the next step which is what you really want the scenario to be improved on. It helps to communicate the change requests and helps everybody all stakeholders to participate be on the same page/wavelength for what is the system and for what everybody wants to system to morph into. |
Beta Was this translation helpful? Give feedback.
-
You wrote that GitGraph is not supported by PlantUML, but there are now experimental support for generating git branching diagrams. There are examples of using component diagrams and sequence diagrams for it. PlantUML also supports Extended Backus-Naur Form (EBNF) diagrams, which can be used to draw branching and merging operations. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Software Diagrams - Plant UML vs Mermaid
https://www.dandoescode.com/blog/plantuml-vs-mermaid/
Beta Was this translation helpful? Give feedback.
All reactions