Package: inet.visualizer.base
TreeVisualizerBase
simple module(no description)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Known subclasses
| Name | Type | Description |
|---|---|---|
| FailureProtectionConfigurationCanvasVisualizer | simple module | (no description) |
| StreamRedundancyConfigurationCanvasVisualizer | simple module | (no description) |
Extends
| Name | Type | Description |
|---|---|---|
| VisualizerBase | simple module |
This is a base module for visualizer simple modules. It simply provides the visualization target module for derived modules. |
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 |
| displayTrees | bool | false |
display a set of polyline arrows for trees, disabled by default |
| lineColor | string | "dark" |
line color is a list of colors, 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 |
Properties
| Name | Value | Description |
|---|---|---|
| class | TreeVisualizerBase | |
| display | i=block/app |
Source code
simple TreeVisualizerBase extends VisualizerBase { parameters: bool displayTrees = default(false); // display a set of polyline arrows for trees, disabled by default string lineColor @enum("light","dark") = default("dark"); // line color is a list of colors, a set of dark colors by default string lineStyle = default("solid"); // line style (solid, dashed, dotted) double lineWidth = default(3); // line width bool lineSmooth = default(false); // when true polylines are displayed as curves double lineShift = default(16); // line shift to avoid overlapping lines string lineShiftMode = default("normal"); // determines how overlapping lines are shifted, possible values are: normal, x, y, z; optional prefix + or - double lineContactSpacing = default(3); // spacing between arrow end and submodule icon string lineContactMode @enum("circular","rectangular") = default("rectangular"); // determines how arrows are clipped at the submodules @class(TreeVisualizerBase); }File: src/inet/visualizer/base/TreeVisualizerBase.ned