3 ms·
The examples showing TikZ used to draw a sequence diagram [1, 2] or class diagram [3] are far more verbose than the examples in the mermaid readme [4], so merma
by jamessb 10y ago
The examples showing TikZ used to draw a sequence diagram [1, 2] or class diagram [3] are far more verbose than the examples in the mermaid readme [4], so mermaid looks easier to write.
[1]: http://www.texample.net/tikz/examples/pgf-umlsd/ http://www.texample.net/tikz/examples/pgf-umlsd/
[2]: http://www.texample.net/tikz/examples/sequence-diagram/ http://www.texample.net/tikz/examples/sequence-diagram/
[3]: http://www.texample.net/tikz/examples/class-diagram/ http://www.texample.net/tikz/examples/class-diagram/
[4]: https://github.com/knsv/mermaid https://github.com/knsv/mermaid
- stared 10y agoIn LaTeX things can be extremely verbose in general. But for TikZ it is easy to do one note or edge per line. Sure, mermaid looks even more compact, but at a huge price of flexibility. (Don't take me wrong - for sure it has its use-cases!)