NetworkNodeCanvasVisualizer

Package: inet.visualizer.canvas.scene

simple module NetworkNodeCanvasVisualizer

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

inet.visualizer.canvas.scene.NetworkNodeCanvasVisualizerNetworkNodeCanvasVisualizersimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

IntegratedCanvasVisualizer

compound module

Integrates all canvas visualizers into a single module. It supports disabling any submodule visualizer by providing an empty string as its type.

IntegratedMultiCanvasVisualizer

compound module

Integrates all canvas visualizers into a single module. It supports disabling any submodule visualizer by providing an empty string as its type.

NetworkNodeVisualizer

compound module

Integrates canvas and osg node visualizers into a single module.

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