<｜begin▁of▁sentence｜>### Instruction:
Given a networkx erdos_renyi_graph with params n=200, p=0.2, can you use DiffusionSampler to sample a subgraph which has 100 nodes using diffusion process?
### Response:
import networkx as nx
from littleballoffur import DiffusionSampler

G = nx.gnp_random_graph(n=200, p=0.2)

sampler = DiffusionSampler(100, 42)

sampler_G = sampler.sample(G)

print(sampler_G.nodes())
<|EOT|>
