Paste to current mouse position

The existing ‘Paste’ behavior is placing the pasted node in the old location from where it is either copied or cut.

I want to paste the node to the current mouse position. How do i achieve this functionality?

Commands do not normally depend on the mouse position, because they are normally invoked from keyboard events. So if you want the pasted Parts to be moved to where the mouse is, I assume you want to be careful not to do so if the mouse is outside of the diagram’s viewport.

In a Diagram.ClipboardPasted event handler you can compute the desired distance that you want to shift all of the copied nodes, which are held as the Diagram.SelectedParts collection. Then you can iterate over all of those nodes and call Node.Move on them, passing an appropriately shifted Position.