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.


Cannot see node data from example graphml

0 votes


I copy-pasted the graphml file from here:


The first time I opened it up in yEd, I remember being able to find the 'name' property in the Node Properties dialog.

But now when I try and repeat the experiment, the node-properties seems to have been lost in the import process.

Is this a bug?






Example file



Here is screenshot of problem:





the website clips the right side of the large image... 

here is the right margin



in Help by (120 points)
edited by

1 Answer

0 votes

No, this is not a bug. The node name data and the edge weight data is imported as intended.

Selecting an edge will display the weight data in the edge's property view, too.

by [yWorks] (152k points)
I don't see that.  I'll try and attach a screenshot to the original question
Yes I could see the "name" property the first time I used yEd.
I've tried a dozen times since then, and it doesn't show me the "name" property anymore.

Please upload the actual test.graphml file you were trying to open in yEd. Maybe some mistake has slipped in. See How to upload files to yEd Q&A? for instructions on uploading non-image files.

Additionally, please open my test file in yEd and check if the node and edge data is imported.

If that file does not work either, please try resetting yEd to its factory defaults. To do so, quit yEd, delete the yEd profile directory, and restart yEd. (If you have a lot of custom settings, consider moving the profile directory to a new location instead of deleting it, so you can revert to your settings later on.)

I can do one better... Here is the steps to reproduce BOTH good and bad behaviour...

(on linux)
# Start yEd
$ yEd &

# Leave yEd as blank for now - don't open anything

Via File->Open, open the test file.

Click the first item in the "Structure View"
that says <No Value>

Observe there is NO 'name' in Data.

Close tab.  Leave  yEd running.

Back to the terminal:
$ yEd /tmp/test.graphml

Click the first item in the "Structure View"
that says <No Value>

Observe there IS 'name' in Data.

I'll try and attach the file now, but I bet your copy will do this for you now.
its now attached in the middle of my question, just above the pictures.
Okay, that is strange. If I follow your instructions (I am testing on Ubuntu 12.04) and open your test file, then the custom node and edge data is always imported correctly.
Maybe that is a strange problem with some custom settings. Can you zip your profile directory and upload that one, too?

When you open test.graphml via "File" -> "Open", you do choose the right file and not some other (older) test.graphml file without custom data that is not located in /tmp, right? I am asking because your screenshot shows a hierarchic graph whose hierarchic structure is different from the hierarchic structure in my screenshot. Of course, this difference could be due to different layout settings (I used default settings) or manual modification.
Uploaded the profile dir.
I'm using yEd-3.10.2_32 on a Debian 64-bit system.

There is only one graphml file in the folder so it is the same one each time.  I had fiddled with the layout, which is why its different I guess.

I tried with a clean profile dir, and it DOES work both ways.

So must be something in the profile dir I guess.
Can you replicate the problem?

Heureka! When you use "File" -> "Open", the file type is set to "XML + XSL" and that generic import does not support custom data (I will have to investigate to find out whether this is intended or not). In any case, change the file type to "GraphML" and the import will work.

Ah hah!

That was not obvious at all to me.
I did wonder why it kept asking for an XSL file format.

Since graphml IS xml, perhaps GraphML should appear in that XML Input dialog box?  Perhaps as a Radio button option,
with some extra text saying something like "this will bring in extra graphml info from the file" or something more descriptive than that.

Thanks!  I love the Neighbourhood, and the Layouts flexibility :)
Legal Disclosure | Privacy Policy