edgelist function

A data frame of edges, each row corresponding to one edge