The new LookupEdge function lets you find which vertices are associated with a particular edge, if any.