Hi all,
i'm using this library for a university project.
When i try to load a grph text file into an InMemoryGrph, the following exception is raised:
java.lang.IllegalStateException: incident vertices are missing
at grph.io.GrphTextReader.readGraph(GrphTextReader.java:121)
at grph.io.AbstractGraphReader.readGraph(AbstractGraphReader.java:71)
at grph.Grph.fromGrphText(Grph.java:489)
at grph.Grph.fromGrphTextFile(Grph.java:500)
at org.elendev.wesproject.graph.GrphToJung.<init>(GrphToJung.java:32)
at org.elendev.wesproject.graph.GrphToJung.main(GrphToJung.java:77)
if there are isolated vertices, but when the graph is created for the first time, it doesn't complain, and it shows the graph without problems.
The graph file that raise the exception is here:
http://pastebin.com/Jbc3Aews
And i have another question, how i can change the size of graphic vertex? I saw that there where the costrunctor takes a String Argument. Can you provide an example on how to use change the rendered vertex size (for that setVerticesSize method there is no documentation)?
Thanks,
Ivan