This is a pretty obscure question since I don't see many people fawning over GraphStream, but does anyone know how to detect if a node exists in the graph if it has been inserted?
For example, if I write
graph.addNode(vertex1);
I get an error. If I do the same thing and write
graph.addNode(vertex1);
This is because vertex1 already exists in the graph. I can't find anything in GraphStream's documentation here and I can't find an answer anywhere I look. Any help would be much appreciated.