Description Usage Arguments Value
View source: R/misc-utilities.R
If the vertex/edges of an igraph object have no name, quickly add a name based on the vertex index/vertices in the edge. For vertices the name is the vertex id, the edges it is 'from->to'.
1 2 3 | name_vertices(g)
name_edges(g)
|
g |
an igraph directed graph |
the graph with the vertex attribute 'name'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.