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

Can you show three labels?

0 votes

I've mapped three fields from the data source to Labels 1, 2 & 3 via the Property Mapper.  I can use the label property "Size->Fit Node Height" to reveal Label 1, but Labels 2 & 3 continue to overlap no matter how I adjust the Placement model or resize the node.  Is this a bug or am I missing something?

 

 

Thanks in advance,

Josh

 

 

in Help by

1 Answer

0 votes

You need to adjust the "Placement" properties of the additional labels. Note, if you select the node, the "Placement" property in the "Label" section refers to the first label only.

To adjust the placement of the second (third) label, select the second (third) label either by pressing and holding CTRL while (repeatedly) left-clicking on the label or by using "Tool" -> "Select Elements" and drag the label to the desired position with the mouse, or choose a "Placement"  like "Sandwich: North"/"Sandwich: South", or use an "Internal" placement with appropriate "Distance" values. E.g. the following label selection

(corresponding GraphML) may be achieved using "Select Elements" with the following settings

 

by [yWorks] (161k points)
Thanks for your assistance!

It seems that a good default for the system would be to distribute node labels so they are distributed evenly across a node and readable.
Well, distributing labels evenly across a node is difficult because you cannot know how many labels the user is going to add. However, I agree that the default placement could be (much) improved. Simply placing new labels below existing ones would probably work wonders.
Legal Disclosure | Privacy Policy
...