InterfaceTableCanvasVisualizer

Package: inet.visualizer.canvas.linklayer

simple module InterfaceTableCanvasVisualizer

Visualizes interface tables on a 2D canvas. It displays a label for each selected network interface at the owner network node.

See also: InterfaceTableOsgVisualizer, InterfaceTableVisualizer, InterfaceTableVisualizerBase, IInterfaceTableVisualizer

inet.visualizer.canvas.linklayer.InterfaceTableCanvasVisualizerInterfaceTableCanvasVisualizersimple

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.

InterfaceTableVisualizer

compound module

(no description)

Extends

Name

Type

Description

InterfaceTableVisualizerBase

simple module

Base module for interface table visualizer simple modules. It displays information of network interfaces at network nodes. Network interfaces are not displayed by default, see module parameters for how to enable the visualization.

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

networkNodeVisualizerModule

string

“^.networkNodeVisualizer”

Module path to the network node visualizer module, refers to a sibling submodule by default

displayInterfaceTables

bool

false

Display interface table data, disabled by default

displayWiredInterfacesAtConnections

bool

true

Specifies where wired interfaces are displayed

displayBackground

bool

false

Specifies whether the text should have a background or not

nodeFilter

string

“*”

Which nodes are considered, matches all nodes by default

interfaceFilter

string

“not(lo*)”

Which interfaces are considered, matches all non-local interfaces by default

format

string

“%N %\\%a%/%l”

Determines what interface data is displayed

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

font

string

“<default>”

Interface text font, automatic by default

textColor

string

“#005030”

Interface text font color

backgroundColor

string

“white”

Interface text background color

opacity

double

1.0

Opacity of the visualization

zIndex

double

10

Determines the drawing order of figures relative to other visualizers

anchor

string

“l”

Specifies the beginning/end/middle

Properties

Name

Value

Description

class

InterfaceTableCanvasVisualizer

display

i=block/app

Source code

//
// Visualizes interface tables on a 2D canvas. It displays a label
// for each selected network interface at the owner network node.
//
// @see ~InterfaceTableOsgVisualizer, ~InterfaceTableVisualizer, ~InterfaceTableVisualizerBase, ~IInterfaceTableVisualizer
//
simple InterfaceTableCanvasVisualizer extends InterfaceTableVisualizerBase like IInterfaceTableVisualizer
{
    parameters:
        double zIndex = default(10); // Determines the drawing order of figures relative to other visualizers
        string anchor @enum("l","r","t") = default("l"); // Specifies the beginning/end/middle
        @class(InterfaceTableCanvasVisualizer);
}

File: src/inet/visualizer/canvas/linklayer/InterfaceTableCanvasVisualizer.ned