Konva - an approach to drag-bounds control for a group
One of the features that Konva provides is the dragBoundFunc which lets us confine a shape within a rect. But how to make that work for a group where things can get a bit more tricky? Lets take a look...