<｜begin▁of▁sentence｜>### Instruction:
Given a graph read from littleballoffur11.sparse6, how can the FrontierSampler be used to sample a subgraph comprising 20 nodes with 5 seed nodes for the random walkers?
### Response:
import networkx as nx
from littleballoffur import FrontierSampler
G = nx.read_sparse6('littleballoffur11.sparse6')
sampler = FrontierSampler(number_of_seeds=5, number_of_nodes=20)
sampler_G = sampler.sample(G)
print(sampler_G.edges(), sampler_G.nodes())
<|EOT|>
