Skip to content

Commit 9325a7c

Browse files
rimruldscho
authored andcommitted
architecture: improve the diagram layout
I did some fiddling with overlapping edges, unlabled edges, label placement and readability. Signed-off-by: Matthias Aßhauer <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 1990ac9 commit 9325a7c

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

content/architecture.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ digraph GitGitGadgetFlow {
5050
5151
// Node styles
5252
user [label="user (Git contributor)", fillcolor="#7777ff"];
53-
upstream_repo [label="upstream-repo", fillcolor="#eaa666", penwidth=2];
5453
pr_repo [label="pr-repo", fillcolor="#eaa666", penwidth=2];
54+
upstream_repo [label="upstream-repo", fillcolor="#eaa666", penwidth=2];
5555
test_repo [label="test-repo", fillcolor="#eaa666", penwidth=2];
5656
5757
GitGitGadget [label="GitGitGadget", fillcolor="#ffffff"];
@@ -63,33 +63,33 @@ digraph GitGitGadgetFlow {
6363
mailing_list_repo [label="mailing-list-repo", fillcolor="#fb7", penwidth=2];
6464
mailing_list_repo_mirror [label="mailing-list-repo-mirror", fillcolor="#fb7", penwidth=2];
6565
66-
user -> pr_repo;
67-
user -> upstream_repo;
66+
user -> pr_repo:nw [taillabel=" opens PR"];
67+
user -> upstream_repo [taillabel="opens PR"];
6868
user -> test_repo [taillabel=" opens PR"];
6969
70-
upstream_repo -> pr_repo [label="syncs branches"];
71-
pr_repo -> GitGitGadget [label="slash commands"];
70+
upstream_repo -> pr_repo:se [label="syncs\nbranches"];
71+
pr_repo -> GitGitGadget [headlabel="slash commands"];
7272
upstream_repo -> GitGitGadget [label="slash commands\n(App)"];
73-
test_repo -> GitGitGadget [label="slash commands\n(owner only)"];
73+
test_repo -> GitGitGadget [label="slash commands \n(owner only)"];
7474
75-
GitGitGadget -> mailing_list [label="sends patch series"];
75+
GitGitGadget -> mailing_list [label="sends patch series "];
7676
GitGitGadget -> gitgitgadget_workflows_repo [label="runs in"];
77-
gitgitgadget_workflows_repo -> gitgitgadget_repo [label="uses Actions"];
77+
gitgitgadget_workflows_repo -> gitgitgadget_repo [label="uses Actions "];
7878
79-
pr_repo -> azure_function;
80-
upstream_repo -> azure_function [label="webhook"];
81-
test_repo -> azure_function [headlabel="webhook"];
82-
mailing_list_repo_mirror -> azure_function [headlabel="\nwebhook"];
79+
pr_repo -> azure_function [label="webhook "];
80+
upstream_repo -> azure_function [label="webhook "];
81+
test_repo -> azure_function [label="webhook"];
82+
mailing_list_repo_mirror:ne -> azure_function:w [taillabel=" webhook"];
8383
84-
gitgitgadget_github_app_repo -> azure_function [label="deploys to"];
85-
azure_function -> GitGitGadget [label="triggers"];
84+
gitgitgadget_github_app_repo -> azure_function [label="deploys to "];
85+
azure_function -> GitGitGadget [headlabel="triggers "];
8686
87-
mailing_list -> mailing_list_repo [label="public-inbox"];
88-
mailing_list_repo -> mailing_list_repo_mirror [label="syncs to"];
87+
mailing_list:sw -> mailing_list_repo:se [label="public-inbox"];
88+
mailing_list_repo -> mailing_list_repo_mirror [label="syncs to "];
8989
90-
mailing_list_repo_mirror -> pr_repo [label="mirrors\nreplies"];
91-
mailing_list_repo_mirror -> upstream_repo;
92-
mailing_list_repo_mirror -> test_repo;
90+
mailing_list_repo_mirror:se -> pr_repo [label="mirrors\nreplies"];
91+
mailing_list_repo_mirror -> upstream_repo [label="mirrors replies "];
92+
mailing_list_repo_mirror:n -> test_repo [label="mirrors replies"];
9393
}
9494
```
9595

0 commit comments

Comments
 (0)