removeComplete(g.nodes) will remove data. But some of the user fields
maybe there. How to remove a field?
Even with exactly fields, I think GUESS has problem. If I start with
an empty GUESS, then makeFromGDF (or use menu item) to load a large
GDF file, I will get exception. The file load OK on command line:
...........
WARNING! node name "347148" may conflict with a restricted
word or character.
Exception in thread "AWT-EventQueue-0"
edu.uci.ics.jung.exceptions.ConstraintVio
lationException: Predicate
org.apache.commons.collections.functors.NotPredicate
rejected SORBS1-PXN:
org.apache.commons.collections.functors.NotPredicate@d60cd6
at
edu.uci.ics.jung.graph.impl.AbstractArchetypeGraph.checkConstraints(A
bstractArchetypeGraph.java:305)
at
edu.uci.ics.jung.graph.impl.AbstractSparseGraph.addEdge(AbstractSpars
eGraph.java:118)
at com.hp.hpl.guess.Graph.addEdgeNoCheck(Graph.java:275)
at com.hp.hpl.guess.Graph.addUndirectedEdge(Graph.java:386)
at com.hp.hpl.guess.Graph.addUndirectedEdge(Graph.java:364)
at com.hp.hpl.guess.io.GDFReader.<init>(GDFReader.java:325)
at com.hp.hpl.guess.Graph.makeFromGDF(Graph.java:1984)
at com.hp.hpl.guess.ui.GMenuBar.loadFromFile(GMenuBar.java:
380)
at com.hp.hpl.guess.ui.GMenuBar
$3.actionPerformed(GMenuBar.java:132)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
95)
............