Description Usage Arguments Value See Also Examples
A vertex is adjacent is it is either a successor, or a predecessor.
1 |
graph |
The graph. |
A named list of character vectors, the adjacent vertices for each vertex.
Other simple queries: edges
,
order
, vertices
1 2 | G <- graph(list(A = c("B", "C"), B = "C", C = "A"))
adjacent_vertices(G)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.