Skip to content

Commit 61a8436

Browse files
committed
make mermaid fancier
1 parent 3db53dd commit 61a8436

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,26 @@
66

77
```mermaid
88
graph TD
9-
A[user] -- commit --> B[roulette-copy]
9+
%% Nodes
10+
U([User]):::actor
11+
RC[roulette-copy]:::repo
12+
RBD[roulette-benchmark-data]:::repo
13+
GP[[GitHub Pages]]:::web
1014
11-
B -- action [on commit, generate json files in results folder] --> C[roulette-benchmark-data]
15+
A1((Generate JSON results)):::action
16+
A2((Generate plots + Scribble docs)):::action
17+
A3((Deploy site)):::action
1218
13-
C -- action [on commit, generate plots and scribble docs] --> C
19+
%% Flows
20+
U -- commit --> RC
21+
RC -- on commit --> A1 --> RBD
22+
RBD -- on commit --> A2 --> RBD
23+
RBD -- on success --> A3 --> GP
24+
25+
%% Styles
26+
classDef actor fill:#1f77b4,color:#fff,stroke:#333,stroke-width:2px
27+
classDef repo fill:#444,color:#fff,stroke:#000,stroke-width:2px
28+
classDef action fill:#999,color:#fff,stroke:#222,stroke-dasharray: 3 3
29+
classDef web fill:#228B22,color:#fff,stroke:#000
1430
15-
C -- action [on successful workflow run, deploy to github pages website] --> D[Github pages]
1631
```

0 commit comments

Comments
 (0)