Use getEdge for queries
Update for latest graphlib
Set graph object