How to stop changing selection when dragging the node?

When I dragged the node, the node was selected. Is it possible to prevent the node from being selected?
I need that the node is selected when it is clicked, the action that will emit the ObjectSingleClicked event.

Are you sure you don’t just want to define a GraphObject.click handler for your node template? Dragging uses selection for some of its internal workings, so if you wanted to prevent the selection, you might need to just deselect after completing the drag.

Thanks, I changed the selection in the ‘SelectionMoved’ event, and it works.