Classes | |
| class | Channel |
| Channel. More... | |
| class | Node |
| Node class. More... | |
| class | ShowTransmissionsMode |
| ShowTransmissionsMode. More... | |
| class | SimulationThread |
| SimulationThread. More... | |
| class | Visualizer |
| Visualizer. More... | |
| class | WiredLink |
| WiredLink. More... | |
Functions | |
| def | add_initialization_hook (hook, *args) |
| def | set_bounds (x1, y1, x2, y2) |
| def | start () |
Variables | |
| _import_error = e | |
| int | BITRATE_FONT_SIZE = 10 |
| float | DEFAULT_NODE_SIZE = 1.0 |
| int | DEFAULT_TRANSMISSIONS_MEMORY = 5 |
| list | initialization_hooks = [] |
| ipython_view = None | |
| string | LAYOUT_ALGORITHM = 'neato' |
| int | PI_OVER_2 = math.pi/2 |
| int | PI_TIMES_2 = math.pi*2 |
| int | PRIORITY_UPDATE_MODEL = -100 |
| int | PRIORITY_UPDATE_VIEW = 200 |
| int | REPRESENT_CHANNELS_AS_NODES = 1 |
| float | SAMPLE_PERIOD = 0.1 |
| string | SHELL_FONT = "Lucida Console 9" |
| svgitem = None | |
| def visualizer.core.add_initialization_hook | ( | hook, | |
| * | args | ||
| ) |
Adds a callback to be called after the visualizer is initialized, like this:: initialization_hook(visualizer, *args)
Definition at line 1844 of file core.py.
Referenced by visualizer.core.set_bounds().
Here is the caller graph for this function:| def visualizer.core.set_bounds | ( | x1, | |
| y1, | |||
| x2, | |||
| y2 | |||
| ) |
Definition at line 1854 of file core.py.
References visualizer.core.add_initialization_hook(), and visualizer.base.transform_point_simulation_to_canvas().
Here is the call graph for this function:| def visualizer.core.start | ( | ) |
Definition at line 1864 of file core.py.
References visualizer.base.load_plugins().
Here is the call graph for this function: