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

Invisible labels

0 votes
1. right click on a graphical object

2. select "add label"

3. do not type anything

The end result is that the label is invisible and can not be selected again.

If you save as GML, the label is visible as an empty LabelGraphics element.

If instead in #3, you type some text for the label, the text appears in the centre of the object underneath its existing label, and can not be selected.  In this case the only way to make it selectable is to edit the GML directly and adding an "anchor" attribute.
in Help by

1 Answer

0 votes

I agree that label handling is not optimal, especially if a label is invisible or if there are more than one label for an element, and there are plans to improve this in a future release.

A somehow cumbersome way to select invisible labels is to select any visible label and press CTRL + A to expand the selection to all labels of the same kind (that is, all node labels or all edge labels). Then, empty node labels are highlighted with a small selection marker and can be selected manually. Unfortunately, no marker is displayed for empty edge labels. If none of your labels has an icon, a work-around is to set an icon temporarily to show them.
by [yWorks] (26.8k points)
Legal Disclosure | Privacy Policy
...