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?