igraph_to_edgelist: Returns edgelist with weights from a weighted igraph graph
Description
This function is just used internally for testing the package
Usage
igraph_to_edgelist(g, sort = TRUE)
Value
A matrix where the first two columns indicate the incident vertices,
and the third is the weight of the corresponding edge.
Arguments
- g
igraph graph with weighted edges
- sort
sorts the edge list lexicographically before returning