No. GraphML IDs are an implementation detail of the GraphML format. If you need in-application IDs for your graph elements, you need to specify those IDs as extra data:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <graphml xmlns="http://graphml.graphdrawing.org/xmlns"> <!--Created by yEd 3.14.4--> ... <key attr.name="ID" attr.type="string" for="node" id="d4"> <default/> </key> ... <graph edgedefault="directed" id="G"> <node id="n0"> <data key="d4"><![CDATA[MyNode01]]></data> ... </node> ... </graph> ... </graphml>