Permalink
Browse files

Disable save/load of graph views as it's not clear why it's useful

  • Loading branch information...
1 parent c7556ec commit a0608782d97062a05254bfff51d7e28d8d01db82 @mbastian mbastian committed Nov 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 DHNSGraph/src/org/gephi/graph/dhns/utils/DHNSSerializer.java
View
4 DHNSGraph/src/org/gephi/graph/dhns/utils/DHNSSerializer.java
@@ -107,7 +107,7 @@ public void writeDhns(XMLStreamWriter writer, Dhns dhns) throws XMLStreamExcepti
for (GraphViewImpl view : dhns.getGraphStructure().getViews()) {
if (view != dhns.getGraphStructure().getMainView()) {
- writeGraphView(writer, view);
+// writeGraphView(writer, view);
}
}
@@ -142,7 +142,7 @@ public void readDhns(XMLStreamReader reader, Dhns dhns) throws XMLStreamExceptio
} else if (ELEMENT_EDGES.equalsIgnoreCase(name)) {
readEdges(reader, dhns.getGraphStructure(), dhns.factory());
} else if (ELEMENT_VIEW.equalsIgnoreCase(name)) {
- readGraphView(reader, dhns.getGraphStructure());
+// readGraphView(reader, dhns.getGraphStructure());
}
} else if (eventType.equals(XMLStreamReader.END_ELEMENT)) {
if (ELEMENT_DHNS.equalsIgnoreCase(reader.getLocalName())) {

0 comments on commit a060878

Please sign in to comment.