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 grow a node in preserving anchor position

0 votes

In the folowwing class diagram, I will just grow the height of the USER node.

When I drag the upper line of node, I obtains following picture ...

My question is simple ...

How can I grow this node in preserving anchor position ?

Above, you can see that before growing node, the connection's lines are horizontal and after growing USER node, connection's lines are not more horizontal.

I have tried to enlarge node in dragging upper line pressing Alt, then Ctrl, then Shift key but anchor's positions are not preserved.

In fact, the anchor positions seem to be preserved relatively to upper-left corner of node.

In this situation, what I will is that anchor positions are preserved relatively to complete graph.

I wait the following behavior ...

Is there a yEd solution to this problem ?

 

in Help by (130 points)

1 Answer

0 votes
Your observation is correct, there is no modifier key to achieve the described behavior. What you see here is the default behavior, the anchors of the connection lines are specified relative to the center of the respective end node.

So, to answer your question:
In versions older than 3.18.2, there is no support for the described behavior. (You can still adjust the anchors manually, of course.)
As of yEd 3.18.2, however, it is possible to change how anchors behave on resize. See "File" -> "Preferences", tab "Editor", option "Adjust Ports on Resize".
by [yWorks] (23.7k points)
edited by
Legal Disclosure | Privacy Policy
...