Skip to content

布局

🌐 Layouts

此页面列出了 Mermaid 图表支持的可用布局算法。

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

支持的布局

🌐 Supported Layouts

使用方法

🌐 How to Use

你可以在图表的 YAML 配置或初始化选项中指定布局。例如:

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

Opens in mermaid.ai