add.vertices | R Documentation |
add.vertices()
was renamed to add_vertices()
to create a more
consistent API.
add.vertices(graph, nv, ..., attr = list())
graph |
The input graph. |
nv |
The number of vertices to add. |
... |
Additional arguments, they must be named, and they will be added as vertex attributes, for the newly added vertices. See also details below. |
attr |
A named list, its elements will be added as vertex attributes, for the newly added vertices. See also details below. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.