Skip to content

Commit

Permalink
Update mermaid diagramm for documentation purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
Its4Nik committed Nov 6, 2024
1 parent b8f501e commit 367bda0
Show file tree
Hide file tree
Showing 5 changed files with 137 additions and 60 deletions.
Binary file modified data/database.db
Binary file not shown.
124 changes: 80 additions & 44 deletions misc/dependencyGraphs/mermaid-all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,68 +3,104 @@ flowchart LR
subgraph 0["config"]
1["db.js"]
2["swaggerConfig.js"]
9["dockerConfig.json"]
B["dockerConfig.json"]
end
subgraph 3["controllers"]
4["containerController.js"]
7["fetchData.js"]
A["frontendConfiguration.js"]
B["scheduler.js"]
7["databaseMigration.js"]
8["fetchData.js"]
C["frontendConfiguration.js"]
D["scheduler.js"]
end
subgraph 5["utils"]
6["dockerClient.js"]
8["containerService.js"]
O["extractHostData.js"]
P["writeOfflineLog.js"]
A["containerService.js"]
Q["extractHostData.js"]
R["writeOfflineLog.js"]
subgraph U["notifications"]
V["_notify.js"]
W["discord.js"]
subgraph X["data"]
Y["template.js"]
end
subgraph C["middleware"]
D["authMiddleware.js"]
E["rateLimiter.js"]
Z["email.js"]
10["pushbullet.js"]
11["pushover.js"]
12["slack.js"]
13["telegram.js"]
14["whatsapp.js"]
end
subgraph F["routes"]
subgraph G["auth"]
H["routes.js"]
end
subgraph I["data"]
9["child_process"]
subgraph E["middleware"]
F["authMiddleware.js"]
G["rateLimiter.js"]
end
subgraph H["routes"]
subgraph I["auth"]
J["routes.js"]
end
subgraph K["frontendController"]
subgraph K["data"]
L["routes.js"]
end
subgraph M["getter"]
subgraph M["frontendController"]
N["routes.js"]
end
subgraph Q["setter"]
R["routes.js"]
subgraph O["getter"]
P["routes.js"]
end
subgraph S["notifications"]
T["routes.js"]
end
subgraph 15["setter"]
16["routes.js"]
end
end
S["server.js"]
subgraph T["swagger"]
U["swaggerDocs.js"]
17["server.js"]
subgraph 18["swagger"]
19["swaggerDocs.js"]
end
4-->6
7-->1
7-->8
8-->1
8-->A
8-->9
8-->6
B-->1
B-->7
J-->1
L-->A
N-->9
N-->B
N-->8
N-->6
N-->O
N-->P
R-->B
S-->B
S-->D
S-->E
S-->H
S-->J
S-->L
S-->N
S-->R
S-->U
U-->2
A-->B
A-->6
D-->1
D-->8
L-->1
N-->C
P-->B
P-->D
P-->A
P-->6
P-->Q
P-->R
T-->V
V-->W
V-->Z
V-->10
V-->11
V-->12
V-->13
V-->14
W-->Y
Z-->Y
10-->Y
11-->Y
12-->Y
13-->Y
14-->Y
16-->D
17-->D
17-->F
17-->G
17-->J
17-->L
17-->N
17-->P
17-->T
17-->16
17-->19
19-->2
20 changes: 11 additions & 9 deletions misc/dependencyGraphs/mermaid-api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,23 @@ subgraph 5["controllers"]
6["scheduler.js"]
8["fetchData.js"]
end
subgraph 9["utils"]
A["containerService.js"]
B["dockerClient.js"]
C["extractHostData.js"]
D["writeOfflineLog.js"]
9["child_process"]
subgraph A["utils"]
B["containerService.js"]
C["dockerClient.js"]
D["extractHostData.js"]
E["writeOfflineLog.js"]
end
2-->4
2-->6
2-->A
2-->B
2-->C
2-->D
2-->E
6-->7
6-->8
8-->7
8-->A
A-->4
A-->B
8-->B
8-->9
B-->4
B-->C
16 changes: 9 additions & 7 deletions misc/dependencyGraphs/mermaid-conf.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ subgraph 3["controllers"]
end
subgraph 5["config"]
6["db.js"]
A["dockerConfig.json"]
B["dockerConfig.json"]
end
subgraph 8["utils"]
9["containerService.js"]
B["dockerClient.js"]
8["child_process"]
subgraph 9["utils"]
A["containerService.js"]
C["dockerClient.js"]
end
2-->4
4-->6
4-->7
7-->6
7-->9
9-->A
9-->B
7-->A
7-->8
A-->B
A-->C
37 changes: 37 additions & 0 deletions misc/dependencyGraphs/mermaid-notificationService.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
flowchart LR

subgraph 0["routes"]
subgraph 1["notifications"]
2["routes.js"]
end
end
subgraph 3["utils"]
subgraph 4["notifications"]
5["_notify.js"]
6["discord.js"]
subgraph 7["data"]
8["template.js"]
end
9["email.js"]
A["pushbullet.js"]
B["pushover.js"]
C["slack.js"]
D["telegram.js"]
E["whatsapp.js"]
end
end
2-->5
5-->6
5-->9
5-->A
5-->B
5-->C
5-->D
5-->E
6-->8
9-->8
A-->8
B-->8
C-->8
D-->8
E-->8

0 comments on commit 367bda0

Please sign in to comment.