4.1. igraph_vss_all — All vertices of a graph (immediate version).

igraph_vs_t igraph_vss_all(void);

Immediate vertex selector for all vertices in a graph. It can be used conveniently when some vertex property (eg. betweenness, degree, etc.) should be calculated for all vertices.

Returns: 

A vertex selector for all vertices in a graph.

See also: 

igraph_vs_all()

Time complexity: O(1).