37 lines
990 B
Markdown
37 lines
990 B
Markdown
|
|
# Flow Example
|
||
|
|
|
||
|
|
```js
|
||
|
|
// FLOWS: example | 1 | Root Node
|
||
|
|
|
||
|
|
// FLOWS: example | 2 | Test
|
||
|
|
|
||
|
|
// FLOWS: example | 3 | Test2
|
||
|
|
|
||
|
|
// FLOWS: example | 3.1 | TestBranch
|
||
|
|
|
||
|
|
// FLOWS: example | 3.2 | SecondBranch
|
||
|
|
|
||
|
|
// FLOWS: example | 3.1.1 | TestBranchSub
|
||
|
|
|
||
|
|
// FLOWS: example | 3.1.2 | TestBranchBranchSub
|
||
|
|
|
||
|
|
// FLOWS: example | 3.2.1 | SecondBranchSub
|
||
|
|
|
||
|
|
// FLOWS: example | 3.3 | MergeBack
|
||
|
|
```
|
||
|
|
|
||
|
|
```mermaid
|
||
|
|
|
||
|
|
graph TD
|
||
|
|
step_1["Root Node"] --> step_2["Test"]
|
||
|
|
step_2["Test"] --> step_3["Test2"]
|
||
|
|
step_3["Test2"] --> step_3_1["TestBranch"]
|
||
|
|
step_3["Test2"] --> step_3_2["SecondBranch"]
|
||
|
|
step_3["Test2"] --> step_3_3["MergeBack"]
|
||
|
|
step_3_1["TestBranch"] --> step_3_1_1["TestBranchSub"]
|
||
|
|
step_3_1["TestBranch"] --> step_3_1_2["TestBranchBranchSub"]
|
||
|
|
step_3_1["TestBranch"] --> step_3_2["SecondBranch"]
|
||
|
|
step_3_1_1["TestBranchSub"] --> step_3_1_2["TestBranchBranchSub"]
|
||
|
|
step_3_2["SecondBranch"] --> step_3_2_1["SecondBranchSub"]
|
||
|
|
step_3_2["SecondBranch"] --> step_3_3["MergeBack"]
|
||
|
|
```
|