edgeData-methods | R Documentation |
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.
edgeData(self, from, to, attr)
edgeData(self, from, to, attr) <- value
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.