Description Usage Arguments Value Examples
Remove the edge between a
and b
1 | remove_edge(gr, a, b)
|
gr |
tidygraph graph object |
a, b |
indices of the two nodes connected by the edge to remove |
a tidygraph graph object without the edge
1 2 | set.seed(0)
plot(remove_edge(tidygraph::create_ring(3), 1, 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.