Actually, I think Geert is correct. The ShapeScript below renders both ends correctly (it is based largely in of Geert's archimate shapescripts.
shape main
{
noShadow=true;
SetLineStyle("SOLID");
if(HasTag("Status","Live"))
{
SetPenColor(102,204,102);
}
else if(HasTag("Status","In Development"))
{
SetPenColor(0,0,255);
}
else if(HasTag("Status","Deprecated"))
{
SetPenColor(255,195,0);
}
else if(HasTag("Status","Decommissioned"))
{
SetPenColor(199,0,57);
}
MoveTo(0,0);
LineTo(100,0);
}
shape source
{
if(HasTag("Status","Live"))
{
SetPenColor(102,204,102);
SetFillColor(102,204,102);
}
else if(HasTag("Status","In Development"))
{
SetPenColor(0,0,255);
SetFillColor(0,0,255);
}
else if(HasTag("Status","Deprecated"))
{
SetPenColor(255,195,0);
SetFillColor(255,195,0);
}
else if(HasTag("Status","Decommissioned"))
{
SetPenColor(199,0,57);
SetFillColor(199,0,57);
}
ellipse(-4,-4,4,4);
}
shape target
{
if(HasTag("Status","Live"))
{
SetPenColor(102,204,102);
SetFillColor(102,204,102);
}
else if(HasTag("Status","In Development"))
{
SetPenColor(0,0,255);
SetFillColor(0,0,255);
}
else if(HasTag("Status","Deprecated"))
{
SetPenColor(255,195,0);
SetFillColor(255,195,0);
}
else if(HasTag("Status","Decommissioned"))
{
SetPenColor(199,0,57);
SetFillColor(199,0,57);
}
startpath();
moveto(0,0);
lineto(10,4);
lineto(10,-4);
lineto(0,0);
endpath();
fillandstrokepath();
}
label middlebottomlabel
{
print("");
}So I guess if I do
startpath();
moveto(0,0);
lineto(10,4);
lineto(10,-4);
endpath();
fillandstrokepath();I will mange to render an open arrowhead of the right colour.