Lines Matching refs:height

4height:k})}function h(a,h,i){b(m,b(e(f(),{rotation:360/d.lines*a+"deg",left:~~h}),b(e(c("roundrect…
25 …Fns:[]},"font-weight":{cssPropBits:0,cssLitGroup:[J[3],J[72]],cssFns:[]},height:"bottom",left:"bot… property in L
215 mxLog.textarea.setAttribute("readOnly","true");mxLog.textarea.style.height="100%";mxLog.textarea.st…
218height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.wi…
228 … mxRectangle(a,b,c,d){mxPoint.call(this,a,b);this.width=null!=c?c:0;this.height=null!=d?d:0}mxRect…
229height=null;mxRectangle.prototype.setRect=function(a,b,c,d){this.x=a;this.y=b;this.width=c;this.he… method in mxRectangle
230height,a.y+a.height);this.x=b;this.y=c;this.width=d-b;this.height=a-c}};mxRectangle.prototype.inte…
231height+=2*a;return this};mxRectangle.prototype.getPoint=function(){return new mxPoint(this.x,this.…
232 mxRectangle.fromRectangle=function(a){return new mxRectangle(a.x,a.y,a.width,a.height)};
234 …h)*n,n=(l.geometry.height-l.previous.height)*n;0==d?(m.x-=p,m.y-=q,m.width-=r,m.height-=n):(m.x+=p…
254 …ax(f,g-d)+"px");c=parseInt(a.offsetTop);d=parseInt(a.offsetHeight);b=e+b.height;c+d>b&&(a.style.to…
262 …oint(a.x+a.width/2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g…
267 …,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.…
268height,b.height=c;d=mxRectangle.fromRectangle(b);f==mxConstants.DIRECTION_SOUTH?(d.y=b.x,d.x=b.hei…
269 d.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d…
270height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;va…
271 …=null!=f?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue…
288 …*d;c=c.height-2*d;d=b.getGraphBounds().clone();b=b.getView().getScale();d.width/=b;d.height/=b;b=d…
289 …h.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.…
291 …);c.position="absolute";c.overflow="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createE…
293 …teElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";var d=docu…
297 …arseInt(b.style.width),e=parseInt(b.style.height);b.style.width=Math.round(c*a.view.scale)+"px";b.…
350 …",this.table.style.width=c+"px");null!=d&&(this.div.style.height=d+"px",this.table.style.height=d+…
351 …td");this.td.className=e+"Pane";7==document.documentMode&&(this.td.style.height="100%");this.conte…
352 …);"DIV"!=this.content.nodeName.toUpperCase()&&(this.contentWrapper.style.height="100%");this.td.ap…
359height,b);this.div.style.width=a+"px";this.div.style.height=b+"px";this.table.style.width=a+"px";t…
361 …ize.style.display=this.maxDisplay,this.div.style.height=this.height,this.table.style.height=this.h…
362 …;this.height=this.table.style.height;var b=this.getMinimumSize();0<b.height&&(this.div.style.heigh…
364 …"none";this.buttons.appendChild(this.minimizeImg);this.minimized=!1;this.height=this.maxDisplay=nu…
367height=d;this.div.style.width=e;k=mxUtils.getCurrentStyle(this.contentWrapper);if("auto"==k.overfl…
368 …t(this.div.style.left);c=parseInt(this.div.style.top);d=this.table.style.height;e=this.table.style…
369height=k-2+"px";this.table.style.width=document.body.clientWidth-2+"px";this.table.style.height=k-…
376 …e||"none"==this.contentWrapper.style.display||(this.contentWrapper.style.height=this.div.offsetHei…
381height=null!=c?c:this.height;this.x=null!=d?d:this.x;this.y=null!=e?e:this.y}mxImage.prototype.src… method in mxImage
382 …);null!=c&&(this.resizeWidth="auto"==c.width,this.resizeHeight="auto"==c.height);mxEvent.addListen…
383 …;this.resizeHeight&&!isNaN(e)&&!isNaN(f)&&0<=e&&0<=f&&0<b-e-f&&(this.div.style.height=b-e-f+"px")};
401 …nt(this.previewElement.style.width),g=parseInt(this.previewElement.style.height),f=new mxRectangle…
453 …e?(c=this.graph.getCellGeometry(c),null!=c&&(b.x+=a.x*c.width,b.y+=a.y*c.height)):(b.x+=a.x,b.y+=a…
560 n=new mxRectangle(n.x,n.y+(p?0:1),n.width,n.height+(p?1:0))}catch(q){}if(null==n||0==n.width||0==n.
562 …ribute("width",Math.ceil(n.width+2)),b.setAttribute("height",Math.ceil(n.height)),m=null!=m.fontBo…
565 …bs(c-B)<t?(b.y=c-a.y,t=Math.abs(c-B),f=!0):Math.abs(c-A)<t&&(b.y=c-a.y-a.height,t=Math.abs(c-A),f=…
567height,z=g.getCenterY(),f=0;f<this.states.length;f++)g=this.states[f],null==g||this.isStateIgnored…
568 …Math.min(a.y+b.y-this.graph.panDy,l.y),e=Math.max(a.y+a.height+b.y-this.graph.panDy,l.y+l.height))…
578 …state.text.isPaintBoundsInverted()&&(c=c.clone(),b=c.width,c.width=c.height,c.height=b);c=this.get…
579 …is.state.text&&this.state.text.isPaintBoundsInverted()&&(b=c.x,c.x=c.height,c.height=c.width,c.wid…
580 ….y)&&!isNaN(this.bounds.width)&&!isNaN(this.bounds.height)&&0<this.bounds.width&&0<this.bounds.hei…
589 ….round(Math.max(0,this.bounds.width+b))+"px";a.style.height=Math.round(Math.max(0,this.bounds.heig…
591 …,f=this.bounds.x/e,g=this.bounds.y/e,k=this.bounds.width/e,l=this.bounds.height/e;if(this.isPaintB…
592 …ntSvgRectangle(n.x,n.y,n.width,n.height),this.node.appendChild(m)):(e=a.createRect("rect",n.x/e,n.…
595 (b=this.getGradientBounds(a,b,c,d,e),a.setGradient(this.fill,this.gradient,b.x,b.y,b.width,b.height
608 …var a=this.node.getBBox();if(0<a.width&&0<a.height){this.boundingBox=new mxRectangle(a.x,a.y,a.wid…
609 ….isShadow&&(a.width+=Math.ceil(mxConstants.SHADOW_OFFSET_X*this.scale),a.height+=Math.ceil(mxConst…
618 …CTION,null),k=this.computeAspect(b.style,c,d,e,f,k),l=Math.min(k.width,k.height),l="inherit"==this…
621 …rawNode=function(a,b,c,d,e,f){var g=c.nodeName,k=d.x,l=d.y,m=d.width,n=d.height,p=Math.min(m,n);if…
643 …Math.min(a.width/5/this.scale,a.height/5/this.scale)))*this.scale;return new mxRectangle(a.x+b,a.y…
662 …x)&&!isNaN(this.bounds.y)&&!isNaN(this.bounds.width)&&!isNaN(this.bounds.height)};mxText.prototype…
663 …,d=this.bounds.x/c,e=this.bounds.y/c,f=this.bounds.width/c,c=this.bounds.height/c;this.updateTrans…
675 …oundingBox=null:this.boundingBox=0==e.width&&0==e.height?null:new mxRectangle(e.x,e.y,e.width,e.he…
678height,this.boundingBox.width,this.boundingBox.height),b,new mxPoint(0,0)),this.unrotatedBoundingB…
679 this.margin.y*this.boundingBox.height,this.unrotatedBoundingBox=null))};mxText.prototype.getShapeRo…
684 …e{var a=this.node.style;a.whiteSpace="normal";a.overflow="";a.width="";a.height="";this.updateValu…
685 …round(this.bounds.width/this.scale)),b=Math.max(0,Math.round(this.bounds.height/this.scale)),c="po…
692 …te.view.textDiv:null,k=this.node;if(null!=g){g.style.overflow="";g.style.height="";g.style.width="…
693 …fsetHeight);e=k.offsetWidth+this.textWidthPadding;this.clipped&&(f=Math.min(f,this.bounds.height));
694 l=this.bounds.width/d;g=this.bounds.height/d;"fill"==this.overflow?(f=g,e=l):"width"==this.overflow…
701 ….height/this.scale)),e=a.style;this.clipped?(e.overflow="hidden",e.maxHeight=d+"px",e.maxWidth=c+"…
711 …,Math.round(this.bounds.width))+"px";this.node.style.height=Math.max(0,Math.round(this.bounds.heig…
713 …e,"transform","");a.style.width=this.node.style.width;a.style.height=this.node.style.height;this.n…
716 …l!=this.image&&(b=this.getImageBounds(b,c,d,e),a.image(b.x,b.y,b.width,b.height,this.image,!1,!1,!…
718 …atorImage&&(b=this.getIndicatorBounds(b,c,d,e),a.image(b.x,b.y,b.width,b.height,this.indicatorImag…
721 …getImageBounds(this.bounds.x,this.bounds.y,this.bounds.width,this.bounds.height);b.x-=this.bounds.…
722 Math.round(b.width)+"px";a.style.height=Math.round(b.height)+"px";a.src=this.image;this.node.append…
731 …unction(a){var b=this.getTitleSize();a=new mxRectangle(a.x,a.y,a.width,a.height);var c=this.isHori…
732 …f(d||e)a.x+=a.width-b;a.width=b}else{b=Math.min(a.height,b*this.scale);if(d||e)a.y+=a.height-b;a.h…
735 …his.image&&(e=this.getImageBounds(b,c,d,e),a.image(e.x-b,e.y-c,e.width,e.height,this.image,!1,!1,!…
748height);if(this.useBoundingBox){var g=this.graph.getView().getState(a);if(null!=g&&null!=g.text&&n…
750 …g,b.width+f+Math.max(e.x+e.width-(c.x+c.width),0)/d,b.height+g+Math.max(e.y+e.height-(c.y+c.height
751 …ntOffset(a),b.x+=a.x,b.y+=a.y));return new mxRectangle(b.x,b.y,b.width,b.height)};mxGraphLayout.pr…
755 …ldAt(e,b);if(l!=a&&(l=d.getGeometry(l),null!=l)){l=f?l.x+l.width/2:l.y+l.height/2;if(g<=c&&l>c)bre…
759 …(a),c=this.isHorizontal(),d=this.graph.getModel(),e=null;null!=b&&(e=c?b.height-this.marginTop-thi…
760height):Math.min(l,b.width));c==k&&(e-=l);k?g+=l:f+=l}d.beginUpdate();try{for(var l=0,k=null,m=0,n…
762height=e:t.width=e);c?t.width=this.snap(t.width):t.height=this.snap(t.height);this.setChildGeometr…
763 …getCellGeometry(a);null!=c&&b.x==c.x&&b.y==c.y&&b.width==c.width&&b.height==c.height||this.graph.g…
764 …+c.height+this.marginBottom+this.border,f.height=this.resizeParentMax?Math.max(f.height,c):c);b.x=…
768height:d.width,n=n-2*this.border;a=this.graph.isSwimlane(a)?this.graph.getStartSize(a):new mxRecta…
778height)this.maxRankHeight[b]=a.height;for(var c=a.child;null!=c;)this.findRankHeights(c,b+1),c=c.n…
783height;a.child.offsetY=e;a.contour.upperHead=this.createLine(a.height,0,this.createLine(c,e,a.cont…
784 …(a.height+b,0);a.contour.upperHead=a.contour.upperTail;a.contour.lowerTail=this.createLine(0,-a.wi…
788 …idth=0;b.height=0;a=this.getVertexBounds(a);null!=a&&(this.isHorizontal()?(b.width=a.height,b.heig…
789 …y,e.width,e.height):new mxRectangle(Math.min(b.x,e.x),Math.min(b.y,e.y),Math.max(b.x+b.width,e.x+e…
793 …idth+f,n.push(new mxPoint(p,q)),q=m.y+m.height/2):(p=g.x+b,q=g.y+g.height,n.push(new mxPoint(p,q))…
796 …getVertexBounds(this.root);this.centerX=d.x+d.width/2;this.centerY=d.y+d.height/2;for(var e in thi…
798 …,this.centerX-f.width/2+this.rowRadi[c]*Math.cos(d.theta),this.centerY-f.height/2+this.rowRadi[c]*…
804 …ity.get(g);this.indices[k]=d;var l=this.getVertexBounds(g),m=l.width,n=l.height,p=l.x,q=l.y;this.c…
806 …,null!=l&&(this.cellLocation[d][0]-=l.width/2,this.cellLocation[d][1]-=l.height/2,p=this.graph.sna…
813 …min(d,m.y),e=null==e?m.x:Math.min(e,m.x),c=Math.max(c,Math.max(m.width,m.height))}}var n=this.getR…
818height/2,f=0;f<a.length;f++)this.route(a[f],b,c),b+=this.spacing;else if(null!=e&&null!=d){var b=e…
823 …=a.text.boundingBox;if(mxUtils.intersects(d,b)){var e=-d.y-d.height+b.y,f=-d.y+b.y+b.height,e=Math…
824 …ctHierarchyCell.prototype.width=0;mxGraphAbstractHierarchyCell.prototype.height=0;mxGraphAbstractH… method in mxGraphAbstractHierarchyCell
887 …tation==mxConstants.DIRECTION_SOUTH?(f.width=g.width,f.height=g.height):(f.width=g.height,f.height
889 …s.DIRECTION_SOUTH?(n.width=p.width,n.height=p.height):(n.width=p.height,n.height=p.width):l=!0;f=M…
905 …-a.height/2;this.rankTopY[a.minRank]=Math.min(this.rankTopY[a.minRank],d);this.rankBottomY[a.minRa…
930 …tStartSize(f):new mxRectangle,f=this.graph.getBoundingBoxFromGeometry(g);b[e]=f;d=f.y+c.y-d.height-
931 …his.parentBorder;c=f.y+c.y+f.height;null==a?a=new mxRectangle(0,d,0,c-d):(a.y=Math.min(a.y,d),a.he…
932 2;k.height=a.height+d.height+2*this.parentBorder;this.graph.model.setGeometry(f,k);this.graph.moveC…
993 …his.height);this.x=this.alternateBounds.x;this.y=this.alternateBounds.y;this.width=this.alternateB…
994 …(e,d,c,b);this.x=Math.round(e.x-this.width/2);this.y=Math.round(e.y-this.height/2)}null!=this.sour…
999 …c&&(b=a=Math.min(a,b)),this.width=parseFloat(this.width)*a,this.height=parseFloat(this.height)*b)};
1003 …2(c.y-e,c.x-b),g=new mxPoint(0,0),k=Math.PI,l=Math.PI/2-f,m=Math.atan2(a.height,a.width);f<-k+m||f…
1004height*Math.tan(l)/2):f<m?(g.x=a.x+a.width,g.y=e+a.width*Math.tan(f)/2):(g.y=a.y+a.height,g.x=b+a.
1005 m+k*p/Math.abs(p));if(0==n&&0==p)return new mxPoint(b,c);if(d){if(c>=f&&c<=f+a.height)return a=c-m,…
1006 m);return new mxPoint(b,c)},RhombusPerimeter:function(a,b,c,d){b=a.x;var e=a.y,f=a.width;a=a.height
1007 …IRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH,f=a.x,g=a.y,k=a.width,l=a.height;a=f+k/2;var m=g+l/…
1009 …turn c},HexagonPerimeter:function(a,b,c,d){var e=a.x,f=a.y,g=a.width,k=a.height,l=a.getCenterX();a…
1024 …his.scale,m.width+=m.x,m.height+=m.y,m.x=0,this.border=m.y=0);var r=this.pageFormat.width-2*this.b…
1025 …mat.height+=this.marginTop+this.marginBottom;m.width/=p;m.height/=p;var u=Math.max(1,Math.ceil((m.…
1027 …pageFormat.height);if(null!=A)for(var z=0;z<A.length;z++)B(A[z],!0);for(var C=this.getAppendices(t…
1028 …ctangle(D,v,r,t),f=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(t…
1035height=b+"px";g.style.pageBreakInside="avoid";var l=document.createElement("div");l.style.position…
1036height="100%");l.appendChild(m);g.appendChild(l);document.body.appendChild(g);k=m}else g.style.wid…
1040height*a/p);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=x.get(a.cell);if(null…
1041 …this.marginTop+"px",g.canvas.style.width=f.width+"px",g.canvas.style.height=f.height+"px";else for…
1042 ….setAttribute("width",f.width),c.setAttribute("height",f.height),c.style.width="",c.style.height="…
1044 …th",Math.round(d.width*this.scale));e.setAttribute("height",Math.round(d.height*this.scale));e.src…
1052height);if(null!=this.shape&&null!=this.shape.stencil&&"fixed"==this.shape.stencil.aspect){var c=t…
1056 …s.cellBounds=new mxRectangle(this.x/b-a.x,this.y/b-a.y,this.width/b,this.height/b);this.paintBound…
1057 …s;this.length=a.length;this.x=a.x;this.y=a.y;this.width=a.width;this.height=a.height;this.unscaled…
1059 this.length;a.x=this.x;a.y=this.y;a.width=this.width;a.height=this.height;a.unscaledWidth=this.unsc…
1081 …angle(b.x+n,b.y+k,b.width-(f==mxConstants.ALIGN_CENTER&&null==e?n+l:0),b.height-(g==mxConstants.AL…
1082 a.absoluteOffset.y,b.width,b.height)}if(this.graph.isWrapping(a.cell)&&(2<=this.bounds.width||2<=th…
1083height+"px";this.textarea.style.width=e+"px"}else this.textarea.style.maxWidth=e+"px";else this.te…
1084height-(e+.5)*c)+e*(c-1)*0+1*Math.abs(d.y+.5))/c))+"px",this.textarea.style.width=Math.round(a*c)+…
1085 …=Math.round(this.bounds.width/c)+"px",this.textarea.style.height=Math.round(this.bounds.height/c)+…
1086 (2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText()?(t…
1099 …ell),c=this.graph.getView().scale,d=this.getMinimumSize(a),e=d.width,d=d.height;if(!b&&a.view.grap…
1100 …Left)*c+f,c=new mxRectangle(a.x,a.y,Math.max(e,a.width-f-k),Math.max(d,a.height-g-l)),k=mxUtils.ge…
1102height=Math.max(d,a.text.boundingBox.height)):(c.width=Math.max(c.width,a.text.boundingBox.width),…
1103 …ts.ALIGN_BOTTOM&&(c.y+=a.height))}return new mxRectangle(Math.round(c.x),Math.round(c.y),Math.roun…
1124 …nabled&&null!=c){if(null==a.control){var d=new mxRectangle(0,0,c.width,c.height);a.control=new mxI…
1137height=Math.max(0,b.height*c))}else a.text.isPaintBoundsInverted()&&(b=e.x,e.x=e.y,e.y=b),e.x+=a.x…
1138 a.height)/2,e.x+=b,e.y-=b,b=e.width,e.width=e.height,e.height=b);null!=a.shape&&(b=mxUtils.getValue…
1139 mxCellRenderer.prototype.rotateLabelBounds=function(a,b){b.y-=a.text.margin.y*b.height;b.x-=a.text.…
1140 …NTER&&null==f?a.text.spacingLeft*c+a.text.spacingRight*c:0));b.height=Math.max(0,b.height-(e==mxCo…
1143 Math.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!…
1144 …(a);if(null!=a.control&&null!=c){var c=this.getControlBounds(a,c.width,c.height),d=this.legacyCont…
1145 …YLE_ROTATION,0);else if(a.shape.isPaintBoundsInverted())var k=(a.width-a.height)/2,e=e+k,f=f-k;0!=…
1152 …l):(a.shape.points=null,a.shape.bounds=new mxRectangle(a.x,a.y,a.width,a.height)),a.shape.scale=a.…
1159 …nstants.DIRECTION_NORTH?l=b.y-2*k:a==mxConstants.DIRECTION_SOUTH?l=b.y+b.height+2*k:d=a==mxConstan…
1160height,c.y+c.height),f=a.view.transformControlPoint(a,f),g=f.y<k||f.y>n,k=f.x<l||f.x>m;else l=Math…
1161 …=f.getRoutingCenterY(c),null!=d&&(d.y>=b.y&&d.y<=b.y+b.height&&(k=d.y),d.y>=c.y&&d.y<=c.y+c.height
1162 …,d.y)):(f=Math.max(b.y,c.y),e.push(new mxPoint(a,f+(Math.min(b.y+b.height,c.y+c.height)-f)/2)))))}…
1163 c.x=g.x,c.y=g.y);null!=b&&null!=c&&(k=Math.max(b.y,c.y),g=Math.min(b.y+b.height,c.y+c.height),a=f.g…
1165 …or(q=0;2>q;q++){var y=null!=u&&u.x==x.x,B=null!=u&&u.y==x.y,A=null!=t&&x.y>=t.y&&x.y<=t.y+t.height,
1166 …))}l&&(null!=f[0]&&f[0].y!=d.y||null==f[0]&&null!=b&&(d.y<b.y||d.y>b.y+b.height))?c.push(new mxPoi…
1167 …&&(l&&(null!=f[n]&&f[n].y!=d.y||null==f[n]&&null!=g&&(d.y<g.y||d.y>g.y+g.height))?c.push(new mxPoi…
1173height/b*10)/10)):c=null;return c},OrthConnector:function(a,b,c,d,e){var f=a.view.graph,g=null==l?…
1174 p.y,B=null!=m?m.width:0,A=null!=m?m.height:0,f=mxEdgeStyle.getJettySize(a,!0),z=mxEdgeStyle.getJett…
1175height));null!=m&&(c[1]=mxUtils.getPortConstraints(m,a,!1,mxConstants.DIRECTION_MASK_ALL),b=mxUtil…
1196 …ceholder.style.width=this.canvas.clientWidth+"px",this.placeholder.style.height=this.canvas.client…
1206 …urn new mxRectangle(this.scale*this.translate.x,this.scale*this.translate.y,a.width*b,a.height*b)};
1207 …is.translate.y+b.y);a.bounds.width=this.scale*b.width;a.bounds.height=this.scale*b.height;a.redraw…
1212 …is.scale*(this.translate.y+a.origin.y),a.width=this.scale*e.width,a.unscaledWidth=e.width,a.height=
1213 this.scale*e.height,a.unscaledHeight=e.height,b.isVertex(a.cell)&&this.updateVertexState(a,e),b.isE…
1214 …enterY()),d=mxUtils.getRotatedPoint(f,c,e,d);a.x=d.x-a.width/2;a.y=d.y-a.height/2}}this.updateVert…
1218 …mxConstants.ALIGN_TOP?a.absoluteOffset.y-=a.height:b==mxConstants.ALIGN_BOTTOM&&(a.absoluteOffset.…
1222 …uteAspect(a.style,a.x,a.y,a.width,a.height);a.setRect(c.x,c.y,a.shape.stencil.w0*c.width,a.shape.s…
1223 …;f(a,c,d,b,e);null!=g&&c.setRect(g.x,g.y,g.width,g.height);null!=k&&d.setRect(k.x,k.y,k.width,k.he…
1230 …n(a);if(null!=f&&null!=b&&(d=this.getPerimeterBounds(a,d),0<d.width||0<d.height)){var e=new mxPoin…
1232 …tyle[mxConstants.STYLE_ROUTING_CENTER_Y])||0:0;return a.getCenterY()+b*a.height};mxGraphView.proto…
1235 …max(f.x,l),m=Math.max(f.y,m))}a.length=d;a.segments=g;a.x=c;a.y=k;a.width=Math.max(1,l-c);a.height=
1253 …width=this.graph.container.offsetWidth<a?a+"px":"100%";this.canvas.style.height=c<b?b+"px":"100%"}…
1254 …="absolute",c.style.left="0px",c.style.top="0px",c.style.width=a,c.style.height=b):c.style.positio…
1256 …"svg");b.style.left="0px";b.style.top="0px";b.style.width="100%";b.style.height="100%";b.style.dis…
1298 ….max(e.clientHeight,e.scrollHeight)+d-f,a=this.view.getCanvas()),a.style.height=b+"px",e.scrollTop…
1300height*e));return new mxRectangle(0,0,(this.pageBreaksVisible?Math.ceil(b/d.width):1)*d.width+2+a.…
1301height-1;g=this.view.getGraphBounds();if(0<g.width&&0<g.height){b&&null!=g.x&&null!=g.y&&(g=g.clon…
1302 (n=Math.max(n,this.backgroundImage.width-g.x/k),p=Math.max(p,this.backgroundImage.height-g.y/k));va…
1304 …,a.y)+a.height+2*b;null!=this.minimumContainerSize&&(c=Math.max(c,this.minimumContainerSize.width)…
1305height*this.view.scale)}null!=this.minimumGraphSize&&(c=Math.max(c,this.minimumGraphSize.width*thi…
1306 …Math.min(this.maximumContainerSize.height,b));this.container.style.width=Math.ceil(a)+"px";this.co…
1307height*e),d=mxRectangle.fromRectangle(this.getGraphBounds());d.width=Math.max(1,d.width);d.height=…
1308height)>this.minPageBreakDist)?Math.ceil(d.height/f.height)+1:0,k=a?Math.ceil(d.width/f.width)+1:0…
1309 l),Math.round(f.y+c*f.height))]:[new mxPoint(Math.round(f.x+c*f.width),Math.round(f.y)),new mxPoint…
1315 …else if(a==mxConstants.ALIGN_TOP)c=e.y+f.y;else if(a==mxConstants.ALIGN_MIDDLE){c=e.y+f.y+f.height/
1316height:e.x+f.x;else c=a==mxConstants.ALIGN_RIGHT?Math.max(c,e.x+f.x+f.width):a==mxConstants.ALIGN_…
1317 ….y=c-e.y:a==mxConstants.ALIGN_MIDDLE?f.y=c-e.y-f.height/2:a==mxConstants.ALIGN_BOTTOM?f.y=c-e.y-f.
1324 …tartSize(a),b.x-=a.width,b.y-=a.height,b.width+=a.width,b.height+=a.height),null!=c&&(b.x-=c,b.y-=…
1328 …){var n=this.getBoundingBoxFromGeometry(m,!0);if(null!=n&&0<n.width&&0<n.height){var p=this.isSwim…
1329 …));l.width=Math.round(n.width+2*b+p.x+g+e+p.width);l.height=Math.round(n.height+2*b+p.y+d+f+p.heig…
1349 …onstants.STYLE_STARTSIZE),0<a&&(d.height=Math.max(d.height,a))));b.alternateBounds=new mxRectangle…
1352 …NTAL,!0)?(g=mxUtils.setStyle(g,mxConstants.STYLE_STARTSIZE,c.height+8),e&&(d.height=c.height+8),d.…
1353height=c.height);this.model.setStyle(a,g)}else{var k=this.view.createState(a),l=k.style[mxConstant…
1354height-c.height)/2));d.width=c.width;d.height=c.height}if(!b&&!e){var n=this.view.getBounds(this.m…
1357 …ants.STYLE_FONTFAMILY],b,e[mxConstants.STYLE_FONTSTYLE]),d=f.width+g,c=f.height+c,mxUtils.getValue…
1360 ….height!=b.height)){var f=e.clone();!c&&f.relative?(c=f.offset,null!=c&&(c.x+=b.x-f.x,c.y+=b.y-f.y…
1361 …this.model.getGeometry(a),d=0!=c.width?b.width/c.width:1,c=0!=c.height?b.height/c.height:1,e=this.…
1362height;e.scale(b,c,"fixed"==f[mxConstants.STYLE_ASPECT]);"1"==f[mxConstants.STYLE_RESIZE_WIDTH]?e.…
1363height=m);this.model.isVertex(a)?this.cellResized(a,e,!0,d):this.model.setGeometry(a,e)}};mxGraph.…
1371 …t()){var c=this.model.getGeometry(b);if(null!=c){var d=a=0,e=c.width,c=c.height;if(this.isSwimlane…
1372height;f.height=l}if(b==mxConstants.DIRECTION_EAST&&!g||b==mxConstants.DIRECTION_NORTH&&!k||b==mxC…
1374height*f,d.width+=2*d.width*f,d.height+=2*d.height*f);null==e?e=d:(e=mxRectangle.fromRectangle(e),…
1375 e.y+e.height&&(g-=d.y+d.height-e.y-e.height-g);d.x<e.x&&(f-=d.x-e.x);d.y<e.y&&(g-=d.y-e.y);if(0!=f|…
1378 …ants.DIRECTION_SOUTH){c.x+=c.width/2-c.height/2;c.y+=c.height/2-c.width/2;var e=c.width;c.width=c.
1379 …Constants.DIRECTION_SOUTH)e=m,m=n,n=e;m&&(f=-1,k=-c.width);n&&(g=-1,l=-c.height)}a=new mxPoint((a.…
1380 (a.x-c.x)/c.width)/1E3,0==c.height?0:Math.round(1E3*(a.y-c.y)/c.height)/1E3),!1)}return null};mxGra…
1387 var d=this.view.scale,d=new mxPoint(e.x+b.point.x*e.width+b.dx*d,e.y+b.point.y*e.height+b.dy*d),l=a…
1398 …omGeometry([k],!1),null!=g&&(f=new mxRectangle(e.x*g.width,e.y*g.height,e.width,e.height),0<=mxUti…
1406 …Bounds(),l=this.view.translate,m=this.view.scale,n=a?g-k.width:0,p=b?f-k.height:0;e?(k.x-=l.x,k.y-…
1408 …electionVisibleOnZoom&&null!=d)d=new mxRectangle(d.x*a,d.y*a,d.width*a,d.height*a),this.view.scale…
1411height);a.x=Math.max(0,a.x);a.y=Math.max(0,a.y);var c=Math.min(this.container.scrollWidth,a.x+a.wi…
1413height),b&&null!=this.container&&(d=this.container.clientWidth,e=this.container.clientHeight,c.x=c…
1415 …Width,d=this.container.offsetHeight,e=Math.min(c,a.width),f=Math.min(d,a.height);if(mxUtils.hasScr…
1431 …EFAULT_STARTSIZE));mxUtils.getValue(d,mxConstants.STYLE_HORIZONTAL,!0)?c.height=e:c.width=e;return…
1433 …y=e:d==mxConstants.DIRECTION_WEST?c.x=e:d==mxConstants.DIRECTION_SOUTH?c.height=e:c.width=e}return…
1466 …w().getScale();b-=d.x;c-=d.y;if(0<a.width&&0<b&&b>a.width*e||0<a.height&&0<c&&c>a.height*e)return!…
1474 m.isEdge(t)&&mxUtils.intersects(g,u)||null==g&&(m.isEdge(t)||m.isVertex(t))&&u.x>=a&&u.y+u.height<=…
1478 …ototype.selectRegion=function(a,b){var c=this.getCells(a.x,a.y,a.width,a.height);this.selectCellsF…
1505 …getModel().isEdge(a.cell),c=a.view.scale,d=this.image.width,e=this.image.height;if(b)if(b=a.absolu…
1506 a.y+a.height/2:a.y+a.height;return new mxRectangle(Math.round(b.x-(d*this.defaultOverlap-this.offse…
1511 …olute";a.style.left="0px";a.style.top="0px";a.style.width="100%";a.style.height="100%";a.style.dis…
1512 …);e=Math.max(p.width/l,p.height/n);if(mxEvent.getSource(f)!=this.viewport)if(this.isScrolling()){v…
1516 ….round(a.x)+" "+Math.round(a.y)+" "+Math.round(a.width)+" "+Math.round(a.height));a=this.source.ba…
1520 …",a.y);this.viewport.setAttribute("width",a.width);this.viewport.setAttribute("height",a.height)}};
1545 …e&&(b=null!=c?this.isCellHorizontal(c):this.horizontal,this.resizeSwimlane(a,e.width,e.height,b))};
1546height),f=a[c],g=f;null!=g;){var f=g,g=b.getParent(g),k=this.graph.isSwimlane(g)?this.graph.getSta…
1547 e.height,l)}}}finally{b.endUpdate()}}};
1548height!=c||!d&&g.width!=b)&&(g=g.clone(),d?g.height=c:g.width=b,e.setGeometry(a,g))}var k=this.gra…
1575height=Math.max(0,a.height-1),a.width<this.minimumSize?(a.x-=(this.minimumSize-a.width)/2,a.width=…
1589 …ath.round(this.pBounds.y+this.currentDy),this.pBounds.width,this.pBounds.height),this.shape.redraw…
1654 …l!=b&&null!=a){this.iconState=a;var c=[],d=new mxRectangle(0,0,b.width,b.height),e=new mxImageShap…
1657 …s.graph.getStartSize(b.cell),d=0!=f.width?b.x+f.width*c/2:d,e=0!=f.height?b.y+f.height*c/2:e,f=mxU…
1658 a.bounds.width/2,e-a.bounds.height/2)};mxConnectionHandler.prototype.destroyIcons=function(){if(nul…
1673 …tedIcon){var g=this.selectedIcon.bounds.width,k=this.selectedIcon.bounds.height;null!=this.current…
1698 …y);c.x=Math.round(g.x-c.width/2-this.graph.panDx/f);c.y=Math.round(g.y-c.height/2-this.graph.panDy…
1711 …ons[m].bounds.clone();n.grow(mxConstants.HIGHLIGHT_SIZE+1);--n.width;--n.height;if(null==this.focu…
1713height);for(var b=0;b<this.constraints.length;b++){var c=this.graph.getConnectionPoint(a,this.cons…
1715 …s.currentFocus=b;this.currentFocusArea=new mxRectangle(b.x,b.y,b.width,b.height);if(null!=this.foc…
1716 …c,e=new mxRectangle(Math.round(d.x-e.width/2),Math.round(d.y-e.height/2),e.width,e.height),f=new m…
1727 ….execute=function(a){var b=new mxRectangle(this.x,this.y,this.width,this.height);this.graph.select…
1730height=Math.max(this.first.y,b)-this.y;this.div.style.left=this.x+0+"px";this.div.style.top=this.y…
1733 …s.shape.bounds&&(c.x-=this.shape.bounds.width/b/4,c.y-=this.shape.bounds.height/b/4);var b=-mxUtil…
1735 …s.shape=new mxImageShape(new mxRectangle(0,0,this.image.width,this.image.height),this.image.src),t…
1737 …ds.width/2);this.shape.bounds.y=Math.floor((a.y+c.y)*b-this.shape.bounds.height/2);this.shape.redr…
1739 …hape.flipH&&(a.x=2*b.x+b.width-a.x);this.state.shape.flipV&&(a.y=2*b.y+b.height-a.y)}return a};mxH…
1744 …x,this.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height);this.selectionBor…
1746 [];if(a||this.graph.isLabelMovable(this.state.cell)&&2<=this.state.width&&2<=this.state.height){var…
1747 …aph.isCellMovable(this.state.cell)&&!a&&2>this.state.width&&2>this.state.height&&(this.labelShape=…
1751 …inBounds.x/=a;this.minBounds.y/=a;this.minBounds.width/=a;this.minBounds.height/=a;this.x0=this.st…
1752 …ctangle(Math.round(a.x),Math.round(a.y),Math.round(a.width),Math.round(a.height))};mxVertexHandler…
1754 ….text&&this.state.text.node.parentNode==this.graph.container?(--d.bounds.height,--d.bounds.width,d…
1756 …Image?(a=new mxRectangle(a.x,a.y,this.handleImage.width,this.handleImage.height),a=new mxImageShap…
1757 …bounds.x=Math.floor(b-a.bounds.width/2),a.bounds.y=Math.floor(c-a.bounds.height/2),null!=a.node&&"…
1772 …raphY()),c=this.state.x+this.state.width/2-b.x,d=this.state.y+this.state.height/2-b.y;this.current…
1775 …s.state.cell),0<l&&(d=mxRectangle.fromRectangle(d),d.x-=d.width*l,d.y-=d.height*l,d.width+=2*d.wid…
1776height+=2*d.height*l),null==k?k=d:(k=mxRectangle.fromRectangle(k),k.intersect(d)))),null!=k&&(this…
1777height&&(this.unscaledBounds.height-=this.unscaledBounds.y+this.unscaledBounds.height-k.y-k.height
1778 …gth(this.unscaledBounds.width);this.unscaledBounds.height=this.roundLength(this.unscaledBounds.hei…
1780 …is.state.y/b-c.y);this.state.width=this.bounds.width;this.state.height=this.bounds.height;b=this.s…
1787 …c);null==f||d.isEdge(c)||(e=e.clone(),e.rotate(b,new mxPoint(f.width/2,f.height/2)),d.setGeometry(…
1791 this.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height),this.drawPreview());…
1794height+c,e&&(d=this.graph.snap(d/f)*f,g=this.graph.snap(g/f)*f),f=new mxRectangle(a.x,a.y,0,0),f.a…
1795 …;k&&(k=this.graph.getCellGeometry(this.state.cell),null!=k&&(k=k.width/k.height,1==d||2==d||7==d||…
1796height=Math.max(d.height,this.minBounds.y*f+this.minBounds.height*f+Math.max(0,this.y0*f-d.y)));re…
1797 …+2*b||this.bounds.height<2*this.sizers[0].bounds.height+2*b)&&(b/=2,a.x=this.sizers[0].bounds.widt…
1799height),a.x-=this.horizontalOffset/2,a.width+=this.horizontalOffset,a.y-=this.verticalOffset/2,a.h…
1800 …))}b=a.x+a.width;c=a.y+a.height;if(this.singleSizer)this.moveSizerTo(this.sizers[0],b,c);else{var …
1804 this.state.width&&2<=this.state.height?this.moveSizerTo(this.sizers[0],d+this.state.absoluteOffset.…
1807 …ntHighlight.bounds,null==c||a.x==c.x&&a.y==c.y&&a.width==c.width&&a.height==c.height||(this.parent…
1809 …ax(0,this.preview.bounds.width-1),this.preview.bounds.height=Math.max(0,this.preview.bounds.height
1830 …mxImageShape(new mxRectangle(0,0,this.handleImage.width,this.handleImage.height),this.handleImage.…
1831 …pe(new mxRectangle(0,0,this.labelHandleImage.width,this.labelHandleImage.height),this.labelHandleI…
1878 …e(Math.round(this.label.x-b.width/2),Math.round(this.label.y-b.height/2),b.width,b.height);b=this.…
1879height/2),b.width,b.height);this.bends[0].fill=this.getHandleFillColor(0);this.bends[0].redraw();t…
1880 …oor(c.x+(d.x-c.x)/2-b.bounds.width/2),Math.floor(c.y+(d.y-c.y)/2-b.bounds.height/2),b.bounds.width,
1881 b.bounds.height),b.redraw(),mxUtils.setOpacity(b.node,this.virtualBendOpacity),c=d,this.manageLabel…
1884 ….bounds=new mxRectangle(Math.round(d-f.width/2),Math.round(e-f.height/2),f.width,f.height);this.ma…
1885 …ounds;mxUtils.intersects(a,b)&&(a.getCenterY()<b.getCenterY()?b.y=a.y+a.height:b.y=a.y-b.height)}};
1886 …e(Math.round(this.label.x-a.width/2),Math.round(this.label.y-a.height/2),a.width,a.height);this.la…
1899 d=d.height;c=new mxRectangle(Math.round(e.x-c/2),Math.round(e.y-d/2),c,d);this.manageLabelHandle?th…
1912 …nds=new mxRectangle(Math.floor(f.x-g.width/2),Math.floor(f.y-g.height/2),g.width,g.height);this.be…
1933 …ing,this.state.y-this.spacing,this.state.width+2*this.spacing,this.state.height+2*this.spacing),th…
1970 …ribute("width",Math.round(p.width)),n.setAttribute("height",Math.round(p.height)));n.setAttribute(…
1971 …ribute("width",Math.round(f.width)),n.setAttribute("height",Math.round(f.height));p=f.absoluteOffs…
1992 0;d<mxJSColor.images.sld[1];d+=4){var k=document.createElement("div");k.style.height="4px";k.style.…
1994 …unction(a){B=!0;n(a);p()};d=e(r);l.box.style.width=d[0]+"px";l.box.style.height=d[1]+"px";l.boxB.s…
1995 …ckerFaceColor;l.pad.style.width=mxJSColor.images.pad[0]+"px";l.pad.style.height=mxJSColor.images.p…
1996height=l.box.style.height;l.padM.style.cursor="crosshair";l.sld.style.overflow="hidden";l.sld.styl…
1997 ….images.arrow[0]+r.pickerFace+2*r.pickerInset+"px";l.sldM.style.height=l.box.style.height;try{l.sl…
1998 ….style.bottom=r.pickerFace+"px";l.btn.style.padding="0 15px";l.btn.style.height="18px";l.btn.style…
1999 l.btnS.style.lineHeight=l.btn.style.height;switch(t){case 0:var q="hs.png";break;case 1:q="hv.png"}…
2061 b.setAttribute("pageHeight",this.graph.pageFormat.height);null!=this.graph.background&&b.setAttribu…
2066 …rt);null==b.embedViewport&&null!=window.innerHeight&&(y.height=window.innerHeight);var x=y.height,…
2067height=x+"px",this.bg.style.right="0px",this.bg.style.zIndex=this.zIndex-2,mxUtils.setOpacity(this…
2068 …g");g=this.getPosition(D,I,e,k);D=g.x;I=g.y;B.style.width=e+"px";B.style.height=k+"px";B.style.lef…
2070height;this.bg.style.height=x+"px";Editor.inlineFullscreen||null==b.embedViewport||(this.bg.style.
2079 …h=Math.ceil(g.width*c);g.height=Math.ceil(g.height*c);k*=c;!f&&e.pageVisible?(c=e.getPageLayout(),…
2080 …graph,k,g,p=document.createElement("table");p.style.width="100%";p.style.height="100%";var t=docum…
2089 "100%";t.style.height="100%";var d=document.createElement("tbody");g=document.createElement("tr");p…
2090 …xt");var l=document.createElement("button");l.style.width="22px";l.style.height="22px";l.style.cur…
2092 …="4px";u.style.marginRight="14px";u.style.maxWidth="100px";u.style.cursor="pointer";u.style.height=
2094 …ll);k.pageFormat.width==d.previousFormat.width&&k.pageFormat.height==d.previousFormat.height&&d.ig…
2096height&&(e=mxRectangle.fromRectangle(e),e.height=827):"a5"==l.key&&(584==e.width?(e=mxRectangle.fr…
2097height==l.format.height?(d.value=l.key,p.setAttribute("checked","checked"),p.defaultChecked=!0,p.c…
2099 document.createElement("div");f.style.marginLeft="4px";f.style.width="210px";f.style.height="24px";…
2100 "4px";q.style.width="210px";q.style.height="24px";var m=document.createElement("input");m.setAttrib…
2101height/100,q.style.display="none",f.style.display=""):(f.style.display="none",q.style.display="");…
2102 …!=d.value&&t.checked&&(l=new mxRectangle(0,0,l.height,l.width));c&&I||l.width==B.width&&l.height==…
2114 …px 0 0 4px";k.style.verticalAlign="top";k.style.cursor="pointer";k.style.height="16px";k.style.wid…
2127 …h;f=u.height;var v=new mxRectangle(c*e.x,c*e.y,g.width*k,g.height*k),t=(b=b&&Math.min(v.width,v.he…
2128 Math.round(u.y+(f+1)*v.height)),new mxPoint(Math.round(p),Math.round(u.y+(f+1)*v.height))]:[new mxP…
2130 …his.getGraphBounds(),d=0<b.width?b.x/this.scale-this.translate.x:0,f=0<b.height?b.y/this.scale-thi…
2131height*e,e=Math.floor(Math.min(0,d)/g),k=Math.floor(Math.min(0,f)/c);return new mxRectangle(this.s…
2134 …omRectangle(d);d.add(new mxRectangle((f.x+b.x)*c,(f.y+b.y)*c,b.width*c,b.height*c))}return d};k.us…
2172height+6):g==mxConstants.DIRECTION_SOUTH?(e-=p.width/2-10,k+=c.height+6):g==mxConstants.DIRECTION_…
2176height);mxEvent.addListener(e,"click",function(){var f=q.cloneCell(d);if(null!=k)k(f);else{f.geome…
2195 ….scale*(this.translate.x+b.x*d.width),this.scale*(this.translate.y+b.y*d.height),this.scale*b.widt…
2196height*d.height)};b.getPreferredPageSize=function(b,d,f){b=this.getPageLayout();d=this.getPageSize…
2197height/=q;var H=b.container.scrollTop,k=b.container.scrollLeft,n=8<=document.documentMode?20:14;if…
2201 …om"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.e…
2216 …translate.x=b.x-(this.x0||0)*d.width;this.translate.y=b.y-(this.y0||0)*d.height}F.apply(this,argum…
2217height*c.height),g=b.minimumGraphSize;if(null==g||g.width!=e||g.height!=l)b.minimumGraphSize=new m…
2238height&&(c.x>b.container.scrollLeft+.9*b.container.clientWidth&&(b.container.scrollLeft=Math.min(c…
2239height*b.view.scale))/4)));b.container.scrollLeft=Math.floor(Math.max(0,c.x-Math.max(0,(b.containe…
2244 ….pageFormat,this.previousFormat.width!=c.width||this.previousFormat.height!=c.height)&&(this.ui.se…
2258height=this.menubarHeight+"px",c+=this.menubarHeight);null!=this.toolbar&&(this.toolbarContainer.s…
2259 …ll!=this.hsplit.parentNode?g+this.splitSize:0;this.footerContainer.style.height=this.footerHeight+…
2292 …f(null!=p&&0<p.length){var t=new Image;t.onload=function(){e(p,t.width,t.height)};t.onerror=functi…
2294 …e&&0<e.length?(c=new Image,c.onload=function(){b(new mxImage(e,c.width,c.height),!1)},c.onerror=fu…
2297 …,37==b?e.width=Math.max(0,e.width-d):38==b?e.height=Math.max(0,e.height-d):39==b?e.width+=d:40==b&…
2321 …tersects(n,new mxRectangle(g.x,g.y+u.height-2,u.width,3))||mxUtils.intersects(n,new mxRectangle(g.…
2322 …0)!=g.cell||mxUtils.intersects(n,new mxRectangle(g.x+u.width*k-2,g.y,2,u.height*k)))v=this.selecti…
2323 …x?g.width:0),g.y,1,g.height))||(0<m.y||0<m.height)&&mxUtils.intersects(n,new mxRectangle(g.x,g.y+(…
2329 …tangle(e.x-2,e.y,2,e.height))&&this.model.getChildAt(n,0)!=e.cell||mxUtils.intersects(g,new mxRect…
2330height-2,e.width,3)))k="row-resize";for(n=e;null==k&&null!=n&&(this.isTableCell(n.cell)||this.isTa…
2333height*c,c=this.graph.view.translate,l=this.graph.view.scale,g=this.graph.getPageLayout(),q=0;q<g.…
2342 b.y,b.width,b.height,null,null,f,function(b){return"1"==mxUtils.getValue(b.style,"locked","0")},!0)…
2349 …osition="absolute";c.container.style.overflow="hidden";c.container.style.height="1px";c.container.…
2360 ….getBBox();0<l.width&&0<l.height&&(c.getElementsByTagName("svg")[0].setAttribute("viewBox",l.x+" "…
2361 l.height/k))}catch(q){}finally{document.body.removeChild(c)}b=Editor.createSvgDataUri(mxUtils.getXm…
2377 …nslate;c=new mxRectangle((c.x+2*f.x)*d-f.x,(c.y+2*f.y)*d-f.y,c.width*d,c.height*d)}b.apply(this,ar…
2378 …graph.currentScale,b=new mxRectangle((b.x+d.x)*f,(b.y+d.y)*f,b.width*f,b.height*f);return b};mxGra…
2397 …{var p=k/g;c||(p=1-p);b.shape.bounds=new mxRectangle(e.x,e.y,e.width*p,e.height);b.shape.redraw();…
2399 …new mxRectangle(0,0,this.pageFormat.width*this.pageScale,this.pageFormat.height*this.pageScale):th…
2400height)return new mxRectangle(0,0,1,1);var e=Math.floor(Math.ceil(c.x/this.view.scale-this.view.tr…
2418 …metry?new mxPoint(b.parent.geometry.width*b.geometry.x,b.parent.geometry.height*b.geometry.y):new …
2419 …ry.width/2,q.y+=l.geometry.height+e):(q.x=c==mxConstants.DIRECTION_WEST?q.x-e:q.x+(l.geometry.widt…
2421 …=mxConstants.DIRECTION_NORTH?q.y-=b.geometry.height/2:c==mxConstants.DIRECTION_SOUTH?q.y+=b.geomet…
2422height/2:c==mxConstants.DIRECTION_SOUTH?q.y+=l.height/2:q.x=c==mxConstants.DIRECTION_WEST?q.x-l.wi…
2429 …);null!=k&&k.constructor==mxStackLayout&&(k.horizontal?c.alternateBounds.height=0:c.alternateBound…
2430 …=d){var f=Math.round(d.width-t.width/this.view.scale),l=Math.round(d.height-t.height/this.view.sca…
2432 …in(1,(p.x-b.x)/b.width))),Math.round(k*Math.max(0,Math.min(1,(p.y-b.y)/b.height)))),this.model.set…
2433 …=e+Math.min(0,t.width/this.view.scale-p.width):p.height+=k+Math.min(0,t.height/this.view.scale-p.h…
2439height))/20;this.zoomTo(g);if(mxUtils.hasScrollbars(this.container)){var p=this.view.translate;thi…
2457 …null,k=mxUtils.createImage(b.src);k.style.width=b.width+"px";k.style.height=b.height+"px";k.style.…
2467 …horizontalOffset/2,b.y-=c.verticalOffset/2,b.width+=c.horizontalOffset,b.height+=c.verticalOffset,…
2468 …ts(d,e)&&(b==this.arrowUp?c-=d.y+d.height-e.y:b==this.arrowRight?f+=e.x+e.width-d.x:b==this.arrowD…
2469height-this.tolerance));c(this.arrowRight,Math.round(b.x+b.width-this.tolerance),Math.round(this.c…
2470 …erX(),b.y-this.triangleUp.height/2),b=this.graph.getCellAt(this.currentState.getCenterX(),b.y+b.he…
2471 this.currentState.cell)||this.graph.isSwimlane(b)||!(null==d||null==p||d.height<3*p.height&&d.width…
2482 …_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);g.geometry.width+=p;g.geometry.height+=p;t=this.createVe…
2485height+=c;k.setGeometry(b,g);var p=k.getParent(b),t=k.getChildCells(p,!0);if(!e){var d=mxUtils.ind…
2489 …exIgnored(b[k])){var g=this.graph.getCellGeometry(b[k]);null!=g&&(e+=c?g.width:g.height)}return e};
2491 …=this.graph.getCellGeometry(t[q]);null!=m&&(m=m.clone(),m.y=b.y,m.height=e-b.y-b.height,null!=c?(m…
2492height),p.setGeometry(t[q],m));var n=!0,u=g[q];null!=u&&null!=u.geo&&null!=u.rowspan&&1<u.rowspan&…
2494 …Rows","0"),t=this.graph.getModel(),d=0;t.beginUpdate();try{var f=e.height-c.y-c.height,l=e.width-c…
2495height=f-m+n.height,t.setGeometry(q[q.length-1],n))}for(var u=p?null:this.getRowLayout(q[0],l),v=[…
2538 …!=v&&(v=v.clone(),v.height-=H.height,this.model.setGeometry(n,v))}v=this.getCellGeometry(e);null!=…
2543 …ds){g=b.shape.direction;e=b.shape.bounds;f=b.shape.scale;c=e.width/f;e=e.height/f;if(g==mxConstant…
2547 arguments);null!=d&&(d.width+=10,d.height+=4,this.gridEnabled&&(d.width=this.snap(d.width),d.height
2549 …lane(g))){m=m.clone();m.x+=m.width/2-m.height/2;m.y+=m.height/2-m.width/2;var x=m.width;m.width=m.
2562 …yout(),e=this.getPageSize(),d=Math.max(d,c.x*e.width),f=Math.max(f,c.y*e.height);return new mxPoin…
2563 0)))),b=this.snap(Math.round(Math.max(f.y,(d.y+d.height)/b.scale-b.translate.y+2*this.gridSize)));r…
2564height/2))):new mxPoint(this.snap(Math.round(this.container.clientWidth/2/this.view.scale-this.vie…
2565 …ticalAlign=middle;resizable=0;points=[];",c.geometry.width=40,c.geometry.height=20,c.geometry.x=Ma…
2574 …ry(m[f]),u=this.getCellGeometry(q);null!=v&&null!=u&&(u=u.clone(),u.height+=v.height,c.setGeometry…
2578 …;null!=n&&null!=q&&(n=n.clone(),b?n.x=Math.round(c-n.width/2)-q.origin.x:n.y=Math.round(c-n.height/
2580 b.width,b.height));return d};Graph.prototype.getBackgroundImageObject=function(b){return b};Graph.p…
2581 …s.backgroundImage.y)*x,this.backgroundImage.width*x,this.backgroundImage.height*x)));if(null==p)th…
2582 …h.max(1,Math.ceil(p.width*b)+2*f)+(q&&0==f?5:0),y=Math.max(1,Math.ceil(p.height*b)+2*f)+(q&&0==f?5…
2585 …(N.x+aa.x)*d,(N.y+aa.y)*d,N.width*d,N.height*d);mxUtils.intersects(p,F)&&C.image(N.x+aa.x,N.y+aa.y…
2592 …ry(b[c]),l=this.getCellGeometry(e);null!=g&&null!=l&&(l=l.clone(),l.height-=g.height,this.model.se…
2594 null;if(null!=n){var k=n.width,H=this.getCellGeometry(l[g]);null!=H&&(n.height=H.height)}f.add(l[g]…
2596 …ometry(b);null!=q&&(q.height=m.height)}f.add(c,e,k+(d?0:1));var n=this.getCellGeometry(c);null!=n&…
2598 …r g=this.getCellGeometry(c);null!=g&&(b=g.height);var l=this.getCellGeometry(f);null!=l&&(l=l.clon…
2620 …ctangle(b);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*f;this.bounds.hei…
2621height}this.textarea.style.width=Math.round((this.bounds.width-4)/f)+"px";this.textarea.style.heig…
2622 this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*f);this.te…
2623 f+")")}else this.textarea.style.height="",this.textarea.style.overflow="",I.apply(this,arguments)};…
2628 …)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+…
2630 "1"),l=this.graph.getActualStartSize(c),e=e.clone();f?e.height=d.height+l.y+l.height+2*g:e.width=d.…
2637 …d.view.scale,l.y=c.y+m.y*d.view.scale,l.width=q.width*d.view.scale,l.height=q.height*d.view.scale,…
2638 …ength-1?0:b.y*this.graph.view.scale);this.shape.bounds.height=c.height-(f==k.length-1?0:(b.height+…
2640 …idth,this.shape.bounds.y=this.state.y+this.state.height+m*this.graph.view.scale,this.shape.bounds.
2641 f.setPosition=function(b,d,f){m=Math.max(Graph.minTableRowHeight-b.height,d.y-b.y-b.height)};f.exec…
2643 …position="absolute";f.style.cursor="pointer";f.style.width="7px";f.style.height="4px";f.style.padd…
2646 …(this.state.y-l)<e.height/2||Math.abs(this.state.x+this.state.width-g)<e.width/2||Math.abs(this.st…
2647 …ell)&&(d+=7),b.x=this.sizers[0].bounds.width+d,b.y=this.sizers[0].bounds.height+d):b=H.apply(this,…
2648height/d),f)}d=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.s…
2665 ….model.endUpdate()}}else g=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.select…
2666height,e=this.graph.view.scale,mxEvent.isAltDown(d.getEvent())||(this.width=this.graph.snap(this.w…
2667height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style…
2668 …entWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.border…
2671 …Image;if(null!=f)return f=new mxImageShape(new mxRectangle(0,0,f.width,f.height),f.src),f.preserve…
2673 null!=d&&2>d.width&&2>d.height&&null!=d.text&&null!=d.text.boundingBox))return mxRectangle.fromRect…
2674height&&null!=b.text&&null!=b.text.boundingBox?(d=b.text.unrotatedBoundingBox||b.text.boundingBox,…
2675 …ll==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&Y.apply(this,arg…
2686 …b].style.top=this.moveHandles[b].rowState.y+this.moveHandles[b].rowState.height/2-6+"px";if(null!=…
2687height/2;d[0].bounds.x=this.state.x-d[0].bounds.width/2+b;d[0].bounds.y=this.state.y-f+b;d[0].redr…
2688 … mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),f=mxUtils.getB…
2689 ….text.boundingBox:null,null==f&&(f=this.state),f=f.y+f.height,null!=d&&(f=Math.max(f,d.y+d.height)…
2692height),b.add(this.state.text.bounds));this.linkHint.style.left=Math.max(0,Math.round(b.x+(b.width…
2701 …;d=this.bounds.x/s;f=this.bounds.y/s;c=this.bounds.width/s;e=this.bounds.height/s;this.paintTableF…
2702height:0,x:0,cells:sa,colspans:[]}];if(k)for(k=1;k<l.length;k++){var da=z.getCellGeometry(l[k]),q=…
2704 …,l=q.y):(0<l&&b.lineTo(d+da.x+g.x,f+l-g.height),b.moveTo(d+da.x+g.x,f+q.y),l=0);b.lineTo(d+da.x+g.…
2710 …elMargins=function(b){return new mxRectangle(0,2.5*Math.min(b.height/2,Math.round(b.height/8)+this…
2712 …Utils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(b.height*this.scale,d*this.…
2720height));z=Math.min(z,.5*b.width,.5*(b.height-d));c||(z=0);return"left"==mxUtils.getValue(this.sty…
2721 b.width-f),0,z,Math.min(b.height,b.height-d))}return new mxRectangle(0,Math.min(b.height,d),0,0)}re…
2725 …",!1)){var d=mxUtils.getValue(this.style,"size",this.size),f=b.width,c=b.height;if(null==this.dire…
2726 …tangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*b.height):null};x.prototype…
2728height*d),0,0)}return null};q.prototype.getLabelMargins=function(b){if(mxUtils.getValue(this.style…
2729 …le,"arcSize",this.arcSize));e||(z*=Math.min(b.width,b.height));z=Math.min(z,.5*b.width,.5*(b.heigh…
2730 …min(b.height,b.height-d)):new mxRectangle(Math.min(b.width,b.width-f),0,z,Math.min(b.height,b.heig…
2731 …Utils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(b.height*this.scale,d*this.…
2743 …ION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var d=b.width,f=b.height;b=new mxRectangle(…
2751 …MARGIN]||0))*this.scale;return new mxRectangle(b.x+d,b.y+d,b.width-2*d,b.height-2*d)}return b};mxR…
2752 …MARGIN]||0))*this.scale;return new mxRectangle(b.x+d,b.y+d,b.width-2*d,b.height-2*d)}return b};N.p…
2758 Z.prototype.getLabelBounds=function(b){return new mxRectangle(b.x,b.y+b.height/8,b.width,7*b.height
2759 …rn!1};G.prototype.getLabelBounds=function(b){var d=Math.max(0,Math.min(b.height,parseFloat(mxUtils…
2761height=30;W.prototype.corner=10;W.prototype.getLabelMargins=function(b){return new mxRectangle(0,0…
2762 …in(e,Math.max(1.5*g,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),k=mxUtils.getV…
2764 …nterX()&&(d=-1*(d+1));return new mxPoint(b.getCenterX()+d,Math.min(b.y+b.height,Math.max(b.y+c,f.y…
2765 …b.getCenterX()&&(c=-1*(c+1)),new mxPoint(b.getCenterX()+c,Math.min(b.y+b.height,Math.max(b.y,f.y))…
2766 …(mxUtils.getDirectedBounds(b,new mxRectangle(0,0,0,Math.max(0,Math.min(b.height,parseFloat(mxUtils…
2767 …ue(d.style,"size",g));e&&(g*=d.view.scale);var l=b.x,z=b.y,k=b.width,m=b.height;d=null!=d?mxUtils.…
2769 …ue(d.style,"size",g));e&&(g*=d.view.scale);var l=b.x,z=b.y,k=b.width,m=b.height;d=null!=d?mxUtils.…
2771 …ue(d.style,"size",g));e&&(g*=d.view.scale);var l=b.x,z=b.y,k=b.width,m=b.height,q=b.getCenterX();b…
2774 …ue(d.style,"size",g));e&&(g*=d.view.scale);var l=b.x,z=b.y,k=b.width,m=b.height,q=b.getCenterX();b…
2861 …d.width,d.y+(1-f)*d.height/2)},function(d,f){this.state.style.arrowWidth=Math.max(0,Math.min(1,Mat…
2862height,parseFloat(mxUtils.getValue(this.state.style,"size",b))));return new mxPoint(d.x,d.y+f)},fu…
2863 f.x-d.x),Math.min(d.height,f.y-d.y)))/b)},!1)];f&&mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDE…
2864 …ze",e?f:d)));return new mxPoint(c.x+Math.min(.75*c.width*b,g*(e?.75:.75*c.width)),c.y+c.height/4)},
2865 …d){return ia(b,[mxConstants.STYLE_ARCSIZE],function(f){var c=null!=d?d:f.height/8;if("1"==mxUtils.…
2866 …turn new mxPoint(f.x+f.width-Math.min(Math.max(f.width/2,f.height/2),Math.min(f.width,f.height)*e)…
2867 …th.round(Math.min(50,Math.max(0,100*(d.width-f.x+d.x)/Math.min(d.width,d.height))))})},ia=function…
2878height,f))):new mxPoint(d.x+Math.max(0,Math.min(d.width,f)),d.getCenterY())},function(d,f){b.style…
2879 …function(b){return[ia(b,["size"],function(b){var d=Math.max(0,Math.min(b.height,parseFloat(mxUtils…
2880height,d.y-b.y)))},!1)]},umlFrame:function(b){return[ia(b,["width","height"],function(b){var d=Mat…
2881height=Math.round(Math.max(1.5*W.prototype.corner,Math.min(b.height,d.y-b.y)))},!1)]},process:func…
2882height),d=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",Ha.prototype.size)))*d/2;…
2883height,parseFloat(mxUtils.getValue(this.state.style,"size",t.prototype.size)))));return new mxPoin…
2884height,parseFloat(mxUtils.getValue(this.state.style,"size",d.prototype.size)))));return new mxPoin…
2885 d){this.state.style.size=Math.round(Math.max(0,Math.min(b.height,4*(d.y-b.y)/3)))},!1)];mxUtils.get…
2886height,mxUtils.getValue(this.state.style,"size",C.prototype.size))),f=Math.max(0,Math.min(1,mxUtil…
2887height,b.y+b.height-d.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(d.x-b.x…
2888height,mxUtils.getValue(this.state.style,"size",C.prototype.size))),f=Math.max(0,Math.min(1,mxUtil…
2889 …getValue(this.state.style,"dx",U.prototype.dx))),f=Math.max(0,Math.min(b.height,mxUtils.getValue(t…
2890height,d.y-b.y)))},!1)];mxUtils.getValue(b.style,mxConstants.STYLE_ROUNDED,!1)&&d.push(Ga(b));retu…
2891height,d.y-b.y))/2)})]},corner:function(b){return[ia(b,["dx","dy"],function(b){var d=Math.max(0,Ma…
2892height,d.y-b.y)))},!1)]},tee:function(b){return[ia(b,["dx","dy"],function(b){var d=Math.max(0,Math…
2893height,d.y-b.y)))},!1)]},singleArrow:Ia(1),doubleArrow:Ia(.5),folder:function(b){return[ia(b,["tab…
2894height,d.y-b.y)))},!1)]},document:function(b){return[ia(b,["size"],function(b){var d=Math.max(0,Ma…
2895height-d.y)/b.height))},!1)]},tape:function(b){return[ia(b,["size"],function(b){var d=Math.max(0,M…
2896height))},function(b,d){this.state.style.isoAngle=Math.max(0,50*(d.y-b.y)/b.height)},!0)]},cylinde…
2897height-d.y)/b.height))},!1)]},"mxgraph.basic.rect":function(b){var d=[Graph.createHandle(b,["size"…
2898 ….75*b.width,b.y+d*b.height/200)},function(b,d){this.state.style.indent=Math.round(100*Math.max(0,M…
2962height)))},null,null,"Alt+Shift+X");this.addAction("pasteSize",function(){if(g.isEnabled()&&!g.isS…
2982 …g.view.translate,c=g.view.scale;b.x=b.x/c-d.x;b.y=b.y/c-d.y;b.width/=c;b.height/=c;null!=g.backgro…
2983height)));0==b.width||0==b.height?(g.zoomTo(1),e.resetScrollbars()):(d=Editor.fitWindowBorders,nul…
2984 10)/b.width/d,(g.container.clientHeight-10)/b.height/d))/20);mxUtils.hasScrollbars(g.container)&&(b…
2985 d,(g.container.clientHeight-10)/b.height/d))/20);mxUtils.hasScrollbars(g.container)&&(b=g.getPagePa…
3010 q.height=c,g.getModel().setGeometry(n,q))}}finally{g.getModel().endUpdate()}null!=e&&(g.setSelectio…
3168 …l!=b.pageFormat&&(c=parseInt(b.pageFormat.width),f=parseInt(b.pageFormat.height),!isNaN(c)&&0<c&&!…
3189 if(c)try{var b=document.createElement("canvas"),g=b.getContext("2d");b.height=e.height;b.width=e.wi…
3243 …style.height=d.offsetHeight-(f?4:0)+"px";c.style.zIndex=5}function g(b,d,c){var e=document.createE…
3244 …prototype.noColorImage+"')":d;f(b,d,c)});mxEvent.consume(g)}));btn.style.height="12px";btn.style.w…
3245 …parentNode.insertBefore(q,k.nextSibling);mxEvent.consume(d)}));btn.style.height="16px";btn.style.w…
3251 …Utils.bind(q,function(b){f(d,"",n,n.index);mxEvent.consume(b)})),v.style.height="16px",v.style.wid…
3258 k.style.display="inline-block";k.style.width="6px";k.style.height="6px";k.style.marginLeft="4px";k.…
3262 …endUpdate()}}));d.className="geStyleButton";d.style.width="36px";d.style.height=10>=this.defaultCo…
3286 …erSelect="none";k.style.overflow="hidden";k.style.padding="10px";k.style.height="100%";var n=docum…
3289 …sition="absolute";p.style.overflow="hidden";p.style.bottom="0px";p.style.height="42px";p.style.rig…
3333height*N/(u.height/d.view.scale),x.width*t/(u.width/d.view.scale));else t=parseInt(y.value)/(100*d…
3340 …ts);l.background=N;l.backgroundImage=null!=A?new mxImage(A.src,A.width,A.height):null;l.pageVisibl…
3358 …},sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,bo… property in EditorUi.defaultMermaidConfig.sequence
3367 …ct></svg>')))}catch(m){}try{c=document.createElement("canvas");c.width=c.height=1;var g=c.toDataUR…
3409 …=n?!1:"xmlpng"!=c,null,null,null,!1,"pdf"==c);var l="",m="";if(f.width*f.height>MAX_AREA||e.length…
3417 C:"dh"==key?K.height+=C:K[key]=parseFloat(E[key])}g.model.setGeometry(p,K)}}}catch(O){null!=window.…
3438 …Cells(b,d.width,d.height,g||"",!0,!1,!1));b={xml:Graph.compress(mxUtils.getXml(this.editor.graph.e…
3439 …nCells(),c=B.view.getBounds(d),f=B.view.scale;c.x/=f;c.y/=f;c.width/=f;c.height/=f;c.x-=B.view.tra…
3444 p=this.editor.graph.getBoundingBoxFromGeometry(q);K(q,new mxRectangle(0,0,p.width,p.height),b)}x=!0…
3455 c.className="geTitle";c.style.color="#DF6C0C";c.style.fontWeight="bold";c.style.height="100%";c.sty…
3471 …xResources.get("close"));d.textarea.style.width="600px";d.textarea.style.height="380px";this.showD…
3480 …his.tagsComponent.div.style.overflow="auto",this.tagsComponent.div.style.height="auto",this.tagsCo…
3486 …r="#000000";this.exportDialog.style.width="50px";this.exportDialog.style.height="50px";this.export…
3487 …b){f.stop();this.exportDialog.style.width="auto";this.exportDialog.style.height="auto";this.export…
3502 "4px 2px 4px 2px":"4px";k.style.marginLeft="4px";k.style.height="22px";k.style.width="22px";k.style…
3534 …;var q="";e&&(q=' width="'+Math.round(f.width)+'" height="'+Math.round(f.height)+'"');p('<img src=…
3535 …ata(!0),f.width*f.height<=MAX_AREA&&c.length<=MAX_REQUEST_SIZE){var m="";e&&(m="&w="+Math.round(2*…
3565 …nd=function(b){var c=new Image;c.onload=function(){try{var b=c.width,f=c.height;if(0==b&&0==f){var…
3570 …in(this.maxImageSize/f.width,this.maxImageSize/f.height)),l=Math.round(f.width*g);f=Math.round(f.h…
3573 …=m.width;k.geometry.height=m.height}Graph.isLink(k.value)&&d.setLinkForCell(k,k.value);k.geometry.…
3641 …tem({"image/png":d,"text/html":new Blob(['<img src="'+b+'" width="'+c+'" height="'+e+'">'],{type:"…
4019 " "+(b.height+1));this.container.style.backgroundColor=e.style.backgroundColor;this.fireEvent(new m…
4023 …omRectangle(c);c.add(new mxRectangle((d.x+b.x)*e,(d.y+b.y)*e,b.width*e,b.height*e))}return c};this…
4029 …ontainer);return new mxImage(Editor.createSvgDataUri(mxUtils.getXml(b)),e.width,e.height,e.x,e.y)};
4033 …hIsEmpty?(this.graph.container.style.width="",this.graph.container.style.height=""):this.graph.con…
4038height)&&this.graph.center(),this.graph.maxFitScale=null,0==this.graphConfig.resize&&""!=b.style.h…
4039 …t),this.graph.resizeContainer=!0;else if(!this.widthIsEmpty||""!=b.style.height&&this.autoFit||thi…
4040 0==this.graphConfig.resize&&""!=b.style.height||this.updateContainerHeight(b,Math.max(this.minHeigh…
4041height&&this.autoFit?b.offsetHeight:void 0;0<b.offsetWidth&&null==d&&this.allowZoomOut&&(this.allo…
4042 null!=d||0!=this.graphConfig.resize||""==b.style.height?(d=null!=d?d:new mxPoint,this.graph.view.se…
4043 …|!this.autoFit||"BackCompat"==document.compatMode||8==document.documentMode)b.style.height=c+"px"};
4048 …e.style.zIndex=this.toolbarZIndex;e.style.backgroundColor="#eee";e.style.height=this.toolbarHeight…
4058 …120px",n.div.style.padding="2px",n.div.style.overflow="auto",n.div.style.height="auto",n.div.style…
4086 …resizeSensor.childNodes[1],l=function(){f.style.width="100000px";f.style.height="100000px";e.scrol…