Use this if you are using igraph from R
Reverse the order in a vertex sequence
## S3 method for class 'igraph.vs' rev(x)
The vertex sequence to reverse.
The reversed vertex sequence.
Other vertex and edge sequence operations:
g <- make_(ring(10), with_vertex_(name = LETTERS[1:10])) V(g) %>% rev()