<｜begin▁of▁sentence｜>### Instruction:
Given a file 'path_to_file.adjlist' that contains the adjacency list representation of a graph, can you read the graph into NetworkX, ensuring that all node labels are converted to integers, and then display the edges of the graph?
### Response:
import networkx as nx

# Read the adjacency list from a file
G = nx.read_adjlist('path_to_file.adjlist', nodetype=int)

# Display the graph
print(G.edges())
<|EOT|>
