<｜begin▁of▁sentence｜>### Instruction:
Given a graph created using NetworkX representing a simple path with 4 nodes, can you demonstrate how to export this graph into a GraphML file using the NetworkX 'write_graphml_lxml' function, and also make the GraphML output human-readable while preventing the generalization of numeric types?
### Response:
import networkx as nx

# Create a graph
G = nx.path_graph(4)

# Write the graph to a GraphML file
nx.write_graphml_lxml(G, 'fourpath.graphml', prettyprint=True, infer_numeric_types=False)
<|EOT|>
