Add graph/flowchart examples #1
18
Flowchart.md
18
Flowchart.md
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user