mxGraph.prototype.getSelectionCellsForChanges=function(a,b){for(var c=new mxDictionary,d=[],e=mxUtils.bind(this,function(l){if(!c.get(l)&&this.model.contains(l))if(this.model.isEdge(l)||this.model.isVertex(l))c.put(l,!0),d.push(l);else for(var m=this.model.getChildCount(l),n=0;n<m;n++)e(this.model.getChildAt(l,n))}),f=0;f<a.length;f++){var g=a[f];if(g.constructor!=mxRootChange&&(null==b||!b(g))){var k=null;g instanceof mxChildChange?k=g.child:null!=g.cell&&g.cell instanceof mxCell&&(k=g.cell);null!=