cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Font and Effects

njacob
Super Contributor

Hi team,

 

We have a requirement for changing the effect on text in the graphical display of an object, according to an attribute. 

 

Objects belonging to IT service have an attribute called 'lifecycle phase'

If this is set to emerging, name should be underlined.

If this is set to sunset, name should be striked out

 

Please suggest a solution.

Thanks and Regards,

Nikhil

 

textandeffect.png

1 Reply

hsoegaard
MEGA Partner
MEGA Partner

Hi, you probably need to create two different shapes, one where the font is underline and one without.

In the meta-model you can set up that if the attribute of your metaclass has one value, you use the shape with underlined font, and when you attribute has a different value you use the other shape.

 

Depending on which object and diagram you are using, you might have to change this either on the metaclass or on the diagramtype.