set.edge.attribute() was renamed to set_edge_attr() to create a more
consistent API.
Usage
set.edge.attribute(graph, name, index = E(graph), value)set.edge.attribute() was renamed to set_edge_attr() to create a more
consistent API.
set.edge.attribute(graph, name, index = E(graph), value)