That is, find all nodes connected to node
by an outgoing edge.
This function is memorized to avoid making repeated API queries.
neighborhood(graph, node)
graph | A graph object. |
---|---|
nodes | The name of a single node in |
A character vector of all nodes in graph
connected such that
there is an outgoing edge for node
to those nodes. This should
never be empty, as neighborhood()
should not be called on nodes
that fail check()
.