code: public void deleteGroup(Object object) {
  		Element element = getGroup(object);
  		if (element != null) {
  			Element parent = (Element) element.getParentElement();
  			if (parent != null) {
  				deleteRecursively(parent, element);
  			}
  		}
  	}
docs: Delete this group from the graphics DOM structure.
  
  @param object
  The group's object.