no duplicate graph edges