elementView.getBBox([opt])

Return a bounding box for an element view. If opt.useModelGeometry option is set to true, the resulting bounding box will be calculated based on the element model dimensions (so that SVG sub elements sticking out of the element will be excluded). The difference from dia.Element.prototype.getBBox is that in this case, the bounding box will be adjusted based on the joint.dia.Paper translate and scale.