public void AddChild (CGNode n, CGArrow a) { childs.addElement (n); arrows.addElement (a); Rectangle pos = Bbox(); a.MoveTailTo (pos.x + pos.width - 1, pos.y + pos.height/2); }