as.edgelist function

Convert a network object into a numeric edgelist matrix