You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a list command to list available visualisations (#40)
It's a bit cumbersome to have to look at the source file or the README
to know what simulations can be run. Moreover, should we add new
simulations, it will be easy for the documentation to become out of
sync with the actual code.
Add basic roundtrip property test for VizName
Also adjust verbosity of tests output
Either show a visualisation in a window, or output animation frames to a
33
-
directory.
34
-
35
-
Available options:
36
-
-h,--help Show this help text
37
-
--frames-dir DIR Output animation frames to directory
38
-
--seconds SEC Output N seconds of animation
39
-
--skip-seconds SEC Skip the first N seconds of animation
40
-
--cpu-render Use CPU-based client side Cairo rendering
41
-
--720p Use 720p resolution
42
-
--1080p Use 1080p resolution
43
-
--resolution (W,H) Use a specific resolution
44
-
```
45
-
The current `VISNAME` examples are:
46
-
47
-
* tcp-1: a simple example of TCP slow start behaviour
48
-
* tcp-2: comparing different bandwidths
49
-
* tcp-3: comparing different traffic patterns
50
-
* relay-1: a single pair of nodes using the relaying protocol
51
-
* relay-2: four nodes using the relaying protocol
52
-
* p2p-1: a Leios-like traffic pattern simulation of input blocks
53
-
* p2p-2: a variation with more nodes in the p2p graph
24
+
## Running simulator
25
+
26
+
Assuming the executable has been built in the directory containing this `README`, one can run the simulator with `cabal run ouroboros-net-vis`. Inline help is provided through the usual `--help` or `-h` flags.
0 commit comments