<｜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 demonstrate how to use NetworkX's bfs_layers function to enumerate the layers of nodes encountered in a breadth-first search starting from node 1?
### Response:
import networkx as nx

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

# Use bfs_layers to enumerate the layers
layers = dict(enumerate(nx.bfs_layers(G, [1])))

print(layers)
<|EOT|>
