Mermaid – Generation of diagrams and flowcharts from text
mermaidjs.github.io
mermaidjs.github.io
We also ran into some limitations on how we could control the final display.
So we moved all our diagrams to PlantUML and found ourselves quite happy with it.
Here’s the syntax guide: https://github.com/mermaidjs/mermaid-gitbook/blob/master/con...
Edit: And here’s a plugin for VS Code that adds a live render pane to the text editor - https://marketplace.visualstudio.com/items?itemName=vstirbu....
That’s a huge benefit compared to storing rendered bitmaps, with a source file next to them. There’s much more friction involved in keeping those up to date, the changes don’t display usefully in PRs etc. They’re almost never up to date as a result.
Another thing mermaid lets you easily do is generate sequence diagrams from code such as testcases, because the format is so simple and line-driven. The outpout can also be included in documentation as samples, and is guaranteed to be up-to-date.
It's awesome, I hope they continue to extend it.
I must have imagined it.
GitLab FTW!