* graph.addEdge(new Edge("edge", v2, v3), v2, v3, EdgeType.DIRECTED);
* graph.addEdge(new Edge("edge", v4, v4), v1, v4, EdgeType.DIRECTED);
*/
while (it.hasNext()) {
testDFAStateWrapper subgraph = it.next();
Vertex from = new Vertex(subgraph.id, subgraph.match, subgraph.name);
graph.addVertex(from);
for (Entry<String, testDFAStateWrapper> entry : subgraph.cc2DFAMap
.entrySet()) {
Vertex to = new Vertex(entry.getValue().id, entry