*/
protected StringBuilder getArrowsParametersCode() {
StringBuilder code = null;
if(shape instanceof IArrowableShape) {//FIXME scala trait
final IArrowableShape arr = (IArrowableShape)shape;
final ArrowStyle style1 = arr.getArrowStyle(0);
final ArrowStyle style2 = arr.getArrowStyle(-1);
if(style1==ArrowStyle.NONE) {
if(style2!=ArrowStyle.NONE)
code = getArrowParametersCode(arr.getArrowAt(-1));
} else
if(style2==ArrowStyle.NONE)
code = getArrowParametersCode(arr.getArrowAt(0));
else
if(style1.isSameKind(style2))
code = getArrowParametersCode(arr.getArrowAt(0));
else {
code = getArrowParametersCode(arr.getArrowAt(0));
code.append(',').append(getArrowParametersCode(arr.getArrowAt(-1)));
}
}
return code;
}