private Rectangle2D getContentsBoundingBox() {
        Rectangle2D bb = null;

        for (VisualVertex v : Hierarchy.getChildrenOfType(this, VisualVertex.class)) {
            bb = BoundingBoxHelper.union(bb, v.getBoundingBox());