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.

Categories

Data loss from NodeXL GraphML file exported and opened with yEd

0 votes
I have a chart I created using NodeXL (extension of Microsoft Excel).  I export the chart and save it as a GraphML file.  When I open it in yEd Graphy Editor, my chart is essentially intact, but I loss all my data (label names, vertex/node info, etc.).  All that remains are meaningless nodes connected to another meaningless nodes.

Does anyone have a solution?
in Help by

1 Answer

0 votes
 
Best answer

This is not exactly a data loss but due to the GraphML specification. This standard describes only the structural information in diagrams, that is the definition of nodes, their connections, nested sub-parts (groups) and user-defined data, but not the visual representation of elements. Due to this, and a lack of coordination, visuals are stored very different in NodeXL and yEd.

The good thing is that NodeXL stores its visual properties in standard GraphML data fields (so -called GraphML attributes) which are read in by yEd. You can check this by selecting a node and have a look at its 'Data' properties, there should be fields like 'V-X', V-Y' and 'V-Size'. With the 'Properties Mapper' tool, you can map (some of) these data to their respective visual representation. Please have a look at the manual articles about Custom Properties and Properties Mapper for more information.
 
Note that in the NodeXL file I checked, color values are stored as decimal triples, for example '23, 182, 43', whereas yEd expects hexadecimal representations like '#2e55a1'. Therefore, mapping colors will not work.
by [yWorks] (26.8k points)
edited by
Thank you!!!!!
This is brilliant!  All my data is still there!  I was able to transfer over everything with the exception of the images and plot it into the diagram.
Legal Disclosure | Privacy Policy
...