*/
public Object serializeDataGraph(DataGraph dataGraph) throws IOException {
EDataGraph clone = clone((EDataGraph) dataGraph);
EChangeSummary changeSummary = clone.getEChangeSummary();
if (changeSummary != null)
changeSummary.apply();
ByteArrayOutputStream buf = new ByteArrayOutputStream();
clone.getDataGraphResource().save(buf, null);
return buf.toByteArray();
}