State Transition Diagrams for Modular Multiplication

Each point represents an integer, joined to the point representing the result of the modular multiplication. The structure of the final "state transition diagram" varies greatly with both the multiplier and modulus.