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

Auto-route with fixed port coordinates

0 votes
I would like to see an option added to the edge router that will keep the existing port coordinates for node connections.
in Feature Requests by

1 Answer

0 votes
 
Best answer

Actually, this is already supported. However, to achieve the effect you need a preparation step prior to running the edge router.

Use the Tools > Constraints > Port Constraints... tool to specify the "port constraints" that the edge router should keep. For example, choose:

  • Configuration Method: "From Sketch"
  • Fix Source Port: enabled
  • Fix Target Port: enabled
  • Act on: "All Ports"

and click OK in that dialog, then all ports of your diagram will get tagged appropriately, and on the subsequent run of the edge router it will honor the tags and keep the existing port coordinates.

Note that this is also true for any other layout algorithm that supports port constraints (e.g., Layout > Hierarchical...) and that you run after having specified the port constraints.

Note also that all your ports remain tagged until you specify other port constraints or "Remove all Port Constraints" through the tool's dialog.

by [yWorks] (23.7k points)
Legal Disclosure | Privacy Policy
...