remove unlocked requirement for set_edge