<｜begin▁of▁sentence｜>### Instruction:
Given a file 'test.adjlist' that has a multi-line adjacency list representation of a path graph with 4 nodes, how do you read this file to create a NetworkX graph in Python while converting the node labels to integers using the 'read_multiline_adjlist' function?
### Response:
import networkx as nx
G = nx.path_graph(4)
nx.write_multiline_adjlist(G, 'test.adjlist')
H = nx.read_multiline_adjlist('test.adjlist', nodetype=int)
<|EOT|>
