![[Deprecated]](figures/lifecycle-deprecated.svg)
permute.vertices() was renamed to permute() to create a more
consistent API.
Usage
permute.vertices(graph, permutation)
Arguments
- graph
The input graph, it can directed or undirected.
- permutation
A numeric vector giving the permutation to apply. The
first element is the new id of vertex 1, etc. Every number between one and
vcount(graph) must appear exactly once.