generate isomorphic graphs and output conditions