This mermaid generates diagrams and flowcharts from plain text

Mermaid's author, Knut Sveidqvist, asks:

Ever wanted to simplify documentation and avoid heavy tools like Visio when explaining your code?

Answer "yes"? He goes on:

This is why mermaid was born, a simple markdown-like script language for generating charts from text via javascript.

A graph example:

graph LR;
    A[Hard edge]-->|Link text|B(Round edge);
    C-->|One|D[Result one];
    C-->|Two|E[Result two];


Markdown's primary purpose is to look great as plain text and be transformable in to HTML. In that way, I think mermaid slightly misses the mark. But it succeeds at making diagram/flowchart generation easy!

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

GopherCon 2016 Conference Recap

0:00 / 0:00