Package: inet.visualizer.canvas.scene
NetworkNodeCanvasVisualizer
simple moduleVisualizes multiple network nodes on a 2D canvas. It maintains a NetworkNodeCanvasVisualization figure for each node in the network which can be annotated by other visualizers.
<b>See also:</b> ~NetworkNodeCanvasVisualizer, ~NetworkNodeVisualizer, ~NetworkNodeVisualizerBase, ~INetworkNodeVisualizer
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| NetworkNodeVisualizerBase | simple module |
Base module for node visualizer simple modules. The actual visualization of network nodes is done in derived modules. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| visualizationTargetModule | string | "^" |
Module path relative to the visualizer which determines where the visualization should appear in the user interface, parent module by default |
| visualizationSubjectModule | string | "^" |
Module path relative to the visualizer which determines what part of the simulation model the visualizer displays in the user interface, parent module by default |
| tags | string | "" |
Tag added to each visualization for disambiguation in the runtime environment |
| nodeFilter | string | "*" |
Determines which network nodes are displayed. All nodes are displayed by default. |
| annotationSpacing | double | 4 | |
| placementPenalty | double | 10 | |
| zIndex | double | 0 |
Determines the drawing order of figures relative to other visualizers |
Properties
| Name | Value | Description |
|---|---|---|
| class | NetworkNodeCanvasVisualizer | |
| display | i=block/app |
Source code
// // Visualizes multiple network nodes on a 2D canvas. It maintains a // `NetworkNodeCanvasVisualization` figure for each node in the network which can // be annotated by other visualizers. // // @see ~NetworkNodeCanvasVisualizer, ~NetworkNodeVisualizer, ~NetworkNodeVisualizerBase, ~INetworkNodeVisualizer // simple NetworkNodeCanvasVisualizer extends NetworkNodeVisualizerBase like INetworkNodeVisualizer { parameters: double zIndex = default(0); // Determines the drawing order of figures relative to other visualizers @class(NetworkNodeCanvasVisualizer); }File: src/inet/visualizer/canvas/scene/NetworkNodeCanvasVisualizer.ned