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 do I keep port constraints on treelike layout

0 votes

I manually created the layout pictured below. I noticed that "treelike -- Horizontal-Vertical" layout will keep this general structure, but  does not preserve my port constraints. The option to "consider port constraints" does not help. Any tips? Thanks

in Help by (140 points)

1 Answer

0 votes
Unfortunately, port constraints are only considered if the layout style is set to "Directed" (but even there, they don't have an impact on the node placement). Furthermore, the horizontal-vertical layout doesn't support a "from-sketch" -mode that allows to specify a vertical node order (which I guess is important for your use case). I recommend to repost this as a feature request because such a layout style seems to be useful to visualize hierarchical structures like, e.g., sections/subsections of a book.
by (5.7k points)
Legal Disclosure | Privacy Policy