# How to list all the connected graphs with 9 vertices?

What I want to do is exactly to list all the connected graphs with 9 vertices which are also `is_long_hole_free()==False`

, i.e., contains an induced cycle of length at least 5. But I can only list all the graphs with a given number of vertices, for example

```
G = GraphQuery(display_cols=['graph6'], num_vertices=2)
L = G.get_graphs_list()
graphs_list.show_graphs(L)
```