Package: inet.visualizer.canvas.common
InfoCanvasVisualizer
simple moduleThis module visualizes some information of a submodule for each network node on a 2D canvas.
See also: InfoOsgVisualizer, InfoVisualizer, InfoVisualizerBase, IInfoVisualizer
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
InfoVisualizerBase | simple module |
This is a base module for submodule information visualizer simple modules. It displays some information on network nodes originating from one of their corresponding submodules. No information is displayed by default, see module parameters for how to enable the visualization. The actual visualization 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 |
networkNodeVisualizerModule | string | "^.networkNodeVisualizer" |
module path to the network node visualizer module, refers to a sibling submodule by default |
displayInfos | bool | true | |
modules | string | "" |
specifies the path of the submodules of network nodes, no submodules by default |
format | string | "%t" |
determines what is displayed on network nodes |
font | string | " |
info text font, automatic by default |
textColor | string | "black" |
info text font color, black by default |
backgroundColor | string | "white" |
info text background color, white by default |
opacity | double | 1.0 |
opacity of the visualization |
placementHint | string | "top" |
annotation placement hint, space separated list of any, top, bottom, left, right, topLeft, topCenter, topRight, etc. |
placementPriority | double | 0 |
determines the order of annotation positioning |
zIndex | double | 10 |
determines the drawing order of figures relative to other visualizers |
Properties
Name | Value | Description |
---|---|---|
class | InfoCanvasVisualizer | |
display | i=block/app |
Source code
// // This module visualizes some information of a submodule for each network node // on a 2D canvas. // // @see ~InfoOsgVisualizer, ~InfoVisualizer, ~InfoVisualizerBase, ~IInfoVisualizer // simple InfoCanvasVisualizer extends InfoVisualizerBase like IInfoVisualizer { parameters: double zIndex = default(10); // determines the drawing order of figures relative to other visualizers @class(InfoCanvasVisualizer); }File: src/inet/visualizer/canvas/common/InfoCanvasVisualizer.ned