I can not figure out how to use the shape script type "decoration".
I have upgraded to ver 6.0 hoping to customise some of the stereotypes I use. For instance, one of my needs is to make distinction between issues and requirements on a diagram.
I created a stereotype expanding Issue and tried to decorate the standard shape with this script:
---
decoration dot
{
orientation = "NE";
StartPath();
Ellipse(10,10,20,20);
Ellipse(12,12, 14, 14);
Ellipse(16,12, 18, 14);
moveto(14,18);
lineto(16,18);
EndPath();
FillAndStrokePath();
}
---
Even if the shape appears in the script editor preview, it does not have any effect on the shape displayed in diagram.
The problem can not be in using a wrong stereotype, as if I change the script to type "shape main" the appearance of items in diagram will change.
Has anyone managed to change decoration of existing shapes (I am using ver 6.0 build 779)