The plaintext format is an indentation-based representation used to describe mind map structures, including tree hierarchies, arrow connections, and summaries.
Basic Structure
- Each node starts with
- . - Hierarchy is determined by indentation (2 spaces per level).
Node Metadata
Nodes can include optional information after the topic text:
- Reference ID:
[^refId] (format: [^alphanumeric-or-dash]). Used by arrows to link to specific nodes. Stored in node.metadata.refId. - Style Object:
{JSON}. Supports keys like fontSize, fontFamily, color, background, and fontWeight. Stored in node.style. - Combination:
- Node [^id1] {"color": "#ff0000"} (Order: Topic $\rightarrow$ RefId $\rightarrow$ Style).
Arrow Connections
Arrows describe relationships between nodes and start with > :
- Bidirectional:
> [^fromId] <-label-> [^toId] - Unidirectional:
> [^fromId] >-label-> [^toId] - The indentation of the arrow line determines its parent node.
Summaries
Summaries describe a group of sibling nodes and start with }:
}:N label: Summarizes the $N$ sibling nodes immediately preceding this line.} label: Summarizes all preceding sibling nodes.
- Root Node
- Child Node 1
- Child Node 1-1 {"color": "#e87a90", "fontSize": "18px"}
- Child Node 1-2
- Child Node 1-3
- }:2 Summary of first two nodes
- Child Node 2
- Child Node 2-1 [^node-2-1]
- Child Node 2-2 [^id2]
- > [^node-2-1] <-Bidirectional Link-> [^id2]