nauty and Traces are programs for computing automorphism groups of graphs and digraphs. They can also produce a canonical label.