Return a bounding box of the element view.
opt.useModelGeometry option is set to
true, the resulting bounding box is calculated based on the dimensions of the element model. (This means that SVG sub elements
sticking out of the element are excluded.) This behavior is similar to the
element.getBBox function – but the
elementView function transforms the bounding box to match
joint.dia.Paper translation and scaling.