It seems that draw2d rotates only the inner content of a figure when I rotate it. For example using this function;
function rotate (angle, figure){
if(!isNaN(parseFloat(angle)) && isFinite(angle)){
figure.setRotationAngle(angle%360);
}
with say, 60 as angle value, makes the following rotation on a label with 4 hybrid ports:
How can I properly rotate a figure with every component of it? You know, with ports and everything.