top | item 41267058

(no title)

throwaway89988 | 1 year 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.

discuss

order

mdaniel|1 year 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

dkga|1 year ago

You can dispense with this if you type it on markdown or an Jupyter notebook and use quarto to render it.

WolfOliver|1 year ago

its actually does not require node, it runs completely in the browser

3np|1 year 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.