How to use the node id's from the graphml (xml) file instead of the integers that are assigned for vertex names?

When I load graph from an xml file, the vertex id’s are not the node id’s from the loaded graph. But for subsequent analysis i need to use the node ids. How can i retrieve them from the graphml file and use them as vertex ids?

This is how the xml file looks:

and i load the graph by g= load_graph(graph.xml)

can you please help me about this?

The node ids should be automatically loaded as an internal vertex property map.