edits in randomGraph