mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-12 11:59:39 +02:00
60 lines
1.3 KiB
Markdown
60 lines
1.3 KiB
Markdown
> **Warning**
|
|
>
|
|
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
|
>
|
|
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/config/tidy-tree.md](../../packages/mermaid/src/docs/config/tidy-tree.md).
|
|
|
|
# Tidy-tree Layout
|
|
|
|
The **tidy-tree** layout arranges nodes in a hierarchical, tree-like structure. It is especially useful for diagrams where parent-child relationships are important, such as mindmaps.
|
|
|
|
## Features
|
|
|
|
- Organizes nodes in a tidy, non-overlapping tree
|
|
- Ideal for mindmaps and hierarchical data
|
|
- Automatically adjusts spacing for readability
|
|
|
|
## Example Usage
|
|
|
|
```
|
|
---
|
|
config:
|
|
layout: tidy-tree
|
|
---
|
|
mindmap
|
|
root((mindmap is a long thing))
|
|
A
|
|
B
|
|
C
|
|
D
|
|
```
|
|
|
|
```
|
|
---
|
|
config:
|
|
layout: tidy-tree
|
|
---
|
|
mindmap
|
|
root((mindmap))
|
|
Origins
|
|
Long history
|
|
::icon(fa fa-book)
|
|
Popularisation
|
|
British popular psychology author Tony Buzan
|
|
Research
|
|
On effectiveness<br/>and features
|
|
On Automatic creation
|
|
Uses
|
|
Creative techniques
|
|
Strategic planning
|
|
Argument mapping
|
|
Tools
|
|
id)I am a cloud(
|
|
id))I am a bang((
|
|
Tools
|
|
```
|
|
|
|
## Note
|
|
|
|
- Currently, tidy-tree is primarily supported for mindmap diagrams.
|