Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.


Parsing through yEd generated graphML files using Python library:pygraphML

+1 vote
I am currently using the python library: pygraphml to parse through graphml files generated from yEd.

I ideally would like to extract/return the information from my graph (node labels/decriptions, attributes) using the library in order to convert to a file. I made a script utilizing the Graph class from pygraphml to print out the node,edges, and attriutes of the graph I created on yEd.

 The following is the output generated:

<pygraphml.graph.Graph object at 0x7f210b2056a0>

[<pygraphml.node.Node object at 0x7f210b34060>, <pygraphml.node.Node object at 0x7f210e98a5f8>, ...... <pygraphml.node.Node object at 0x7f210b22f198>]

[<pygraphml.edge.Edge object at x7f210b22f278>, <pygraphml.edge.Edge object at 0x7f10b22f358>, ..... <pygraphml.edge.Edge object at 0x7f210b22f518>]

[<pygraphml.attribute.Attribute object at 0x7f210b339c18>, <pygraphml.attribute.Attribute object at 07f210e98a8d0>, .... <pygrahml.attribute.Attribute object at 0x7f210b22f3c8>]


Does anyone know what this output mean? Or have used the pygraphml library to interpret the above output? It seems like what is printed are the positions/locations of the nodes represented in hexadecimal in the yEd graph but I would like more informaton than what's generated.
in Help by (170 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Legal Disclosure | Privacy Policy