Skip to content
This repository was archived by the owner on Oct 16, 2019. It is now read-only.
/ mermaid Public archive
forked from mermaid-js/mermaid

Generation of diagram and flowchart from text in a similar manner as markdown

License

Notifications You must be signed in to change notification settings

bjowes/mermaid

This branch is 11745 commits behind mermaid-js/mermaid:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fec3101 · Jan 13, 2015
Dec 21, 2014
Nov 13, 2014
Jan 11, 2015
Dec 1, 2014
Dec 28, 2014
Nov 16, 2014
Nov 13, 2014
Jan 11, 2015
Jan 11, 2015
Dec 22, 2014
Nov 27, 2014
Dec 28, 2014
Nov 1, 2014
Jan 12, 2015
Jan 11, 2015
Jan 4, 2015
Jan 11, 2015

Repository files navigation

mermaid Build Status Code Climate

Generation of diagrams and flowcharts from text in a similar manner as markdown.

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

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

The code below would render the following image

CodeRendered diagram

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;

Example 1

sequenceDiagram
    participant Alice
    participant Bob
    Alice->>John: Hello John, how are you?
    loop Healthcheck
        John->>John: Fight against hypochondria
    end
    Note right of John: Rational thoughts <br/>prevail...
    John-->>Alice: Great!
    John->>Bob: How about you?
    Bob-->>John: Jolly good!

Example 2

Further reading

Credits

Many thanks to the d3 and dagre-d3 projects for providing the graphical layout and drawing libraries! Thanks also to the js-sequence-diagram project for usage of the grammar for the sequence diagrams.

Mermaid was created by Knut Sveidqvist for easier documentation.

Knut has not done all work by him self, here is the full list of the projects contributors.

About

Generation of diagram and flowchart from text in a similar manner as markdown

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.3%
  • Other 0.7%