Simple Module NetworkNodeCanvasVisualizer

Package: inet.visualizer.scene
File: src/inet/visualizer/scene/NetworkNodeCanvasVisualizer.ned

C++ definition

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 also: NetworkNodeCanvasVisualizer, NetworkNodeVisualizer, NetworkNodeVisualizerBase, INetworkNodeVisualizer

NetworkNodeCanvasVisualizer

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

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
visualizerTargetModule string ""

module path relative to the visualizer where the visualization should appear in the user interface, root 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
displacementPenalty 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_s

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);
}