Graph Representation
Input is a graph (labeled vertices and edges)
A substructure is connected subgraph
An instance of a substructure is a subgraph that is isomorphic to substructure definition
A graph can be compressed by replacing instances with a pointer to the substructure definition