Skip to content

Commit cc71334

Browse files
committed
simulation: updated container diagram
1 parent 201d3b3 commit cc71334

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

simulation/docs/container.d2

+14-5
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ network: {
5454

5555
monitor: {
5656
class: container
57-
label: "Event Monitor\n[Haskell]\n\nCollects in-memory metrics\nand traces events"
57+
label: "Event Monitor\n[Haskell]\n\nComputes metrics and/or\n protocol/network state"
5858
}
5959

6060
viz: {
@@ -67,19 +67,28 @@ filesystem: {
6767
label: "Filesystem\n\nStores configuration and\nanimation frames"
6868
}
6969

70+
display: {
71+
class: external
72+
label: "Display\n\nShows visualization"
73+
}
74+
7075
# Relationships
7176
user -> viz: "Views protocol\nbehavior"
7277
user -> filesystem: "Configures simulation\nparameters"
7378

7479
viz -> filesystem: "Reads config files and\nwrites animation frames"
75-
viz -> protocol-engine: "Visualizes protocol state"
76-
viz -> network: "Visualizes network state"
77-
viz -> monitor: "Displays metrics"
80+
#viz -> protocol-engine: "Visualizes protocol state"
81+
#viz -> network: "Visualizes network state"
82+
viz -> monitor: "Displays computed state"
83+
viz -> display: "Shows animation"
84+
85+
monitor -> filesystem: "Writes simulation results"
7886

7987
protocol-engine -> network: "Uses for message transport"
8088
protocol-engine -> monitor: "Emits protocol events"
8189
protocol-engine -> filesystem: "Reads protocol config"
8290

83-
network -> monitor: "Reports network metrics"
91+
network -> monitor: "Emits message timings events"
92+
8493

8594
filesystem -> user: "Provides simulation\nresults"

simulation/docs/container.png

20.6 KB
Loading

0 commit comments

Comments
 (0)