igraph_to_edgelist {clustAnalytics} | R Documentation |
This function is just used internally for testing the package
igraph_to_edgelist(g, sort = TRUE)
g |
igraph graph with weighted edges |
sort |
sorts the edge list lexicographically before returning |
A matrix where the first two columns indicate the incident vertices, and the third is the weight of the corresponding edge.