Add graph/flowchart examples #1
22
Flowchart.md
22
Flowchart.md
|
@ -1,8 +1,30 @@
|
|||
## Simple directed graph example
|
||||
```mermaid
|
||||
graph TD;
|
||||
A-->B;
|
||||
A-->C;
|
||||
B-->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]
|
||||
|
||||
```
|
Loading…
Reference in New Issue