You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing GraphML files, I am having trouble setting the label of nodes. So far I have tried three things, based on hints in the various documentation(s). the two unorthodox things I have tried is to add a "label" attribute to the element. I have also tried adding a element with a key of "label". Neither of those seems to work correctly.
As per the graphml standard, the way this should work is using a single element as the first sub-element of the element. That does not seem to work either. The desc element is not very well outlined in the GraphML primer but it is there, at the very end.
Personally I think that the labels should be set a per the GraphML standard, but I would be happy to conform to what gephi is expecting, but there is no mention of setting the labels properly in this gephi documentation.
Thank you all for working on such a great project.
-Fred Trotter
The text was updated successfully, but these errors were encountered:
I meet the same question about how to set the label, and I find a method: define custom-label-property in the graphml scope and use the custom-label-property in the node scope.
For example:
Hello.
When importing GraphML files, I am having trouble setting the label of nodes. So far I have tried three things, based on hints in the various documentation(s). the two unorthodox things I have tried is to add a "label" attribute to the element. I have also tried adding a element with a key of "label". Neither of those seems to work correctly.
As per the graphml standard, the way this should work is using a single element as the first sub-element of the element. That does not seem to work either. The desc element is not very well outlined in the GraphML primer but it is there, at the very end.
Personally I think that the labels should be set a per the GraphML standard, but I would be happy to conform to what gephi is expecting, but there is no mention of setting the labels properly in this gephi documentation.
Thank you all for working on such a great project.
-Fred Trotter
The text was updated successfully, but these errors were encountered: