12 lines
332 B
Python
12 lines
332 B
Python
# This is a stub module that loads the actual visualizer
|
|
# from ns3.visualizer
|
|
import sys
|
|
|
|
try:
|
|
import ns3.visualizer
|
|
except ModuleNotFoundError as e:
|
|
print("Install the ns3 package with pip install ns3.", file=sys.stderr)
|
|
exit(-1)
|
|
|
|
from ns3.visualizer import add_initialization_hook, register_plugin, set_bounds, start
|