Figure 2: Simple invariant partitioning: (a) initial graph; (b) initialize symmetry classes; (c) convert to correspond primes; (d) compute neighbor values; (e) break ties using neighbor values and reorder. The symmetry class tie has now been broken by the neighbor values.