Improve instructions for enabling visualizer on examples

This commit is contained in:
Gustavo Carneiro
2018-08-15 12:26:27 -07:00
parent a949de4fa6
commit dbfed2516a

View File

@@ -1,3 +1,9 @@
For activating the visualizer, with any example, just pass the option
--SimulatorImplementationType=ns3::VisualSimulatorImpl to it, assuming
the script uses ns-3's command line parser (class CommandLine).
--SimulatorImplementationType=ns3::VisualSimulatorImpl to it, assuming the
script uses ns-3's command line parser (class CommandLine), and add 'visualizer'
as a module dependency to that program.
Alternatively, run the example with waf --run adding the --visualize option.
For example:
./waf --run wifi-simple-adhoc-grid --visualize