mermaid.js is a "native js" library, while GraphViz is written in C, so harder to deploy
Mermaid is a JS library easily embeddable, with sequence diagrams, entity relationship diagrams, gantts, alongside more traditional graphviz-style directed graphs.
Mermaid it is also supported by VS Code, as an extension of Markdown syntax.
```mermaid sequenceDiagram A-->B: Works! ```
//mermaid.live/edit (and sample diagrams)
=" " graph LR A --- B B-- C[fa:fa-ban forbidden] B-- D(fa:fa-spinner); < =" " graph TD A --- B B-- C[fa:fa-ban forbidden] B-- D(fa:fa-spinner);
< =" " < : </