Get and set default attributes for the nodes of a graph
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 |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.