I've got another problem in the same context. How can I hide stereotypes in relationships that I've created in a profile?
I use the following shape script :
shape main
{
//Initialisation attributes - must be before drawing commands
noshadow = "true";
v_align = "center";
setpencolor(getUserBorderColor()); // border color from user selection
setpenwidth(getUserPenSize()); // border color from user selection
startpath();
moveto(0,0); // (x1,y1)
lineto(100,0); // (x1,y1)
endpath();
fillandstrokepath();
}
shape label
// no label for stereotype
{
hidelabel ("stereotype");
}
shape target
// shape for filled arrow head
{
//set shape colors
setfillcolor(getuserbordercolor()); // fill color from user selection
setpencolor(getuserbordercolor()); // border color from user selection
// draw filled triangular arrow head
startpath();
moveto(0,0);
lineto(8,-5);
lineto(8,5);
lineto(0,0);
endpath();
fillandstrokepath();
}
The hidelabel ()command doesn't work as I expect it (not enough documented in the ea help

)
Does someone has an idea about how to hide the stereotype of the relationship by means of a shape script?
cheers, Christoph