Get and set vertex and edge attributes
Usage
Vattr(graph, name)
Vattr(graph, name) <- value
Eattr(graph, name)
Eattr(graph, name) <- value
V(graph)
E(graph)
Arguments
- graph
igraph_ptr object.
- name
Name of the attribute to query or set.
If missing, all the attributes are returned or replaced.
- value
A vector or data.frame.