65 How to achieve this style of Layout / Routing? - yEd Q&A
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

How to achieve this style of Layout / Routing?

0 votes

So far I've been manually routing all my edges by hand, but on more complex diagrams this gets very tedious.

I tried quite a few of the built-in layout algorithms but none of the ones I tried gave as good a layout as doing it by hand.

I'm trying to achieve something like the attached image; compactness is important, as this gets printed to an A4 sheet of paper, so if it isn't compact, the text becomes unreadable.

Can someone reccomend how to achieve this sort of edge routing automagically? Or am I asking too much of yEd here?

ago in Help by

1 Answer

0 votes

Chances are none of yEd's layout algorithms can produce such a compact arrangement.

Still, there is a couple of things you can try:

  • After manually placing your nodes, run "Layout" -> "Edge Routing" -> "Orthogonal/Polyline" with reduced "Edge to Node Distance" and "Last Segment Length" values (e.g. set all of those to 5).
     
  • Arrange your diagram with "Layout" -> "Orthogonal" -> "Classic" with reduced "Grid", "Minimum First Segment Length", "Minimum Last Segment Length", and "Minimum Segment Length" values (e.g. set all of those to 5).
     
  • Do not try to print to a single sheet of paper, but use yEd's poster printing support instead (i.e. increase print options "Poster Rows" and "Poster Columns"). Use "File" -> "Print Preview" to find values for the two aforementioned settings that are suitable for your diagram's aspect ratio.
ago by [yWorks] (162k points)
Legal Disclosure | Privacy Policy
...