I was trying to find the source code for this rafael.js example but on the page the link is broken.
Could someone give the simplest source code example that demonstrates how one can use the mouse to drag a circle using rafael.js ? Just like in the linked example ?
You can reference the source itself at http://raphaeljs.com/reference.js, at L133 you find the relevant example...
Removing dependencies and refactoring to make it—in my humble opinion—clearer, you get...
You can find the working example here: http://jsfiddle.net/ke1Ltbft/1/
I personally prefer to refactor the code a bit...