Combinatorica`
Combinatorica`

PermutationGraph

PermutationGraph[p]

gives the permutation graph for the permutation p.

Details and Options