Closed RailKill closed 2 months ago
This pull request implements two main features: multi-node deletion and undo/redo functionality for the auto-arrange feature in the graph editor. The changes primarily affect the MonologueGraphEdit script, with minor adjustments to MonologueControl and SidePanelNodeDetails scripts. The implementation focuses on enhancing user interaction with the graph, improving selection handling, and integrating with the existing undo/redo system.
Files | Changes |
---|---|
Scripts/MonologueGraphEdit.gd |
Implemented multi-node deletion functionality using the Delete key, integrated with the undo/redo system |
Scripts/MonologueGraphEdit.gd |
Added undo/redo support for the auto-arrange feature, recording node positions before and after arrangement |
Scripts/MonologueGraphEdit.gd Scripts/SidePanelNodes/SidePanelNodeDetails.gd |
Refactored node selection handling to support multiple selected nodes |
Scripts/MonologueGraphEdit.gd Scripts/MonologueControl.gd Scripts/SidePanelNodes/SidePanelNodeDetails.gd |
Improved management of active and selected nodes, including updates to the side panel behavior |
Scripts/MonologueGraphEdit.gd |
Removed redundant variables and simplified input handling in the graph edit script |
Scripts/MonologueGraphEdit.gd Scripts/MonologueControl.gd |
Updated node position tracking for undo/redo operations |
It seems to work perfectly!
This PR does the following:
Delete
key. This action is undo-able.Summary by Sourcery
Introduce the ability to delete multiple selected nodes with undo support and enhance the auto-arrange feature with undo/redo capabilities. Improve node selection and position management in the graph editor.
New Features:
Enhancements: