Comments (5)
Alternatively: Each SuperNode could maintain its own UndoManager. This would allow to switch between different parts of the graph and always be able to undo changes you did to the current environment
from grave.
To reproduce:
- Create supernode, change into supernode, undo: NullPointerException
- Create supernode, change into supernode, create node, change to parent, undo, undo --> node created in new supernode is now in parent
from grave.
Possible solutions:
- separate Undo managers for all active super nodes
- When the supernode stack is "popped", the undo managers for the respective supernodes are dropped or not?
- That would mean that you can only undo things in the current supernode
- The actions get a SuperNode field and act on the right model.
- Issue a warning if undoing/redoing things outside the current view!?
- Changing the SuperNode clears the undo/redo manager. This might be an interim solution until there is a better one
from grave.
Possible solutions:
- separate Undo managers for all active super nodes
- When the supernode stack is "popped", the undo managers for the respective supernodes are dropped or not?
- That would mean that you can only undo things in the current supernode
- The actions get a SuperNode field and act on the right model.
- Issue a warning if undoing/redoing things outside the current view!?
- Changing the SuperNode clears the undo/redo manager. This might be an interim solution until there is a better one
from grave.
fixed by 5d979d7
from grave.
Related Issues (20)
- Check functionality of copying
- Make Code and Condition Observable classes (for text editing)
- Only one start node per SuperNode
- Pasted nodes should be selected after paste
- Snap-to-grid should be optional
- Zooming: requires that all coordinates get streched by some factor.
- update of node / edge / comment *content*
- Proper detection of project change for "Save" button state and exit warning
- Check classes affected by the change of EditorConfig, and find a cleaner solution HOT 1
- Upon grid size change, occupied grid points wrongly do not get released
- Area selection/copy/paste does not include Comments
- Delete menu item does not work at all HOT 1
- TextBubbleBorder Color: South rim is intransparent white, instead of transparent
- TextBubbleBorder with visible "resize corner"
- GUI Edit menu does not follow context
- WorkFlowPanel: Floating Menu "Paste" does not honor "snap to grid"
- Left panel part fold should be triggered by separator with small icon
- Redesign tool bar to be more compact and concise
- Move mouse handling from WorkSpacePanel into the components (Node, Edge) where possible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grave.