minor smallgraphs