those edges are also removed. if we'll call it subgraph, then wouldn't it be confusing to not have an ePred? i can either keep the name (which I'd prefer) or also add an ePred argument to this function to be consistent with subgraph. the reason i said i prefer the first is i don't have an example algorithm that would use the ePred.