DYN-9637 - Add keyboard shortcuts to quickly navigate the canvas to the leftmost (“beginning”) and rightmost (“end”) nodes of the active graph. #16873
Conversation
Binded those commands to Home and End keys in xaml. Added the public properties to PublicAPI.Unshipped.txt file.
There was a problem hiding this comment.
See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-9637
There was a problem hiding this comment.
Pull request overview
This PR adds keyboard shortcuts to navigate the canvas to the leftmost (Home key) and rightmost (End key) nodes in the active graph, addressing feature request DYN-9637.
Changes:
- Adds Home and End key bindings to the DynamoView XAML that trigger navigation commands
- Implements GotoLeftMostNode and GotoRightMostNode commands with corresponding CanExecute methods
- Uses a 2px tolerance to group nearby nodes at the extremes and includes their containing groups in the navigation
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| DynamoView.xaml | Adds KeyBinding declarations for Home and End keys |
| DynamoViewModelDelegateCommands.cs | Declares and initializes the new navigation commands |
| DynamoViewModel.cs | Implements the navigation logic with tolerance-based node filtering |
| PublicAPI.Unshipped.txt | Documents the new public command properties |
|
One bit of feedback from someone testing: Doesn't zoom to notes or groups with only notes in them. So in a graph if you have notes at the beginning or the end, it is only considering NodeModels at this time. |
Hi @johnpierson , |
|



Purpose
Add keyboard shortcuts to quickly navigate the canvas to the leftmost
(“beginning”) and rightmost (“end”) nodes of the active graph. (DYN-9637) -
New shortcuts:
Definitions:
Behavior:
Declarations
Check these if you believe they are true
Demo with Individual nodes at the ends:

Demo with Nodes inside a group at the ends:

Release Notes
New shortcuts:
Reviewers
@DynamoDS/eidos
FYIs
@stevecbc