child, GLink.ANCHOR_TOP,
GLink.SHAPE_ELBOW, "", 0);
link.setDraggable(DRAGGABLE);
/** Configure the link geometry */
SLinkElbow l = (SLinkElbow)link.getLink();
l.setOutOffsetLength(10);
l.getArrow().setLength(6);
/** Add the link and the child */
parent.addElement(link);
parent.addElement(child);
}