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 15 additions and 3 deletions
Showing only changes of commit 35833371f5 - Show all commits

View File

@ -1,6 +1,6 @@
## Simple directed graph example ## Simple directed graph example
```mermaid ```mermaid
graph TD; graph TB;
A-->B; A-->B;
A-->C; A-->C;
B-->D; B-->D;
@ -15,13 +15,25 @@ flowchart LR;
## Flowchart top to bottom ## Flowchart top to bottom
```mermaid ```mermaid
flowchart TD; flowchart TB;
Flow1[Flowcharts are flexible] --> Flow2[and informative]; Flow1[Flowcharts are flexible] --> Flow2[and informative];
``` ```
## Flowchart bottom to top
```mermaid
flowchart BT;
Flow1[Data Acquisition Unit] --> |USB-1.1| Flow2[PC];
```
## Flowchart right to left
```mermaid
flowchart RL;
Flow1[Flowcharts flow] --> Flow2[in any direction];
```
## Directed Graph ## Directed Graph
```mermaid ```mermaid
flowchart TD; flowchart TB;
Flow1[Test Computer] --> |JTAG| Flow2[Motor Controller-DUT]; Flow1[Test Computer] --> |JTAG| Flow2[Motor Controller-DUT];
Flow1[Test Computer] --> |USB C| Flow3[Test Fixture]; Flow1[Test Computer] --> |USB C| Flow3[Test Fixture];
Flow3[Test Fixture] --> Flow2[Engine Controller] Flow3[Test Fixture] --> Flow2[Engine Controller]