StreamRedundancyConfigurationCanvasVisualizer¶
Package: inet.visualizer.canvas.configurator
simple module StreamRedundancyConfigurationCanvasVisualizer
Visualizes stream redundancy configurations on a canvas by displaying polyline arrows representing redundant paths for streams. Uses information from the StreamRedundancyConfigurator module to identify and display the network paths used for redundant stream transmission in Time-Sensitive Networking (TSN) applications.
See also: StreamRedundancyConfigurator
Usage diagram¶
Inheritance diagram¶
Used in compound modules¶
Name |
Type |
Description |
|---|---|---|
compound module |
Integrates all canvas visualizers into a single module. It supports disabling any submodule visualizer by providing an empty string as its type. |
|
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 |
|---|---|---|
simple module |
Base module for tree visualizer modules that display network tree structures such as multicast routing trees, spanning trees, or other hierarchical network relationships. Visualizes tree structures as a set of connected arrows between network nodes, with configurable appearance properties for the connecting lines. |
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 |
displayTrees |
bool |
false |
Display a set of polyline arrows for trees, disabled by default |
lineColor |
string |
“dark” |
Line color is a list of colors or a color group name (e.g. dark, light), a set of dark colors by default |
lineStyle |
string |
“solid” |
Line style (solid, dashed, dotted) |
lineWidth |
double |
3 |
Line width |
lineSmooth |
bool |
false |
When true polylines are displayed as curves |
lineShift |
double |
16 |
Line shift to avoid overlapping lines |
lineShiftMode |
string |
“normal” |
Determines how overlapping lines are shifted, possible values are: 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 |
streamRedundancyConfiguratorModule |
string |
“streamRedundancyConfigurator” |
|
streamFilter |
string |
“*” |
|
zIndex |
double |
3 |
Determines the drawing order of figures relative to other visualizers |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
StreamRedundancyConfigurationCanvasVisualizer |
|
display |
i=block/app |
Source code¶
//
// Visualizes stream redundancy configurations on a canvas by displaying
// polyline arrows representing redundant paths for streams. Uses information
// from the ~StreamRedundancyConfigurator module to identify and display the
// network paths used for redundant stream transmission in Time-Sensitive
// Networking (TSN) applications.
//
// @see StreamRedundancyConfigurator
//
simple StreamRedundancyConfigurationCanvasVisualizer extends TreeVisualizerBase like IStreamRedundancyConfigurationVisualizer
{
parameters:
string streamRedundancyConfiguratorModule = default("streamRedundancyConfigurator");
string streamFilter = default("*");
double zIndex = default(3); // Determines the drawing order of figures relative to other visualizers
@class(StreamRedundancyConfigurationCanvasVisualizer);
}
File: src/inet/visualizer/canvas/configurator/StreamRedundancyConfigurationCanvasVisualizer.ned