graph: getEdges