Attributes of the edges of a graph can be accessed using
edgeData
. The attributes must be defined using
edgeDataDefaults
. You can ommit the from
or
to
argument to retrieve attribute values for all edges to
(respectively, from) a given node.
1 2 |
self |
A |
from |
A |
to |
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.