How to restrict node selection

Hi, I have 3 node template, out of which i want only one node template’s node could be selected, and other nodes can not be selected.

Can this restriction be applied, if so can you guide how to do that?

If I understand your situation and your requirement, you just need to set { selectable: false } on those two other node templates.
https://gojs.net/latest/intro/permissions.html

Thank you…
Working for me…