Package: inet.visualizer.canvas.scene
NetworkNodeCanvasVisualizer
simple moduleThis module 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 also: 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 |
This is a base module for node visualizer simple modules. The actual visualization of network nodes is done in derived modules. |
Parameters
Name | Type | Default value | Description |
---|---|---|---|
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 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
// // This module 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