Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

like? Parameter for Copy/Paste architecture issue #328

Open
danielscottjames opened this issue Apr 22, 2017 · 1 comment
Open

like? Parameter for Copy/Paste architecture issue #328

danielscottjames opened this issue Apr 22, 2017 · 1 comment

Comments

@danielscottjames
Copy link
Member

The problem is if you copy a node, delete that node, and try to paste. The like? parameter will reference a node that has been deleted from the core model.

The best solution I can think of is the drawableGraph emits a copied event. And the graphEditor holds on to the copied core elements.

Currently this fails quietly.

@cj-dimaano
Copy link
Member

Right now, they way cut and copy work, is main tells the editor to save the current selection. I'm thinking we could do something similar with the graph controller--tell it to save the current selection, so that deleted elements don't get garbage collected if they're in the "clipboard".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants