igraph (version 1.0.0)

gorder: Order (number of vertices) of a graph

Description

Order (number of vertices) of a graph

Usage

gorder(graph)

Arguments

graph
The graph

Value

  • Number of vertices, numeric scalar.

See Also

Other structural queries: [.igraph; [[.igraph; adjacent_vertices; are.connected, are_adjacent; ecount, gsize; ends, get.edge, get.edges; get.edge.ids; head_of; incident_edges; incident; is.directed, is_directed; neighbors; tail_of

Examples

Run this code
g <- make_ring(10)
gorder(g)

Run the code above in your browser using DataCamp Workspace