Skip to content

Commit c74e04c

Browse files
committed
Label on edges of diagrams
1 parent ca75e06 commit c74e04c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/remotes.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,24 @@ graph LR
373373
alice -.cannot commit.-> bob
374374
```
375375

376+
```mermaid
377+
%%{init: {'themeVariables': { 'edgeLabelBackground': 'transparent'}}}%%
378+
graph TD
379+
A([Start]):::start_node ==> B(Step 1)
380+
B:::active_node ==> C{Flow}:::active_node
381+
C:::active_node -- Choice 1.1 --> D[Step 2.1]
382+
C == Choice 1.2 ==> E[Step 2.2]:::active_node
383+
D --> F{Flow 2}:::active_node
384+
E ==> F{Flow 2}
385+
F{Flow 2} == Choice 2.1 ==> H(Feedback node):::active_node
386+
H(Feedback node) ==> B(Step 1)
387+
F{Flow 2} == Choice 2.2 ==> G((Finish)):::finish_node
388+
389+
classDef start_node fill:#00a000,stroke:#333,stroke-width:7px
390+
classDef active_node fill:#FFAE42,stroke:#333,stroke-width:3px
391+
classDef finish_node fill:#0EBFE9,stroke:#333,stroke-width:7px
392+
```
393+
376394
---
377395

378396
<!-- .slide: data-background="#ffffff" -->

0 commit comments

Comments
 (0)