About Drag range of Node

Hi!
I set a layer on diagram and add a image part set this layer,
now I want restricted Drag range of node in the Interval of image.

Implement Part | GoJS API on your Node template(s).