Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


gives a canonical graph of the graph g.

uses rules to specify the graph g.


  • CanonicalGraph is also known as canonical graph labeling or canonical form of a graph.
  • CanonicalGraph is often used to compare and match a graph to a large collection of graphs.
  • CanonicalGraph[g] returns a graph with vertices , , that is isomorphic to g.
  • Isomorphic graphs have the same canonical graph.
Introduced in 2014
| Updated in 2015