Flow chart
Syntax
Every line represents a relation between two nodes as:FROM LINK TO
whereFROM
andTO
can be defined either as:ID[LABEL]
or just as:LABEL
.
Labels need to be defined only once.
This:
A[Alice] -> B[Bob]
B -> A
is equivalent to:
Alice -> Bob
Bob -> Alice
Both will result in:
LINK
can be a line, dashed or dotted, with or without arrow.
Alice -> Bob
Alice - Bob
Alice --> Bob
Alice -- Bob
Alice ..> Bob
Alice .. Bob
The only configuration is dir
, the direction of the graph. It defaults to TB
(top to bottom).
dir: TB Alice -> Bob
dir: BT Alice -> Bob
dir: LR Alice -> Bob
dir: RL Alice -> Bob