Skip to main content

Mind Map

Mind Map syntax is based on PlantUML MindMap beta.

Experiment syntax may change.

OrgMode syntax for levels

You can specify node level by number of * symobl, starting from 1.

mindmap
* UML Diagrams
** Behavior Diagrams
*** Sequence Diagram
*** State Diagram

+/- symbol for side

Normally the diagram layout is from left to right, you can use - symbol to choose another side.

mindmap
+ UML Diagrams
++ Behavior Diagrams
+++ Sequence Diagram
+++ State Diagram
+++ Activity Diagram
-- Structural Diagrams
--- Class Diagram
--- Component Diagram

Multiline text

You can use : and ; to have multilines box.

mindmap
* example
** :can have multiline
text;

Multiroot

You can create multiroot mind map, every node with depth 1 will create a new tree.

mindmap
* UML Diagram
** Sequence Diagram
** State Diagram
** Component Diagram
* Non-UML Diagram
** Entity Relationship Diagram
** Mind Map

Override config

You can override diagarm config through @param directive.

All available configs can be seen in the Config page.

mindmap
@param layoutDirection TB
@param {
  l1NodeBgColor   #2B7A5D
  l1NodeTextColor #fff
  l2NodeBgColor   #26946C
  l2NodeTextColor #fff
  nodeBgColor     #67B599
  textColor       #fff
}
+ UML Diagrams
++ Behavior Diagrams
+++ Sequence Diagram
+++ State Diagram
+++ Activity Diagram
++ Structural Diagrams
+++ Class Diagram
+++ Component Diagram