Hi Indrani,
On analyzing your sample, we found that you have removed Resize, PointerEvents NodeConstraints from Default NodeConstraints and so the interaction is disabled for imageNode. If you need to disable node resizing alone, please refer to the code example below.
Code example:
ImageNode imagenode = new ImageNode();
imagenode.Name = "PupilImage";
//disable node resizing
imagenode.Constraints = NodeConstraints.Default & ~NodeConstraints.Resize;
Please refer to the help documentation below for more details.
Regards,
Shyam G