<｜begin▁of▁sentence｜>### Instruction:
Given a GEXF file 'path_to_gexf_file.gexf' that describes a network including nodes and edges, how can you load this network into a NetworkX graph object, with node ids as strings, without relabelling the nodes based on the 'label' attribute, and explicitly stating that the version of GEXF being used is '1.2draft'?
### Response:
import networkx as nx

# Path can be a file path or a file-like object
path = 'path_to_gexf_file.gexf'

# Read the GEXF file
G = nx.read_gexf(path, node_type=str, relabel=False, version='1.2draft')

# Print the edges of the graph
print(list(G.edges(data=True)))
<|EOT|>
