Skip to content

Layouts ​

This page lists the available layout algorithms supported in Mermaid diagrams.

Supported Layouts ​

How to Use ​

You can specify the layout in your diagram's YAML config or initialization options. For example:

Code:
mermaid
Ctrl + Enter|
Opens in MermaidChart.com