Thanks a lot Walter.The problem has solved and is working fine.
But i have a new issue now : resizing.
I have used this http://gojs.net/extras/groupResizing.html.
Facing two problem.
- When trying to resizing any other Nodes except group,error is coming.
- When resizing Group,same problem as previous, Node is going out of Shape.