Hi Stoyo
I modified your custom node creation from template file to have a following look.

As you see in the image, the node is having two colors. This is done by having two nested grids in the template.
The outer grid is having 3 rows and 3 columns. The inner grid is placed in 2nd row and 2nd column.
To show the anchor points, I overide two function,
AddHandlesToCanvas and UpdateVisuals as discussed in one of my topic posted previously.
The anchor points are adjusted such that they will either add/remove some offset value from top,left and right, bottom values of shape node to show anchor point inside the node.
The offset is having the value for the 1st and last row,column of the outer grid.
Here when I try to resize the shape by picking one of the anchor point, my mouse cursor move to the actual corner of the shape.
I guess, since i can provide my anchor point, when resizing mouse cursor should retain its position.
I want to implement something like shown in following 5 min demo -[ Please click on the demo link on the page]
http://www.bizagi.com/index.php?option=com_content&view=article&id=15&catid=5&It...Regards
Rajesh