paper.findViewsInArea(rect [, opt])
Find views (instance of joint.dia.ElementView
) in a certain area in the paper.
rect
is an object with x
, y
, width
and height
properties.
Return an array of views whose bounding box intersects the rect
rectangle.
If opt.strict
is true
, return an array of views whose bounding box is contained within the rect
rectangle (i.e. not only intersects it).