Dynamo icon indicating copy to clipboard operation
Dynamo copied to clipboard

DYN-8905: Adapt layout algorithm for both input and output

Open chubakueno opened this issue 5 months ago • 1 comments

Purpose

Adapt layout algorithm for both input and output. Output nodes will always relayout to the right when confirmed, but further manual relayouts may wrap them around if it sees so fit by the Sugiyama algorithm.

Input:

https://github.com/user-attachments/assets/7167e68b-8ad9-4092-8d57-557fe9146381

Output (showing effects of then doing a manual Ctrl+L relayout):

https://github.com/user-attachments/assets/f82a4c50-2581-4ed2-80f7-735271ca1aa5

Declarations

Check these if you believe they are true

  • [x] Is documented according to the standards
  • [ ] The level of testing this PR includes is appropriate
  • [ ] User facing strings, if any, are extracted into *.resx files
  • [x] Snapshot of UI changes, if any.
  • [ ] Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • [ ] This PR modifies some build requirements and the readme is updated
  • [ ] This PR contains no files larger than 50 MB
  • [ ] This PR introduces new feature code involve network connecting and is tested with no-network mode.

Release Notes

Adapt layout algorithm for both input and output.

Reviewers

@johnpierson @BogdanZavu

FYIs

(FILL ME IN, Optional) Names of anyone else you wish to be notified of

chubakueno avatar Jun 10 '25 06:06 chubakueno