3 ms·
I used MermaidJS for diagrams in one of my projects. Initially it was fun, although MermaidJS lacked support for the diagram types I used at that time. What s
by throwaway89988 2y ago
I used MermaidJS for diagrams in one of my projects.
Initially it was fun, although MermaidJS lacked support for the diagram types I used at that time.
What stooped to be fun, is that MermaidJS needs a whole Chromebrowser engine to render the diagrams and it is built on Node.js.
Trying to generate my diagrams in another environment again was a total PITA and not worth the time.
I would love if the MermaidJS devs would port everything to another tech stack, don't use a whole browser engine to render their diagrams and make diagram creation easy and reproducible for build piplelines.
- mdaniel 2y ago> make diagram creation easy and reproducible for build piplelines. Up to you, but PlantUML is one .jar file and thus very easily renders in a pipeline. So, between waiting for MermaidJS(!) to port everything to another tech stack or using a tool that has a ton more diagram types than Mermaid and has an offline render tool ... up to you
- WolfOliver 2y agoits actually does not require node, it runs completely in the browser
- 3np 2y ago> it runs completely in the browser That's the complaint. Have fun trying to get attractive and reprodicible headless CI builds. I still have some issue with font rendering using latest version of their cli.
- dkga 2y agoYou can dispense with this if you type it on markdown or an Jupyter notebook and use quarto to render it.
- victorbjorklund 2y agoSounds like you might like D2. It is written in Golang and doesnt use Chrome to render. Wrote an article about it: https://victorbjorklund.com/build-diagrams-as-code-with-d2-d2lang https://victorbjorklund.com/build-diagrams-as-code-with-d2-d...