Mind maps
A central idea, branches to the right and to the left. Write the ideas and the arrows from each one to its children; skemo balances the two sides and draws the branches.
mindmap.skemo
//- Mindmap: the root in the middle, branches to the right and to the left
diagram(layout="mindmap")
card#skemo.root skemo
to(language engine router cli editor docs)
card#language Language
| FORMAT.md
to(parser styles editing)
card#parser Parser
card#styles CSS styles
card#editing Surgical editing
card#engine Engine
to(measure layout render)
card#measure Measurement
card#layout Layout
card#render Rendering
| HTML, SVG, PNG, WebP
card#router Router
to(nudging hyperedges)
card#nudging Spacing
card#hyperedges Hyperedges
card#cli Command line
card#editor Editor
card#docs DocumentationRules
diagram(layout="mindmap")enables the mode;root="id"picks the centre. By default the root is the first card that no arrow targets.- The root's children are spread between the right and the left, balancing the height of both sides; on each side, writing order reads top to bottom.
- A node is centred on the block of its children; arrows of one parent share a trunk.
- An arrow to a card already in the tree is drawn as an ordinary cross-link.
- A card that cannot be reached from the root is placed under the map, with a warning.
- Zones are not allowed;
at=has no effect. Classes, themes and animation markers work as everywhere.
When to use it
Brainstorms, the outline of a talk or a document, the parts of a product. When the tree has a single direction (an organisation, a breakdown), an organisation chart reads better.
See also
- Styling with CSS: the mind map look (root pill, tinted branches, plain leaves).
- Step-by-step animations: reveal one branch at a time.
