Add graph/flowchart examples #1

Merged
AllSpiceAlice merged 13 commits from develop into main 2022-10-17 16:38:34 +00:00
1 changed files with 29 additions and 1 deletions
Showing only changes of commit a2090c19cf - Show all commits

View File

@ -78,7 +78,35 @@ flowchart TB;
StartThick3[Thick] ==> |text in link| EndThick3[Arrow]; StartThick3[Thick] ==> |text in link| EndThick3[Arrow];
StartThick4[Thick] === |text in link| EndThick4[Line]; StartThick4[Thick] === |text in link| EndThick4[Line];
Chain1[Chain] -- text in link --> Chain2[Link] -- text in link --> Chain3[Nodes]; Chain1[Chain] -- text in link --> Chain2[Link] -- text in link --> Chain3[Nodes];
a --> b & c --> d;
A & B --> C & D;
StartCircle[Line] --o EndCircle[Circle];
StartCross[Line] --x EndCross[Cross];
```
Multiple lines
```mermaid
flowchart LR;
A o--o B <--> C x--x D;
```
Minimum length
```mermaid
flowchart LR;
A --> B;
B --> C;
B ----> D;
B ------> E;
C --------> F;
```
## Special characters
```mermaid
flowchart LR;
A["use quotes to create a string"];
B["quotes, quotation example #quot; #quot;"];
C["use quotes to display (special characters)"];
D["entity code: #9829;"]
E["Arrow entity codes: #8592; #8593; #8594; #8595; #8596; #8629;"]
F["#8719; #8721; #8734;"]
``` ```