Description Usage Arguments Value
View source: R/misc-utilities.R
Return a new directed graph instance a given edge oriented in the opposite direction relative to the input graph. Will not preserve graph, vertex, and edge attributes.
1 | reverse_edge(g, e)
|
g |
a directed igraph object |
e |
an edge (integer index or "igraph.es" object) |
a new igraph object, the old graph with edges reverse.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.