5.8. IGRAPH_VIT_GET — Query the current position.

#define IGRAPH_VIT_GET(vit)

Gives the vertex id of the current vertex poited to by the iterator.

Arguments: 

vit:

The vertex iterator.

Returns: 

The vertex id of the current vertex.

Time complexity: O(1).