* It would be rather convenient if it also returns a mapping of original edges => new edges * It currently errors on cycles. Writing `continue` instead of raising an error might work fine, but should be double checked.
continueinstead of raising an error might work fine, but should be double checked.