Attributes of the nodes of a graph can be accessed using
nodeData
. The attributes must be defined using
nodeDataDefaults
. You can ommit the n
argument
to retrieve attributes for all nodes in the graph. You can ommit the
attr
argument to retrieve all attributes.
1 2 |
self |
A |
n |
A |
attr |
A |
value |
An R object to store as the attribute value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.