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.


Label Properties Descriptions are Confusing - Any definitions?

0 votes
In the list of all the ways you can configure a lable using the properties function - there are so many options "Placement" "Position" "Configuration" "Alignment" etc.. that it is difficult to figure out which combination will simply center the text in a node. e.g. under "Placement: Model" I can choose 8 different setups and the names don't provide much information on what the set up will do. e.g. what does "corners" mean vs. "Edge Opposite" or "8 pos", etc.

Is there any definition of what all these options mean somewhere? And a description of what these options means for a NODE vs what this means when labeling an Edge would be really helpful.

When I selected Internal Model, then Center Position, I still can't get my text to center.

Also the auto wrap feature doesn't work very well, so I have to CTRL to return.

At this point, power point is seeming a lot easier and more intuitive.
in Help by (240 points)

1 Answer

+1 vote

This option governs the placement of the label in relation to the element the label belongs to.
The placement property consists of model and position due to the way the underlying yFiles library handles label placement. This implementation detail is exposed here so yFiles customers will recognize the yEd placement options.

This option governs the placement of the text inside the label bounds. The effects of this option are only visible for labels with multiple lines of text.

This option determines the label feature set.
"Standard" offers supprt for displaying and icon and rendering HTML formatted text.
"Cropping" offers automatic text cropping and text wrapping. Both, automatic cropping and wrapping do so in the bounds of the label. Thus the effect of the cropping configuration will only be visible with "Size" set to "Fit Node Size" or "Fit Node Width".
Again, this is property is exposed here so yFiles customers will recognize the yEd configurtion options.


I guess the "center text" behavior you are looking for is achieved by setting both placement to "Internal: Center" and alignment to "Center".


That said, yEd is not meant in any way as a replacement for Power Point. If at all, yEd is more like an alternative for Visio.

by [yWorks] (134k points)
edited by
Thanks so much! very helpful. Is there any instruction book anywhere? The intro video is very useful, but only provides a review of the basics.
Legal Disclosure | Privacy Policy