Problem reading GraphML file data with Python code

I have a simple python code to read the GraphML file and extract the data from the file like nodes, edges and other information. The Python code has no errors, also the GraphML file and its path are correct. But I don’t get output from my code. I uploaded the grasshopper and GraphML file.

GraphML.gh (19.8 KB)
Network.rar (3.6 KB)

Hi @kalantarisaeede

You can unpack the xml file by using Jswan.

GraphML.gh (13.6 KB)

1 Like

Hi @Erik_Beeren
Thank you very much for your time. I actually wanted to do this by coding, but your work with the jswan plugin was great.