Recursively identifying downstream nodes
1 2 3 4 5 6 7 8 | node_plant_node_ids(
g,
v,
direction = "downstream",
max.levels = 2,
level = 0,
children_found = c()
)
|
g |
igraph graph object |
v |
the id of the central node to start from |
direction |
should be 'downstream', 'upstream' or 'both' |
max.levels |
how many steps away from source node to go |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.