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

Change node key from int to a user-selected string

0 votes
I am trying to edit the xml to change the label to edges. However to identify an edge I have to get the Key - an integer - of a node, insteaf of a string that would be more convenient when having very large graphs with lots of connections. Is there a way to edit the node Key to be a string, and maniupulate it using the GUI?
in Help by (190 points)

1 Answer

0 votes
The IDs used in GraphML to identify elements are a format-specific implementation detail and are generated on-the-fly when writing GraphML files. Thus it is not possible to specify or modify these IDs in yEd.

If you need to reliably identify your edges, create a user-defined property for edges (see "Edit" -> "Manage Custom Properties") and set appropriate unique property values for your edges.
by [yWorks] (161k points)
Legal Disclosure | Privacy Policy
...