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 is get right only formatting?

0 votes

Is there a way to get yEd to do right only formatting like the example below.  I tested many settings, but I can't consistently produce this results.  It was just luck that I got this layout and every time I try to change or add nodes it gets completely messed up.  Thanks for any help.

asked Apr 15 in Help by ITGuyCML (130 points)

1 Answer

+1 vote

The above is the result of "Layout" -> "Tree" -> "Directed" with default settings except for "Orientation" set to "Left To Right" and "Orthogonal Edge Routing" enabled on tab "Directed".

Running the algorithm again after adding or removing nodes might indeed result in a new (placement) order within the columns. This cannot be helped - the result of layout algorithms does depend on the (insertion) order of the elements in the diagram.
However, a different placement order hardly qualifies as "completely messed up" - at least as long as your diagram is a tree. If you start inserting connections that violate the tree criterion, you are better of using "Layout" -> "Hierarchical" instead of "Layout" -> "Tree".

answered Apr 15 by thomas.behr [yWorks] (123,120 points)
I apologize if "completely messed up" was offensive, but after many attempts and getting a layout I did not want, it felt that way.
I finally figured out my error and it is now working.  When connecting nodes, I had drawn some connecting lines from right to left which allowed those nodes to be place to the left.  I deleted all the lines and reconnected everything left to right and everything is working as intended.
Thanks for the help & response.
Imprint | Privacy Policy