Build self-consistent graphs for dupe edges with multiple outputs.