mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-04 16:16:41 +02:00
1.3 KiB
1.3 KiB
Diagram syntax
If you are new to mermaid, read Getting Started and Overview sections, to learn the basics about the basics.
This section is a list of diagram types supported by mermaid, each one explains the syntax with which a diagram or chart can be called. These are called Diagram Definitions, since they describe the manner with which the diagram is to be rendered by the renderer.
mermaid tag:
These Diagram Definitions can be entered within a <div class=mermaid> tag. like so :
<div class="mermaid">
graph LR
A --- B
B-->C[fa:fa-ban forbidden]
B-->D(fa:fa-spinner);
</div>
live ediotr
These definitions can also be entered into the mermaid live editor, to render them immediately. This would then offer