ChannelCanvasVisualizer

Package: inet.visualizer.canvas.physicallayer

simple module ChannelCanvasVisualizer

(no description)

inet.visualizer.canvas.physicallayer.ChannelCanvasVisualizerChannelCanvasVisualizersimple

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.

Extends

Name

Type

Description

ChannelVisualizerBase

simple module

(no description)

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

displayChannelActivity

bool

false

Display arrows for active channels. Disabled by default.

nodeFilter

string

“*”

Which nodes are considered. Matches all nodes by default.

packetFilter

object

“*”

Which packets are considered. Matches all packets by default.

lineColor

string

“blue”

Arrow color. Black by default.

lineStyle

string

“solid”

Arrow style (solid, dashed, dotted).

lineWidth

double

3

Arrow width.

lineShift

double

16

Line shift to avoid overlapping arrows.

lineShiftMode

string

“normal”

Determines how overlapping arrows are shifted. Possible values are: none, normal, x, y, z; optional prefix + or -.

lineContactSpacing

double

3

Spacing between arrow end and submodule icon.

lineContactMode

string

“rectangular”

Determines how arrows are clipped at the submodules.

labelFormat

string

“%n”

Determines what data is displayed.

labelFont

string

“<default>, 8px”

Label font. Automatic by default.

labelColor

string

“blue”

Label color. Black by default.

fadeOutMode

string

“realTime”

Specifies how inactive channels fade out.

fadeOutTime

double

1s

How quickly inactive channels fade away. 1 second by default.

fadeOutAnimationSpeed

double

0

Animation speed while there are active channels. Value must be in the range (0, +inf).

holdAnimationTime

double

0s

Hold simulation (no progress) for the specified amount of animation time when the channel is activated.

zIndex

double

1

Determines the drawing order of figures relative to other visualizers.

Properties

Name

Value

Description

class

ChannelCanvasVisualizer

display

i=block/app

Source code

simple ChannelCanvasVisualizer extends ChannelVisualizerBase like IChannelVisualizer
{
    parameters:
        double zIndex = default(1); // Determines the drawing order of figures relative to other visualizers.
        @class(ChannelCanvasVisualizer);
}

File: src/inet/visualizer/canvas/physicallayer/ChannelCanvasVisualizer.ned