Skip to content

Commit a5fbfcc

Browse files
committed
Label on edges of diagrams
1 parent a3c0878 commit a5fbfcc

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

docs/remotes.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,17 @@ graph LR
373373
```
374374

375375
```mermaid
376-
graph LR
377-
bob["Bob repo"]
378-
alice(["Alice cloned"])
379-
bob --cloning--> alice
380-
alice -.cannot commit.-> bob
376+
flowchart LR
377+
bob["Bob repo"] --- n1["cloning"]
378+
n1 --> alice(["Alice cloned"])
379+
alice -.- n2["cannot commit"]
380+
n2 -.-> bob
381+
382+
n1@{ shape: text}
383+
n2@{ shape: text}
384+
style n2 color:#D50000
385+
linkStyle 2 stroke:#D50000,fill:none
386+
linkStyle 3 stroke:#D50000,fill:none
381387
```
382388

383389

0 commit comments

Comments
 (0)