powered by
Make an sg-object from adjacency matrix
sparse2sg(x)
square matrix. non-0 elements are taken as edge presence.