dist/joint.nowrap.js
function(rect, opt) {

        rect = g.rect(rect);
        opt = joint.util.defaults(opt || {}, { strict: false });

        var method = opt.strict ? 'containsRect' : 'intersect';

        return this.getElements().filter(function(el) {
            return rect[method](el.getBBox());
        });
    }
function(rect, opt) {

        rect = g.rect(rect);
        opt = joint.util.defaults(opt || {}, { strict: false });

        var method = opt.strict ? 'containsRect' : 'intersect';

        return this.getElements().filter(function(el) {
            return rect[method](el.getBBox());
        });
    }
function ( rect , opt ) { rect = g . rect ( rect ) ; opt = joint . util . defaults ( opt || { } , { strict : false } ) ; var method = opt . strict ? 'containsRect' : 'intersect' ; return this . getElements ( ) . filter ( function ( el ) { return rect [ method ] ( el . getBBox ( ) ) ; } ) ; }
Find all elements in given area
Find all elements in given area