Generate all possible graphs when no ring match or atom type is required