From 2b3f94eb7d62b2387f121d2fdf8176390fa7784e Mon Sep 17 00:00:00 2001 From: darshanr0107 Date: Tue, 12 Aug 2025 16:35:43 +0530 Subject: [PATCH] docs: update mindmap docs to specify tidy tree layout on-behalf-of: @Mermaid-Chart --- docs/syntax/mindmap.md | 17 +++++++++++++++++ packages/mermaid/src/docs/syntax/mindmap.md | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/docs/syntax/mindmap.md b/docs/syntax/mindmap.md index 1adaa2c49..b632d3ab5 100644 --- a/docs/syntax/mindmap.md +++ b/docs/syntax/mindmap.md @@ -314,3 +314,20 @@ You can also refer the [implementation in the live editor](https://github.com/me cspell:locale en,en-gb cspell:ignore Buzan ---> + +## Layouts + +Mermaid also supports a Tidy Tree layout for mindmaps. + +``` +--- +config: + layout: tidy-tree +--- +mindmap +root((mindmap is a long thing)) + A + B + C + D +``` diff --git a/packages/mermaid/src/docs/syntax/mindmap.md b/packages/mermaid/src/docs/syntax/mindmap.md index 3dfbed2f6..7c7822b64 100644 --- a/packages/mermaid/src/docs/syntax/mindmap.md +++ b/packages/mermaid/src/docs/syntax/mindmap.md @@ -209,3 +209,20 @@ You can also refer the [implementation in the live editor](https://github.com/me cspell:locale en,en-gb cspell:ignore Buzan ---> + +## Layouts + +Mermaid also supports a Tidy Tree layout for mindmaps. + +``` +--- +config: + layout: tidy-tree +--- +mindmap +root((mindmap is a long thing)) + A + B + C + D +```