InterfaceTableCanvasVisualizer

Package: inet.visualizer.canvas.linklayer

InterfaceTableCanvasVisualizer

simple module

This module 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

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
InterfaceTableVisualizerBase simple module

This is a 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
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 ""

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

Properties

Name Value Description
class InterfaceTableCanvasVisualizer
display i=block/app

Source code

//
// This module 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
        @class(InterfaceTableCanvasVisualizer);
}

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