beforeRender - Callback function executed before processing scheduled updates (both asynchronous and synchronous rendering). The callback function is provided with the following arguments:
options object Parameters the current updates were scheduled with.
paper joint.dia.Paper This paper instance.