added edge list to every distinct node