Edge propagation instance Executes a callback on the edge that calculates a value. The callback can rely on values of other edges that are calculated by the same callback. When the function is applied to an edge, it checks that an 'update' attribute on all the edges that it relies on is set to true before applying the callback. If not, the callback is applied to those unupdated edges first.
1 | edge_updater(g, e, get_determiners, callback, verbose = FALSE)
|
g |
an igraph object |
e |
an index for an edge in g |
get_determiners |
a function that returns the indices of the edges that must be updated before the callback is executed. |
verbose |
if TRUE prints out details of propagation |
a |
function that performs an operation on an edge. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.