nodeDataDefaults-methods | R Documentation |
You can associate arbitrary attributes with the nodes of a graph. Use
nodeDataDefaults
to specify the set of attributes that describe
nodes. Each attribute must have a default value. You can set the
attribute for a particular node or set of nodes using
nodeData
.
nodeDataDefaults(self, attr)
nodeDataDefaults(self, attr) <- value
self |
A |
attr |
A |
value |
An R object to set as the default value for the given attribute |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.