Use this if you are using igraph from R

Order (number of vertices) of a graph

gorder(graph)

`graph` |
The graph |

Number of vertices, numeric scalar.

Other structural queries: `[.igraph`

,
`[[.igraph`

, `adjacent_vertices`

,
`are_adjacent`

, `ends`

,
`get.edge.ids`

, `gsize`

,
`head_of`

, `incident_edges`

,
`incident`

, `is_directed`

,
`neighbors`

, `tail_of`

g <- make_ring(10) gorder(g)

[Package *igraph* version 1.2.4.1 Index]