Add network metadata and layout information
1 | sm_graph_layout(edges, node_name = "id", directed = FALSE)
|
edges |
data frame describing the edges |
node_name |
name of the node id column; defaults to "id" |
directed |
logical; is the graph directed? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.