Description Usage Arguments Value
Make an tidygraph from en edgelist and a set of nodes attributes.
1 | make_tidygraph(x, nodes_properties = NULL)
|
x |
Tibble. Edge list; the two first variables have to be "from" and "to", the subsequent ones are treated as edge properties. |
nodes_properties |
Tibble. Properties of the nodes. The first variable has to be called "name" and contain the node id/label. Subsequent variables are treated as node properties. |
A tidygraph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.