I will just say that I think mermaid is great. I use it via the DiagrammeR package in R and via Quarto. In addition to manually typing in diagrams I sometimes write ad-hoc code that helps me visualize my data (and source code) by emitting one of the relevant mermaid syntaxes.
Did anyone who up upvoted this actually follow the link and look at the script? This is a troll.