As title. Users usually do not know which part a vertex belongs to, an interface like `scanEdgeWithPart()` will be helpful.