R/RcppExports.R
c_EdgeListFromSegList.Rd
Turn a segment list into an edgelist suitable for constructing an ngraph
c_EdgeListFromSegList(L)
a list containing integer vectors from as.seglist
An integer matrix of N rows and 2 columns
It is up to the caller to generate the seglist
.
Note that isolated points will be dropped since they have no edges.