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.

How can I lock Label Placement of an object

0 votes
Every time I use an Entity Object , or a custom object I created that has one label internal:top and another label internal: center when I run a layout ex. Flowchart. both labels in these controls get set to internal:center and I lose the whol look and feel of the object.

How can I lock the label placement within an object so layouts can't change them?
asked Feb 2 in Help by SoulWraith (120 points)

1 Answer

0 votes

Unfortunately, you cannot lock label positions in yEd.

The flowchart layout specifically always places node labels into the center of their nodes.

Currently, you only have two options:

  1. Do not use the flowchart algorithm. You could try the hierarchic layout algorithm instead, for certain use case it produces similar results but does not necessarily change any label positions.
  2. Correct the label positions after flowchart layout is done.

 

That said, it might be good idea to add an option for the flowchart algorithm that turns off node label placement. We will keep that in mind.

answered Feb 6 by thomas.behr [yWorks] (105,620 points)