<｜begin▁of▁sentence｜>### Instruction:
Given a graph whose edge set is [(0,1), (0,2), (1,3), (1,4), (2,5), (2,6)], can you use bfs_layers to obtain the layers in breadth-first search traversal starting from node 1?
### Response:
import networkx as nx

# Create a graph
H = nx.Graph()
H.add_edges_from([(0,1), (0,2), (1,3), (1,4), (2,5), (2,6)])

# Use bfs_layers to get layers in breadth-first search traversal
layers = dict(enumerate(nx.bfs_layers(H, [1])))
print(layers)
<|EOT|>
