sbn_get_outlet.Rd
Find river mouth node from a directed graph.
sbn_get_outlet(g)
a river network as an igraph object. Must be a downstream directed graph.
An integer identifying the id of river mouth node.
g <- sbn_create(10, 0.7)
sbn_get_outlet(g)
#> [1] 1