<｜begin▁of▁sentence｜>### Instruction:
Given an Erdős-Rényi graph with 100 vertices and a probability of 0.1 for edge creation, can you use the 'sizes' method in igraph's 'Clustering' class to find out the sizes of all the connected components in the graph?
### Response:
import networkx as nx
from igraph import Graph

# Assuming 'g' is an igraph Graph instance with clusters already identified
g = Graph.Erdos_Renyi(n=100, p=0.1)
clusters = g.clusters()
# Get the sizes of all clusters
cluster_sizes = clusters.sizes()

print(cluster_sizes)
<|EOT|>
