# Mermaid mindmaps as text trees

Pass `mindmap` source to `renderGlyphDiagram`. Indentation defines parentage; the adapter creates a left-to-right tree.

## Plan a release



```mermaid
mindmap
 root(Release v2)
  Checkout
   Card payments
   Order receipts
  Operations
   Backups
   Error alerts
  Rollout
   Staff preview
   Public launch
```

```text
                                         ╭───────────────╮        
                                      ┌──│ Card payments │        
                         ╭──────────╮ │  ╰───────────────╯        
                      ┌──│ Checkout ├─┤                           
                      │  ╰──────────╯ │  ╭────────────────╮       
                      │               └──│ Order receipts │       
                      │                  ╰────────────────╯       
                      │                                           
                      │                   ╭─────────╮             
                      │                ┌──│ Backups │             
       ╭────────────╮ │ ╭────────────╮ │  ╰─────────╯             
       │ Release v2 ├─┼─│ Operations ├─┤                          
       ╰────────────╯ │ ╰────────────╯ │  ╭──────────────╮        
                      │                └──│ Error alerts │        
                      │                   ╰──────────────╯        
                      │                                           
                      │                   ╭───────────────╮       
                      │               ┌───│ Staff preview │       
                      │   ╭─────────╮ │   ╰───────────────╯       
                      └───│ Rollout ├─┤                           
                          ╰─────────╯ │   ╭───────────────╮       
                                      └───│ Public launch │       
                                          ╰───────────────╯       
```



## Choose node outlines



```mermaid
mindmap
 root(Portal)
  )Cloud services(
  ))Alerts((
  {{Security}}
```

```text
                             ╭◠◠◠◠◠◠◠◠◠◠◠◠◠◠◠◠╮                 
                           ┌─│ Cloud services │                 
                           │ ╰◡◡◡◡◡◡◡◡◡◡◡◡◡◡◡◡╯                 
                           │                                    
                ╭────────╮ │ *╱╲╱╲╱╲╱╲*                         
                │ Portal ├─┼─│ Alerts │                         
                ╰────────╯ │ *╲╱╲╱╲╱╲╱*                         
                           │                                    
                           │ ╱──────────╲                       
                           └─❬ Security ❭                       
                             ╲──────────╱                       
```



## Syntax and limits

- Rounded nodes are the default. Circle, cloud, bang, and hexagon delimiters select outlines.
- Repeated labels are separate tree nodes. Uneven dedents and apostrophes are accepted.
- Icons, classes, and configuration are inert. Markdown labels become plain text and the adaptation is reported.
- Deep trees may become wide. Use `autoDirection`, more columns, or [pagination](/diagrams/options/) rather than shrinking the font.
