collab/mermaid/docs/config/tidy-tree.mdblame
View source
6dd74de1> **Warning**
6dd74de2>
6dd74de3> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
6dd74de4>
6dd74de5> ## Please edit the corresponding file in [/packages/mermaid/src/docs/config/tidy-tree.md](../../packages/mermaid/src/docs/config/tidy-tree.md).
6dd74de6
6dd74de7# Tidy-tree Layout
6dd74de8
6dd74de9The **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.
6dd74de10
6dd74de11## Features
6dd74de12
6dd74de13- Organizes nodes in a tidy, non-overlapping tree
6dd74de14- Ideal for mindmaps and hierarchical data
6dd74de15- Automatically adjusts spacing for readability
6dd74de16
6dd74de17## Example Usage
6dd74de18
6dd74de19```mermaid-example
6dd74de20---
6dd74de21config:
6dd74de22 layout: tidy-tree
6dd74de23---
6dd74de24mindmap
6dd74de25root((mindmap is a long thing))
6dd74de26 A
6dd74de27 B
6dd74de28 C
6dd74de29 D
6dd74de30```
6dd74de31
6dd74de32```mermaid
6dd74de33---
6dd74de34config:
6dd74de35 layout: tidy-tree
6dd74de36---
6dd74de37mindmap
6dd74de38root((mindmap is a long thing))
6dd74de39 A
6dd74de40 B
6dd74de41 C
6dd74de42 D
6dd74de43```
6dd74de44
6dd74de45```mermaid-example
6dd74de46---
6dd74de47config:
6dd74de48 layout: tidy-tree
6dd74de49---
6dd74de50mindmap
6dd74de51root((mindmap))
6dd74de52 Origins
6dd74de53 Long history
6dd74de54 ::icon(fa fa-book)
6dd74de55 Popularisation
6dd74de56 British popular psychology author Tony Buzan
6dd74de57 Research
6dd74de58 On effectiveness<br/>and features
6dd74de59 On Automatic creation
6dd74de60 Uses
6dd74de61 Creative techniques
6dd74de62 Strategic planning
6dd74de63 Argument mapping
6dd74de64```
6dd74de65
6dd74de66```mermaid
6dd74de67---
6dd74de68config:
6dd74de69 layout: tidy-tree
6dd74de70---
6dd74de71mindmap
6dd74de72root((mindmap))
6dd74de73 Origins
6dd74de74 Long history
6dd74de75 ::icon(fa fa-book)
6dd74de76 Popularisation
6dd74de77 British popular psychology author Tony Buzan
6dd74de78 Research
6dd74de79 On effectiveness<br/>and features
6dd74de80 On Automatic creation
6dd74de81 Uses
6dd74de82 Creative techniques
6dd74de83 Strategic planning
6dd74de84 Argument mapping
6dd74de85```
6dd74de86
6dd74de87## Note
6dd74de88
6dd74de89- Currently, tidy-tree is primarily supported for mindmap diagrams.