Description Usage Arguments Value Functions
update_vertices
performs propagation on vertices. updateEdges
performs propagation on edges.
1 2 3 | update_vertices(g, get_determiners, callback, verbose = FALSE)
update_edges(g, get_determiners, callback, verbose = FALSE)
|
g |
A graph object. |
get_determiners |
A function returns the vertice/edge indices that must be updated for the callback to be executed. Arguments: g - the graph object, i - the index of a vertex/edge in g. Returns: an array of indices for the vertices/edges that are needed to perform the callback on vertex/edge i. |
callback |
The function performed on each vertex/edge. Arguments: g - the graph object, i - the index of a graph/edge in g. Returns: a graph object. |
verbose |
if TRUE prints out details of propagation |
A igraph object with updated vertex/edge states. A warning message is returned if not all vertices could be updated.
update_edges
:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.