unified getEdge