Copy pasting nodes copies Connection

From the below gif you can see that when I select just the two nodes, Copy and Paste them the link is getting copied .

How do I avoid the link from getting copied when I copy just the nodes?

Try setting GoXam for WPF 2.2.4 to None.

This works fine. But if I do this, will there be any impact on selectedParts property of diagrams ?

I don’t understand your question. If the Parts that are copied do not include connected unselected Links, the result of the paste will not include any corresponding such Links, so of course the pasted Parts which are all selected will be fewer than before.