Book a Demo

Author Topic: Showing tagged elements on connector  (Read 3110 times)

Mats Gejnevall

  • EA User
  • **
  • Posts: 98
  • Karma: +1/-0
    • View Profile
Showing tagged elements on connector
« on: January 17, 2019, 02:55:31 am »
I have created a metamodel with a number of sterotyped connectors. For one of these connectors I have created a tag (using the <<taggedValue>> connector)  to one of my sterotyped elements. For that connector I have created a shape script to draw the name of that stereotype next to the connector. But it does not draw the name of the stereotyped element, it shows the GUID. 

Any ideas on how to write the name???


This is the shape script code I use right now on the stereotyped connector.
Code: [Select]
shape main
{
    printwrapped("#TAG:transitionUC#");
    drawnativeshape();
}