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 22 additions and 0 deletions
Showing only changes of commit 306e81e862 - Show all commits

View File

@ -1,8 +1,30 @@
## Simple directed graph example
```mermaid ```mermaid
graph TD; graph TD;
A-->B; A-->B;
A-->C; A-->C;
B-->D; B-->D;
C-->D; C-->D;
```
## Flowchart left to right
```mermaid
flowchart LR;
Flow1[Flowcharts are easy] --> Flow2[and fast];
```
## Flowchart top to bottom
```mermaid
flowchart TD;
Flow1[Flowcharts are flexible] --> Flow2[and informative];
```
## Directed Graph
```mermaid
flowchart TD;
Flow1[Test Computer] --> |JTAG| Flow2[Motor Controller-DUT];
Flow1[Test Computer] --> |USB C| Flow3[Test Fixture];
Flow3[Test Fixture] --> Flow2[Engine Controller]
Flow2[Motor Controller-DUT] --> |Production Cable| Flow4[Production Motor]
``` ```