Describe the solution you'd like
Having a built in method for copy/paste and undo/redo added to the editor would be very convenient for ease of canvas operations and minimization of clicking around.
Describe alternatives you've considered
I currently have a copy method, but it's very limited to just copying nodes only. It simply copies all the properties of an existing node and assigns it a new id on paste, but this gets more complicated with custom controls being embedded in as node inputs. Connections are a little bit more difficult to maintain since you might not be copying the node they are connecting to.
Undo/redo sounds like a similar request since it requires keeping the collection in memory.
With that being said, i'm not sure the scope of the copy/paste and undo/redo when multiple tabs/editors are being used? Perhaps it's only relative to the current editor in focus?
Describe the solution you'd like
Having a built in method for copy/paste and undo/redo added to the editor would be very convenient for ease of canvas operations and minimization of clicking around.
Describe alternatives you've considered
I currently have a copy method, but it's very limited to just copying nodes only. It simply copies all the properties of an existing node and assigns it a new id on paste, but this gets more complicated with custom controls being embedded in as node inputs. Connections are a little bit more difficult to maintain since you might not be copying the node they are connecting to.
Undo/redo sounds like a similar request since it requires keeping the collection in memory.
With that being said, i'm not sure the scope of the copy/paste and undo/redo when multiple tabs/editors are being used? Perhaps it's only relative to the current editor in focus?