adjacent_vertices: Adjacent vertices for all vertices in a graph
DescriptionA vertex is adjacent is it is either a successor, or a predecessor.
- A named list of character vectors, the adjacent vertices
for each vertex.
G <- graph(list(A = c("B", "C"), B = "C", C = "A"))