Customizing the link information cluster
The link information cluster designates the group of decorations displayed in the middle of the link. This cluster can show the name, media, technology, alarm count, or any combination of them grouped in a plinth.
Link information cluster properties
The properties listed in the following table allow you to customize the link information cluster.
|
Property Name |
Type |
Set |
Default Value |
Description |
|
decorationsOffset |
IlpPoint |
No |
0,0 |
Defines the offset used to attach the link information cluster to the center of the link. |
|
plinthColor |
Color |
Yes |
67% grey |
Denotes the color of the plinth. |
|
plinthBrightColor |
Color |
Yes |
87% grey |
Denotes the brighter color of the plinth. |
|
plinthDarkColor |
Color |
Yes |
33% grey |
Denotes the darker color of the plinth. |
|
plinthVisible |
boolean |
No |
true |
Denotes whether the plinth is visible or not. |
|
plinthVerticalMargin |
int |
No |
1 |
Defines the vertical margin between the plinth and its contents. |
|
plinthHorizontalMargin |
int |
No |
4 |
Defines the horizontal margin between the plinth and its contents. |
|
useAlarmColorForBase |
boolean |
No |
false |
Denotes whether or not to use the alarm color to display the link base. If the alarm color is not used, the regular properties linked to each primary state are used. |
How to customize the link information cluster
The following CSS extract shows how to customize the position of a link information cluster. By default, the cluster is positioned in the center of the middle segment of links. You can fine-tune this position by defining an offset that will be applied relative to the default position.
object."ilog.tgo.model.IltLink" {
decorationsOffset: "5,0";
}






