paper.setDimensions(width, height)
Change dimensions of a paper. Dimensions should always be passed to the options object of the joint.dia.Paper
constructor. Use setDimensions()
to change dimensions of the paper later on if needed. If the method is called a "resize"
event is triggered on the paper.