Convert a matrix or column-sparse matrix to a list of edges and nodes for
either a matrix or any of the possible column sparse matrix objects from the Matrix package.
A list with node and edges data frame entries used by
Numeric graphs are assumed to be weighted and the edge "size" values are set to the corresponding matrix entries.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.