Diagram automorphism