set.vertex.attribute() was renamed to set_vertex_attr() to create a more
consistent API.
Usage
set.vertex.attribute(graph, name, index = V(graph), value)set.vertex.attribute() was renamed to set_vertex_attr() to create a more
consistent API.
set.vertex.attribute(graph, name, index = V(graph), value)