set.edge.attribute | R Documentation |
set.edge.attribute()
was renamed to set_edge_attr()
to create a more
consistent API.
set.edge.attribute(graph, name, index = E(graph), value)
graph |
The graph |
name |
The name of the attribute to set. |
index |
An optional edge sequence to set the attributes of a subset of edges. |
value |
The new value of the attribute for all (or |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.