getDescendants | R Documentation |
Gets the descendants of a collection of nodes in a graph (all nodes that can be reached by following directed edges from those nodes). Descendants DO include the nodes themselves.
getDescendants(g, nodes)
g |
the graph (as an igraph). |
nodes |
the nodes in the graph of which to get the descendants. |
a sorted vector of all descendants of nodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.