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

labels are not showing up in xml view

0 votes
so i have a graph in yed and the labels or text as it calls it show up fine there but when i view the file as xml in a text editor by opening the graphml file in said text editor the "labels" are comepletely missing
here is the key assignments from the xml file that i do have
<key attr.name="Description" attr.type="string" for="graph" id="d0"/>
  <key for="port" id="d1" yfiles.type="portgraphics"/>
  <key for="port" id="d2" yfiles.type="portgeometry"/>
  <key for="port" id="d3" yfiles.type="portuserdata"/>
  <key attr.name="url" attr.type="string" for="node" id="d4"/>
  <key attr.name="description" attr.type="string" for="node" id="d5"/>
  <key for="node" id="d6" yfiles.type="nodegraphics"/>
  <key for="graphml" id="d7" yfiles.type="resources"/>
  <key attr.name="url" attr.type="string" for="edge" id="d8"/>
  <key attr.name="description" attr.type="string" for="edge" id="d9"/>
  <key for="edge" id="d10" yfiles.type="edgegraphics"/>
in Help by

1 Answer

0 votes

There is no <key> definition corresponding to labels in the GraphML variant that yEd uses. Labels are part of the nodegraphics and edgegraphics data.

by [yWorks] (161k points)
Legal Disclosure | Privacy Policy
...