Hi there,

I would like to filter all clusters below a certain size in my graph.

I have the current code implemented:

```
# g is a generated graph containing a number of vertices and edges
clusters = g.clusters()
clms = clusters.membership
vertices_togo = []
for cluster in clusters:
if len(cluster) < 5:
vertices_togo += cluster
g.delete_vertices(vertices_togo)
```

Is there a more efficient implementation?

Thanks,

Jacob