I used the following snippet, but the area that should be contained is wrong, left side I am able to drag the element out of the container and where as on the right hand side there is left over area but the element isn't going there, I tried to use jquery ui draggable but the problem with that is the connections don't update if the elements are draggable themselves.
I used the following snippet, but the area that should be contained is wrong, left side I am able to drag the element out of the container and where as on the right hand side there is left over area but the element isn't going there, I tried to use jquery ui draggable but the problem with that is the connections don't update if the elements are draggable themselves.
Please help, thanks in advance.