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 much control do I have over where an arrow attaches to the perimeter of a rectangle?

0 votes
asked Mar 17, 2016 in Help by anonymous

1 Answer

0 votes

That depends on whether there is an automatic layout algorithm involved or not. If not, then you can just move (with your mouse) the target end of an edge to where you want it to attach to the perimeter. For this, select the edge and then move the black square that marks the edge's target end.

If you want an automatic layout algorithm to respect where your edges connect to the nodes, you need to configure this using the Port Constraints tool (under Tools menu > Constraints > Port Constraints). See also: http://yed.yworks.com/support/manual/yed_tools.html

Note, however, that not all automatic layout algorithms support port constraints. This concept makes the most sense for layout algorithms that have a notion of direction / layout orientation. An Organic layout doesn't have this and so also doesn't (in fact, cannot) respect port constraints.

answered Mar 17, 2016 by thomas [yWorks] (23,660 points)
Legal Disclosure | Privacy Policy