Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function _getOverlapNodeId(){
let nodeBBox = node.shape.getBBox();
for(let id in addableBoxSet){
let curBBox = addableBoxSet[id];
if(Raphael.isBBoxIntersect(nodeBBox, curBBox)){
return id;
}
}
return null;
}