R/utils.R
as_edgelist.Rd
Transform a nctx graph to an edgelist, i.e. a matrix of \(|V|\times{2}\) with each row containing an edge by its start and target vertex.
as_edgelist(g)
A nctx graph
An edgelist in the form of an \(|V|\times{2}\) matrix