View source: R/misc-utilities.R
Takes either igraph iterator functions E
and V
, and creates a mirror function S
that can be used in code intended to work on either edges or vertices. Also creates the replacement
function. Creates the object in the parent environment.
1 | setIterator(iterator)
|
iterator |
either "edge", or "vertex" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.