Skip to content

Commit

Permalink
simulation: reorder diffution latency charts, fix labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Saizan committed Dec 18, 2024
1 parent 91e4938 commit 64b8ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simulation/src/LeiosProtocol/Short/VizSimP2P.hs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ chartDiffusionLatency cfg@LeiosP2PSimVizConfig{nodeMessageColor} tag =
where
theChart lbl nodePos nodeMsgColor msgsDiffusionLatency =
(Chart.def :: Chart.Layout DiffTime Chart.Percent)
{ Chart._layout_title = "Diffusion latency" ++ "(" ++ lbl ++ ")"
{ Chart._layout_title = "Diffusion latency" ++ " (" ++ lbl ++ ")"
, Chart._layout_title_style = Chart.def{Chart._font_size = 15}
, Chart._layout_y_axis =
(Chart.def :: Chart.LayoutAxis Chart.Percent)
Expand Down Expand Up @@ -711,7 +711,7 @@ example2 seed sliceLength maybeP2PTopography =
-- 0.1
-- (96 / 1000)
-- config
tag <- [minBound .. maxBound]
tag <- [IB, EB, VT, RB]
]
, LayoutAbove
[ LayoutReqSize 350 300 $
Expand Down

0 comments on commit 64b8ecb

Please sign in to comment.