Move the graph while connecting a block

At the moment, when connecting a block to another, if the other block is out of the view, we can't connect it. It would be great to automatically move the graph if we are connecting a block and the mouse is near the edges of the window.