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 to adapt size edge with label width ?

0 votes


I using Hierarchical layout and i would like to auto-ajust the size of edge with the width of my label text.


My goal is to have this result with hierarchical layout, i think it's better to read the graph :

How to do this ?

in Help by (210 points)

1 Answer

+1 vote
  1. Select all of your edge labels and set "Preferred Placement" to "Along Edge: Anywhere", "Side of Edge: Left or Right", and "Orientation: Horizontal".
  2. In the Hierarchic Layout settings go to tab "Labeling" and set option "Edge Labeling" to value "Hierarchic".
by [yWorks] (161k points)
Legal Disclosure | Privacy Policy