Grid snapping


Does anyone knows the solution for the following problem:

I have to accomplish a grid snapping over the custom node, so it’s children can snap to a grid lines inside this node.

Is it possible to accomplish this task?

You can implement IGoDragSnapper in your node class.

See the API reference for details, and LimitingSubGraph in NodeLinkDemo for a sample.

Read through and see Walter’s recent comments if your node also supports resizing.

Thanks Jake, I’ll try it on that way.