return new ObjectGraphImpl(group);
}
public Subgraph addSubgraph(String attribute, Class type) {
CoreAttributeGroup group = new CoreAttributeGroup(null, type, true);
if(attributeGroup.getItem(attribute) == null) {
AttributeNodeImpl impl = new AttributeNodeImpl(attribute);
this.attributeNodes.put(attribute, impl);
}
this.attributeGroup.addAttribute(attribute, group);