s1ck/gdl

Access variable names directly via the bound elements

Closed this issue · 0 comments

foesi commented

e.g.:

String gdlString = "(alice:Person)-e->(:Person)";
GDLHandler gdlHandler = new GDLHandler.Builder().buildFromString(gdlString);
for (Vertex v : gdlHandler.getVertices()) {
  System.out.println(v.getVariable());
}

output:

alice
null