order {simplegraph} | R Documentation |
The order of the graph is the number of vertices.
order(graph)
graph |
The graph. |
Numeric scalar, the number of vertices.
Other simple queries:
adjacent_vertices()
,
edges()
,
vertices()
G <- graph(list(A = c("B", "C"), B = "C", C = "A"))
order(G)