Lines Matching refs:min

108 …kSize,b=j/(4*k),b=a?u.ceil(b):u.max((b|0)-this._minBufferSize,0);a=b*k;j=u.min(4*a,j);if(a){for(va…
135min),Math.min(parseFloat(t.max),n)).toString()}}function Z(e){var t=this,n=t._currentZoom,i=t.elem…
156 …e){return a[0]<=Math.max(b[0],e[0])&&a[0]>=Math.min(b[0],e[0])&&a[1]<=Math.max(b[1],e[1])&&a[1]>=M…
157 …,b=[],k=0;k<c.length-1;k++){var g=c[k],d=c[k+1];if(g[1]!==d[1]){var n=Math.min(g[1],d[1]);b.push({…
172 …0>f;)f+=2*Math.PI,k+=2*Math.PI;k-f>2*Math.PI&&(f=0,k=2*Math.PI);var m=Math.min(2*Math.PI/n.curveSt…
183 l[0])+(h[1]-l[1])*(t[1]-l[1]))/p,h=(p=Math.max(0,Math.min(1,p)),Q(h,E(l,t,p))));h>g&&(g=h,n=m)}retu…
189 …n.value,l=h(m),w=Math.ceil(l/b)-1,t=l-w*b,p=(m[0][0]+m[1][0])/2-b/4,q=Math.min(m[0][1],m[1][1]),u=…
264min(this.x,a.x),c=Math.min(this.y,a.y),d=Math.max(this.x+this.width,a.x+a.width);a=Math.max(this.y…
301min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(…
305 …:(g=a.x+n/2,l=n));l=Math.max(e,l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));d=new…
462min(0,this.dx):0);this.dy=d+(null!=f?f:0)-g.scrollTop-g.clientHeight;this.dy=0>this.dy&&Math.abs(t…
578 … "));k.setAttribute("width",Math.ceil(1/Math.min(1,p)*100)+"%");k.setAttribute("height",Math.ceil(…
589 …nts.ALIGN_MIDDLE?"fill"==l?n-=d/2:(m=(this.matchHtmlAlignment&&m&&0<d?Math.min(u,d):u)/2,n-=m):g==…
590 n-=d:(m=this.matchHtmlAlignment&&m&&0<d?Math.min(u,d):u,n-=m+1));for(m=0;m<t.length;m++)0<t[m].leng…
602 …||null==this.guideX?null!=this.guideX&&(e=d=null,null!=l&&null!=a&&(d=Math.min(a.y+b.y-this.graph.…
603 …||null==this.guideY?null!=this.guideY&&(e=d=null,null!=p&&null!=a&&(d=Math.min(a.x+b.x-this.graph.…
632min(a/2,Math.min(b/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZ…
634 ….indexOf(f,l-1))){var p=Math.sqrt(n*n+m*m);a.lineTo(g.x+n*Math.min(d,p/2)/p,g.y+m*Math.min(d,p/2)/…
635 …x-g.x;m=m.y-g.y;p=Math.max(1,Math.sqrt(n*n+m*m));n=g.x+n*Math.min(d,p/2)/p;m=g.y+m*Math.min(d,p/2)…
652 …tants.STYLE_DIRECTION,null),k=this.computeAspect(b.style,c,d,e,f,k),l=Math.min(k.width,k.height),l…
654 …his.h0;b=e/this.w0;var k=(d-e)/2;a+=k;c-=k}"fixed"==this.aspect&&(b=g=Math.min(b,g),f?(a+=(e-this.…
655 …tion(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("save"==g)a…
659 n,b=Number(b)/100,b=Math.min(d*b,f*b),a.roundrect(k+Number(c.getAttribute("x"))*m,l+Number(c.getAtt…
673min(d/2,Math.min(e/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZ…
676 … f=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.strokewidth,Math.min(d/5,e…
677 … b=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.strokewidth,Math.min(a.wid…
688 …+B;z=A+C;var H=Math.sqrt(y*y+z*z);if(0!=H){y/=H;z/=H;var H=Math.max(E,Math.min(this.strokewidth/20…
711 1]),c=e.offsetWidth+2,a=this.node.getElementsByTagName("div"),this.clipped&&(c=Math.min(d,c)),1<a.l…
727min(e,this.bounds.width)),g.style.width=e+"px"):g.style.whiteSpace="nowrap";k=g;null!=k.firstChild…
728 …ht=f;"fill"!=this.overflow&&"width"!=this.overflow&&(this.clipped&&(e=Math.min(l,e)),l=e,this.wrap…
736 …setWidth;a.style.visibility="";g.appendChild(a)}f+=3;this.clipped&&(f=Math.min(f,c));e.width=f+"px…
757 …oke())};mxCylinder.prototype.getCylinderSize=function(a,b,c,d){return Math.min(this.maxHeight,Math…
766min(a.width,b*this.scale);if(d||e)a.x+=a.width-b;a.width=b}else{b=Math.min(a.height,b*this.scale);…
767 …tValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0))return Math.min(a/2,Math.min(b/2,mxUtils.g…
768 …()?Math.min(f,e):Math.min(f,d);a.translate(b,c);this.isRounded?(k=this.getSwimlaneArcSize(d,e,f),k…
772min(d/2,g),0),a.lineTo(Math.min(d/2,g),0),a.quadTo(0,0,0,g),a.lineTo(0,f),a.fillAndStroke(),f<e&&(…
773min(d/2,g),e),a.quadTo(d,e,d,e-g),a.lineTo(d,f),k==mxConstants.NONE?a.stroke():a.fillAndStroke()))…
794 !0);null!=b&&(l=k?Math.min(l,b.height):Math.min(l,b.width));c==k&&(e-=l);k?g+=l:f+=l}d.beginUpdate(…
823 …=b?new mxRectangle(e.x,e.y,e.width,e.height):new mxRectangle(Math.min(b.x,e.x),Math.min(b.y,e.y),M…
832 d.theta&&e<f.length-1?d.theta=Math.min(g,f[e+1].theta-Math.PI/10):g<d.theta&&0<e&&(d.theta=Math.max…
833 …);this.rowMinX[b]=Math.min(f.x,this.rowMinX[b]);this.rowMaxX[b]=Math.max(f.x+f.width,this.rowMaxX[…
838 …cellLocation[d][0]=p+m/2;this.cellLocation[d][1]=q+n/2;this.radius[d]=Math.min(m,n);this.radiusSqu…
840 …cation[d][1])),this.setVertexLocation(g,p,q),c=null==c?p:Math.min(c,p),a=null==a?q:Math.min(a,q)))…
841 …pY[a]);.001>b&&(b=.001);var c=this.dispX[a]/b*Math.min(b,this.temperature),b=this.dispY[a]/b*Math.
847 …{f.push(l);var m=this.getVertexBounds(l),d=null==d?m.y:Math.min(d,m.y),e=null==e?m.x:Math.min(e,m.…
875 …ANK,b=0;b<f.length;b++){var m=f[b];if(5270620==m.temp[0])m=m.source,l=Math.min(l,m.temp[0]-1);else…
876 l;this.maxRank=Math.min(this.maxRank,l);if(null!=g)for(b=0;b<g.length;b++)m=g[b],m.temp[0]=5270620,…
887 …[0],c=0;c<e.length;c++){var l=e[c];if(5270620==l.temp[0])l=l.source,k=Math.min(k,l.temp[0]-1);else…
939 ….cell,c=a.x[0]-a.width/2,d=a.y[0]-a.height/2;this.rankTopY[a.minRank]=Math.min(this.rankTopY[a.min…
965 this.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…
1033 b);this.relative||(this.x=parseFloat(this.x)*a,this.y=parseFloat(this.y)*b,c&&(b=a=Math.min(a,b)),t…
1037 return c},compare:function(a,b){for(var c=Math.min(a.length,b.length),d=0,e=0;e<c;e++)if(a[e]!=b[e]…
1135 …y))):null!=a.text&&null!=a.text.boundingBox&&(c.x=Math.min(c.x,a.text.boundingBox.x),c.y=Math.min(…
1191 …(c),f=new mxPoint(a+(k?-d:d),b),g=new mxPoint(l+(n?-d:d),c),k==n?(d=k?Math.min(a,l)-d:Math.max(a,l…
1193 …r f=null!=d&&0<d.length?d[0]:null,g=!1,k=!1;if(null!=b&&null!=c)if(null!=f)var l=Math.min(b.x,c.x),
1194min(b.y,c.y),n=Math.max(b.y+b.height,c.y+c.height),f=a.view.transformControlPoint(a,f),g=f.y<k||f.…
1195 …mxCellState,c.x=g.x,c.y=g.y);null!=b&&null!=c&&(a=Math.max(b.x,c.x),k=Math.min(b.x+b.width,c.x+c.w…
1196 …push(new mxPoint(a,d.y)):(f=Math.max(b.y,c.y),e.push(new mxPoint(a,f+(Math.min(b.y+b.height,c.y+c.…
1197 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…
1198 e.push(new mxPoint(d.x,k)):(f=Math.max(b.x,c.x),e.push(new mxPoint(f+(Math.min(b.x+b.width,c.x+c.wi…
1267 …a=a.absolutePoints;var d=null;null!=a&&2<=a.length&&(d=a.length,d=a[c?Math.min(1,d-1):Math.max(0,d…
1269 …=f.x-p.x,f=f.y-p.y,e=Math.sqrt(e*e+f*f),g.push(e),d+=e,f=p,c=Math.min(f.x,c),k=Math.min(f.y,k),l=M…
1336 …=m-q;e=e?m/p:f?l/n:Math.min(l/n,m/p);null!=this.minFitScale&&(e=Math.max(e,this.minFitScale));null…
1340 …ction(a,b){null!=this.maximumContainerSize&&(a=Math.min(this.maximumContainerSize.width,a),b=Math.
1342 var g=(a=a&&Math.min(f.width,f.height)>this.minPageBreakDist)?Math.ceil(d.height/f.height)+1:0,k=a?…
1350 …idth):a==mxConstants.ALIGN_TOP?Math.min(c,e.y+f.y):a==mxConstants.ALIGN_BOTTOM?Math.max(c,e.y+f.y+…
1355 …e.getIndex(a[d])-1)):this.model.add(e,a[d],d):c?this.model.add(e,a[d],Math.min(this.model.getChild…
1445min(this.container.scrollWidth,a.x+a.width),d=Math.min(this.container.scrollHeight,a.y+a.height);a…
1449 …this.container.offsetWidth,d=this.container.offsetHeight,e=Math.min(c,a.width),f=Math.min(d,a.heig…
1459 …attr,f.value)&&(b>f.max||b<f.min)?d+=f.countError+"\n":!f.source&&mxUtils.isNode(a,f.type,f.attr,f…
1558min=null!=e?e:0;this.max=null!=f?f:"n";this.validNeighbors=g;this.countError=mxResources.get(k)||k… method in mxMultiplicity
1651 …=this.minScale&&(b=Math.max(this.minScale,b));null!=this.maxScale&&(b=Math.min(this.maxScale,b));t…
1764 …s.graph.panDx,b=this.currentY-this.graph.panDy;this.x=Math.min(this.first.x,a);this.y=Math.min(thi…
2043 ….rgb[1]:this.rgb[1]=b;var e=null===c?this.rgb[2]:this.rgb[2]=c,f=Math.min(Math.min(a,b),e);c=Math.…
2100 …;b.style.maxHeight="100%";d=null!=document.body?Math.min(d,document.body.scrollWidth-u):d;e=Math.m…
2104 …((t-e-a.footerHeight)/3));d=null!=document.body?Math.min(p,document.body.scrollWidth-u):p;e=Math.m…
2161 b=k.width;c=k.height;var h=new mxRectangle(d*e.x,d*e.y,f.width*g,f.height*g),v=(a=a&&Math.min(h.wid…
2165 e=this.graph.pageScale,f=d.width*e,d=d.height*e,e=Math.floor(Math.min(0,b)/f),p=Math.floor(Math.min
2211 …l.hoverIcons.update(m.view.getState(d))}null!=f&&f()})});for(c=0;c<(h?Math.min(k.length,4):k.lengt…
2231 ….container.offsetWidth-n,n=a.container.offsetHeight-n;b=b?Math.max(.3,Math.min(c||1,p/m.width)):h;…
2256 …Factor*20)/20/this.view.scale);this.cumulativeZoomFactor=Math.max(.05,Math.min(this.view.scale*thi…
2271 ….y-this.editor.initialTopSpacing)-1;a.container.scrollLeft=Math.floor(Math.min(b.x,(a.container.sc…
2272 …eft=Math.min(b.x+b.width-a.container.clientWidth,b.x-10)),b.y>a.container.scrollTop+.9*a.container…
2291 …lientHeight-window.innerHeight,window.scrollTo(0,0));var c=Math.max(0,Math.min(this.hsplitPosition…
2292 …!=this.sidebarFooterContainer){var k=this.footerHeight+e,f=Math.max(0,Math.min(d-b-k,this.sidebarF…
2332 …|38==a?e.model.add(f,d,Math.max(0,b-1)):39!=a&&40!=a||e.model.add(f,d,Math.min(e.model.getChildCou…
2359 …etWidth+this.editorUi.splitSize+10+this.editorUi.container.offsetLeft,Math.min(Math.max(document.b…
2363 …=!h&&(d>this.maxTooltipWidth||e>this.maxTooltipHeight)?Math.round(100*Math.min(this.maxTooltipWidt…
2364 …t>e)?(d=Math.round(100*Math.min(d/m.width,e/m.height))/100,mxClient.NO_FO?(this.graph2.view.setSca…
2366 …is.tooltipTitle.style.display="",mxUtils.write(this.tooltipTitle,c),h=Math.min(this.maxTooltipWidt…
2387 …i.editor.graph.defaultVertexStyle.fontSize),d=isNaN(d)?"":"fontSize="+Math.min(16,d)+";",e=new mxC…
2495 ….graph.addCells(a);a=this.graph.getGraphBounds();var h=Math.floor(100*Math.min((b-2*this.thumbBord…
2562 …=isNaN(h)?0:0!==h&&isFinite(h)?(0<h?1:-1)*Math.floor(Math.abs(h)):h;h=Math.min(Math.max(h,0),d);fo…
2681 …one(),k.translate(Math.round(d*Math.max(0,Math.min(1,(f.x-a.x)/a.width))),Math.round(e*Math.max(0,…
2682 …!=f&&(f=f.clone(),b.horizontal?f.width+=d+Math.min(0,k.width/this.view.scale-f.width):f.height+=e+…
2686 …s.clearSelection()};Graph.prototype.zoom=function(a,b){a=Math.max(.01,Math.min(this.view.scale*a,1…
2688 …ntainer.clientWidth-b,e=this.container.clientHeight-b,c=Math.floor(20*Math.min(d/a.width,e/a.heigh…
2827 g.getCenterY(),d=null!=d?Math.max(d,k):k,e=null!=e?Math.min(e,k):k;c.push(g)}}if(2<c.length){c.sort…
2888 l.width,b.x-a.x-l.width);p=mxEvent.isShiftDown(c.getEvent());null==m||p||(n=Math.min(n,m.width-Grap…
2982 …nstants.STYLE_ROTATION||(q=mxUtils.mod(Math.round(100*q),36E3)/100);q=Math.min(c,Math.max(e,isNaN(…
3004 ….bind(this,function(a){if(null!=e)e(h);else{var c=parseInt(h.value),c=Math.min(100,Math.max(0,isNa…
3056 c=Math.min(999,Math.max(1,isNaN(c)?1:c));if(c!=mxUtils.getValue(e.style,"width",mxCellRenderer.defa…
3136min(999,Math.max(0,isNaN(b)?1:b));b!=mxUtils.getValue(f.style,mxConstants.STYLE_STROKEWIDTH,1)&&(c…
3218 …yle.background="#84d7ff");for(var a=10*this.format.currentStylePage;a<Math.min(10*(this.format.cur…
3250 …,e){var r=Math.max(0,Math.min(d,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size…
3251 Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));a.translate(…
3253 …tor);e.prototype.size=20;e.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/Pa);a.translate…
3254 …r);c.prototype.size=20;c.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(d,e/(.5+Pa));f?(a.m…
3255 …s.extend(f,mxCylinder);f.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(e/2,Math.round(e/8)…
3256min(a.height/2,Math.round(a.height/8)+this.strokewidth-1),0,0)};mxCellRenderer.registerShape("data…
3257 "size",this.size))))),f=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity"…
3258min(a.height*this.scale,b*this.scale),0,0)}return null};mxUtils.extend(g,mxShape);g.prototype.isoA…
3259min(d*Math.tan(r),.5*e);a.translate(b,c);a.begin();a.moveTo(.5*d,0);a.lineTo(d,r);a.lineTo(d,e-r);…
3261 15;m.prototype.paintVertexShape=function(a,b,c,d,e){var r=Math.max(0,Math.min(.5*e,parseFloat(mxUti…
3263min(d,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));c=Math.max(0,Math.min(e,…
3264 k=Math.min(k,.5*d,.5*(e-c));b=Math.max(b,k);b=Math.min(d-k,b);f||(k=0);a.begin();"left"==r?(a.moveT…
3266min(a.width,a.height));r=Math.min(r,.5*a.width,.5*(a.height-b));d||(r=0);return"left"==mxUtils.get…
3267min(a.height,b),0,0)}return null};mxUtils.extend(q,mxCylinder);q.prototype.arcSize=.1;q.prototype.…
3270min(d,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c=mxUtils.getValue(t…
3272 …ight):null};t.prototype.redrawPath=function(a,b,c,d,e){b=e*Math.max(0,Math.min(1,parseFloat(mxUtil…
3273 …var e=mxUtils.getValue(this.style,"size");return null!=e?d*Math.max(0,Math.min(1,e)):Wa.apply(this…
3274min(this.maxHeight*this.scale,a.height*b),0,0)}return null};m.prototype.getLabelMargins=function(a…
3275 …ls.getValue(this.style,"arcSize",this.arcSize));e||(r*=Math.min(a.width,a.height));r=Math.min(r,.5…
3276min(a.width,a.width-c),Math.min(a.height,a.height-b)):new mxRectangle(Math.min(a.width,a.width-c),…
3277min(a.height*this.scale,b*this.scale),0,Math.max(0,b*this.scale))}return null};mxUtils.extend(w,mx…
3278 …ath=function(a,b,c,d,e){b="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*
3279 d,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):d*Math.max(0,Math.min(.5,parseFl…
3280 b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.get…
3287min(d/2,Math.min(e/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZ…
3289min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded)var e=mxUtils.…
3290min(d,f)):d*Math.max(0,Math.min(1,f));this.isRounded&&(r=mxUtils.getValue(this.style,mxConstants.S…
3292min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var f=d*Math.max(0,Math.min(1,pa…
3293min(d,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(a,[new mxPoint(0,…
3294 …xedSize","0")?Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize))…
3295 …edSize","0")?Math.max(0,Math.min(.5*d,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize…
3296 …ion(){return!1};M.prototype.paintForeground=function(a,b,c,d,e){var f=Math.min(d/5,e/5)+1;a.begin(…
3305min(a.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxR…
3306 …x(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.protot…
3307 …};U.prototype.paintBackground=function(a,b,c,d,e){var f=this.corner,r=Math.min(d,Math.max(f,parseF…
3308 "width",this.width)))),g=Math.min(e,Math.max(1.5*f,parseFloat(mxUtils.getValue(this.style,"height",…
3310 …;c.x<a.getCenterX()&&(b=-1*(b+1));return new mxPoint(a.getCenterX()+b,Math.min(a.y+a.height,Math.m…
3311 …Point(a.getCenterX()+d,Math.min(a.y+a.height,Math.max(a.y,c.y)));c.y<a.getCenterY()&&(d=-1*(d+1));…
3312 …erimeter(mxUtils.getDirectedBounds(a,new mxRectangle(0,0,0,Math.max(0,Math.min(a.height,parseFloat…
3313 …N_NORTH||b==mxConstants.DIRECTION_SOUTH?(e=e?Math.max(0,Math.min(h,f)):h*Math.max(0,Math.min(1,f))…
3314 …w mxPoint(r,g+h-e),new mxPoint(r,g)]):(e=e?Math.max(0,Math.min(.5*k,f)):k*Math.max(0,Math.min(1,f)…
3315 …ON_EAST;b==mxConstants.DIRECTION_EAST?(e=e?Math.max(0,Math.min(.5*k,f)):k*Math.max(0,Math.min(1,f)…
3316min(k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(r,g),new mxPoint(r+k,g),new mxPoint(r+k-e,g+h…
3318min(k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(r,g),new mxPoint(r+k-e,g),new mxPoint(r+k,a),…
3319min(h,f)):h*Math.max(0,Math.min(1,f)),g=[new mxPoint(r,g+e),new mxPoint(l,g),new mxPoint(r+k,g+e),…
3321min(h,f)):h*Math.max(0,Math.min(1,f)),g=[new mxPoint(l,g),new mxPoint(r+k,g+e),new mxPoint(r+k,g+h…
3325 …s.style,"jettyHeight",this.jettyHeight));c=g/2;var g=c+g/2,r=Math.min(b,e-b),k=Math.min(r+2*b,e-b)…
3328 …se);pa.prototype.outerStroke=!0;pa.prototype.paintVertexShape=function(a,b,c,d,e){var f=Math.min(4,
3329 Math.min(d/5,e/5));0<d&&0<e&&(a.ellipse(b+f,c+f,d-2*f,e-2*f),a.fillAndStroke());a.setShadow(!1);thi…
3331 …le=function(){return!0};ha.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(e,parseFloat(mxUtil…
3332 …nts.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.max(f,Math.min(d*g,e*g));g=
3333min(d,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));f=Math.max(f,Math.min(e,parseFloat(m…
3334 "dx",this.dx))));c=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));pa…
3335 …ction(a,b,c,d,e){b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));c…
3336 …Size=.2;V.prototype.redrawPath=function(a,b,c,d,e){var f=e*Math.max(0,Math.min(1,parseFloat(mxUtil…
3337 this.arrowWidth))));b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",th…
3338 …r f=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",V.prototype.arrowW…
3339 …xedSize","0")?Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize))…
3341 …tion(){return!0};ba.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d/2,Math.min(e,parseFloat(…
3342 …{return!0};ea.prototype.redrawPath=function(a,b,c,d,e){b=e*Math.max(0,Math.min(1,parseFloat(mxUtil…
3349min(d,e/2);a.moveTo(0,0);a.lineTo(d-b,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d-b,e);a.lineTo(0,e);a.c…
3350 …otype.size=.25;za.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/2);c=Math.min(d-b,Math.m…
3356 …uteCornerSize",this.absoluteCornerSize),h=f&&f.size?f.size:Math.max(0,Math.min(d,parseFloat(mxUtil…
3357min(d,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),m=f&&f.dashed?f.dashed:mxUti…
3360min(50,h));f=N.prototype;a.setDashed(m);n&&""!=n&&a.setDashPattern(n);a.setStrokeWidth(w);h=Math.m…
3407min(1,mxUtils.getValue(this.state.style,"arrowWidth",V.prototype.arrowWidth))),d=Math.max(0,Math.m…
3408min(.5*b.height,parseFloat(mxUtils.getValue(this.state.style,"size",a))));return new mxPoint(b.x,b…
3409min(b.height,c.y-b.y)))/a)},!1)];c&&mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&e.push…
3410min(c,(b.x-a.x)/a.width));this.state.style.size=a},!1,d)];b&&mxUtils.getValue(f.style,mxConstants.…
3411 …mxUtils.getValue(this.state.style,"fixedSize","0")?d.x-b.x:Math.max(0,Math.min(a,(d.x-b.x)/b.width…
3412min(c.width/2,e),c.y+d)}e=Math.max(0,parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE…
3413 …Math.min(b.width,2*(b.x+b.width-c.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Mat…
3424min(b.height,c))):new mxPoint(b.x+Math.max(0,Math.min(b.width,c)),b.getCenterY())},function(b,c){a…
3425 …Lifeline:function(a){return[T(a,["size"],function(a){var b=Math.max(0,Math.min(a.height,parseFloat…
3426min(a.height,b.y-a.y)))},!1)]},umlFrame:function(a){return[T(a,["width","height"],function(a){var …
3427min(a.width,b.x-a.x)));this.state.style.height=Math.round(Math.max(1.5*U.prototype.corner,Math.min
3428min(.5,(b.x-a.x)/a.width));this.state.style.size=c},!1)];mxUtils.getValue(a.style,mxConstants.STYL…
3429min(a.width,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"size",k.prototype.size…
3430min(a.height,parseFloat(mxUtils.getValue(this.state.style,"size",h.prototype.size)))));return new …
3431 Math.round(Math.max(0,Math.min(a.height,4*(b.y-a.y)/3)))},!1)];mxUtils.getValue(a.style,mxConstants…
3432min(a.width,a.x+a.width-b.x)):Math.max(0,Math.min(1,(a.x+a.width-b.x)/a.width));this.state.style.s…
3433min(a.height,a.y+a.height-b.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(b…
3434min(a.height,mxUtils.getValue(this.state.style,"size",y.prototype.size))),c=Math.max(0,Math.min(1,…
3435min(a.width,mxUtils.getValue(this.state.style,"dx",aa.prototype.dx))),c=Math.max(0,Math.min(a.heig…
3436min(a.height,b.y-a.y)))},!1)];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(ra(a)…
3437min(a.width,b.x-a.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(a.height,b.y-a.…
3438min(a.height,b.y-a.y)))},!1)]},tee:function(a){return[T(a,["dx","dy"],function(a){var b=Math.max(0…
3439min(a.width,mxUtils.getValue(this.state.style,"tabWidth",p.prototype.tabWidth))),c=Math.max(0,Math…
3440min(a.height,b.y-a.y)))},!1)]},document:function(a){return[T(a,["size"],function(a){var b=Math.max…
3441min(1,parseFloat(mxUtils.getValue(this.state.style,"size",v.prototype.size))));return new mxPoint(…
3442min(1,parseFloat(mxUtils.getValue(this.state.style,"size",ea.prototype.size))));return new mxPoint…
3443min(a.width/2,a.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return …
3444 b){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(b.y-a.y)/a.height)))/100});b…
3449 …nction(a,b,c){a=[];var d=Math.tan(mxUtils.toRadians(30)),e=(.5-d)/2,d=Math.min(b,c/(.5+d));b=(b-d)…
3450 …=[];var d=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle…
3452min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this…
3457 ….prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(b,Math.min(c,parseFloat(m…
3458 ….prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(b,Math.min(c,parseFloat(m…
3460 ….prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(b,Math.min(c,parseFloat(m…
3462 …eturn a};m.prototype.getConstraints=function(a,b,c){a=[];b=Math.max(0,Math.min(c,parseFloat(mxUtil…
3464 …){a=[];var d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth…
3469 …aints;za.prototype.getConstraints=function(a,b,c){a=[];var d=Math.min(b,c/2),e=Math.min(b-d,Math.m…
3472 …int(new mxPoint(0,0),!1,null,0,Math.min(c-.5*a,1.5*a)),new mxConnectionConstraint(new mxPoint(0,0)…
3485 …(a,b,c){a=[];var d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),e…
3487 … a};da.prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(b,parseFloat(mxUtil…
3488 "dx",this.dx)))),e=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));a.…
3490 …];var d=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidt…
3492 …r d=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",V.prototype.arrowW…
3493 …;ya.prototype.getConstraints=function(a,b,c){a=[];var d=Math.min(c,b),e=Math.max(0,Math.min(d,d*pa…
3528 …iew").funct();var a=c.pageFormat,b=c.pageScale;c.zoomTo(Math.floor(20*Math.min((c.container.client…
3529min(a.x*c.view.scale,(c.container.scrollWidth-c.container.clientWidth)/2)-1)}),null,null,Editor.ct…
3530 …),c.container.scrollTop=Math.min(a.y,(c.container.scrollHeight-c.container.clientHeight)/2),c.cont…
3531 20);if(mxUtils.hasScrollbars(c.container)){var a=c.getPagePadding();c.container.scrollLeft=Math.min
3595 …g,"TR");for(var c=mxEvent.isMouseEvent(a)?2:4,d=p,e=Math.min(20,h.sectionRowIndex+c),c=Math.min(20…
3734 …(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)…
3757 …(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)…
10131 …izeForCell(u);null!=u&&p.geometry.width<u.width+30&&(p.geometry.width=Math.min(320,Math.max(p.geom…
10148 ….createTooltip(v,f,Math.min((window.innerWidth||document.documentElement.clientWidth||document.bod…
10202 …;var g=!1===l?1:null!=d&&null!=e?Math.max(d/m.width,e/m.height):Math.min(1,Math.min(520/m.width,52…
10245 …ementsByTagName("diagram");m=[];for(e=0;e<q.length;e++)m.push(q[e]);p=Math.min(l,m.length-1);0<m.l…
10282 …(0,Math.min(b,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)…
10286 …(0,Math.min(b,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)…
10289 …(0,Math.min(b,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)…
10325 …"none";var J=m,D=g;if(m>b.maxImageSize||g>b.maxImageSize){var O=Math.min(1,Math.min(b.maxImageSize…
10349 …(d.shape.stencil.desc));mxUtils.write(m,t||"");d=p.getGraphBounds();g=Math.min(160/d.width,(g-40)/…
10357 ….createTooltip(f,d,Math.min((window.innerWidth||document.documentElement.clientWidth||document.bod…
10444 …alue(b.style,"sketch","0")}},{name:"jiggle",dispName:"Jiggle",type:"float",min:0,defVal:1,isVisibl…
10446 …)}},{name:"simplification",dispName:"Simplification",type:"float",defVal:0,min:0,max:1,isVisible:f…
10448 …==urlParams.rough?"1":"0")}},{name:"jiggle",dispName:"Jiggle",type:"float",min:0,defVal:1,isVisibl…
10449 …rties=[{type:"separator"},{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstant…
10450 …est",dispName:"West"}]},{name:"jettySize",dispName:"Jetty Size",type:"int",min:0,defVal:"auto",all…
10451 …pName:"Fill Opacity",type:"int",min:0,max:100,defVal:100},{name:"strokeOpacity",dispName:"Stroke O…
10453 …itor.commonVertexProperties=[{name:"colspan",dispName:"Colspan",type:"int",min:1,defVal:1,isVisibl…
10454 …isTableCell(b.vertices[0])}},{name:"rowspan",dispName:"Rowspan",type:"int",min:1,defVal:1,isVisibl…
10456 …pName:"Fill Opacity",type:"int",min:0,max:100,defVal:100},{name:"strokeOpacity",dispName:"Stroke O…
10488 …ame&&(d=b.getElementsByTagName("diagram"),0<d.length&&(e=d[Math.max(0,Math.min(d.length-1,urlParam…
10534 return Math.min(f,Math.min(d/b,d/c))};Editor.prototype.exportToCanvas=function(b,c,f,d,e,l,m,g,p,k,…
10535 …=parseInt(f.getAttribute("height"));g=null!=g?g:1;null!=c&&(g=l?Math.min(1,Math.min(3*c/(4*q),c/k)…
10547min:0,defVal:mxConstants.LINE_ARCSIZE},{name:"absoluteArcSize",dispName:"Abs. Arc Size",type:"bool…
10548min:0,defVal:10},{name:"startWidth",dispName:"Start Width",type:"float",min:0,defVal:20},{name:"en…
10549 …ototype.customProperties=[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstant…
10550min:0,max:1,defVal:.2}];mxCellRenderer.defaultShapes.hexagon.prototype.customProperties=[{name:"ar…
10551min:0,max:1}];mxCellRenderer.defaultShapes.internalStorage.prototype.customProperties=[{name:"arcS…
10552min:-1,max:1,defVal:0},{name:"darkOpacity2",dispName:"Dark Opacity 2",type:"float",min:-1,max:1,de…
10553min:0,max:1,defVal:.2}];mxCellRenderer.defaultShapes.tape.prototype.customProperties=[{name:"size"…
10554min:0,defVal:30}];mxCellRenderer.defaultShapes.callout.prototype.customProperties=[{name:"arcSize"…
10555 min:0,max:1,defVal:.5}];mxCellRenderer.defaultShapes.folder.prototype.customProperties=[{name:"tabW…
10557min:0,defVal:4}];mxCellRenderer.defaultShapes.ext.prototype.customProperties=[{name:"arcSize",disp…
10558 …"Rounded",type:"bool",defVal:!0},{name:"size",dispName:"Size",type:"float",min:0,max:1,defVal:.5}]…
10559 …oat",min:0,defVal:24},{name:"imageHeight",dispName:"Image Height",type:"float",min:0,defVal:24},{n…
10560min:0,max:1,defVal:.1}];mxCellRenderer.defaultShapes.manualInput.prototype.customProperties=[{name…
10561min:0,defVal:20}];mxCellRenderer.defaultShapes.offPageConnector.prototype.customProperties=[{name:…
10562min:0,max:1,defVal:.2}];mxCellRenderer.defaultShapes.doubleArrow.prototype.customProperties=[{name…
10563min:0,defVal:20},{name:"dy",dispName:"Width2",type:"float",min:0,defVal:20}];mxCellRenderer.defaul…
10564min:0}];mxCellRenderer.defaultShapes.umlFrame.prototype.customProperties=[{name:"width",dispName:"…
10582min&&b<k.min?b=k.min:null!=k.max&&b>k.max&&(b=k.max);b=mxUtils.htmlEntities(("int"==u?parseInt(b):…
10583 (m.min=parseFloat(k.min)),null!=k.max&&(m.max=parseFloat(k.max)));b.appendChild(m);mxEvent.addListe…
10664 …n f(){y.value=Math.max(1,Math.min(g,Math.max(parseInt(y.value),parseInt(n.value))));n.value=Math.m…
10665 …eScale,x=A.checked;if(x)var v=parseInt(H.value),C=parseInt(Q.value),v=Math.min(u.height*C/(t.heigh…
10735 …ms["page-id"]&&(f=b);this.currentPage=null!=f?f:this.pages[Math.max(0,Math.min(this.pages.length-1…
10796 …spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},l=Math.min(200,28*Math.ceil(b.…
10807 …length,e=Math.ceil(d/1024),l=Array(e),g=0;g<e;++g){for(var k=1024*g,n=Math.min(k+1024,d),A=Array(n…
10902 this.convertDataUri(b)+";"))}),n,this.maxImageSize);else{var l=Math.min(1,Math.min(this.maxImageSiz…
11533 …function(b,e,d){EditorUi.call(this,b,e,null!=d?d:"1"==urlParams.lightbox||"min"==uiTheme&&"0"!=url…
11618 x=Math.min(1,Math.min(3*b/(4*t.height),x)),A=Math.floor(t.x),z=Math.floor(t.y);q.setAttribute("widt…
11806 …ion(){u.value=Math.max(1,Math.min(k,Math.max(parseInt(u.value),parseInt(q.value))));q.value=Math.m…
11810 …value),d=n.checked||d==l&&e==l?null:{from:Math.max(0,Math.min(k-1,d-1)),to:Math.max(0,Math.min(k-1…
11872 …ction(){c.resizeImage(f,b,mxUtils.bind(this,function(f,n,p){f=k?Math.min(1,Math.min(c.maxImageSize…
11976 …le.marginLeft="30px";for(var d=this.editor.isChromelessView()?29:59,c=Math.min(140,Math.max(20,(th…
12008 …tersects(p,x)&&(e=10+Math.max(e,(Math.min(p.x+p.width,x.x+x.width)-Math.max(p.x,x.x))/n),l=10+Math…
12014 …odel.getTerminal(b[f],!1));null!=g&&(!c&&Math.min(g.x+g.width,d.x+d.width)>=Math.max(g.x,d.x)||c&&…
12049 …ientWidth-241):Math.max(10,b.diagramContainer.clientWidth-248),60,240,Math.min(566,e.container.cli…
12050min(e.container.clientWidth-10,218);b.sidebarWindow=new c(b,mxResources.get("shapes"),10,"1"==urlP…
12057 …(0,Math.min(b,(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)…
12120 …(this.div.offsetWidth);this.div.style.left=Math.max(m.embedViewport.x,Math.min(b,m.embedViewport.x…
12121 …(this.div.offsetHeight);this.div.style.top=Math.max(m.embedViewport.y,Math.min(b,m.embedViewport.y…
12138 Math.min(d-240,280)+"px";m.statusContainer.style.display="inline-block";m.statusContainer.style.tex…
12177 2:1));k=null;c=f?Math.min(e+(d?c.height:c.width),d?t.height:t.width):d?t.height:t.width;if(f)if(u.f…
12191 …n.length;p++)null!=n[p]&&(d=Math.max(d,n[p].x),e=Math.min(e,n[p].x),f=Math.max(f,n[p].y),k=Math.mi…