Graph Editor: Add backdrop button to navigation toolbar with selection-aware creation#3011
Open
Graph Editor: Add backdrop button to navigation toolbar with selection-aware creation#3011
Conversation
… toolbar Co-authored-by: fabiencastan <153585+fabiencastan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add button for creating backdrop in graph editor
Add backdrop creation button to Graph Editor navigation toolbar
Feb 23, 2026
Co-authored-by: fabiencastan <153585+fabiencastan@users.noreply.github.com>
Copilot
AI
changed the title
Add backdrop creation button to Graph Editor navigation toolbar
Graph Editor: Add backdrop button to navigation toolbar, create around selection
Feb 23, 2026
Co-authored-by: fabiencastan <153585+fabiencastan@users.noreply.github.com>
Copilot
AI
changed the title
Graph Editor: Add backdrop button to navigation toolbar, create around selection
Graph Editor: Add backdrop button to navigation toolbar with selection-aware creation
Feb 23, 2026
1784268 to
d5a348a
Compare
fabiencastan
approved these changes
Feb 23, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3011 +/- ##
========================================
Coverage 81.99% 81.99%
========================================
Files 69 69
Lines 9315 9315
========================================
Hits 7638 7638
Misses 1677 1677 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a
sticky_note_2icon button to the Graph Editor's bottom-left navigation toolbar to create Backdrop nodes. When nodes are selected, the backdrop is sized and positioned to wrap around them; otherwise it is created at the viewport center. The create+resize operation produces a single undo stack entry.Features list
sticky_note_2) button to the Graph Editor navigation toolbargridSpacingpadding on all sides)Implementation remarks
Bounding box uses
node.nodeWidth/nodeHeight, falling back touigraph.layout.nodeWidth/nodeHeight(160×120) for regular nodes whose size properties return 0. Padding usesuigraph.layout.gridSpacing(40px) for consistency with the layout system.A new
addBackdropNode(position, width, height)slot was added toUIGraphingraph.py. It usesgroupedGraphModificationto wrap node creation andnodeWidth/nodeHeightattribute setting atomically — avoiding the nested macro that would result from callingresizeNode(which already wraps itself):💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.