Lines Matching refs:k

4k.length;d++)if(c=k[d]+b,void 0!==e[c])return c;return void 0!==e[b]?b:void 0}function e(a,b){for(…
41k):f=h.$();var g=h.g,k=x(g);if(f)b.ca(h.V()),k=k&&k.replace(a,"");else if(f=!!g){if(47!==k.charCod… argument
42k&&(d.push("//"),s!==this.n&&d.push(this.n,"@"),d.push(this.k),s!==this.h&&d.push(":",this.h.toStr…
43 …!==this.n};e.prototype.ea=function(d){this.k=d?d:s;this.G(this.g)};e.prototype.Y=function(){return…
44 …ecodeURIComponent(this.g)};e.prototype.G=function(d){d?(d=""+d,this.g=!this.k||/^\//.test(d)?d:"/"…
45k=/^(?:([^:/?#]+):)?(?:\/\/(?:([^/?#]*)@)?([^/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.… variable
48k,e,N){var f=E(f),u=L[f];if(!u||"object"!==typeof u)b.length=0;else{for(var i=u.cssPropBits,q=i&80… argument
49 …j=i&1?"0"+j:"";else if('url("'===j.substring(0,5))j=k&&i&16?g(x(M(e,b[r].substring(5,j.length-2)),…
50 …th;K<A;++K)if(G[K].substring(0,I.length)==I){D[0]=D[D.length-1]="";y(G[K],D,k,e);j=j+D.join(" ")+"…
51 …j&&(b[o++]=j)}1===o&&'url("about:blank")'===b[0]&&(o=0);b.length=o}}}();var k=RegExp("^(active|aft… variable
54 …e(/[^\w-]/g,"\\$&")+H+p+(ca?" i]":"]"))}else if(b<f&&":"===a[b])if(o=a[++b],k.test(o))l+=":"+o;els…
56k=0;k<f;++k){var e=b[k];" "!=e&&(b[g++]=e)}b.length=g;b=b.join(" ");return b=!b.length?"":!d.test(…
57 …rames"===g){var i=j[0];1===j.length&&!/__$|[^\w\-]/.test(i)?(q.push(g," ",i+k.L),g="@keyframes"):g…
58 b(E,a.qa,k,e,v,w,B);--B[0];a=l?{toString:function(){return"@media "+l+" {"+f.result+"}"}}:f.result;…
59k),!a||!a.length?r=n:b=a.join(", "));r||q.push(b,"{")}F.push(s)},endRuleset:function(){F.pop();r||…
61k,f){++a;for(f.startBlock&&f.startBlock();a<k;){var h=b[a].charAt(0);if("}"==h){++a;break}a=" "===…
88 …f[j];B&K&&(p=k(d,{name:j,next:p,c:B},a,t,A,e))}else{var m=d,q=a,r=t,u=A,v=e,x=f(m,p);x?(q.w&&q.w(x…
89 …&&a.e(o,t,A,b(a,d,p,e,t))}}a.B&&a.B(t)}catch(E){if(E!==A)throw E;}}function k(a,d,f,h,t,j){var z=a… function
90 …\/]|$)","i"));for(var i=T[d.name],k=d.next,l=d.next+1;l<z&&!("</"===a[l-1]&&i.test(a[l]));l++);l<z…
91 …toLowerCase(),k;if(d[2]){k=d[3];var m=k.charCodeAt(0);if(34===m||39===m)k=k.substr(1,k.length-2);k
92k=a(b,e);if(k){if("object"!==typeof k)throw Error("tagPolicy did not return object (old API?)");if…
93 e[b],o=e[b+1];o!==s&&o!==c&&h.push(" ",m,'="',E(o),'"')}h.push(">");j&g.c.EMPTY&&!(k&g.c.EMPTY)&&h.…
95k=b[j],i=b[j+1],m=i,o=s,q;if((q=a+"::"+k,g.m.hasOwnProperty(q))||(q="*::"+k,g.m.hasOwnProperty(q))…
96k,m,i);break;case g.d.ID:case g.d.IDREF:case g.d.IDREFS:case g.d.GLOBAL_NAME:case g.d.LOCAL_NAME:c…
97 s,h&&y(h,a,k,m,i)}else i=s,h&&y(h,a,k,m,i);b[j+1]=i}return b}function ea(a,b,d){return function(e,f…
101k=function(t){return t<256?f[t]:f[256+(t>>>7)]},y=function(t,e){t.pending_buf[t.pending++]=255&e,t…
121k=Math.cos(e),d=Math.sin(e);b.forEach(function(a){var e=_slicedToArray(a,2),b=e[0],e=e[1];a[0]=(b-…
122k=e=0;k<c;k++){var d=b[k],g=b[(k+1)%c];if(B(d,g,a,f)){if(0===z(d,a,g))return v(d,a,g);e++}}return …
123k&&d!==g||!(0!==f||!v(b,e,a))||!(0!==k||!v(b,c,a))||!(0!==d||!v(e,b,c))||!(0!==g||!v(e,a,c))}funct…
124 …r=b[0].ymin;m.length||b.length;){if(b.length){k=-1;for(g=0;g<b.length&&!(b[g].ymin>r);g++)k=g;b.sp…
125 ….abs(a.edge.x-c.edge.x)}),1<m.length)for(k=0;k<m.length;k+=2){g=k+1;if(g>=m.length)break;f.push([[…
126k=e[f];2!==k.type;){var d=0,g=[];if("BOD"===c){if("M"!==k.text&&"m"!==k.text)return H("M0,0"+b);f+…
127k];if(1!==n.type)throw Error("Param not a number: "+c+","+n.text);g[g.length]=+n.text}if("number"!…
128 …k;case "L":w.push({key:"L",data:_toConsumableArray(q)});k=q;d=_slicedToArray(k,2);g=d[0];n=d[1];k;…
130 …,g=m,n=x}}}catch(y){b.e(y)}finally{b.f()}return w}function X(b){var a,e,c,f,k,d,g=[],n="",m=0,x=0,…
131 …k;case "L":g.push({key:"L",data:_toConsumableArray(y)});k=y;d=_slicedToArray(k,2);m=d[0];x=d[1];k;…
133 …Math.cos(e)-a*Math.sin(e),b*Math.sin(e)+a*Math.cos(e)]}function Y(b,a,e,c,f,k,d,g,n,m){var r=(w=d,…
134k*k);1<q&&(q=Math.sqrt(q),f*=q,k*=q);q=f*f;var l=k*k;g=(g===n?-1:1)*Math.sqrt(Math.abs((q*l-q*h*h-…
135k*Math.sin(g),e,c,f,k,d,0,n,[g,g,h,q]));d=Math.tan((g-t)/4);f=4/3*f*d;d*=4/3*k;k=[b,a];b=[b+f*Math…
136 …=(b||[]).length;if(2<c){for(var f=[],k=0;k<c-1;k++)f.push.apply(f,_toConsumableArray(D(b[k][0],b[k
137 …a,e,c){var f=ba(c.increment,b,a,c.rx,c.ry,1,c.increment*O(.1,O(.4,1,e),e),e),k=_slicedToArray(f,2),
138k[1],k=P(k[0],null,e);e.disableMultiStroke||(b=ba(c.increment,b,a,c.rx,c.ry,1.5,0,e),b=_slicedToAr… argument
139k),a+c*Math.sin(k),n)))):r.push({op:"lineTo",data:[b,a]},{op:"lineTo",data:[b+e*Math.cos(f),a+c*Ma…
141k=5<arguments.length&&void 0!==arguments[5]&&arguments[5]?f.disableMultiStrokeFill:f.disableMultiS…
142 …{return u(h,f,m)},p=function(){return u(r,f,m)},v=f.preserveVertices;return k&&(d?l.push({op:"move…
143 …a,e)]);return P(c,null,e)}function P(b,a,e){var c=b.length,f=[];if(3<c){var k=[],d=1-e.curveTightn…
144 k[0]=[n[0],n[1]];k[1]=[n[0]+(d*b[g+1][0]-d*b[g-1][0])/6,n[1]+(d*b[g+1][1]-d*b[g-1][1])/6];k[2]=[b[g…
145k,d,g){var n=[],m=[],r=u(.5,g)-Math.PI/2;m.push([u(k,g)+a+.9*c*Math.cos(r-b),u(k,g)+e+.9*f*Math.si…
146k,g)+e+.9*f*Math.sin(r+.5*d)]),[m,n]}function da(b,a,e,c,f,k,d,g,n){var m=k+u(.1,n);k=[];for(k.pus… argument
147k.push({op:"move",data:[r[0],r[1]]}):k.push({op:"move",data:[r[0]+(t?0:u(m[0],g)),r[1]+(t?0:u(m[0]…
156 …g=Math.floor(f/(b+d)),f=(f+d-g*(b+d))/2,k=a[0],l=a[1];k[0]>l[0]&&(k=a[1],l=a[0]);a=Math.atan((l[1]…
157 …{var t=l*(b+d),p=t+b,t=[k[0]+t*Math.cos(a)+f*Math.cos(a),k[1]+t*Math.sin(a)+f*Math.sin(a)],p=[k[0]…
158k=a[0],m=a[1];k[0]>m[0]&&(k=a[1],m=a[0]);a=Math.atan((m[1]-k[1])/(m[0]-k[0]));for(m=0;m<f;m++){var…
163 …[6]:!1,k=this._o(7<arguments.length?arguments[7]:void 0),m=[],l=ca(a,e,c,b,d,h,f,!0,k);f&&k.fill&&…
164k=(f-d)/g.curveStepCount,m=[];d<=f;d+=k)m.push([a+e*Math.cos(d),c+b*Math.sin(d)]);return m.push([a…
167 …=[],f=[];a=[0,0];var g=[],k=function(){var a;4<=g.length&&(a=f).push.apply(a,_toConsumableArray(ga… function
168k();f.push([n[0],n[1]]);break;case "C":if(!g.length){var r=f.length?f[f.length-1]:a;g.push([r[0],r…
169 …teForOfIteratorHelper(e),g;try{for(e.s();!(g=e.n()).done;){var k=g.value,h=k.data;switch(k.key){ca…
176 …tion(a,b,c,d,k){a=this.gen.line(a,b,c,d,k);return this.draw(a),a}},{key:"rectangle",value:function… argument
177k){a=this.gen.ellipse(a,b,c,d,k);return this.draw(a),a}},{key:"circle",value:function(a,b,c,d){a=t… argument
178 …options||this.getDefaultOptions(),d=this.svg.ownerDocument||window.document,k=d.createElementNS("h…
180 …k;case "fillSketch":m=this.fillSketch(d,l,c)}m&&k.appendChild(m)}}catch(x){b.e(x)}finally{b.f()}re…
185k,l,m=0;for(null!=b&&b||(a=Base64._utf8_encode(a));m<a.length;)d=a.charCodeAt(m++),e=a.charCodeAt(…
186 …)),k=this._keyStr.indexOf(a.charAt(l++)),d=d<<2|e>>4,e=(e&15)<<4|g>>2,f=(g&3)<<6|k,c+=String.fromC…
216 …a.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Show",function(a){try{mxUtils.popup(mxLog.t…
226 …var g=mxUtils.load(d);g.isReady()&&mxResources.parse(g.getText());f()}catch(k){}else f()}},parse:f…
233 …mateChanges:function(a,b,c){var d=0,e=function(){for(var g=!1,k=0;k<b.length;k++){var l=b[k];if(l …
235k=function(){g=Math.max(g-d,0);mxUtils.setOpacity(a,g);0<g?window.setTimeout(k,e):(a.style.visibil…
247 …Name);g=a.attributes;if(null!=g)for(var k=0;k<g.length;k++){var l=mxUtils.htmlEntities(g[k].value)…
254 …;return a},get:function(a,b,c,d,e,f,g){a=new mxXmlRequest(a,null,"GET");var k=a.setRequestHeaders;… variable in mxUtils
255k.apply(this,arguments);for(var c in g)a.setRequestHeader(c,g[c])});null!=d&&a.setBinary(d);a.send…
259 …I},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return q;c=Math.abs(c);d=Math…
260 …&(x=-1),f=x*Math.sqrt((t*u-t*r-u*n)/(t*r+u*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-q*r+k/2;l=q*n+p*r+l/2…
261 …*(c*B-p*y),q=[],A=0;A<g;++A){f+=e;var y=Math.cos(f),B=Math.sin(f),u=n*y-d*B+k,x=c*y+p*B+l,z=-m*(n*…
266 …solutePoints.length;g++){var k=a.absolutePoints[g],e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(n…
269 …y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,k=c.y-f.y,f={p:f,distSq:k*k+g*g};nu…
270k=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;var e=b.y,g=c.y,l=c.x-b.x;1E-7<…
271k;return(e<l||e>g)&&(f<m||f>k)&&(c<g||c>l)&&(d<k||d>m)},intersectsHotspot:function(a,b,c,d,e,f){d=…
272 …nction(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=
274k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scro…
275 …turn(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)…
286 …=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();…
287 ….removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=m,f.setEventsEnabled(k)}return g},getScaleF…
288 …or(f=0;g>a;){var g=Math.floor(c)/c,k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==k&&(k=Math.flo… variable
289 …"X-UA-Compatible" content="IE=9"><![endif]--\x3e');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=M… variable
290 …:hidden;width:'+e+"px;height:"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')…
291 …ht=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=k+"px";e.style.top=l+"…
292 …="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.…
296 …osable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSou…
297 … b?b(a):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewEle…
324 …eListener(a,"touchend",d))},redirectMouseEvents:function(a,b,c,d,e,f,g){var k=function(a){return"f… function
325k(a)))},function(a){null!=e?e(a):mxEvent.isConsumed(a)||b.fireMouseEvent(mxEvent.MOUSE_MOVE,new mx…
343 …this.params.split(),f=0;f<e.length;f++){var g=e[f].indexOf("=");if(0<g){var k=e[f].substring(0,g),…
344 …reateElement("textarea");l.setAttribute("wrap","off");l.setAttribute("name",k);mxUtils.write(l,g);…
347k,l,m){null!=b&&(g=null!=g?g:!0,this.content=b,this.init(c,d,e,f,m),this.installMaximizeHandler(),… argument
367 …this.div.style.height=d;this.div.style.width=e;k=mxUtils.getCurrentStyle(this.contentWrapper);if("…
369 k=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0);this.div.style.w…
402 g=a.view.translate,k=a.gridSize/2,e=(a.snap(e/d-g.x-k)+g.x)*d,c=(a.snap(c/d-g.y-k)+g.y)*d;null!=thi…
404 …ocument.createElement(null!=b?"img":"button"),k=e||(null!=f?"mxToolbarMode":"mxToolbarItem");g.cla…
405 …ht),this.menu.popup(b.x,b.y,null,a),this.menu.isMenuShowing()&&(g.className=k+"Selected",this.menu…
406 g.className=k;this.currentImg=null}))}}),null,a);mxEvent.addListener(g,"mouseout",a);return g};mxTo…
434 mxPopupMenu.prototype.addItem=function(a,b,c,d,e,f,g,k){d=d||this;this.itemCount++;d.willAddSeparat… argument
436 …enu(d),this.autoExpand&&null!=l.div&&(this.showSubmenu(d,l),d.activeRow=l));k||(l.className="mxPop…
437 …atch(q){}n=null}null!=c&&c(a)}this.eventReceiver=null;mxEvent.consume(a)}));k||mxEvent.addListener…
466 ….prototype.setGradient=function(a,b,c,d,e,f,g,k,l){c=this.state;c.fillColor=a;c.gradientFillAlpha=… argument
480k,l){if(null!=a&&null!=b){mxAbstractCanvas2D.prototype.setGradient.apply(this,arguments);var m=thi… argument
499k){e=this.converter.convert(e);var l=this.createElement("image");l.setAttribute("x",this.format(a)… argument
503k,l,m,n,p,q){if(this.textEnabled&&null!=e){mxUtils.isNode(e)&&(e=mxUtils.getOuterHtml(e));var r=th… argument
511 …);return c};mxSvgCanvas2D.prototype.getAlternateText=function(a,b,c,d,e,f,g,k,l,m,n,p,q){return nu… argument
512k,l,m,n,p,q){a=this.getAlternateText(a,b,c,d,e,f,g,k,l,m,n,p,q);d=this.state;return null!=a&&0<d.f… argument
516k=this.root.ownerSVGElement,l=0,m=f+"-"+l;if(null!=k)for(g=k.ownerDocument.getElementById(m);null!…
530 … if(b!=c){var g=b?d:0,k=b?-1:1,l=c?e:0,m=c?-1:1;f.transform+="translate("+this.format(g)+","+this.…
533 ….prototype.image=function(a,b,c,d,e,f,g,k){e=this.converter.convert(e);f=null!=f?f:!0;g=null!=g?g:… argument
534 …",l.alpha*l.fillAlpha);e=this.state.transform||"";if(g||k){var n=f=1,p=0,q=0;g&&(f=-1,p=-c-2*a);k&…
539 …=function(a,b,c,d,e,f,g,k,l,m,n){null!=n&&null!=n.firstChild&&null!=n.firstChild.firstChild&&this.… argument
540k,l,m,n,p,q,r,t){q=this.createElement("g");var u=this.createElement("foreignObject");this.setCssTe… argument
542 …pe.updateTextNodes=function(a,b,c,d,e,f,g,k,l,m,n){var p=this.state.scale;mxSvgCanvas2D.createCss(… argument
543 …ind(this,function(c,d,e,f,g){a+=this.state.dx;b+=this.state.dy;var k=n.firstChild,l=k.firstChild,q…
544k.setAttribute("width",Math.ceil(1/Math.min(1,p)*100)+"%");k.setAttribute("height",Math.ceil(1/Mat…
546 mxSvgCanvas2D.createCss=function(a,b,c,d,e,f,g,k,l,m,n,p,q){p="box-sizing: border-box; font-size: 0… argument
547 …+="max-height: "+Math.round(b)+"px; ")):(c="",r=0);b="";null!=k&&(b+="background-color: "+k+"; ");…
551k,l,m,n,p,q){if(this.textEnabled&&null!=e)if(p=null!=p?p:0,this.foEnabled&&"html"==l){var r=this.c… argument
553k,l,m,n,p){n=null!=n?n:0;k=this.state;var q=k.fontSize,r=this.createElement("g"),t=k.transform||""… argument
554 …:g==mxConstants.ALIGN_BOTTOM&&(n-=d)),n=this.createClip(p*k.scale-2,n*k.scale-2,c*k.scale+4,d*k.sc…
555 …|r.setAttribute("font-size",q*k.scale+"px");0<t.length&&r.setAttribute("transform",t);1>k.alpha&&r…
556 …ment("text"),q.setAttribute("x",this.format(a*k.scale)+this.textOffset),q.setAttribute("y",this.fo…
559k,l){var m=this.state;if(null!=m.fontBackgroundColor||null!=m.fontBorderColor){var n=null;if("fill… argument
561 …ts.ALIGN_CENTER?c-=e/2:g==mxConstants.ALIGN_RIGHT&&(c-=e),k==mxConstants.ALIGN_MIDDLE?d-=f/2:k==mx…
566 …pointerEvents=!1,this.guideX.init(this.graph.getView().getOverlayPane())));k=k||f},f=this.graph.ge…
567 g.y+=b.y;for(var k=!1,l=null,m=null,n=!1,p=null,q=null,r=f,t=f,u=g.x,x=g.x+g.width,y=g.getCenterX()…
568 g,!1)));this.graph.snapDelta(b,a,!c,k,n);b=this.getDelta(a,l,b.x,p,b.y);c=this.graph.container;k||n…
591k=this.bounds.width/e,l=this.bounds.height/e;if(this.isPaintBoundsInverted())var m=(k-l)/2,f=f+m,g…
592 …a.root.appendChild(e))}null!=this.stencil?this.stencil.drawShape(a,this,f,g,k,l):(a.setStrokeWidth…
593 …a,f,g,k,l));null!=m&&null!=a.state&&null!=a.state.transform&&m.setAttribute("transform",a.state.tr…
600 …&0<b.length){g=null!=g?g:!0;var k=b[b.length-1];if(e&&c){b=b.slice();var l=b[0],l=new mxPoint(k.x+…
601 …dTo(g.x,g.y,n,m);g=new mxPoint(n,m)}else a.lineTo(g.x,g.y);m=g;l++}e?a.close():a.lineTo(k.x,k.y)}};
618 ….states.slice(),k=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,null),k=this.computeAspect(…
619k,!1,!0);this.drawChildren(a,b,c,d,e,f,this.fgNode,k,!0,!b.outline||null==b.style||0==mxUtils.getV… argument
620 …NORTH||f==mxConstants.DIRECTION_SOUTH){g=d/this.h0;b=e/this.w0;var k=(d-e)/2;a+=k;c-=k}"fixed"==th…
621k=d.x,l=d.y,m=d.width,n=d.height,p=Math.min(m,n);if("save"==g)a.save();else if("restore"==g)a.rest…
622k=t[m][t[m].length-1],l.x==k.x&&l.y==k.y&&(t[m].pop(),n=!0),this.addPoints(a,t[m],!0,q,n);else p=!…
623k+Number(c.getAttribute("x1"))*m,l+Number(c.getAttribute("y1"))*n,k+Number(c.getAttribute("x2"))*m…
624 …(c.getAttribute("sweep-flag")),k+Number(c.getAttribute("x"))*m,l+Number(c.getAttribute("y"))*n);el…
625k+Number(c.getAttribute("x"))*m,l+Number(c.getAttribute("y"))*n,d,f,b,b);else if("ellipse"==g)a.el…
626 …TYLE_FLIPV,0),f=q&&b?f-p:q||b?f+p:f-p),f-=c.getAttribute("rotation"),a.text(k+Number(c.getAttribut…
627 …&&(k+=Number(c.getAttribute("x"))*m,l+=Number(c.getAttribute("y"))*n,d=Number(c.getAttribute("w"))…
630 …s[a]=b},createMarker:function(a,b,c,d,e,f,g,k,l,m){var n=mxMarker.markers[c];return null!=n?n(a,b,… argument
631k,l,m,n,p,q,r){c=l*q*1.118;p=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=p;n=d!=mxConstant… argument
632k,l,m,n,p,q,r){c=l*q*1.118;d=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=d;k.x+=2*-c;k.y+=… argument
633 k/2-l/e,d.y+k/e-l/2);a.lineTo(d.x-k,d.y-l);a.lineTo(d.x-k/2+l/e,d.y-l/2-k/e);a.close();q?a.fillAndS… argument
634k,l,m,n,p,q){var d=k*(m+p+1),e=l*(m+p+1);return function(){a.begin();a.moveTo(g.x-e/2,g.y+d/2);a.l… argument
635 l/2-k,d.y-l-k/2);a.close();a.moveTo(d.x-k,d.y-l);a.lineTo(d.x-2*k-.5*l,d.y+.5*k-2*l);a.lineTo(d.x-2…
644k=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;a.begin();this…
648k=f.y-e.y,l=Math.sqrt(g*g+k*k),m=l-2*c-mxConstants.ARROW_SIZE,g=g/l,k=k/l,l=d*k/3,d=-d*g/3,n=e.x-l…
652 …this.outline?this.getEdgeWidth()+c:this.getEdgeWidth(),g=this.isOpenEnded(),k=this.isMarkerStart()…
653 …setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();r=x;t=A;if(k&&!g)this.paintMarker…
655 x*f,g=I-C*f,k=F+B*f;D.push(function(){a.quadTo(b,c,d,e)});D.push(function(){a.lineTo(g,k)})}(z,y)):…
656k&&!g&&(a.begin(),this.paintMarker(a,b[0].x,b[0].y,r,t,n,d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.b… argument
659k,l,m,n,p,q,r,t,u,x,y,B,A,z){mxShape.call(this);this.value=a;this.bounds=b;this.color=null!=e?e:"b… argument
663 …ect==mxConstants.DIALECT_STRICTHTML,k=g?"html":"",l=this.value;g||"html"!=k||(l=mxUtils.htmlEntiti…
664k?l.replace(/\n/g,"<br/>"):l,m=this.textDirection;m!=mxConstants.TEXT_DIRECTION_AUTO||g||(m=this.g…
686k,l,m){a=this.getTextRotation();a=(1!=this.scale?"scale("+this.scale+") ":"")+(0!=a?"rotate("+a+"d… argument
687k+="width: 100%; ");100>this.opacity&&(l+="opacity: "+this.opacity/100+"; ");this.node.setAttribut…
692 …ode,this.opacity);var e,f=0,g=null!=this.state?this.state.view.textDiv:null,k=this.node;if(null!=g…
693k=g;null!=k.firstChild&&"DIV"==k.firstChild.nodeName&&(k=k.firstChild,this.wrap&&"break-word"==g.s…
694 ….bounds.height/d;"fill"==this.overflow?(f=g,e=l):"width"==this.overflow&&(f=k.scrollHeight,e=l);th…
695k=Math.cos(m),n=Math.sin(-m),b=l*-(b+.5),c=g*-(c+.5);0!=m&&(m="progid:DXImageTransform.Microsoft.M…
717 …ber(this.style,mxConstants.STYLE_IMAGE_WIDTH,mxConstants.DEFAULT_IMAGESIZE),k=mxUtils.getNumber(th…
718 …stants.ALIGN_TOP?b+l:f==mxConstants.ALIGN_BOTTOM?b+(d-k-l):b+(d-k)/2;return new mxRectangle(a,b,g,
719 ….getNumber(this.style,mxConstants.STYLE_INDICATOR_WIDTH,this.indicatorSize),k=mxUtils.getNumber(th…
720 …a+l;b=f==mxConstants.ALIGN_BOTTOM?b+(d-k-l):f==mxConstants.ALIGN_TOP?b+l:b+(d-k)/2;return new mxRe…
726 …b[e-1];if(null!=f&&null!=g&&null!=b)var d=b.x-g.x,e=b.y-g.y,k=Math.sqrt(d*d+e*e),g=d/k,d=e/k,e=mxU…
734k=0,f=this.isHorizontal()?Math.min(f,e):Math.min(f,d);a.translate(b,c);this.isRounded?(k=this.getS…
735 …h,e.height,this.image,!1,!1,!1));this.glass&&(a.setShadow(!1),this.paintGlassEffect(a,0,0,d,f,k))};
736 mxSwimlane.prototype.paintSwimlane=function(a,b,c,d,e,f,g,k){a.begin();var l=!0;null!=this.style&&(… argument
737 …ineTo(d,e),a.lineTo(f,e),g==mxConstants.NONE?a.stroke():a.fillAndStroke()));k&&this.paintDivider(a…
738k,l){a.begin();var m=!0;null!=this.style&&(m="1"==mxUtils.getValue(this.style,mxConstants.STYLE_PO… argument
739k==mxConstants.NONE?a.stroke():a.fillAndStroke())):(a.moveTo(f,0),a.lineTo(g,0),a.quadTo(0,0,0,Mat…
740 a.stroke():a.fillAndStroke()));l&&this.paintDivider(a,b,c,d,e,f,k==mxConstants.NONE)};mxSwimlane.pr…
743 …h.model.getEdgeAt(a,f),k=this.graph.model.getTerminal(g,!0)==a;if(!b||k)k=this.graph.view.getVisib…
748k=this.graph.getView().scale,l=g.text.boundingBox;g.text.boundingBox.x<g.x&&(b+=(g.x-l.x)/k,f.wid…
755 …l!=e){var g=0,k=d.getChildCount(e);c=f?b:c;b=this.graph.getView().getState(e);null!=b&&(c-=f?b.x:b…
759 …e(a)){var k=this.graph.getCellStyle(a),l=mxUtils.getNumber(k,mxConstants.STYLE_STARTSIZE,mxConstan…
760k?Math.min(l,b.height):Math.min(l,b.width));c==k&&(e-=l);k?g+=l:f+=l}d.beginUpdate();try{for(var l…
761 u=mxUtils.getNumber(x,mxConstants.STYLE_STROKEWIDTH,1);if(null!=k){var y=m+this.spacing+Math.floor(…
762k=t;m=c?k.x+k.width+Math.floor(u/2):k.y+k.height+Math.floor(u/2)}}this.resizeParent&&null!=b&&null…
766 …ount(d);for(e=0;e<g;e++){var k=c.getChildAt(d,e),k=this.getVertexBounds(k);if(null!=k){k=k.x+k.wid…
767 …=c.getChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g);!this.isVertexIgnored(k)&&this.isVertexMo…
768k=e[g],p=c.getGeometry(k);null!=p&&(p=p.clone(),p.x=l,p.y=m,b?(this.resizeVertices&&(p.width=d,p.h…
774 …this.graph.gridSize,d=g;if(!this.moveTree){var k=this.getVertexBounds(this.root);null!=k&&(g=k.x,d…
775 k=this.isHorizontal()?this.horizontalLayout(this.node,g,d):this.verticalLayout(this.node,null,g,d);…
777 …Terminal(!1)==a),k=c.get(d);null==k&&(k=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.pu…
779 …getView();this.sortEdges&&this.sortOutgoingEdges(a,f);for(var k=0;k<f.length;k++){var l=f[k];if(!t…
786 …f=a.lowerHead,g=b.upperHead;null!=g&&null!=f;){var k=this.offset(c,d,g.dx,g.dy,f.dx,f.dy),d=d+k,e=…
792 …r f=this.minEdgeJetty-this.prefVertEdgeOff,g=this.getVertexBounds(c),k=0;k<e.length;k++){for(var l=
793k].cell.cell,m=this.getVertexBounds(l),l=this.graph.getEdgesBetween(c,l,!1),n=[],p,q,r=0;r<l.lengt…
796 …,c=null!=c?c:f.clone();c.add(f)}this.calcRowDims([this.node],0);for(var g=0,k=0,c=0;c<this.row.len…
797k=Math.max(k,e);for(c=0;c<this.row.length;c++){var l=this.centerX-this.nodeDistance-g*this.rowRadi…
804 …){var g=this.vertexArray[d];this.cellLocation[d]=[];var k=mxObjectIdentity.get(g);this.indices[k]=…
805 …sableEdgeStyle&&this.setEdgeStyleEnabled(r[m],!1);var k=mxObjectIdentity.get(c[m]),t=this.indices[
813 …();try{for(var c=0,d=null,e=null,f=[],g=b.getChildCount(a),k=0;k<g;k++){var l=b.getChildAt(a,k);if…
821 …ChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g),l=b.getState(k);null!=l&&(this.isVertexIgnored(
836 …ce;for(var f=0;f<e.length;f++){var g=e[f],k=g.edges;if(null!=k&&0<k.length){var k=k[0],l=a.getVisi…
837 l&&(l=a.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&c[d]!=l&&(g.target=l,0==l.con…
839k=a.getVisibleTerminal(f[g],!1);if(k!=b[e]&&a.graph.model.isVertex(k)&&!a.isVertexIgnored(k)){var …
840k);d.resetEdge(n);a.disableEdgeStyle&&(a.setEdgeStyleEnabled(n,!1),a.setOrthogonalEdge(n,!0))}k.so…
841 …(var k=!0,l=this.SOURCESCANSTARTRANK,b=0;b<f.length;b++){var m=f[b];if(5270620==m.temp[0])m=m.sour…
846k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.length+1,b… argument
847 …ce;for(var f=0;f<e.length;f++){var g=e[f],k=g.edges;if(null!=k&&0<k.length){var k=k[0],l=a.getVisi…
848 a.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&c[d]!=l&&(g.target=l,0==l.connectsA…
850 …=a.getEdges(b[f]);c[f].connectsAsSource=[];for(var k=0;k<g.length;k++){var l=a.getVisibleTerminal(…
853k=b[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);e…
858k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.length+1,b… argument
859 this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}else d(a,b,c,k,1)};function mxHierarchicalLayoutStage(…
861 …nks.length;e++)for(var f=a.ranks[e],g=0;g<f.length;g++){var k=f[g];this.nestedBestRanks[e][k.getGe…
862 k}else for(c++,e=0;e<this.nestedBestRanks.length;e++)for(f=a.ranks[e],g=0;g<f.length;g++)k=f[g],k.s…
863 ….length;g++){for(var k=d[g],l=k.getGeneralPurposeVariable(a),k=k.getPreviousLayerConnectedCells(a)…
865k=[],l=0;l<g.length;l++){var m=g[l],n=m.getGeneralPurposeVariable(f);0>n&&(n=l);k[n]=m}for(var p=n…
866 0;A<n.length;A++)t[A]=n[A].getGeneralPurposeVariable(f-1)}else m=p,n=q,r=u,t=x,y=B;B=k[l+1];p=B.get…
868k=new MedianCellSorter;k.cell=g;var l;l=b?g.getNextLayerConnectedCells(a):g.getPreviousLayerConnec…
879k=new WeightedCellSorter(g,e);k.rankIndex=f;k.visited=!0;b.push(k);c.put(g,k)}}a=10*b.length;for(f…
881 …ble(l)+1&&(e.setGeneralPurposeVariable(l,x),p=!0)));if(p){for(e=0;e<k.length;e++)l=k[e],l=c.get(l)…
882k;k=c<a?g.getPreviousLayerConnectedCells(a):g.getNextLayerConnectedCells(a);d[f].weightedValue=thi…
883k&&(l=k.length,l=0<l?this.medianXValue(k,c):g.getGeneralPurposeVariable(a));var m=0;k=-1E8;for(var…
884 ….intraCellSpacing,n++)}l>=k&&l<=q?g.setGeneralPurposeVariable(a,l):l<k?(g.setGeneralPurposeVariabl…
889 …ths=[];this.rankY=[];for(var e=b.maxRank;0<=e;e--){for(var f=0,g=b.ranks[e],k=this.initialX,l=!1,m…
890k+=n.width/2;n.setX(e,k);n.setGeneralPurposeVariable(e,k);k+=n.width/2;k+=this.intraCellSpacing;k>…
891 k;for(m=0;m<g.length;m++)g[m].setY(e,c)}};
892 …rposeVariable(e.minRank+1),g=!0,k=0,l=e.minRank+2;l<e.maxRank;l++){var m=e.getGeneralPurposeVariab…
893 …,l-1,p)?(n[l-e.minRank-2]=p,g++):(n[l-e.minRank-2]=e.getX(l-1),p=q);if(g>k||f>k)if(g>=f)for(l=e.ma…
897 …[d];if(e.isVertex())for(var f=e.getPreviousLayerConnectedCells(b),g=b-1,k=0;2>k;k++){if(-1<g&&g<a.…
898 t;if(r.isVertex()){t=0==k?e.connectsAsSource:e.connectsAsTarget;for(var u=0;u<t.length;u++)if(t[u].…
899 p+=this.prefVertEdgeOff:m>f/2&&(p-=this.prefVertEdgeOff),t=0;t<q;t++)r[4*t+2*k]=n,n+=l,r[4*t+2*k+1]…
900 …,f=this.jettyPositions[a.ids[0]],g=a.isReversed?a.target.cell:a.source.cell,k=this.layout.graph,l=…
901 …;r!=l&&(x=-x);var u=u+x,t=f[4*e+t],y=k.model.getTerminal(n,!0);this.layout.isPort(y)&&k.model.getP…
903 …=x,t=f[4*e+2-t],r=k.model.getTerminal(n,!1),p=this.layout.getVisibleTerminal(n,!1),this.layout.isP…
914k=b[g];if(d.isVertex(k)&&this.graph.isCellVisible(k)){for(var l=this.getEdges(k),m=0,n=0,p=0;p<l.l…
918k={};b.push(k);this.traverse(g[e],!0,null,c,k,b,d)}for(e=0;e<g.length;e++)this.roots.push(g[e]);e=…
919 0;e<b.length;e++){k=b[e];d=[];for(f in k)d.push(k[f]);this.model=new mxGraphHierarchyModel(this,d,t…
921 …th;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisibleTerminal(d[f],!1);(g==a&&k==b||!c&…
922k=mxObjectIdentity.get(a);if(null==d[k]&&(null==g||null!=g[k])){null==e[k]&&(e[k]=a);null==d[k]&&(…
923 b,l[c],d,e,f,g))}}else if(null==e[k])for(c=0;c<f.length;c++)if(b=f[c],null!=b[k]){for(l in b)e[l]=b…
931 …w mxRectangle,k=c.clone(),l=d.width+(0==e?this.parentBorder:this.interRankCellSpacing/2),m=b[e].x-…
932 2;k.height=a.height+d.height+2*this.parentBorder;this.graph.model.setGeometry(f,k);this.graph.moveC…
933k=b[g];if(null!=k&&d.isVertex(k)&&this.graph.isCellVisible(k)&&d.isAncestor(a,k)){for(var l=this.g…
937k=this.findRoots(this.swimlanes[g],d);if(0==k.length)g++;else{for(e=0;e<k.length;e++){var l={};b.p…
940 …th;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisibleTerminal(d[f],!1);(g==a&&k==b||!c&…
941k){if(null!=a&&null!=d){var l=mxObjectIdentity.get(a);if(null==d[l]&&(null==g||null!=g[l])){null==… argument
960 …,g=0;g<e;g++){var k=this.getEdgeAt(a,g),l=this.getTerminal(k,!0),m=this.getTerminal(k,!1);(d&&l==m…
961 …r(e=0;e<g;e++){var k=this.getEdgeAt(f,e),l=this.getTerminal(k,!0),m=this.getTerminal(k,!1),n=m==a&…
962 ….length;f++){var g=this.getTerminal(a[f],!0),k=this.getTerminal(a[f],!1);g==b&&null!=k&&k!=b&&d?e.…
971 …tion"==typeof g.getId){var k=g.getId(),l=null==k||this.isEdge(g)&&c?null:this.getCell(k);if(null==…
1003 …Math.atan2(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);…
1004 …,EllipsePerimeter:function(a,b,c,d){var e=a.x,f=a.y,g=a.width/2,k=a.height/2,l=e+g,m=f+k;b=c.x;c=c…
1005k*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,a…
1006k=e+a/2,l=c.x;c=c.y;if(g==l)return k>c?new mxPoint(g,e):new mxPoint(g,e+a);if(k==c)return g>l?new …
1007k=a.width,l=a.height;a=f+k/2;var m=g+l/2,n=new mxPoint(f,g),p=new mxPoint(f+k,m),q=new mxPoint(f,g…
1008k,l):Math.atan2(l,k);(b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_WEST?r>-t&&r<t:r<-M…
1009k*Math.tan(r)/2):(d&&(d=new mxPoint(a,m),c.y>=g&&c.y<=g+l?(d.x=e?a:b==mxConstants.DIRECTION_WEST?f…
1010k||m>e+g&&n<f||m>e+g&&n>f+k)d=!1;if(d){if(t){if(m==l){if(n<=f)return new mxPoint(l,f);if(n>=f+k)re…
1011 k/4)}else if(m>e+g){if(n==f+k/4)return new mxPoint(e+g,f+k/4);if(n==f+3*k/4)return new mxPoint(e+g,…
1012k))):n>f+3*k/4&&(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f+Math.flo…
1013k){if(m==e+g/4)return new mxPoint(e+g/4,f+k);if(m==e+3*g/4)return new mxPoint(e+3*g/4,f+k)}else if…
1014k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):m>e+3*g/4&&(b=new mxPoint(e+Math.floor(.5…
1015k:f):n>=f&&n<=f+k&&(p=n,d=m<l?e+g:e);c=mxUtils.intersection(d,p,c.x,c.y,b.x,b.y,u.x,u.y)}else{if(t…
1016 k)):p>m&&p<r?(b=new mxPoint(e,f-Math.floor(.25*k)),u=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.…
1017k/2,g/4);if(p==m)return new mxPoint(e+Math.floor(.75*g),f);if(p==q-m)return new mxPoint(e+Math.flo…
1018k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):0>p&&p>-m?(b=new mxPoint(e+Math.floor(.5*…
1019k,l){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.border=null!=d?d:0;this.pageFormat=mxRec… argument
1023 …ll!=b?b:this.wnd;var g=!1;null==this.wnd&&(g=!0,this.wnd=window.open());var k=this.wnd.document;if…
1024 k.writeln(l);"CSS1Compat"===document.compatMode&&k.writeln("<!DOCTYPE html>");k.writeln("<html>");k
1025k.body.appendChild(a);if(mxClient.IS_IE&&null==k.documentMode||5==k.documentMode||8==k.documentMod…
1026 k.documentElement.scrollTop)+10+"px"};mxEvent.addListener(this.wnd,"scroll",function(a){b()});mxEve…
1027k.createElement("div");d.innerHTML=a.outerHTML;d=d.getElementsByTagName("div")[0];k.body.appendChi…
1033 …teElement("tbody"),f=0;f<a;f++){for(var g=c.createElement("tr"),k=0;k<b;k++){var l=f*b+k+1,m=c.cre…
1035 …nction(a,b,c,d,e,f){f=this.wnd.document;var g=document.createElement("div"),k=null;try{if(0!=c||0!…
1036 …ight="100%");l.appendChild(m);g.appendChild(l);document.body.appendChild(g);k=m}else g.style.width…
1037 …x"),g.appendChild(l),document.body.appendChild(g),k=l}catch(n){throw g.parentNode.removeChild(g),n…
1039 …ar g=this.graph.getView();d=this.graph.container;this.graph.container=e;var k=g.getCanvas(),l=g.ge…
1042 …Enabled(r);this.graph.container=d;this.graph.cellRenderer.redraw=u;g.canvas=k;g.backgroundPane=l;g…
1049k=f.substring(0,g),f=f.substring(g+1);f==mxConstants.NONE?delete c[k]:mxUtils.isNumeric(f)?c[k]=pa…
1080 …nts.STYLE_OVERFLOW])var f=parseInt(a.style[mxConstants.STYLE_SPACING]||2)*c,k=(parseInt(a.style[mx…
1081 …,b=new mxRectangle(b.x+n,b.y+k,b.width-(f==mxConstants.ALIGN_CENTER&&null==e?n+l:0),b.height-(g==m…
1090 g=mxUtils.getValue(c.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),k=(mxUtils.getValue(c.st…
1091 …is.textarea.style.textDecoration=m.join(" ");this.textarea.style.fontWeight=k?"bold":"normal";this…
1099 …yle[mxConstants.STYLE_SPACING_TOP]||0)+mxText.prototype.baseSpacingTop)*c+f,k=(parseInt(a.style[mx…
1100 …cingLeft)*c+f,c=new mxRectangle(a.x,a.y,Math.max(e,a.width-f-k),Math.max(d,a.height-g-l)),k=mxUtil…
1101 k==mxConstants.ALIGN_CENTER&&l==mxConstants.ALIGN_MIDDLE?a.shape.getLabelBounds(c):c;b?(c.x=a.absol…
1131 …iew.graph.dialect,k=a.style[mxConstants.STYLE_OVERFLOW]||"visible";null==a.text||a.text.wrap==e&&a…
1132 …LE_FONTCOLOR);if(b||a.text.value!=d||a.text.isWrapping!=e||a.text.overflow!=k||a.text.isClipping!=…
1133 …text.bounds=c,a.text.scale=l,a.text.wrap=e,a.text.clipped=f,a.text.overflow=k,d=a.text.node.style.…
1142 …s.toRadians(c),e=Math.cos(d),f=Math.sin(d);a.overlays.visit(function(d,k){var g=k.overlay.getBound… argument
1143 ….round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!k.bounds.equals(g))k.bounds=g,k
1145 …pe.isPaintBoundsInverted())var k=(a.width-a.height)/2,e=e+k,f=f-k;0!=g&&(k=mxUtils.toRadians(g),g=…
1146 f),g,k,new mxPoint(a.getCenterX(),a.getCenterY())),e=f.x,f=f.y)}return a.view.graph.getModel().isEd…
1155 …T)*f.scale;var k=a.absolutePoints,l=k[0],m=k[k.length-1],k=!1;if(null!=b){var n=g.getCellGeometry(…
1156 p!=mxConstants.DIRECTION_MASK_WEST+mxConstants.DIRECTION_MASK_EAST&&(k=p==mxConstants.DIRECTION_MAS…
1157k?b.x:b.x+b.width,b=f.getRoutingCenterY(b),l=n?c.x:c.x+c.width,c=f.getRoutingCenterY(c),f=new mxPo…
1158k=d=0,l=0,m=0,g=mxUtils.getValue(a.style,mxConstants.STYLE_SEGMENT,g.gridSize)*f.scale;a=mxUtils.g…
1159k:a==mxConstants.DIRECTION_SOUTH?l=b.y+b.height+2*k:d=a==mxConstants.DIRECTION_EAST?b.x-2*m:b.x+b.…
1160k=Math.min(b.y,c.y),n=Math.max(b.y+b.height,c.y+c.height),f=a.view.transformControlPoint(a,f),g=f.…
1161k=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null!=k&&(b=new mxCellState,b.x=k
1162 k)),mxUtils.contains(c,a,f)||mxUtils.contains(b,a,f)||e.push(new mxPoint(a,f)),1==e.length&&(null!=…
1163k=Math.max(b.y,c.y),g=Math.min(b.y+b.height,c.y+c.height),a=f.getRoutingCenterX(b),null!=d&&d.x>=b…
1164k)):(f=Math.max(b.x,c.x),e.push(new mxPoint(f+(Math.min(b.x+b.width,c.x+c.width)-f)/2,k)))))},Segm…
1168 …round(f.y*a.view.scale*10)/10,null==k||1<=Math.abs(k.x-f.x)||Math.abs(k.y-f.y)>=Math.max(1,a.view.…
1173 …tion(a,b,c,d,e){var f=a.view.graph,g=null==l?!1:f.getModel().isEdge(l.cell),k=null==m?!1:f.getMode… variable
1174 …v=v*v+D*D<C*C;if(v||mxEdgeStyle.orthPointsFallback&&null!=d&&0<d.length||g||k)mxEdgeStyle.SegmentC…
1223 …mStencil(c),k=this.updateBoundsFromStencil(d);f(a,c,d,b,e);null!=g&&c.setRect(g.x,g.y,g.width,g.he…
1228 …if(0!=c)var k=Math.cos(-c),l=Math.sin(-c),e=mxUtils.getRotatedPoint(e,k,l,g);k=parseFloat(a.style[…
1229 0);a=this.getPerimeterPoint(b,e,0==c&&f,k);0!=c&&(k=Math.cos(c),l=Math.sin(c),a=mxUtils.getRotatedP…
1235k=f.y,l=c,m=k,n=1;n<b.length;n++){var p=b[n];null!=p&&(e=f.x-p.x,f=f.y-p.y,e=Math.sqrt(e*e+f*f),g.…
1236 Math.max(1,m-k)}};
1237k=0,l=1;f>=Math.round(k+g)&&l<e-1;)k+=g,g=a.segments[l++];e=0==g?0:(f-k)/g;f=a.absolutePoints[l-1]…
1238 f.x+m*e+((0==g?0:l/g)*d+c)*this.scale;d=f.y+l*e-((0==g?0:m/g)*d-k)*this.scale}}return new mxPoint(c…
1239k=a.absolutePoints[1],l=mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,b,c),m=0,n=0,p=0,q=2;q<e;q++)g=k,k=a.a…
1240 …a>e&&(a=e);e=Math.sqrt(mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,b,c));-1==mxUtils.relativeCcw(g.x,g.y,k
1278 …ootChange&&(null==b||!b(g))){var k=null;g instanceof mxChildChange?k=g.child:null!=g.cell&&g.cell …
1279 k&&e(k)}}return d};mxGraph.prototype.graphModelChanged=function(a){for(var b=0;b<a.length;b++)this.…
1301k=this.getBorderSizes(),l=this.container.offsetWidth-k.x-k.width-1,m=null!=g?g:this.container.offs…
1302 (n=Math.max(n,this.backgroundImage.width-g.x/k),p=Math.max(p,this.backgroundImage.height-g.y/k));va…
1303 …ull!=g.x?Math.floor(this.view.translate.x-g.x/k+a/e+c/2):a,null!=g.y?Math.floor(this.view.translat…
1308k=a?Math.ceil(d.width/f.width)+1:0,l=(k-1)*f.width,m=(g-1)*f.height;null==this.horizontalPageBreak…
1325 …g=0;g<d.length;g++){var k=this.view.getState(d[g]),l=this.getCellGeometry(d[g]);null!=k&&null!=l&&…
1326 l.y=k.origin.y,l.relative=!1,this.model.setGeometry(d[g],l))}}}this.removeCellsAfterUngroup(a);this…
1328k=a.length-1;0<=k;k--){var l=this.getCellGeometry(a[k]);if(null!=l){var m=this.getChildCells(a[k])…
1329 …l.height=Math.round(n.height+2*b+p.y+d+f+p.height);this.model.setGeometry(a[k],l);this.moveCells(m…
1331 …y,e=[],g=0;g<a.length;g++)f.put(a[g],!0),e.push(a[g]);if(0<e.length)for(var k=this.view.scale,l=th…
1332k-l.x,n[0].y/k-l.y),!0);for(q=this.model.getTerminal(a[g],!1);null!=q&&!f.get(q);)q=this.model.get…
1333 k-l.y),!1);m=m.points;if(null!=m)for(n=0;n<m.length;n++)m[n].x+=c,m[n].y+=p}}else m.translate(c,p)}… argument
1336 mxGraph.prototype.cellsAdded=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=b&&null!=c){this.model.beg… argument
1337 …dd(b,a[l],c+l);this.autoSizeCellsOnAdd&&this.autoSizeCell(a[l],!0);(null==k||k)&&this.isExtendPare…
1341 …d,f){var g=this.model.getGeometry(d);if(null!=g){for(var k=this.model.getTerminal(d,f),l=!1,m=k;nu…
1342k=l.absolutePoints,m=f?0:k.length-1,g.setTerminalPoint(new mxPoint(k[m].x/b-c.x-l.origin.x,k[m].y/…
1343 mxGraph.prototype.splitEdge=function(a,b,c,d,e,f,g,k){d=d||0;e=e||0;k=null!=k?k:this.model.getParen… argument
1344 …,d,e,!1,!1);this.cellsAdded(b,k,this.model.getChildCount(k),null,null,!0);this.cellsAdded([c],k,th…
1353 …a,g)}else{var k=this.view.createState(a),l=k.style[mxConstants.STYLE_ALIGN]||mxConstants.ALIGN_CEN…
1356 …OM]||0),k=this.getFoldingImage(d);null!=k&&(g+=k.width+8);k=this.cellRenderer.getLabelValue(d);nul…
1357 mxUtils.htmlEntities(k,!1)),k=k.replace(/\n/g,"<br>"),f=mxUtils.getSizeForString(k,f,e[mxConstants.…
1362k=e.y,l=e.width,m=e.height;e.scale(b,c,"fixed"==f[mxConstants.STYLE_ASPECT]);"1"==f[mxConstants.ST…
1365 …?b:0;c=null!=c?c:0;d=null!=d?d:!1;if(null!=a&&(0!=b||0!=c||d||null!=e)){var k=a=this.model.getTopm…
1367 !0);if(d)for(m=0;m<a.length;m++)q=this.getCellGeometry(a[m]),r=this.model.getParent(k[m]),null!=q&&…
1371 …=mxUtils.getValue(g,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST),k=1==mxUtils.getValue(…
1372 …ST&&!g||b==mxConstants.DIRECTION_NORTH&&!k||b==mxConstants.DIRECTION_WEST&&g||b==mxConstants.DIREC…
1376 …ew.getVisibleTerminal(d[e],!0),k=null!=f?f.getVisibleTerminal(!1):this.view.getVisibleTerminal(d[e…
1378 …f),g=new mxPoint(c.getCenterX(),c.getCenterY());a=mxUtils.getRotatedPoint(a,e,f,g)}var g=f=1,k=0,l=
1379 …onstants.DIRECTION_SOUTH)e=m,m=n,n=e;m&&(f=-1,k=-c.width);n&&(g=-1,l=-c.height)}a=new mxPoint((a.x…
1386k=0;null!=g&&1==mxUtils.getValue(a.style,mxConstants.STYLE_ANCHOR_POINT_DIRECTION,1)&&(g==mxConsta…
1387k&&(g=e=0,90==k?g=1:180==k?e=-1:270==k&&(g=-1),d=mxUtils.getRotatedPoint(d,e,g,f)),d=this.view.get…
1388 …b);if(g==mxConstants.DIRECTION_NORTH||g==mxConstants.DIRECTION_SOUTH)a=k,k=b,b=a;k&&(d.x=2*e.getCe…
1392 …his.view.getState(a[e]),k=this.view.getState(this.model.getParent(a[e]));if(null!=g&&null!=k){var …
1398k=1;k<e.length;k++)f(e[k]);f=g}else k=this.model.getParent(a[d]),e.relative?this.model.isVertex(k)…
1406k=this.getGraphBounds(),l=this.view.translate,m=this.view.scale,n=a?g-k.width:0,p=b?f-k.height:0;e…
1407 …scrollTop=(b-f)/2):this.view.setTranslate(a?Math.floor(l.x-k.x/m+n*c/m):l.x,b?Math.floor(l.y-k.y/m…
1409k=this.container.scrollLeft,l=this.container.scrollTop;this.view.setScale(c);d&&(e=d=0,b&&(d=this.…
1416k=-this.view.translate.y,l=this.view.scale;a.x+e>g+c&&(this.view.translate.x-=(a.x+e-c-g)/l,b=!0);…
1422 …icities.length;g++){var k=this.multiplicities[g].check(this,a,b,c,e,f);null!=k&&(d+=k)}k=this.vali…
1464k=this.model.getChildAt(c,g),l=this.getCellAt(a,b,k,d,e,f);if(null!=l)return l;if(this.isCellVisib…
1468k=this.isCellCollapsed(a),l=this.model.getChildCount(a),m=0;m<l;m++){var n=this.model.getChildAt(a…
1469 …estor(l,b,f))||d&&l==a&&(null==b||this.isValidAncestor(n,b,f))))&&k.push(g[m]);return k};mxGraph.p…
1470k=this.view.getState(a[g]),l=null!=k?k.getVisibleTerminal(!0):this.view.getVisibleTerminal(a[g],!0… variable
1471k=null!=g?g.getVisibleTerminal(!0):this.view.getVisibleTerminal(d[f],!0),g=null!=g?g.getVisibleTer…
1473k,l){f=null!=f?f:[];if(0<c||0<d||null!=g){var m=this.getModel(),n=a+c,p=b+d;null==e&&(e=this.getCu… argument
1474k,l)}}}return f};mxGraph.prototype.getCellsBeyond=function(a,b,c,d,e){var f=[];if(d||e)if(null==c&…
1475k=0,l=0;l<f;l++){var m=e.getChildAt(a,l);if(this.model.isVertex(m)&&this.isCellVisible(m)){for(var…
1476 …;g<d;g++){var k=this.model.getEdgeAt(a,g),l=this.model.getTerminal(k,!0)==a;b&&!f!=l||(l=this.mode…
1513 ….y-n),this.source.panGraph(0,0);mxEvent.addGestureListeners(document,null,g,k);c=this.source.conta…
1514 …Event.getClientX(a))*e,(b.y-mxEvent.getClientY(a))*e),mxEvent.consume(a))}),k=mxUtils.bind(this,fu…
1515 …ent.removeGestureListeners(document,null,g,k);mxEvent.consume(a);b=null}});mxEvent.addGestureListe…
1524k,l,m){this.source=a;this.type=b;this.attr=c;this.value=d;this.min=null!=e?e:0;this.max=null!=f?f:… argument
1546 …){var f=g,g=b.getParent(g),k=this.graph.isSwimlane(g)?this.graph.getStartSize(g):new mxRectangle;e…
1548 …g.width=b,e.setGeometry(a,g))}var k=this.graph.isSwimlane(a)?this.graph.getStartSize(a):new mxRect…
1551 …setValidationState();b=null;for(var k=0;k<c.length;k++){var l=a.getBoundingBox(a.validateCellState…
1586 …s.bind(this,function(a,b,c){return 0<=mxUtils.indexOf(this.cells,a.cell)})),k=!0,l=null;this.cloni…
1587 …)?(d=this.guide.move(this.bounds,d,f,e),k=!1):d=this.graph.snapDelta(d,this.bounds,!f,!1,!1);null!…
1592 …is.graph.getCellGeometry(f.cell),k=[];if(null!=g&&null!=g.points)for(var l=0;l<g.points.length;l++…
1593 …uteTerminalPoint(new mxPoint(l.x+a,l.y+b),!1),l=null);f.view.updatePoints(f,k,g,l);f.view.updateFl…
1602 …ry{g=[];if(!d&&null!=e&&this.removeEmptyParents){for(var k=new mxDictionary,l=0;l<a.length;l++)k.p…
1603 this.graph.model.getParent(a[l]);null==m||k.get(m)||(k.put(m,!0),g.push(m))}}a=this.graph.moveCells…
1673 …this.first;if(null!=this.selectedIcon){var g=this.selectedIcon.bounds.width,k=this.selectedIcon.bo…
1674 …tGraphX()+this.connectIconOffset.x,b.getGraphY()+this.connectIconOffset.y,g,k),this.selectedIcon.b…
1675 ….absolutePoints.length-2],null!=f&&(g=f));f=d.x-g.x;g=d.y-g.y;k=Math.sqrt(f*f+g*g);if(0==k)return;…
1676 k;d.y-=4*g/k}else this.originalPoint=null;null==this.shape&&(f=Math.abs(b.getGraphX()-this.first.x)…
1683k=Math.PI/180*-g;0!=g&&(b=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(k),Math.sin(k),f))… variable
1692 …().isEdge(d))d=this.graph.getDefaultParent();else{var k=this.graph.getView().getState(d);if(null!=
1693k.origin.x;l.y-=k.origin.y}}this.graph.addCell(b,d)}var m=this.graph.getDefaultParent();null!=a&&n…
1699 if(0<g){var k=this.graph.view.getState(b);if(null!=k){var l=k.x/f-e.x,e=k.y/f-e.y;Math.abs(l-c.x)<=…
1709 …f-e,g-e,2*e,2*e),e=new mxRectangle(a.getGraphX()-e,a.getGraphY()-e,2*e,2*e),k=this.graph.view.getS…
1710k&&this.graph.getModel().isVertex(this.currentFocus.cell)&&mxUtils.intersects(this.currentFocusAre…
1712 …Utils.bind(this,function(){return null!=this.currentFocus?this.currentFocus:k});mxEvent.redirectMo…
1774 …te,f=this.graph.view.scale,g=Math.cos(-c),k=Math.sin(-c),l=d.x-this.startX,m=d.y-this.startY,d=k*l…
1775 …ative||(k=this.graph.getMaximumGraphBounds(),null!=k&&null!=this.parentState&&(k=mxRectangle.fromR…
1776k?k=d:(k=mxRectangle.fromRectangle(k),k.intersect(d)))),null!=k&&(this.unscaledBounds.x<k.x&&(this…
1777 k.y+k.height&&(this.unscaledBounds.height-=this.unscaledBounds.y+this.unscaledBounds.height-k.y-k.h…
1778 k=Math.sin(c);c=new mxPoint(this.bounds.getCenterX(),this.bounds.getCenterY());l=c.x-b.x;m=c.y-b.y;…
1785 …e this.rotateClick();else{var g=this.graph.isGridEnabledEvent(b.getEvent()),k=mxUtils.toRadians(th…
1786 l=Math.cos(-k),m=Math.sin(-k),n=c.x-this.startX,p=c.y-this.startY,c=m*n+l*p,n=l*n-m*p,p=c,q=this.gr…
1793 …<e;f++){var g=d.getChildAt(a,f),k=this.graph.getCellGeometry(g);null!=k&&(k=k.clone(),k.translate(…
1794 mxVertexHandler.prototype.union=function(a,b,c,d,e,f,g,k,l){e=null!=e?e&&this.graph.gridEnabled:thi… argument
1795 …(q/f)*f;e=q-p;c=r-a;k&&(k=this.graph.getCellGeometry(this.state.cell),null!=k&&(k=k.width/k.height…
1801k=Math.cos(g),l=Math.sin(g),g=Math.round(4*g/Math.PI),m=new mxPoint(a.getCenterX(),a.getCenterY())…
1802k,l,m);this.moveSizerTo(this.sizers[2],n.x,n.y);this.sizers[2].setCursor(f[mxUtils.mod(2+g,f.lengt…
1803k,l,m);this.moveSizerTo(this.sizers[6],n.x,n.y);this.sizers[6].setCursor(f[mxUtils.mod(5+g,f.lengt…
1804 …,k=Math.cos(g),l=Math.sin(g),m=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),n=mxUt…
1841k=function(a){null!=a&&l.call(this,new mxPoint(b.getRoutingCenterX(a),b.getRoutingCenterY(a)))},l=… function
1842 k.call(this,this.state.getVisibleTerminalState(!1));k=this.state.absolutePoints;if(null!=k)for(var …
1847k=this.state.getVisibleTerminalState(!0);if(null!=k){var l=this.graph.getConnectionConstraint(this…
1848 k.view.getRoutingCenterY(k))}k=this.state.getVisibleTerminalState(!1);null!=k&&(l=this.graph.getCon…
1851 …eTerminalState(!0),g=this.isTarget?c:this.state.getVisibleTerminalState(!1),k=this.graph.getConnec…
1853 …ts.HIGHLIGHT_STROKEWIDTH/n/n,this.marker.highlight.repaint())}this.isSource?k=m:this.isTarget&&(l=…
1854 …lState(g,!1);this.isSource&&null==f||a.view.updateFixedTerminalPoint(a,f,!0,k);this.isTarget&&null…
1863 …te();try{if(e){var k=f.getGeometry(c),e=this.graph.cloneCell(c);f.add(g,e,f.getChildCount(g));null…
1864 …s.graph.view.translate.y),k=this.graph.getView().getState(this.graph.getModel().getParent(c)),null…
1869 …und((b-g.x)/f),Math.round((c-g.y)/f))}else{var k=a.absolutePoints,g=k[0],k=k[k.length-1];null!=g&&…
1870 (g.x+(k.x-g.x)/2))/f),Math.round((c-(g.y+(k.y-g.y)/2))/f)),e.x=0,e.y=0)}d.setGeometry(a.cell,e)}};m…
1871 …ount(f));e.setTerminal(a,g,!c)}var k=e.getGeometry(a);null!=k&&(k=k.clone(),k.setTerminalPoint(b,c…
1872 …erminal(a,f,!0);d.setTerminal(a,g,!1)}var k=d.getGeometry(a);null!=k&&(k=k.clone(),k.points=b,d.se…
1904 …0],g=e[1],k=[],l=2;l<e.length;l++){var m=e[l];0==Math.round(f.x-g.x)&&0==Math.round(g.x-m.x)||0==M…
1905k.length&&(0==Math.round(e[0].x-e[e.length-1].x)||0==Math.round(e[0].y-e[e.length-1].y)))k=[b,b];e…
1906 …Point(g,l),null!=n&&(this.convertPoint(n,!1),k=n.y);k=[new mxPoint(b.x,e),new mxPoint(b.x,k)]}this…
1907k=null;if(null!=g&&null!=g.points&&0<g.points.length)for(var l=this.abspoints,m=l[0],n=l[1],k=[],p…
1960 …e(f);var k=a.objects[g]||a.lookup(g);null==k&&(g=a.getElementById(g),null!=g&&(k=(mxCodecRegistry.…
1969 …|null!=f){var k=b.getChildCount(d),l=c.graph.getCellGeometry(d),m=null;g==b.getRoot()?m="layer":nu…
1972 0;p<k;p++)f=this.encodeCell(a,c,b.getChildAt(d,p)),null!=f&&n.appendChild(f)}}return n};return a}()…
1973 …or(var k in f){var l=this.getStringValue(k,f[k]);if(null!=l){var m=a.document.createElement("add")…
1975k=f.getAttribute("as");if("add"==f.nodeName){var l=mxUtils.getTextContent(f);null!=l&&0<l.length&&…
1992 …d+=4){var k=document.createElement("div");k.style.height="4px";k.style.fontSize="1px";k.style.line…
2003 …or.images.sld[1]-1))-Math.floor(mxJSColor.images.arrow[1]/2))+"px"}function k(){return mxJSColor.p… function
2006 …on(){k()&&(delete mxJSColor.picker.owner,document.getElementsByTagName("body")[0].removeChild(mxJS…
2008 …*this.rgb[0]+.715*this.rgb[1]+.072*this.rgb[2]?"#FFF":"#000");a&C||!k()||f();a&v||!k()||g()};this.…
2013 …ditor=function(b,c,e,k,g){mxEventSource.call(this);this.chromeless=null!=b?b:this.chromeless;this.… argument
2050k=null,g=mxUtils.bind(this,function(c){"ready"==c.data&&c.source==k&&(mxEvent.removeListener(windo…
2051 …,b);e.transparentBackground=!1;var k=e.isCssTransformsSupported,g=this;e.isCssTransformsSupported=…
2063 …s,function(b){return!(b instanceof mxChildChange)});if(0<g.length){b.getModel();for(var k=[],d=0;d<
2064 g.length;d++)null!=b.view.getState(g[d])&&k.push(g[d]);b.setSelectionCells(k)}};c.addListener(mxEve…
2066k,g,p,t,d,f,l,q){var m=f?57:0,n=e,u=k,v=f?0:64,y=Editor.inlineFullscreen||null==b.embedViewport?mx… argument
2068 …TransDialog":"geDialog");g=this.getPosition(D,I,e,k);D=g.x;I=g.y;B.style.width=e+"px";B.style.heig…
2070k=f.h)}f=mxUtils.getDocumentSize();x=f.height;this.bg.style.height=x+"px";Editor.inlineFullscreen|…
2076 var ErrorDialog=function(b,c,e,k,g,p,t,d,f,l,q){f=null!=f?f:!0;var m=document.createElement("div");… argument
2077 …){null!=q&&q()}),l.className="geBtn",e.appendChild(l));var u=mxUtils.button(k,function(){f&&b.hide…
2078 …ndChild(u);null!=t&&(k=mxUtils.button(t,function(){f&&b.hideDialog();null!=d&&d()}),k.className="g…
2079k=1/e.pageScale;if(f){var n=d.checked?1:parseInt(q.value);isNaN(n)||(k=mxUtils.getScaleForPageCoun…
2080k,g,0,n,u,f);f.open();b&&PrintDialog.printPreview(f)}var e=b.editor.graph,k,g,p=document.createEle…
2081 ….addListener(d,"change",function(){l.checked=!d.checked});k.appendChild(g);t.appendChild(k);k=k.cl…
2082k.appendChild(g);var q=document.createElement("input");q.setAttribute("value","1");q.setAttribute(…
2083k=k.cloneNode(!1);g=document.createElement("td");mxUtils.write(g,mxResources.get("pageScale")+":")…
2085 g.appendChild(f);k.appendChild(g);t.appendChild(k);p.appendChild(t);this.container=p};PrintDialog.p…
2086 PrintDialog.createPrintPreview=function(b,c,e,k,g,p,t){c=new mxPrintPreview(b,c,e,k,g,p);c.title=mx… argument
2088 …),u.style.display=""):(u.removeAttribute("src"),u.style.display="none")}var k=b.editor.graph,g,p,t…
2089 …ontSize="10pt";var f=PageSetupDialog.addPageFormatPanel(p,"pagesetupdialog",k.pageFormat);g.append…
2090 …eat";mxClient.IS_FF&&(l.style.position="relative",l.style.top="-6px");var q=k.background;c();mxEve…
2091 …px";m.value=k.getGridSize();p.appendChild(m);mxEvent.addListener(m,"change",function(){var b=parse…
2093 "60px";u.style.padding="4px";var v=k.backgroundImage,y=function(d){b.showBackgroundImageDialog(func…
2094k.gridSize===d||k.setGridSize(d);d=new ChangePageSetup(b,q,v,f.get());d.ignoreColor=k.background==…
2096 PageSetupDialog.addPageFormatPanel=function(b,c,e,k){function g(b,c,l){if(l||m!=document.activeElem… argument
2102 …l.height,l.width));c&&I||l.width==B.width&&l.height==B.height||(B=l,null!=k&&k(B))};mxEvent.addLis…
2107 var FilenameDialog=function(b,c,e,k,g,p,t,d,f,l,q,m){f=null!=f?f:!0;var n,u,v=document.createElemen… argument
2108 …;var D=mxUtils.button(e,function(){if(null==p||p(x.value))f&&b.hideDialog(),k(x.value)});D.classNa…
2114k=document.createElement("img");k.style.backgroundPosition="center bottom";k.style.backgroundRepea…
2115k.setAttribute("title",mxResources.get(e[b].title));break}};mxEvent.addListener(c,"keyup",g);mxEve…
2116 g();return k};
2117k=document.createElement("select");for(b=0;b<e.length;b++){var g=document.createElement("option");…
2118 …l.length-1)=="."+l){g=d;break}}k.value=g};mxEvent.addListener(c,"change",b);mxEvent.addListener(c,…
2126 …nction(b,d,f){var c=this.view.scale,e=this.view.translate,g=this.pageFormat,k=c*this.pageScale,u=t…
2127 d=u.width;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.wid…
2131k=Math.floor(Math.min(0,f)/c);return new mxRectangle(this.scale*(this.translate.x+e*g),this.scale*…
2132 …dItem;mxPopupMenu.prototype.addItem=function(b,d,f,c,e,k){var l=g.apply(this,arguments);null==k||k argument
2134k=this.editor.graph;k.lightbox=e;var g=k.getGraphBounds;k.getGraphBounds=function(b){var d=g.apply… method
2135 …or.chromeless&&!this.editor.editable&&(this.footerHeight=0,k.isEnabled=function(){return!1},k.pann…
2136 this.menus=this.createMenus();if(!k.standalone){var p="rounded shadow glass dashed dashPattern labe…
2137k.view.getState(b);if(null!=d){var f=b.clone();f.style="";var c=k.getCellStyle(f);b=[];var f=[],e;…
2138k.getModel().isEdge(d.cell)?k.currentEdgeStyle={}:k.currentVertexStyle={};this.fireEvent(new mxEve…
2140 …function(b,f,c,e,l,g,m){e=null!=e?e:k.currentVertexStyle;l=null!=l?l:k.currentEdgeStyle;g=null!=g?…
2142 k.addListener("cellsInserted",function(b,d){m(d.getProperty("cells"),null,null,null,null,!0,!0)});k
2144k.panningHandler.usePopupTrigger=!1;k.init(this.diagramContainer);mxClient.IS_SVG&&null!=k.view.ge…
2145 k.graphHandler.start;k.graphHandler.start=function(){null!=C.hoverIcons&&C.hoverIcons.reset();u.app…
2146k.isEditing()?mxEvent.isConsumed(b)||27!=b.keyCode||this.hideDialog(null,!0):(v=!0,this.hoverIcons…
2147k.panningHandler.isForcePanningEvent;k.panningHandler.isForcePanningEvent=function(b){return x.app… method
2148k.isZoomWheelEvent;k.isZoomWheelEvent=function(){return v||I.apply(this,arguments)};var B=!1,F=nul… method
2149k.cellEditor.isContentEditing();F=b;M=f;E=d}}),C=this,L=k.cellEditor.startEditing;k.cellEditor.sta… method
2150k.cellEditor.textarea,"input",d);mxEvent.addListener(k.cellEditor.textarea,"touchend",d);mxEvent.a…
2151 k.container.setAttribute("tabindex","0");k.container.style.cursor="default";if(window.self===window…
2152k.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(b);this.getKeyHandler=funct…
2153k.getModel().isVertex(c[q])||e,!(g=k.getModel().isEdge(c[q])||g)||!e);q++);else g=e=!0;for(var c=d…
2154 k.currentVertexStyle[c[q]]=m[q]);else if(0<=mxUtils.indexOf(p,c[q])){if(e||n)null==m[q]?delete k.cu…
2155k.currentEdgeStyle.edgeStyle&&"1"==k.currentEdgeStyle.curved?"geSprite geSprite-curved":"straight"…
2156 k.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==k.currentEdgeStyle.elbow?"verticalis…
2157k.currentEdgeStyle.shape,k.currentEdgeStyle[mxConstants.STYLE_STARTARROW],mxUtils.getValue(k.curre…
2158k.currentVertexStyle.fontFamily||"Helvetica",d=String(k.currentVertexStyle.fontSize||"12"),f=k.get…
2159 …ells"),c=d.getProperty("parent");null!=c&&k.getModel().isLayer(c)&&!k.isCellVisible(c)&&null!=f&&0…
2161k.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,functio…
2167 e);var k=b.popupMenuHandler.isMenuShowing;b.popupMenuHandler.isMenuShowing=function(){return k.appl…
2170k=b.container.scrollLeft+d.x-g.x,g=b.container.scrollTop+d.y-g.y,t=b.getCompositeParent(null!=this…
2171 …sForConnectVertex(d)},l,this.hoverIcons)}),f,!0);this.centerShapePicker(p,d,k,g,f);mxUtils.setOpac…
2172k,g){if(g==mxConstants.DIRECTION_EAST||g==mxConstants.DIRECTION_WEST)b.style.width="40px";var p=b.… argument
2173k,g,p){b=this.createShapePicker(b,c,e,k,g,mxUtils.bind(this,function(){this.hideShapePicker()}),th… argument
2174 EditorUi.prototype.createShapePicker=function(b,c,e,k,g,p,t,d){var f=null;if(null!=t&&0<t.length){v… argument
2176 …ht);mxEvent.addListener(e,"click",function(){var f=q.cloneCell(d);if(null!=k)k(f);else{f.geometry.…
2186k){return"flexArrow"==c?null!=e&&e!=mxConstants.NONE?"geSprite geSprite-"+b+"blocktrans":"geSprite… argument
2187k?"geSprite geSprite-"+b+"block":"geSprite geSprite-"+b+"blocktrans":e==mxConstants.ARROW_BLOCK_TH…
2188k?"geSprite geSprite-"+b+"thindiamond":"geSprite geSprite-"+b+"thindiamondtrans":"openAsync"==e?"g…
2192k=0;k<l.length;k++){g.add(m,l[k]);var u=c.view.getState(e[k]);if(null!=u){var v=c.getCellGeometry(…
2193 …tionStates();return g};var k=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEdito…
2197 m.x=m.x/q-H.x;m.y=m.y/q-H.y;m.width/=q;m.height/=q;var H=b.container.scrollTop,k=b.container.scroll…
2198k*d/q;else if(0!=c||0!=e)l=b.view.translate,b.view.setTranslate(Math.floor(l.x+c/q),Math.floor(l.y…
2231 …ilename(c),this.updateDocumentTitle())}catch(k){mxUtils.alert(mxResources.get("invalidOrMissingFil…
2232k){this.editor.graph.popupMenuHandler.hideMenu();var g=new mxPopupMenu(b);g.div.className+=" geMen… argument
2239 …ds():b.getGraphBounds()),e=b.view.translate,k=b.view.scale;c.x=c.x/k-e.x;c.y=c.y/k-e.y;c.width/=k;…
2240k=0,g=0;e&&(k=c.view.translate.x*c.view.scale-c.container.scrollLeft,g=c.view.translate.y*c.view.s…
2242 …angePageSetup(b,c,e,k,g){this.ui=b;this.previousColor=this.color=c;this.previousImage=this.image=e… argument
2245k){k.previousColor=k.color;k.previousImage=k.image;k.previousFormat=k.format;k.previousPageScale=k argument
2249k=mxUtils.bind(this,function(){b.setEnabled(this.canUndo());c.setEnabled(this.canRedo())});e.addLi…
2250 this.editor.graph.cellEditor.stopEditing=function(b,d){p.apply(this,arguments);k()};k()};
2251k=!1,g=!1,p=[],t=b.getSelectionCells();if(null!=t)for(var d=0;d<t.length;d++){var f=t[d];b.isCellE…
2253k);this.actions.get("rotation").setEnabled(c);this.actions.get("wordWrap").setEnabled(c);this.acti…
2257 …t.clientHeight);var k=0;mxClient.IS_IOS&&!window.navigator.standalone&&window.innerHeight!=documen…
2258 …c+=1);var p=0;if(null!=this.sidebarFooterContainer){var t=this.footerHeight+k,p=Math.max(0,Math.mi…
2260k+"px";this.hsplit.style.left=g+"px";this.footerContainer.style.display=0==this.footerHeight?"none…
2261k+"px";this.formatContainer.style.bottom=this.footerHeight+k+"px";"1"!=urlParams.embedInline&&(thi…
2270 …ddSplitHandler=function(b,c,e,k){function g(b){if(null!=t){var g=new mxPoint(mxEvent.getClientX(b)… argument
2271 …(this,function(b){if(!f&&this.hsplitClickEnabled){var d=null!=l?l-e:0;l=q();k(d);mxEvent.consume(b…
2272k,g){b=null!=b&&null!=b.error?b.error:b;if(null!=b||null!=c){g=mxUtils.htmlEntities(mxResources.ge… argument
2273k,g,p,t,d,f,l,q,m,n){b=new ErrorDialog(this,b,c,e||mxResources.get("ok"),k,g,p,t,m,d,f);c=Math.cei… argument
2275k=[],g=0;g<c.length;g++){var p=b.isTableCell(c[g])?b.model.getParent(c[g]):c[g];null==p||e.get(p)|…
2276k=e.cellEditor.saveSelection(),g=230+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+M…
2278 …b.indexOf("&lt;mxGraphModel ");if(0<=e){var k=b.lastIndexOf("&lt;/mxGraphModel&gt;");k>e&&(c=b.sub…
2291k=this.editor.graph;if(k.isEnabled()){k.getModel().beginUpdate();try{b()}catch(g){throw g;}finally…
2292 …type.showImageDialog=function(b,c,e,k){k=this.editor.graph.cellEditor;var g=k.saveSelection(),p=mx… argument
2297k.isSelectionEmpty()&&k.isEnabled())if(d=null!=d?d:1,f){k.getModel().beginUpdate();try{var c=k.get…
2298 k.getSelectionCell(),e=k.model.getParent(c),l=k.getView().scale;f=null;1==k.getSelectionCount()&&k.…
2299 …g.moveCells(g.cells,b,d);g.reset()}},400))}}}var e=this,k=this.editor.graph,g=new mxKeyHandler(k),…
2301k.isEnabled()){if(mxEvent.isShiftDown(b)&&mxEvent.isAltDown(b)){var l=e.actions.get(e.altShiftActi…
2302k.defaultEdgeLength,b,!0);null!=f&&0<f.length&&(1==f.length&&k.model.isEdge(f[0])?k.setSelectionCe…
2303 …nction(){k.exitGroup()});g.bindControlShiftKey(35,function(){k.enterGroup()});g.bindShiftKey(36,fu…
2304 …able)g.bindControlKey(36,function(){k.isEnabled()&&k.foldCells(!0)}),g.bindControlKey(35,function(…
2307 …ript"),g.bindAction(13,!1,"keyPressEnter"),g.bindKey(113,function(){k.isEnabled()&&k.startEditingA…
2310 …Xml;mxUtils.parseXml=function(e){for(var k=0;k<b.length;k++)e=e.replace(new RegExp("&"+b[k][0]+";"…
2312 … object - not null or undefined");var k=1<arguments.length?arguments[1]:void 0,t;if("undefined"!==…
2313 …c(this)?Object(new this(d)):Array(d),l=0,q;l<d;)q=g[l],f[l]=k?"undefined"===typeof t?k(q,l):k.call…
2318 Graph=function(b,c,e,k,g,p){mxGraph.call(this,b,c,e,k);this.themes=g||this.defaultThemes;this.curre… argument
2319 …"eventName")&&this.isEnabled()){var e=c.getProperty("event"),g=e.getState(),k=this.view.scale;if(!…
2321k,3))&&this.model.getChildAt(m,0)!=v||mxUtils.intersects(n,new mxRectangle(g.x,g.y+u.height-2,u.wi…
2322 …At(v,0)!=g.cell||mxUtils.intersects(n,new mxRectangle(g.x+u.width*k-2,g.y,2,u.height*k)))v=this.se…
2323 …m.x-m.width-1)*k+(0==m.x?g.width:0),g.y,1,g.height))||(0<m.y||0<m.height)&&mxUtils.intersects(n,ne…
2324k=this.selectionCellsHandler.getHandler(e.cell);null==k&&this.model.isEdge(e.cell)&&(k=this.create…
2325k.bends.length-1&&g!=mxEvent.LABEL_HANDLE)!n||null==e.visibleSourceState&&null==e.visibleTargetSta…
2326k.bends.length-1:null!=m&&(2==n.length||3==n.length&&(0==Math.round(n[0].x-n[1].x)&&0==Math.round(…
2327 k&&(this.selectionCellsHandler.isHandlerActive(k)?this.isCellSelected(e.cell)||(this.selectionCells…
2328k="move";else if(mxUtils.contains(g,n[0].x,n[0].y)||mxUtils.contains(g,n[n.length-1].x,n[n.length-…
2329 …e.cell||mxUtils.intersects(g,new mxRectangle(e.x+e.width-2,e.y,2,e.height)))k="col-resize";else if…
2330k="row-resize";for(n=e;null==k&&null!=n&&(this.isTableCell(n.cell)||this.isTableRow(n.cell)||this.…
2331 "row-resize")}n=this.view.getState(this.model.getParent(n.cell))}}null!=k&&e.setCursor(k)}}),mouseU…
2332 …alidSource=function(b,d){return!1};this.alternateEdgeStyle="vertical";null==k&&this.loadStylesheet…
2350k,g){e=unescape(encodeURIComponent(Graph.svgDoctype+'<svg xmlns="http://www.w3.org/2000/svg" xmlns… argument
2351 …or(var c=0,e=[],k=0;k<b.length;k++){var g=b.charCodeAt(k);(32<=g||9==g||10==g||13==g)&&65535!=g&&6…
2353 …n(b){var c="";b=new Uint8Array(b);for(var e=b.byteLength,k=0;k<e;k++)c+=String.fromCharCode(b[k]);…
2354 …rayBufferIndexOfString=function(b,c,e){var k=c.charCodeAt(0),g=1,p=-1;for(e=e||0;e<b.byteLength;e+…
2356k,g){g=null!=g?g:1E3;Graph.setTransitionForNodes(b,null);Graph.setOpacityForNodes(b,c);window.setT… argument
2358 …),k=0;k<e.length;k++)for(var g=0;g<e[k].attributes.length;g++){var p=e[k].attributes[g];2<p.name.l…
2359k=e.indexOf("<svg");if(0<=k){c.innerHTML=e.substring(k);Graph.sanitizeSvg(c);var g=c.getElementsBy…
2360 …!isNaN(p)&&!isNaN(t)){var f=d.split(" ");4<=d.length&&(e=parseFloat(f[2])/p,k=parseFloat(f[3])/t)}…
2361 l.height/k))}catch(q){}finally{document.body.removeChild(c)}b=Editor.createSvgDataUri(mxUtils.getXm…
2367k=!0,t=null,d=mxUtils.bind(this,function(b){k=!0;t=new mxPoint(mxEvent.getClientX(b),mxEvent.getCl…
2373 …ar e=this.getCurrentCellStyle(d[c]),g=0;g<f.length;g++){var k=e[f[g]],u=b[f[g]];k==u||null==k&&u==…
2375k=this.model.getChildAt(f,l),q=this.getScaledCellAt(b,d,k,c,e,g);if(null!=q)return q;if(this.isCel…
2380 …f])||d.push(b[f]);return d};var k=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsFor…
2385k=window;try{if("_self"==c&&window!=window.top)window.location.href=b;else if(b.substring(0,this.b…
2388 …yout"==e.childLayout){var k=new mxStackLayout(this.graph,!0);k.resizeParentMax="1"==mxUtils.getVal…
2389k.resizeParent="1"==mxUtils.getValue(e,"resizeParent","1");k.resizeLast="1"==mxUtils.getValue(e,"r…
2390 k.horizontal="1"==mxUtils.getValue(e,"horizontalTree","1"),k.resizeParent="1"==mxUtils.getValue(e,"…
2391k.maintainParentLocation=!0,k.intraCellSpacing=mxUtils.getValue(e,"intraCellSpacing",mxHierarchica…
2392 k;if("circleLayout"==e.childLayout)return new mxCircleLayout(this.graph);if("organicLayout"==e.chil…
2393k=this.view.getState(b[e]);if(null!=k){for(var g=this.cellRenderer.getShapesForState(k),p=0;p<g.le…
2394 …ype.createWipeAnimations=function(b,c){for(var e=[],k=0;k<b.length;k++){var g=this.view.getState(b…
2395k=b.segments,g=b.length,p=e.length;return{execute:mxUtils.bind(this,function(t,d){if(null!=b.shape…
2397 …this,function(k,g){if(null!=b.shape){var p=k/g;c||(p=1-p);b.shape.bounds=new mxRectangle(e.x,e.y,e… argument
2398k){e=null!=e?e:30;k=null!=k?k:30;var g=null,p=0,t=mxUtils.bind(this,function(){if(p==e||this.stopp… argument
2400 …ew.translate.x)/b.width),k=Math.floor(Math.ceil(c.y/this.view.scale-this.view.translate.y)/b.heigh…
2401 k)};Graph.prototype.sanitizeHtml=function(b,c){return Graph.sanitizeHtml(b,c)};Graph.prototype.upda…
2408 …yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var k=this.dateFormatCache…
2409k.masks[c]||c||k.masks["default"]);"UTC:"==c.slice(0,4)&&(c=c.slice(4),e=!0);var d=e?"getUTC":"get…
2412 …sition="absolute";for(var k=this.getModel(),g=k.getChildCount(k.root),p=0;p<g;p++)mxUtils.bind(thi…
2413 …ce="nowrap";l.style.cursor="pointer";l.setAttribute("title",mxResources.get(k.isVisible(g)?"hideIt…
2414 …xEvent.addListener(l,"click",function(){k.setVisible(g,!k.isVisible(g));d();null!=b&&b(g)});d()})(
2415 Graph.prototype.replacePlaceholders=function(b,c,e,k){k=[];if(null!=c){for(var g=0;match=this.place… argument
2416k.push(c.substring(g,match.index)+(null!=t?t:p));g=match.index+p.length}}k.push(c.substring(g))}re…
2418 Graph.prototype.connectVertex=function(b,c,e,k,g,p,t,d){p=p?p:!1;if(b.geometry.relative&&this.model… argument
2421 !mxEvent.isShiftDown(k)||mxEvent.isControlDown(k)||g;D&&("1"!=urlParams.sketch||g)&&(c==mxConstants…
2422 …&&!f&&this.addCells([B],this.getDefaultParent(),null,null,null,!0)}var m=mxEvent.isControlDown(k)&&
2423 mxEvent.isShiftDown(k)&&D||null==v&&f?null:this.insertEdge(this.model.getParent(b),null,"",b,B,this…
2425 …ction(){var b=document.createElement("div"),c=[],e,k;for(k in this.model.cells)if(e=this.model.cel…
2426k=b;null==e&&null!=k;)null!=k.value&&"object"==typeof k.value&&(e=k.hasAttribute(c)?null!=k.getAtt…
2429 …ull!=c.alternateBounds){var k=this.layoutManager.getLayout(this.model.getParent(b));null!=k&&k.con…
2430 Graph.prototype.foldCells=function(b,c,e,k,g){c=null!=c?c:!1;null==e&&(e=this.getFoldableCells(this… argument
2432k){this.model.beginUpdate();try{var g=this.getCellsBeyond(b.x,b.y,c,!0,!0);for(c=0;c<g.length;c++)… argument
2433k){if(null!=this.layoutManager&&null!=c&&c.constructor==mxStackLayout&&!c.resizeLast){this.model.b… argument
2436 …imlaneAt=function(b,c,e){var k=mxGraph.prototype.getSwimlaneAt.apply(this,arguments);this.isCellLo…
2439k=this.container.clientHeight-c,g=Math.floor(20*Math.min(e/b.width,k/b.height))/20;this.zoomTo(g);…
2440 …this.sanitizeHtml(e);else{e=this.builtInProperties;b=b.value.attributes;var k=[];this.isEnabled()&…
2441k.push({name:b[g].nodeName,value:b[g].nodeValue});k.sort(function(b,c){return b.name<c.name?-1:b.n…
2454 k){c=!1;var e=k.getEvent();if(this.isResetEvent(e))this.reset();else if(!this.isActive()){var p=thi… argument
2455k){var e=k.getEvent();mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(e),mxEvent.getC… argument
2456 null!=this.bbox&&mxUtils.contains(this.bbox,k.getGraphX(),k.getGraphY())?(this.setDisplay(""),this.…
2457k=null,k=mxUtils.createImage(b.src);k.style.width=b.width+"px";k.style.height=b.height+"px";k.styl…
2458k,this.setDisplay("none"),mxEvent.consume(b))}));mxEvent.redirectMouseEvents(k,this.graph,this.cur…
2459k,"direction",e,"event",b)))}));mxEvent.addListener(k,"mouseleave",mxUtils.bind(this,function(b){m…
2464 …){var k=e.getEvent(),g=e.getGraphX(),p=e.getGraphY(),g=this.getStateAt(b,g,p);null==g||!this.graph…
2470 k=this.graph.getCellAt(b.x-this.triangleLeft.width/2,this.currentState.getCenterY()),g=this.graph.g…
2471 …e.visibility="visible":f.style.visibility="hidden"});t(c,this.arrowRight);t(k,this.arrowLeft);t(g,…
2475 …dge(b.cell.parent)&&(b=null);var k=null;this.prev!=b||this.isActive()?(this.startTime=(new Date).g…
2476k=(new Date).getTime()-this.startTime);this.setDisplay("");null!=this.currentState&&this.currentSt…
2478 …ent=function(b,c,e,k,g){b=this.cloneCell(b);for(var p=0;p<e;p++){var t=this.cloneCell(c),d=this.ge… argument
2479 Graph.prototype.createTable=function(b,c,e,k,g,p,t,d,f){e=null!=e?e:60;k=null!=k?k:40;p=null!=p?p:3… argument
2480k+(null!=g?p:0),null!=t?t:"shape=table;startSize="+(null!=g?p:"0")+";container=1;collapsible=0;chi…
2481 ….prototype.createCrossFunctionalSwimlane=function(b,c,e,k,g,p,t,d,f){e=null!=e?e:120;k=null!=k?k:1… argument
2482k,null!=p?p:"shape=table;childLayout=tableLayout;rowLines=0;columnLines=0;startSize="+l+";"+(null=…
2483 return 1<b?(t.geometry.y=k+p,this.createParent(g,this.createParent(t,this.createVertex(null,null,""…
2485k=this.getModel();k.beginUpdate();try{var g=this.getCellGeometry(b);if(null!=g){g=g.clone();g.heig…
2486 null!=this.layoutManager&&this.layoutManager.executeLayout(p,!0)}}finally{k.endUpdate()}};
2487k=this.getModel(),g=k.getParent(b),p=k.getParent(g),t=k.getChildCells(g,!0);b=mxUtils.indexOf(t,b)…
2488k.setGeometry(q,m)))}if(d||e){var n=this.getCellGeometry(p);null!=n&&(n=n.clone(),n.width+=c,k.set…
2489 …etSize=function(b,c){for(var e=0,k=0;k<b.length;k++)if(!this.isVertexIgnored(b[k])){var g=this.gra…
2490k=this.graph.getActualStartSize(b,!0),g=this.getSize(e,!0),p=c-k.x-k.width,t=[],k=k.x,d=0;d<e.leng…
2491k,g){var p=this.graph.getModel(),t=p.getChildCells(b,!0);b=this.graph.getActualStartSize(b,!0);var… argument
2494 …(b),k=this.graph.getCellStyle(b),g="1"==mxUtils.getValue(k,"resizeLastRow","0"),p="1"==mxUtils.get…
2495 …und(y),y=g||k?y+n.height:y+n.height/m*f,n.height=Math.round(y)-n.y,t.setGeometry(q[x],n)),d=Math.m…
2499 …Attribute("id"))}}};var k=mxCellRenderer.prototype.isShapeInvalid;mxCellRenderer.prototype.isShape…
2501 …gth-1;l++){for(var k=d[l+1],q=d[l],p=[],t=d[l+2];l<d.length-2&&mxUtils.ptSegDistSq(q.x,q.y,t.x,t.y…
2502 …ersection(q.x,q.y,k.x,k.y,L.x,L.y,C.x,C.y);if(null!=t&&(Math.abs(t.x-q.x)>g||Math.abs(t.y-q.y)>g)&…
2504k=null,q=null,m=[],n=null;b.begin();for(var t=0;t<this.state.routedPoints.length;t++){var E=this.s…
2505 q=Math.sqrt(n.x*n.x+n.y*n.y),0<q?(n.x=n.x*e/q,n.y=n.y*e/q):n=null);E>e*e&&0<q&&(E=k.x-K.x,L=k.y-K.y…
2506 …m,E.x,E.y)):(b.moveTo(E.x,E.y),l=!0),m=[E],C=!0))}else n=null;C||(m.push(K),k=K)}this.addPoints(b,…
2507k=mxUtils.toRadians(Number(f.style[mxConstants.STYLE_ROTATION]||"0")),q=new mxPoint(f.getCenterX()…
2508 …_PERIMETER_SPACING]||0);g=this.getPerimeterPoint(f,g,0==k&&l,m);0!=k&&(m=Math.cos(k),n=Math.sin(k)…
2509 b[g]);if(null!=l){var k=(l.x-e.x)*(l.x-e.x)+(l.y-e.y)*(l.y-e.y);if(null==c||k<c)f=l,c=k}}null!=f&&(…
2512 …];if(null!=c){if(null==mxStencilRegistry.packages[e]){for(var k=0;k<c.length;k++){var g=c[k];if(!m…
2515 ….loadStencilSet=function(b,c,e,k){var g=mxStencilRegistry.packages[b];if(null!=e&&e||null==g){var … argument
2517k=b.firstChild;null!=k;)"shapes"==k.nodeName&&mxStencilRegistry.parseStencilSet(k,c,e),k=k.nextSib…
2518 d=k.getAttribute("h"),t=null==t?80:parseInt(t,10),d=null==d?80:parseInt(d,10);c(g,p,b,t,d)}}k=k.nex…
2521 ….graph.isTableCell(b)};var k=mxGraphLayout.prototype.isEdgeIgnored;mxGraphLayout.prototype.isEdgeI…
2529k=g.getChildren(this.cloneCell(g.root,this.isCloneInvalidEdges(),e));if(null!=k){var q=this.create…
2530 null!=m&&(b=b.concat(m));else{var m=g.getChildren(k[0]);null!=m&&(b=this.moveCells(m,d,f,!1,this.ge…
2531 …e],!0);for(var g=new mxCodec,l=new mxGraphModel,k=l.getChildAt(l.getRoot(),0),e=0;e<f.length;e++){…
2533k,q){null==q&&(q=this.model.getParent(b),this.isTable(q)||this.isTableRow(q))&&(q=this.getCellAt(l… argument
2535 …d||f)l.apply(this,arguments);else{var c=this.getSelectionCell(),e=null,g=[],k=mxUtils.bind(this,fu…
2536 …b&&0<e)return;for(var f=0;f<this.model.getChildCount(d);f++)k(this.model.getChildAt(d,f))});k(this…
2537 …)return b;l=null!=l?l:{};if(this.isTable(e)){for(var k=[],m=0;m<b.length;m++)this.isTable(b[m])?k=
2538 k.push(b[m]);b=k}this.model.beginUpdate();try{k=[];for(m=0;m<b.length;m++)if(null!=e&&this.isTableR…
2540 …pply(this,arguments),m=0;m<k.length;m++)!c&&this.model.contains(k[m])&&0==this.model.getChildCount…
2541 …f,g))){for(var l=this.model.getChildCells(g,!0),k=0,q=0;q<l.length;q++)0<=mxUtils.indexOf(b,l[q])&…
2547 …++){var g=b[e];if(f.isEdge(g)){var l=f.getTerminal(g,!0),k=f.getTerminal(g,!1);f.setTerminal(g,k,!…
2548k);if(null!=H){var A=null!=v?this.getConnectionConstraint(H,v,!0):null,ca=null!=u?this.getConnecti…
2554 …){c.innerHTML=g;for(var l=c.getElementsByTagName(null!=f?f:"*"),k=0;k<l.length;k++)d(l[k]);c.inner…
2567 …HANGE,c);c();var e=this.container.style.cursor,g=this.getTolerance(),l=this,k={currentState:null,c… class in AnonymousFunctioncbe8b51143000
2570k=c.getEvent();null!=e&&"a"!=e.nodeName.toLowerCase();)e=e.parentNode;null==e&&Math.abs(this.scrol…
2571k,this.currentLink),mxEvent.isConsumed(k)||(k=null!=this.currentTarget?this.currentTarget:mxEvent.…
2573k);mxEvent.addListener(document,"mouseleave",function(b){k.clear()})};Graph.prototype.duplicateCel…
2574 …ry(q,u))}}else g.push(m[f])}this.updateCustomLinks(this.createCellMapping(l,k),m,this);this.fireEv…
2577 …(this.getModel().isVertex(d[g])){var l=this.view.getState(d[g]);if(null!=l){var k=b?l.getCenterX():
2578k):k,e=null!=e?Math.min(e,k):k;f.push(l)}}if(2<f.length){f.sort(function(d,f){return b?d.x-f.x:d.y…
2580 …eObject=function(b){return b};Graph.prototype.getSvg=function(b,d,f,c,e,g,l,k,m,q,n,H,v,u){var A=n… argument
2583 …ement("div"),Z=C.getAlternateText;C.getAlternateText=function(b,d,f,c,e,g,l,k,m,q,n,H,z){if(null!=… argument
2585k=null!=k?k:this.createSvgImageExport();var ua=k.drawCellState,W=k.getLinkForCellState;k.getLinkFo…
2586 …lected(e),e=f.model.getParent(e);(g&&null==A||c)&&ua.apply(this,arguments)};k.drawState(this.getVi…
2592k=this.selectParentAfterDelete?this.model.getParents(b):null;this.removeCells(b,d)}finally{this.mo…
2593k[c])}return f};Graph.prototype.insertTableColumn=function(b,d){var f=this.getModel();f.beginUpdat…
2594k=n.width,H=this.getCellGeometry(l[g]);null!=H&&(n.height=H.height)}f.add(l[g],q,e+(d?0:1))}var v=…
2596k=c.getIndex(e),e=f.cloneCell(e,!1);e.value=null;var m=this.getCellGeometry(e);if(null!=m){for(g=0…
2597 …exOf(g,b));for(c=b=0;c<e.length;c++){var k=d.getChildCells(e[c],!0)[l];d.remove(k);var m=this.getC…
2616k=[];(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConst…
2617 …xtarea.style.fontSize=Math.round(c)+"px";this.textarea.style.textDecoration=k.join(" ");this.texta…
2636 …h){for(var k=f.getChildCells(l[0].cell,!0),f=0;f<k.length;f++)mxUtils.bind(this,function(f){var l=…
2637k[f],d.getCellStyle(k[f])),l.x=c.x+m.x*d.view.scale,l.y=c.y+m.y*d.view.scale,l.width=q.width*d.vie…
2638 ….width=1;this.shape.bounds.y=c.y+(f==k.length-1?0:b.y*this.graph.view.scale);this.shape.bounds.hei…
2639 …ush(l)})(f);for(f=0;f<l.length;f++)mxUtils.bind(this,function(f){f=l[f];var k=new mxLine(new mxRec…
2640 1);k.isDashed=e.isDashed;k.svgStrokeTolerance++;f=new mxHandle(f,"row-resize",null,k);f.tableHandle…
2664k=this.graph.getCellsBeyond(c,e,this.graph.getDefaultParent(),!0,!0),f=0;f<k.length;f++)if(this.gr…
2665 null!=m&&null!=q&&(q=q.clone(),q.translate(g,l),this.graph.model.setGeometry(k[f],q))}}finally{this…
2693 …ction c(){mxCylinder.call(this)}function e(){mxCylinder.call(this)}function k(){mxActor.call(this)… function
2699 …ine="single"}function va(){mxConnector.call(this)}function Oa(b,d,f,c,e,g,l,k,m,q){l+=m;var z=c.cl… argument
2702k="0"!=mxUtils.getValue(this.state.style,"rowLines","1"),m="0"!=mxUtils.getValue(this.state.style,…
2703k=1;k<c.length;k++)if(da=z.getCellGeometry(c[k]),null!=da){b.begin();b.moveTo(d+da.x+g.x,f+g.y);fo…
2707k);mxUtils.extend(e,mxCylinder);e.prototype.size=6;e.prototype.paintVertexShape=function(b,d,f,c,e…
2708 …eTo(0,.25*d);b.close();b.end()};mxCellRenderer.registerShape("isoRectangle",k);mxUtils.extend(g,mx…
2717 …his.style,"rounded",!1),l=mxUtils.getValue(this.style,"absoluteArcSize",!1),k=parseFloat(mxUtils.g…
2718k*=Math.min(c,e));k=Math.min(k,.5*c,.5*(e-f));d=Math.max(d,k);d=Math.min(c-k,d);g||(k=0);b.begin()…
2737 …;for(var k=f(b-this.lastX)*c/g,f=f(d-this.lastY)*e/g,c=c/z,e=e/z,z=0;z<g;z++){var m=(Math.random()…
2753 …es[this.style["symbol"+g]];if(null!=z){var l=this.style["symbol"+g+"Align"],k=this.style["symbol"+…
2754 …a+(c-m)/2:l==mxConstants.ALIGN_RIGHT?da+(c-m-n):da+n,sa=k==mxConstants.ALIGN_MIDDLE?sa+(e-q)/2:k==…
2762 …his.height)))),k=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE…
2767k=b.width,m=b.height;d=null!=d?mxUtils.getValue(d.style,mxConstants.STYLE_DIRECTION,mxConstants.DI…
2768 k,z+m),new mxPoint(l,z+m-e),new mxPoint(l,z)]):(e=e?Math.max(0,Math.min(.5*k,g)):k*Math.max(0,Math.…
2769k=b.width,m=b.height;d=null!=d?mxUtils.getValue(d.style,mxConstants.STYLE_DIRECTION,mxConstants.DI…
2770k,g)):k*Math.max(0,Math.min(1,g)),z=[new mxPoint(l,z),new mxPoint(l+k,z),new mxPoint(l+k-e,z+m),ne…
2771k?b.y=f.y:b.x=f.x);return mxUtils.getPerimeterPoint(z,b,f)};mxStyleRegistry.putValue("trapezoidPer…
2772k,g)):k*Math.max(0,Math.min(1,g)),z=[new mxPoint(l,z),new mxPoint(l+k-e,z),new mxPoint(l+k,b),new …
2773 k,z+m),new mxPoint(l+e,z+m),new mxPoint(l,b),new mxPoint(l+e,z)]):d==mxConstants.DIRECTION_NORTH?(e…
2774k?q.y=f.y:q.x=f.x);return mxUtils.getPerimeterPoint(z,q,f)};mxStyleRegistry.putValue("stepPerimete…
2775k,z+e),new mxPoint(l+k,z+m-e),new mxPoint(q,z+m),new mxPoint(l,z+m-e),new mxPoint(l,z+e),new mxPoi…
2776 b);c&&(f.x<l||f.x>l+k?q.y=f.y:q.x=f.x);return mxUtils.getPerimeterPoint(z,q,f)};mxStyleRegistry.put…
2779 ….style,"jettyHeight",this.jettyHeight));f=l/2;var l=f+l/2,z=Math.min(d,e-d),k=Math.min(z+2*d,e-d);…
2780 k),b.lineTo(l,k),b.lineTo(l,k+d),b.lineTo(f,k+d)):(b.moveTo(f,0),b.lineTo(c,0),b.lineTo(c,e),b.line…
2781k=.7*e-d/2;g?(b.moveTo(f,z),b.lineTo(l,z),b.lineTo(l,z+d),b.lineTo(f,z+d),b.moveTo(f,k),b.lineTo(l…
2810 …ctStyle?g.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),k=g&&g.absoluteCornerS…
2814 …);b.setStrokeWidth(B);m=Math.min(.5*e,.5*c,m);k||(m=aa*Math.min(c,e)/100);m=Math.min(m,.5*Math.min…
2815 …ill(),b.setShadow(!1),b.setFillColor(Z),H=k=da,"none"==Z&&(k=0),"none"==N&&(H=0),b.setGradient(Z,N…
2837k){"square"==l||"default"==l&&"square"==g||!k?b.moveTo(0,0):b.moveTo(0,m)};X.prototype.moveNE=func… argument
2838k){"square"==l||"default"==l&&"square"==g||!k?b.moveTo(0,e):b.moveTo(m,e)};X.prototype.paintNW=fun… argument
2839k?b.lineTo(c,0):b.lineTo(c-m,0)};X.prototype.paintNE=function(b,d,f,c,e,g,l,m,k){if(k)if("rounded"… argument
2840 …,f,c,e,g,l,m,k){"square"==l||"default"==l&&"square"==g||!k?b.lineTo(0,0):b.lineTo(0,m)};X.prototyp… argument
2841k){"square"==l||"default"==l&&"square"==g||!k?b.lineTo(0,e):b.lineTo(m,e)};X.prototype.paintSW=fun… argument
2842k,m-.5*k,0,0,0,k,.5*k+m);else if("invRound"==l||"default"==l&&"invRound"==g)b.arcTo(m+k,m+k,0,0,1, argument
2843k,k):b.lineTo(m+k,k):b.lineTo(0,k):b.lineTo(0,0)};X.prototype.paintNEInner=function(b,d,f,c,e,g,l,… argument
2844k):n?"square"==l||"default"==l&&"square"==g?b.lineTo(c-k,k):"rounded"==l||"default"==l&&"rounded"=… argument
2845k):b.lineTo(k,e):b.lineTo(0,e)};X.prototype.paintSEInner=function(b,d,f,c,e,g,l,m,k){if("rounded"=… argument
2846k,e):"square"==l||"default"==l&&"square"==g||!n?b.lineTo(c-k,e-k):"rounded"==l||"default"==l&&"rou… argument
2847k,0,0,1,m+k,e-k);else if("snip"==l||"default"==l&&"snip"==g)b.lineTo(m+.5*k,e-k);else if("fold"==l… argument
2848k,n){n?"square"==l||"default"==l&&"square"==g?b.lineTo(k,e-k):"rounded"==l||"default"==l&&"rounded… argument
2849 k,e-m-.5*k):("invRound"==l||"default"==l&&"invRound"==g||"fold"==l||"default"==l&&"fold"==g)&&b.mov… argument
2850k,n){n?"square"==l||"default"==l&&"square"==g||n?b.moveTo(c-k,k):"rounded"==l||"default"==l&&"roun… argument
2851k,m+k):b.lineTo(c,k)};X.prototype.moveNWInner=function(b,d,f,c,e,g,l,m,k,n,q){n||q?!n&&q?b.moveTo( argument
2852k,n,q){n||q?!n&&q?b.lineTo(k,0):n&&!q?b.lineTo(0,k):"square"==l||"default"==l&&"square"==g?b.lineT… argument
2853 …==g)&&H&&u&&(b.moveTo(c-q,0),b.lineTo(c-q,q),b.lineTo(c,q)),("fold"==k||"default"==k&&"fold"==g)&&…
2855k,n){var q=e*(l+k+1),H=g*(l+k+1);return function(){b.begin();b.moveTo(c.x-q/2-H/2,c.y-H/2+q/2);b.l… argument
2856k+1),H=g*(l+k+1),u=c.x+q/2,A=c.y+H/2;c.x-=q;c.y-=H;return function(){b.begin();b.moveTo(u-q/2-H/2,… argument
2857k,n){var q=c.clone(),H=Oa.apply(this,arguments),u=e*(l+2*k),A=g*(l+2*k);return function(){H.apply(… argument
2858 …});mxMarker.addMarker("async",function(b,d,f,c,e,g,l,m,k,n){d=e*k*1.118;f=g*k*1.118;e*=l+k;g*=l+k;… argument
2859 e,g,l,m,k,q,n){g*=m+q;l*=m+q;var H=e.clone();return function(){d.begin();d.moveTo(H.x,H.y);k?d.line…
2860k=e.y-m.y,q=Math.sqrt(g*g+k*k),m=c.call(this,q,g/q,k/q,m,e);return new mxPoint(m.x/l-d.x,m.y/l-d.y…
2867 …);l&&l(b)};m.getPosition=f;m.setPosition=c;m.ignoreGrid=null!=e?e:!0;if(g){var k=m.positionChanged;
2868 m.positionChanged=function(){k.apply(this,arguments);b.view.invalidate(this.state.cell);b.view.vali…
2869k){f=Math.sqrt(mxUtils.ptSegDistSq(g.x,g.y,l.x,l.y,m.x,m.y));c=mxUtils.ptLineDist(g.x,g.y,g.x+e,g.… argument
2870 b.style[mxConstants.STYLE_STARTSIZE]);mxEvent.isAltDown(k.getEvent())||Math.abs(parseFloat(b.style[…
2871k){f=Math.sqrt(mxUtils.ptSegDistSq(g.x,g.y,l.x,l.y,m.x,m.y));c=mxUtils.ptLineDist(g.x,g.y,g.x+e,g.… argument
2872 b.style[mxConstants.STYLE_STARTSIZE],b.style.endWidth=b.style.startWidth);mxEvent.isAltDown(k.getEv…
2873 …d/2,e.y+c*(g+b.shape.strokewidth*b.view.scale)+f*d/2)},function(f,c,e,g,l,m,k){f=Math.sqrt(mxUtils… argument
2874 …mxEvent.isControlDown(k.getEvent())&&(b.style[mxConstants.STYLE_STARTSIZE]=b.style[mxConstants.STY…
2875 …d/2,e.y+c*(g+b.shape.strokewidth*b.view.scale)+f*d/2)},function(f,c,e,g,l,m,k){f=Math.sqrt(mxUtils… argument
2876 …own(k.getEvent())&&(b.style[mxConstants.STYLE_STARTSIZE]=b.style[mxConstants.STYLE_ENDSIZE],b.styl…
2902k=Ra.x,q=Ra.y,n=Sa.x,H=Sa.y,u="horizontal"==mxUtils.getValue(b.style,"elbow","horizontal");if(null…
2903 …geHandler(b);f.snapToTerminals=!1;return f}return eb.apply(this,arguments)};k.prototype.constraint…
2954 …nged(b[d],"")}finally{g.getModel().endUpdate()}}}var e=this.editorUi,k=e.editor,g=k.graph,p=functi…
2956 …(mxUtils.bind(this,function(b,d){try{var f=mxUtils.parseXml(b);k.graph.setSelectionCells(k.graph.i…
2964 …lls());if(0==l.length)f(c.getRoot(),e.copiedValue);else for(var k=0;k<l.length;k++)f(l[k],e.copied…
2977 k=0;k<m.length&&null==d;k++)m[k].textContent==b.textContent&&(d=m[k]);null!=d&&"A"==d.nodeName&&(c=…
2979k=g.convertValueToString(state.cell);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(k=k.replace(…
2980 "1")&&(k=k.replace(/\n/g,"<br/>")),g.cellLabelChanged(state.cell,g.sanitizeHtml(k)),g.setCellStyles…
3004 …tion(){var b=g.getSelectionCell();if(null!=b&&g.getModel().isEdge(b)){var d=k.graph.selectionCells…
3009 ….STYLE_IMAGE,0<b.length?b:null,f);var k=g.getCurrentCellStyle(f[0]);"image"!=k[mxConstants.STYLE_S…
3014k,g){var p;"..."==b.substring(b.length-3)?(b=b.substring(0,b.length-3),p=mxResources.get(b)+"...")… argument
3019k){null!=e&&e()||(this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=c&&c():this.getLatest… argument
3020k){var g=!0;try{this.stats.fileMerged++;var p=null!=this.shadowPages?this.shadowPages:this.ui.getP… argument
3021k={};var l=this.ui.getHashValueForPages(f,k),p={},q=this.ui.getHashValueForPages(this.shadowPages,…
3024k=0;k<b.length;k++){var g=c.encode(new mxGraphModel(b[k].root));"1"!=urlParams.dev&&(g=this.ui.ano…
3026 DrawioFile.prototype.checksumError=function(b,c,e,k,g){this.stats.checksumErrors++;this.invalidChec… argument
3027 …e:\n"+b:""),null,7E4)});null==k?p(null):this.getLatestVersion(mxUtils.bind(this,function(b){null!=…
3029 DrawioFile.prototype.sendErrorReport=function(b,c,e,k){try{var g=this.compressReportData(this.getAn… argument
3031 "")+(null!=e?"\n\nError: "+e.message:"")+"\n\nStack:\n"+m+"\n\nShadow:\n"+g+"\n\nData:\n"+p,k)}catc…
3033 …Resources.get("cancel"),mxResources.get("discardChanges")):e()}catch(k){null!=c&&c(k)}};DrawioFile…
3035 DrawioFile.prototype.patch=function(b,c,e){var k=this.ui.editor.undoManager,g=k.history.slice(),p=k
3036 …();t.cellRenderer.redraw=q;this.changeListenerEnabled=d;e||(k.history=g,k.indexOfNextAdd=p,k.fireE…
3038 DrawioFile.prototype.save=function(b,c,e,k,g,p){try{if(this.isEditable())if(!g&&this.invalidChecksu… argument
3039 …l};DrawioFile.prototype.saveAs=function(b,c,e){};DrawioFile.prototype.saveFile=function(b,c,e,k){}; argument
3063 … drive splash state".split(" "))+"#"+this.getHash(),k=mxResources.get("redirectToNewApp");null!=c&…
3064 …rm(k,mxUtils.bind(this,function(){this.redirectDialogShowing=!1;b()}),g,mxResources.get("cancel"),…
3068k=mxUtils.bind(this,function(b){this.handleFileError(b,!0)}),g=mxUtils.bind(this,function(){this.u…
3069k,null,null,this.constructor!=GitHubFile&&this.constructor!=GitLabFile||null==b?null:b.commitMessa…
3070 …s.htmlEntities(mxResources.get("updatingDocument")));this.synchronizeFile(e,k)}),this.getErrorMess…
3075k,g){this.lastSaved=new Date;this.ageStart=null;try{this.stats.saved++,this.invalidChecksum=this.i… argument
3076 !0;this.descriptorChanged();null!=k&&k(d);try{if(this.errorReportsEnabled)this.sendErrorReport("Err…
3077 DrawioFile.prototype.autosave=function(b,c,e,k){null==this.lastAutosave&&(this.lastAutosave=Date.no… argument
3078 function(b){null!=k&&k(b)}))}else this.isModified()||this.ui.editor.setStatus(""),null!=e&&e(null)}…
3080 …,c){if(null!=b&&null!=c){var e=b.lastIndexOf("."),k=0<e?b.substring(e):"",e=c.lastIndexOf(".");ret…
3082 …ow(),Date.now(),!1,c)};LocalFile=function(b,c,e,k,g,p){DrawioFile.call(this,b,c);this.title=e;this… argument
3085 LocalFile.prototype.saveFile=function(b,c,e,k,g){b!=this.title&&(this.desc=this.fileHandle=null);th… argument
3086 function(b){this.savingFile=!1;null!=k&&k({error:b})});this.saveDraft();this.fileHandle.createWrita…
3088 …is.ui.fileNode),this.ui.getEmbeddedPng(mxUtils.bind(this,function(b){f(b)}),k,this.ui.getCurrentFi…
3135 … e=b.state.strokeColor,g=b.state.strokeWidth,l=b.state.strokeAlpha,m=b.state.dashed,k=f.fillWeight;
3136 0>k&&(k=f.strokeWidth/2);b.setStrokeAlpha(b.state.fillAlpha);b.setStrokeColor(f.fill||"");b.setStro…
3146 …s.lastY,b,d,c,f,e,g,l);if(null!=m)for(var k=0;k<m.length;k+=6)this.curveTo(m[k],m[k+1],m[k+2],m[k+…
3152 …,l=this.stroke;this.stroke=this.fill=null;var m=this.configurePointerEvents,k=d.setStrokeColor;d.s…
3153 c.apply(this,arguments);d.handJiggle.passThrough=!1;d.setFillColor=n;d.setStrokeColor=k;this.config…
3159 f){var k=b.indexOf("%3C%2Fmxfile%3E)",e)+15,e=e-9;if(k>e){c=b.substring(e,k);break}}10==m&&("endobj…
3180 …;e.apply(this,arguments)};var k=Editor.prototype.updateGraphComponents;Editor.prototype.updateGrap…
3189 …mxUtils.bind(this,function(c,l){for(var m=b.getElementsByTagName(c),k=0;k<m.length;k++)mxUtils.bin…
3190k=g[m];null==k?(e++,this.convertImageToDataUri(m,function(f){null!=f&&(g[m]=f,c.setAttribute(l,f))…
3192 …(l&63)}return d};Editor.prototype.loadUrl=function(b,d,c,f,e,g,l,m){try{var k=!l&&(f||/(\.png)($|\…
3193 …if(200<=b.getStatus()&&299>=b.getStatus()){if(null!=d){var f=b.getText();if(k){if((9==document.doc…
3194 …nction(b){null!=c&&c({message:mxResources.get("error")+" "+b.getStatus()})},k,this.timeout,functio…
3196 …var l=c[g].indexOf(")"),m=null,k=c[g].indexOf("format(",l);0<k&&(m=Editor.trimCssUrl(c[g].substrin…
3202k,n,q,u,p,x,v,t,y,C){try{g=null!=g?g:!0;l=null!=l?l:!0;u=null!=u?u:this.graph;p=null!=p?p:0;var H= argument
3203k,c)},0):(x.drawImage(f,0,0),b(k,c))},k=document.createElement("canvas"),n=parseInt(c.getAttribute…
3206 …>>0};Editor.writeGraphModelToPng=function(b,d,c,f,e){function g(b,d){var c=k;k+=d;return b.substri…
3207 k)}function l(b){b=g(b,4);return b.charCodeAt(3)+(b.charCodeAt(2)<<8)+(b.charCodeAt(1)<<16)+(b.char…
3208 …ngth);e+=m(c.length)+d+c+m(f^4294967295);e+=b.substring(k-8,b.length);break}e+=b.substring(k-8,k-4…
3242 …ength;b++){var k=c.dependentPropsDefVal[b],n=c.dependentPropsVals[b];if(n.length>d)n=n.slice(0,d);…
3245k=l,q=0;null!=k.nextSibling;)if(k.nextSibling.getAttribute("data-pName")==b)k=k.nextSibling,q++;el…
3246k=0;k<e;k++)m[k]=null!=d[k]?d[k]:null!=f?f:"";p.push({name:b,values:m,type:c,defVal:f,parentRow:g,… function
3248k(d,c,n));else if("enum"==x){var C=n.enumList;for(v=0;v<C.length;v++)if(p=C[v],p.val==c){mxUtils.w…
3257 …e.width="210px";for(var l=[],m=0;m<this.defaultColorSchemes.length;m++){var k=document.createEleme…
3258 k.style.display="inline-block";k.style.width="6px";k.style.height="6px";k.style.marginLeft="4px";k.…
3259 …l().getStyle(f[g]),m=0;m<e.length;m++)l=mxUtils.removeStylename(l,e[m]);var k=c.getModel().isVerte…
3260 …xUtils.getValue(k,mxConstants.STYLE_FILLCOLOR,null)),l=mxUtils.setStyle(l,mxConstants.STYLE_GRADIE…
3261k,mxConstants.STYLE_FONTCOLOR,null)))),mxEvent.isAltDown(d)||(l=""==b.stroke?mxUtils.setStyle(l,mx…
3262 …tValue(k,mxConstants.STYLE_GRADIENTCOLOR,null)),c.getModel().isVertex(f[g])&&(l=mxUtils.setStyle(l…
3279 …eTextNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(b,d,c,f,e,g,l,m,k,n,q){D.apply(this,ar… argument
3281 "2");g.style.boxSizing="border-box";g.style.tableLayout="fixed";g.style.width="100%";var k=document…
3283 ….highlightCells(c)}else if(g&&0<l.hiddenTags.length)e(!0);else{var c=m.slice(),k=mxUtils.indexOf(c,
3284 b);c.splice(k,1);l.hiddenTags=c;f();l.refresh()}mxEvent.consume(d)});n.appendChild(q);if(l.isEnable…
3286k.appendChild(n)})(b[q]);g.appendChild(k);n.appendChild(g)}}var l=this,m=l.hiddenTags.slice(),k=do…
3287 …led()?"1px solid #808080":"none";n.style.bottom=l.isEnabled()?"48px":"10px";k.appendChild(n);var q…
3289 …eft="10px";l.isEnabled()&&(p.appendChild(q),p.appendChild(u),k.appendChild(p));return{div:k,refres…
3293 function(b,d,c,f,e,g,l,m,k,n,q,u,v,p){var x=null,t=null,y=null;u||null==this.themes||"darkTheme"!=t… argument
3300 …,this.model.endUpdate())}),m=mxUtils.bind(this,function(){0<f&&f--;0==f&&k()}),k=mxUtils.bind(this…
3305 …c?1:n.steps,c?0:n.delay));0==f?k():l()}else this.stoppingCustomActions=this.executingCustomActions…
3310 …(d[m])){var k=this.getTagsForCell(d[m]),n=!1;if(0<k.length&&(k=k.split(" "),k.length>=b.length)){f…
3331 …var ea=mxMarker.createMarker;mxMarker.createMarker=function(b,d,c,f,e,g,l,m,k,n){if(null!=c&&null=… argument
3332 …nction f(d){function c(d,c,g){var l=d.useCssTransforms,m=d.currentTranslate,k=d.currentScale,n=d.v…
3336 …;var k=F.apply(this,arguments);mxClient.NO_FO=m;this.graph.mathEnabled?this.mathEnabled=this.mathE…
3338 …n("</style>"))}l&&(d.useCssTransforms=l,d.currentTranslate=m,d.currentScale=k,d.view.translate=n,d…
3339 …value,parseInt(y.value)/100,parseInt(E.value)/100,M.get());else{n&&(n=l==k&&m==k);if(!n&&null!=b.p…
3342 …"0px";mxUtils.write(l,d||mxResources.get("print"));g.appendChild(l);var m=1,k=1,n=document.createE…
3344 …age))for(l=0;l<b.pages.length;l++)if(b.currentPage==b.pages[l]){k=l+1;v.value=k;p.value=k;break}v.…
3355k){k.ui=b.ui;return e};b.afterDecode=function(b,e,k){k.previousColor=k.color;k.previousImage=k.ima… argument
3356 (function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(b,e,k){k.ui…
3359 …yles:4,axisFormat:"%Y-%m-%d"}};EditorUi.logError=function(b,c,e,g,m,k,u){k=null!=k?k:0<=b.indexOf(… argument
3360 …w.DRAWIO_LOG_URL:"";m=null!=m?m:Error(b);(new Image).src=d+"/log?severity="+k+"&v="+encodeURICompo…
3361 …omponent(m.stack):"")}}catch(y){}try{u||null==window.console||console.error(k,b,c,e,g,m)}catch(y){…
3377 ….replace(/\\&quot;/g,'"').replace(/\n/g,""))}else var m=mxUtils.parseXml(b),k=this.editor.extractG…
3378 this.diagramContainer.style.visibility),d=null!=k?mxUtils.getXml(k):""}catch(u){}return d};EditorUi…
3379k=this.updatePageRoot(new DiagramPage(e[g]));null==k.getName()&&k.setName(mxResources.get("pageWit…
3381 EditorUi.prototype.createFileData=function(b,c,e,g,m,k,u,v,p,x,t){c=null!=c?c:this.editor.graph;m=n… argument
3384 …tXml(l);if(!k&&!m&&(u||null!=e&&/(\.html)$/i.test(e.getTitle())))t=this.getHtml2(mxUtils.getXml(l)…
3386k=new mxCodec(mxUtils.createXmlDocument()),k=k.encode(new mxGraphModel(f.root));this.editor.graph.…
3387 …originalSrc&&(k=new mxCodec(mxUtils.createXmlDocument()),k=k.encode(new mxGraphModel(f.root)),this…
3388 Graph.compressNode(k))));b(l)}return d};EditorUi.prototype.anonymizeString=function(b,c){for(var d=…
3394 …}))))};EditorUi.prototype.getFileData=function(b,c,e,g,m,k,u,v,p,x,t){m=null!=m?m:!0;k=null!=k?k:!… argument
3396 k,x,t);p=null!=p?p:this.getCurrentFile();b=this.createFileData(u,d,p,window.location.href,b,c,e,g,m… argument
3397 …;"),0<c.length&&(f=EditorUi.drawHost+"/embed.js?s="+c));b.setAttribute("x0",k);b.setAttribute("y0"…
3399 …otype.getHtml2=function(b,c,e,g,k){c=window.DRAWIO_VIEWER_URL||EditorUi.drawHost+"/js/viewer-stati… argument
3400k?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n':"")+"…
3401 k+"'\"/>\n":"")+'<meta charset="utf-8"/>\n</head>\n<body>\n<div class="mxgraph" style="max-width:10…
3404 …<g.length;e++)b[g[e]]=!0;for(var k=this.editor.graph.getModel(),u=k.getChildren(k.root),e=0;e<u.le…
3406k,n,u,p,t,x,D,I){try{g=null!=g?g:this.editor.graph.isSelectionEmpty();var d=this.getBaseFilename(! argument
3407 …this.editor.graph.pageVisible=n);var e=this.createDownloadRequest(d,b,g,c,u,k,p,t,x,D,I);this.edit…
3409 ….handleError(O)}};EditorUi.prototype.createDownloadRequest=function(b,c,e,g,k,n,u,p,t,x,D){var d=t… argument
3410k?k||null!=n&&n!=mxConstants.NONE||(n="#ffffff"):n=mxConstants.NONE;k={globalVars:d.getExportVaria… class in popupMenuHandler.AnonymousFunctioncbe8b5117ec00
3411 …me="+encodeURIComponent(b):"")+"&extras="+encodeURIComponent(JSON.stringify(k))+(null!=u?"&scale="…
3412 …);if(null!=b.update){var g=null!=b.interval?parseInt(b.interval):6E4,l=null,k=mxUtils.bind(this,fu…
3413 …Timeout(l);l=window.setTimeout(k,g)});this.editor.addListener("pageSelected",mxUtils.bind(this,fun…
3414 …ement:null,null!=b&&"updates"==b.nodeName)){var g=this.editor.graph,k=g.getModel();k.beginUpdate()…
3415k.getCell(b.getAttribute("id"));if(null!=p){try{var t=b.getAttribute("value");if(null!=t){var x=mx…
3417 …TYPE_ELEMENT;)L=L.nextSibling;null!=L&&(new mxCodec(b.firstChild)).decode(L,k)}else if("view"==b.n…
3418k.endUpdate()}null!=u&&this.chromelessResize&&this.chromelessResize(!0,u)}return c};EditorUi.proto…
3419 t=g.getHours(),x=g.getMinutes(),g=g.getSeconds(),d=d+(" "+(e+"-"+k+"-"+p+"-"+t+"-"+x+"-"+g));return…
3425k=b[g].node.cloneNode(!1);k.removeAttribute("name");f.root=b[g].root;var p=e.encode(f);this.editor…
3426 d=(d<<5)-d+this.hashValue(k,function(b,d,c,f){return!f||"mxGeometry"!=b.nodeName&&"mxPoint"!=b.node…
3428 …storeLibraries=function(){};EditorUi.prototype.saveLibrary=function(b,c,e,g,k,n,p){};EditorUi.prot… argument
3432 …ull!=c&&this.sidebar.addEntries(c);e=null!=e&&0<e.length?e:b.getTitle();var k=this.sidebar.addPale…
3433 e,null!=g?g:!0,mxUtils.bind(this,function(b){l(c,b)}));this.repositionLibrary(d);var q=k.parentNode…
3435 …,F=null,M=mxUtils.bind(this,function(d){this.showLibraryDialog(b.getTitle(),k,c,b,b.getMode());mxE…
3438 m.translate(-d.x,-d.y)}k.appendChild(this.sidebar.createVertexTemplateFromCells(b,d.width,d.height,…
3439k,function(){},mxUtils.bind(this,function(b){B.isMouseDown&&null!=B.panningManager&&null!=B.graphH…
3440k.style.cursor="copy",B.panningManager.stop(),B.autoScroll=!1,mxEvent.consume(b))}),mxUtils.bind(t…
3441k.style.backgroundColor="",k.style.cursor="",B.autoScroll=!0)}));Graph.fileSupport&&(mxEvent.addLi…
3443 …odeName)try{var m=JSON.parse(mxUtils.getTextContent(g.documentElement));l(m,k);c=c.concat(m);E(b);…
3445 …opagation();b.preventDefault()})),mxEvent.addListener(k,"dragleave",function(b){k.style.cursor="";
3446 …xEvent.addListener(t,"click",M);mxEvent.addListener(k,"dblclick",function(b){mxEvent.getSource(b)=…
3452 …heme();EditorUi.prototype.showImageDialog=function(b,c,e,g,k){b=new ImageDialog(this,b,c,e,g,k);th… argument
3453 …()};EditorUi.prototype.showLibraryDialog=function(b,c,e,g,k){b=new LibraryDialog(this,b,c,e,g,k);t… argument
3456 mxEvent.consume(b)}));b.appendChild(c);return b};EditorUi.prototype.handleError=function(b,c,e,g,k,… argument
3457 …ies(f.message):mxUtils.htmlEntities(mxResources.get("accessDenied")):null!=k?k:mxUtils.htmlEntitie…
3458 null!=k?null:null!=n?n:window.location.hash;if(null!=q&&("#G"==q.substring(0,2)||"#Uhttps%3A%2F%2Fd…
3459 …ph.openLink("https://drive.google.com/open?id="+q);this.handleError(b,c,e,g,k)}),m,mxResources.get…
3463 …ner,e||340,100,!0,!1);b.init()};EditorUi.prototype.confirm=function(b,c,e,g,k,n){var d=null!=this.… argument
3464 …rmDialog(this,b,function(){d();null!=c&&c()},function(){d();null!=e&&e()},g,k,null,null,null,null,…
3467 …r k=document.createElement("label");k.setAttribute("for","geDoNotShowAgainCheckbox");mxUtils.write…
3468 …f,"click",mxUtils.bind(this,function(b){var d=mxEvent.getSource(b);d!=l&&d!=k?(null!=e&&e(),q(),mx…
3470 …s=function(b,c,e,g,k){var d="jpeg"==e?"jpg":e;g=this.getBaseFilename(g)+(null!=c?".drawio":"")+"."… argument
3472 k,n){"text/xml"!=e||/(\.drawio)$/i.test(c)||/(\.xml)$/i.test(c)||/(\.svg)$/i.test(c)||/(\.html)$/i.… argument
3474k).simulate(document,"_blank")}};EditorUi.prototype.createEchoRequest=function(b,c,e,g,k,n){b="xml… argument
3475k=0;k<f;++k){for(var p=1024*k,t=Math.min(p+1024,e),x=Array(t-p),D=0;p<t;++D,++p)x[D]=d[p].charCode… argument
3477 …ces.get("saveAs"),mxResources.get("download"),!1,n,p,null,1<k,d,b,e,g);n=this.isServices(k)?k>d?39…
3478 …<pre>"+mxUtils.htmlEntities(b,!1)+"</pre></html>"),d.document.close())};var k=EditorUi.prototype.a…
3483 …ar b=this.editor.graph.getAllTags();d.style.display=0<b.length?"":"none"}))}k.apply(this,arguments…
3489k){this.isLocalFileSave()?this.saveLocalFile(e,b,g,k,c):this.saveRequest(b,c,mxUtils.bind(this,fun… argument
3490 function(b,c,e,g,k,n,p){p=null!=p?p:!mxClient.IS_IOS||!navigator.standalone;var d=this.getServiceCo… argument
3492k);d=this.isServices(d)?4<d?390:270:160;this.showDialog(b.container,420,d,!0,!0);b.init()};EditorU… argument
3493 …,!0,D,I);g&&this.editor.graph.addSvgShadow(l);var m=this.getBaseFilename()+(k?".drawio":"")+".svg"…
3494 …is.spinner.stop();k&&b.setAttribute("content",this.getFileData(!0,null,null,null,e,t,null,null,nul…
3495 …dRadiobox=function(b,c,e,g,k,n,p){return this.addCheckbox(b,e,g,k,n,p,!0,c)};EditorUi.prototype.ad… argument
3496 …lement("label"),mxUtils.write(e,c),e.setAttribute("for",p),b.appendChild(e),k||mxUtils.br(b));retu…
3499 …(){return g}}};EditorUi.prototype.addLinkSection=function(b,c){function d(){k.innerHTML='<div styl…
3501 …="#0000ff",k=null,k=mxUtils.button("",mxUtils.bind(this,function(b){this.pickColor(g||"none",funct…
3502k.style.marginLeft="4px";k.style.height="22px";k.style.width="22px";k.style.position="relative";k.… argument
3503k&&0<k.length&&p.push("edit="+encodeURIComponent(k)),n&&p.push("layers=1"),this.editor.graph.foldi… argument
3505 …ype.createHtml=function(b,c,e,g,k,n,p,t,y,x,D,I){this.getBasenames();var d={};""!=k&&k!=mxConstant… argument
3508k=document.createElement("input");k.style.cssText="margin-right:8px;margin-top:8px;margin-bottom:8…
3509 …get("includeCopyOfMyDiagram"));l.appendChild(q);mxUtils.br(l);l.appendChild(k);q=document.createEl…
3510 …showPermissions(p.getId())})));f.setAttribute("checked","checked");null==e&&k.setAttribute("disabl…
3512k.checked?e:null,I.checked,B.value,t.getTarget(),t.getColor(),F.checked,M.checked,E.checked,K.chec… argument
3518 …abled","disabled")});c=new CustomDialog(this,d,mxUtils.bind(this,function(){k(u.getTarget(),u.getC…
3519 …ull)):u.focus()};EditorUi.prototype.showRemoteExportDialog=function(b,c,e,g,k){var d=document.crea… argument
3520 (k?"10":"4")+"px";d.appendChild(f);if(k){mxUtils.write(d,mxResources.get("zoom")+":");var l=documen…
3522 …);this.showDialog(b.container,300,(k?25:0)+(g?125:210),!0,!0)};EditorUi.prototype.showExportDialog… argument
3530k(q.value,O.checked,!v.checked,N.checked,J.checked,Q.checked,u.value,K.checked,!1,A.value,null!=H?… argument
3533 …,mxResources.get("embed"),k);this.showDialog(c.container,280,300,!0,!0)};EditorUi.prototype.create… argument
3534 EditorUi.lightboxHost+"/?client=1"+(null!=l?"&page="+l:"")+(k?"&edit=_blank":"")+(n?"&layers=1":"")…
3536 …et("drawingTooLarge")})};EditorUi.prototype.createEmbedSvg=function(b,c,e,g,k,n,p){var d=this.edit… argument
3537 …ner('message',r);img.wnd=window.open('"+EditorUi.lightboxHost+"/?client=1"+(k?"&edit=_blank":"")+(…
3539k?"&edit=_blank":"")+(n?"&layers=1":"")+"');}}})(this);"),t+="cursor:pointer;"),b&&(b=parseInt(d.g…
3542 …eturn{scale:d,border:c}};EditorUi.prototype.getEmbeddedPng=function(b,c,e,g,k){try{var d=this.edit… argument
3545 …shadowVisible,null,d,k,null,null,null,"diagram",null)}catch(D){null!=c&&c(D)}};EditorUi.prototype.… argument
3546 …svgDoctype+"\n")+mxUtils.getXml(b);null!=k&&k(b);return b});c.mathEnabled&&this.editor.addMathCss(…
3547 …c(b)}}))}catch(l){c(b)}}))};EditorUi.prototype.exportImage=function(b,c,e,g,k,n,p,t,y,x,D,I,B){y=n… argument
3548 k?this.getFileData(!0,null,null,null,e,t):null,y,null==this.pages||0==this.pages.length,D)}catch(E)… argument
3551 …exStyle,f.defaultEdgeStyle,!1,!0)}finally{f.model.endUpdate()}}}catch(C){if(k)throw C;this.handleE…
3552 …sByTagName("a"),k=!1,p=0;p<g.length;p++)f=g[p].getAttribute("href"),null!=f&&(g[p].setAttribute("h…
3553 …ns[f];if(null!=g.open&&Graph.isPageLink(g.open)){var k=g.open.substring(g.open.indexOf(",")+1),d=b…
3554k)&&delete g.open}}c="data:action/json,"+JSON.stringify(e)}}catch(v){}return c};EditorUi.prototype… argument
3556 …ype="blob";this.addRemoteServiceSecurityCheck(n);null!=k&&n.setRequestHeader("x-convert-custom",k)…
3563 isNaN(l))try{var k=c[0].getAttribute("viewBox").split(/\s+/),f=parseFloat(k[2]),l=parseFloat(k[3])}…
3565 …dth,f=c.height;if(0==b&&0==f){var l=d.result,k=l.indexOf(","),m=decodeURIComponent(escape(atob(l.s…
3567 !0)}finally{d.getModel().endUpdate()}return f};EditorUi.prototype.insertTextAt=function(b,c,e,g,k,n… argument
3568 b.substring(0,5)||!this.isOffline()&&(k||/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(b))){var d=this.edi…
3572k=null;d.getModel().beginUpdate();try{k=d.insertVertex(d.getDefaultParent(),null,"",d.snap(c),d.sn…
3573k.geometry.width=m.width;k.geometry.height=m.height}Graph.isLink(k.value)&&d.setLinkForCell(k,k.va…
4017 …ent=c.ownerDocument,this.xmlNode=c,this.xml=mxUtils.getXml(c),null!=b)){var k=mxUtils.bind(this,fu…
4021k=this.graph.getGlobalVariable,d=this;this.graph.getGlobalVariable=function(b){var c=f[d.currentPa…
4027 …bind(this,function(c){0<b.offsetWidth&&(p.disconnect(),k())}));p.observe(g,{attributes:!0})}else k
4032k=this.graph.getModel();k.beginUpdate();try{for(var g=0;g<k.getChildCount(k.root);g++){var p=k.get…
4035 …style.overflow=1!=this.graphConfig["toolbar-nohide"]?"hidden":"visible";var k=mxUtils.bind(this,fu…
4039 …?(mxEvent.addListener(window,"resize",k),this.graph.addListener("size",k)):new ResizeSensor(this.g…
4040k=mxUtils.bind(this,function(){window.clearTimeout(p);this.handlingResize||(p=window.setTimeout(mx…
4041 k);var t=mxUtils.bind(this,function(d){var e=b.style.minWidth;this.widthIsEmpty&&(b.style.minWidth=…
4043 …e=b.border,k=b.view.scale;b.view.setTranslate(null!=c.x?Math.floor(b.view.translate.x-c.x/k+e):e,n…
4044k=this.graphConfig.layerIds,g=null!=k&&0<k.length,p=!1;if(0<e.length||g||null!=c){var t=null!=c?c.…
4048 …ar k=null,g=null,p=mxUtils.bind(this,function(b){null!=k&&(window.clearTimeout(k),fadeThead=null);…
4049k=null;g=window.setTimeout(mxUtils.bind(this,function(){e.style.display="none";g=null}),100)}),b||…
4066k){if(null==k)for(var g=mxEvent.getSource(e);g!=b.container&&null!=g&&null==k;)"a"==g.nodeName.toL… argument
4067 (mxEvent.isTouchEvent(e)||!mxEvent.isPopupTrigger(e))&&b.customLinkClicked(k)&&(mxUtils.clearSelect…
4072 mxEvent.addListener(c,"click",function(){k.destroy()});urlParams.pages="1";urlParams.page=this.curr…
4073 …lightboxDropShadow";var k=new EditorUi(new Editor(!0),document.createElement("div"),!0);k.editor.e…
4074 k.refresh=function(){};var g=mxUtils.bind(this,function(b){27==b.keyCode&&k.destroy()}),p=k.destroy… method
4075 ….getImageFromBundles=function(b){return f.getImageUrl(b)};var l=k.createTemporaryGraph;k.createTem… method
4076k);window.setTimeout(mxUtils.bind(this,function(){d.style.outline="none";d.style.zIndex=this.light…
4077k.chromelessToolbar.style.zIndex=this.lightboxZIndex;document.body.appendChild(k.chromelessToolbar…
4080k=document.getElementsByTagName("*"),c=[],e=0;e<k.length;e++){var g=k[e].className;null!=g&&0<g.le…
4081k=JSON.parse(e),g=function(e){e=mxUtils.parseXml(e);e=new GraphViewer(b,e.documentElement,k);null!…
4083k=null!=navigator.userAgent&&0<navigator.userAgent.indexOf("MSIE 9")?new XDomainRequest:new XMLHtt…
4084 …estAnimationFrame||function(b){return window.setTimeout(b,20)},c=function(e,k){function g(){this.q… argument
4086 …0],k=c.resizeSensor.childNodes[1],l=function(){f.style.width="100000px";f.style.height="100000px";…
4087 …:b.addEventListener(c,d)};C(e,"scroll",K);C(k,"scroll",K)}var d=function(){GraphViewer.resizeSenso…
4098 …)];var k=mxUtils.getValue(this.style,mxBpmnShape.prototype.miscEnum.OUTLINE,mxBpmnShape.prototype.…
4099 …(h=this.symbols[g],null!=h))){var l=a.state.strokeColor,m=a.state.fillColor,k=mxUtils.getValue(thi…
4101 …translate(.12*b,0),b*=.76);var n=!1;if("star"===g)a.setFillColor(l);else if(k===mxBpmnShape.protot…
4102 k===mxBpmnShape.prototype.eventTypeEnum.END)a.setStrokeColor(m),a.setFillColor(l),n=!0;h.call(this,…
4124 …L,null));if(null!=g&&(h=mxShapeBpmnEvent.prototype.symbols[g],null!=h)){var k=a.state.strokeColor,…
4126 …ar"===g)a.setFillColor(k);else if(f===this.eventTypeEnum.THROWING||f===this.eventTypeEnum.END)a.se…
4127 else if(f===this.eventTypeEnum.THROWING||f===this.eventTypeEnum.END)a.setStrokeColor(k),a.setFillCo…
4140k=mxUtils.getValue(this.style,"outline","none"),l=mxUtils.getValue(this.style,"symbol","standard")…
4149 …yle,"taskMarker","abstract"),h=mxUtils.getValue(this.style,"strokeWidth",1),k=mxUtils.getValue(thi…
4150k);"call"==f&&a.setStrokeWidth(h);a.setDashed(!1);a.setShadow(!1);var h=mxUtils.getValue(this.styl…
4151k&&f++;l&&f++;d&&f++;h&&f++;e&&f++;f*=-7;n&&(n=mxStencilRegistry.getStencil("mxgraph.bpmn.loop"),n…
4152 …n.ad_hoc"),null!=n&&(h=mxUtils.getValue(this.style,"strokeColor","#000000"),k=mxUtils.getValue(thi…
4153k)));switch(g){case "service":n=mxStencilRegistry.getStencil("mxgraph.bpmn.service_task");null!=n&…
4171 …","),h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),k=mxUtils.getValue(thi…
4172k,q=0;q<g.length;q++){var t=mxUtils.getSizeForString(g[q],k,mxConstants.DEFAULT_FONTFAMILY).width;…
4175k,l){d=mxUtils.getValue(this.style,"buttonStyle","round").toString();"round"===d?(a.begin(),a.move… argument
4176 …To(0,k),a.arcTo(k,k,0,0,1,k,0),a.lineTo(b-k,0),a.arcTo(k,k,0,0,1,b,k),a.lineTo(b,c-k),a.arcTo(k,k,…
4177 …ext=function(a,d,e,b,c,f,g,h,k,l){for(d=0;d<f.length;d++)a.begin(),a.setFontSize(g),a.setFontColor… argument
4195k=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17");a.translate(d,e);b=Math.max(b,20);c…
4200 …rarchy.prototype.shapeText=function(a,d,e,b,c,f,g,h,k,l){a.begin();a.setFontSize(h);a.setFontColor… argument
4204k=mxUtils.getValue(this.style,"fillColor2","#ffffff");a.translate(d,e);b=Math.max(b,40);c=Math.max…
4230 …5,1),!0)];mxMarker.addMarker("ERone",function(a,d,e,b,c,f,g,h,k,l){var m=c*(g+k+1),n=f*(g+k+1);ret… argument
4231k,l){var m=c*(g+k+1),n=f*(g+k+1);return function(){a.begin();a.moveTo(b.x-m/2-n/2,b.y-n/2+m/2);a.l… argument
4232 mxMarker.addMarker("ERoneToMany",function(a,d,e,b,c,f,g,h,k,l){var m=c*(g+k+1),n=f*(g+k+1);return f… argument
4233 …roToMany",function(a,d,e,b,c,f,g,h,k,l){var m=c*(g+k+1),n=f*(g+k+1),p=g/2,q=b.x,t=b.y;l||(b.x-=2*m… argument
4234k,l){var m=c*(g+k+1),n=f*(g+k+1),p=g/2,q=b.x,t=b.y;l||(b.x-=2*m-c*k/2,b.y-=2*n-f*k/2);return funct… argument
4259 …#666666"),h=mxUtils.getValue(this.style,mxIOS7C.STYLE_TEXTCOLOR2,"#ffffff"),k=mxUtils.getValue(thi…
4260k,mxConstants.DEFAULT_FONTFAMILY).width;t+=q[v]}c=Math.max(c,1.5*k,10);t=5*p+t;b=Math.max(b,t);a.t…
4262k,l,m,n){a.begin();a.setStrokeColor(k);a.setFillColor(l);a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.li… argument
4263 …ineTo(f,0),a.lineTo(f,e),a.lineTo(p,e),a.close(),a.fill());a.setStrokeColor(k);a.setFillColor(l);a…
4278 …Sub Text"),h=mxUtils.getValue(this.style,mxIOS7C.STYLE_TEXTCOLOR,"#666666"),k=mxUtils.getValue(thi…
4279 …etFontStyle(mxConstants.FONT_BOLD);this.mainText(a,d,e,b,c,f,k,h);this.subText(a,d,e,b,c,g,k/1.4,h…
4295 …s.getValue(this.style,mxShapeIOS7MarginRect.prototype.cst.MARGIN_LEFT,"0")),k=parseFloat(mxUtils.g…
4296 …tyle,mxShapeIOS7MarginRect.prototype.cst.RY,"0"));h=f+h;g=f+g;b=b-l-h-f;c=c-k-g-f;0<b&&0<c&&(a.beg…
4313 …lue(this.style,mxShapeMockupMultiButton.prototype.cst.TEXT_COLOR,"#666666"),k=mxUtils.getValue(thi…
4314 this.mainText(a,d,e,b,c,f,k,h);this.subText(a,d,e,b,c,g,k/1.4,h)};
4325 …e(this.style,mxShapeMockupHorButtonBar.prototype.cst.TEXT_COLOR2,"#ffffff"),k=mxUtils.getValue(thi…
4326 …ype.cst.SELECTED&&(w=f[r].substring(1),v=r);t[r]=mxUtils.getSizeForString(w,k,mxConstants.DEFAULT_…
4327k,20);u=10*q+u;b=Math.max(b,u);a.translate(d,e);this.background(a,b,c,10,q,t,5,u,l,m,n,p,v);a.setS…
4328 …rButtonBar.prototype.background=function(a,d,e,b,c,f,g,h,k,l,m,n,p){a.begin();a.setStrokeColor(k);… argument
4329 …ineTo(f,0),a.lineTo(f,e),a.lineTo(q,e),a.close(),a.fill());a.setStrokeColor(k);a.setFillColor(m);a…
4333 …e(this.style,mxShapeMockupVerButtonBar.prototype.cst.TEXT_COLOR2,"#ffffff"),k=mxUtils.getValue(thi…
4334 …totype.cst.SELECTED&&(r=f[v].substring(1),u=v);r=mxUtils.getSizeForString(r,k,mxConstants.DEFAULT_…
4335k,x=q*w;c=Math.max(c,x);b=Math.max(b,10+t);a.translate(d,e);this.background(a,b,c,10,q,5,q*w,l,m,n…
4336k,l,m,n,p){a.begin();a.setStrokeColor(h);a.setFillColor(l);a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.… argument
4356 …c4"),h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),k=mxUtils.getValue(thi…
4357 …is.background(a,d,e,b,c,f,h);a.setShadow(!1);this.otherShapes(a,d,e,b,c,g,h,k,l,m)};mxShapeMockupV…
4358k,l){var m=mxUtils.getValue(this.style,mxShapeMockupVideoPlayer.prototype.cst.BAR_POS,"20"),m=Math… argument
4359 …th(d);g=.3*l;h=c-.5*(l+g);k=.3*l;a.setFillColor(f);a.setStrokeColor(f);a.begin();a.moveTo(k,h);a.l…
4365 …alue(this.style,mxShapeMockupAccordion.prototype.cst.TEXT_COLOR2,"#ffffff"),k=mxUtils.getValue(thi…
4366 …totype.cst.SELECTED&&(r=f[v].substring(1),u=v);r=mxUtils.getSizeForString(r,k,mxConstants.DEFAULT_…
4367k;c=Math.max(c,q*w);b=Math.max(b,10+t);a.translate(d,e);this.background(a,b,c,10,q,5,q*w,l,m,n,p,u…
4368k,l,m,n,p){a.begin();a.setStrokeColor(h);a.setFillColor(l);a.moveTo(0,0);a.lineTo(d,0);a.lineTo(d,… argument
4372 …his.style,mxShapeMockupBrowserWindow.prototype.cst.STROKE_COLOR2,"#008cff"),k=mxUtils.getValue(thi…
4373 this.otherShapes(a,d,e,b,c,g,k,h)};mxShapeMockupBrowserWindow.prototype.background=function(a,d,e,b…
4405 …Value(this.style,mxShapeMockupWindow.prototype.cst.STROKE_COLOR2,"#008cff"),k=mxUtils.getValue(thi…
4406 d,e,b,c,g,k,h)};mxShapeMockupWindow.prototype.background=function(a,d,e,b,c,f,g){a.setFillColor(f);…
4410 …,"Tab 1,+Tab 2,Tab 3").toString().split(","),h=1.5*f,k=g.length,l=20+5*(k-1)+20*k,m=[],n=-1,p=0;p<
4411 …(!1);this.backTabs(a,b,c,5,h,10,5,10,k,m,n);this.focusTab(a,b,c,5,h,10,5,10,k,m,n);this.tabText(a,…
4412 …,f,g,h,k,l,m){d=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.TAB_STYLE,mxShape… argument
4414k,l,m){e=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.TAB_STYLE,mxShapeMockupH… argument
4417k,l,m,n){d=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.TEXT_COLOR,"#666666");… argument
4420 …TAB_NAMES,"Tab 1,+Tab 2,Tab 3").toString().split(","),h=1.5*f,k=g.length,l=[],m=-1,n=0;n<k;n++){va…
4421k*h+5*(k-1));a.translate(d,e);this.background(a,b,c,5,f);a.setShadow(!1);this.backTabs(a,b,c,5,h,f…
4422 mxShapeMockupVerTabBar.prototype.backTabs=function(a,d,e,b,c,f,g,h,k,l,m,n){d=mxUtils.getValue(this… argument
4424k,l,m,n){d=mxUtils.getValue(this.style,mxShapeMockupVerTabBar.prototype.cst.TAB_STYLE,mxShapeMocku… argument
4426k,l,m,n,p){d=mxUtils.getValue(this.style,mxShapeMockupVerTabBar.prototype.cst.TEXT_COLOR,"#666666"… argument
4429 …lue(this.style,mxShapeMockupAlertBox.prototype.cst.STROKE_COLOR2,"#008cff"),k=mxUtils.getValue(thi…
4430 d,e,b,c,g,k,h)};mxShapeMockupAlertBox.prototype.background=function(a,d,e,b,c,f,g){a.setFillColor(f…
4432k=mxUtils.getValue(this.style,mxShapeMockupAlertBox.prototype.cst.TEXT_COLOR,"#666666");f=mxUtils.…
4433 …nstants.ALIGN_MIDDLE,0,null,0,0,0)),h=h+g+10;for(k=0;k<d.length;k++)a.text(.5*b,30+f*(1.5*k+.75),0…
4451 …_TEXT,"Option 1").toString().split(",");var g=e.length,h=Math.max(1.5*f,15),k=0,l=-1,m=g*h;c=Math.…
4452 …tSizeForString(p,f,mxConstants.DEFAULT_FONTFAMILY).width;p>k&&(k=p)}a.rect(0,0,Math.max(b,5+k+30),…
4455 …_TEXT,"Option 1").toString().split(",");var g=e.length,h=Math.max(1.5*f,15),k=0,l=-1,m=g*h;c=Math.…
4456 …tSizeForString(p,f,mxConstants.DEFAULT_FONTFAMILY).width;p>k&&(k=p)}a.rect(0,0,Math.max(b,5+k+30),…
4490 …tValue(this.style,mxShapeMockupMenuBar.prototype.cst.TEXT_COLOR2,"#ffffff"),k=mxUtils.getValue(thi…
4491 …ng(1),v=r);t[r]=mxUtils.getSizeForString(w,k,mxConstants.DEFAULT_FONTFAMILY).width;u+=t[r]}c=Math.…
4492 …)r===v?a.setFontColor(h):a.setFontColor(g),d+=5,this.buttonText(a,d,c,f[r],t[r],k,u,b),d=d+t[r]+5};
4493k,l,m,n,p){a.setStrokeColor(k);a.setFillColor(m);a.rect(0,0,d,e);a.fillAndStroke();a.setStrokeColo… argument
4499 …IRCLE),h=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),k=mxUtils.getValue(thi…
4500k),c=d*f/100,a.begin(),a.moveTo(0,.5*e),a.lineTo(c,.5*e),a.stroke(),a.setStrokeColor(l)):c===mxSha…
4504 …ue(this.style,mxShapeMockupListBox.prototype.cst.TEXT_SIZE,"17").toString(),k=-1,l=b,m=mxUtils.get…
4505k=n);p=mxUtils.getSizeForString(p,h,mxConstants.DEFAULT_FONTFAMILY).width;p>l&&(l=p)}a.translate(d…
4515 …,"Tab 1,+Tab 2,Tab 3").toString().split(","),h=1.5*f,k=g.length,l=20+5*(k-1)+20*k,m=[],n=-1,p=0;p<
4516 …(!1);this.backTabs(a,b,c,5,h,10,5,10,k,m,n);this.focusTab(a,b,c,5,h,10,5,10,k,m,n);this.tabText(a,…
4517 …c,f,g,h,k,l,m){d=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.TAB_STYLE,mxShape… argument
4519k,l,m){d=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.TAB_STYLE,mxShapeMockupWe… argument
4520k-.5*h,0),a.lineTo(f+k,c)):d===mxShapeMockupWedgeBar.prototype.cst.HALF_CONE?(a.begin(),a.moveTo(f…
4521k,l,m,n){d=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.TEXT_COLOR,"#666666");e… argument
4529k=mxUtils.getValue(this.style,mxShapeMockupSignIn.prototype.cst.STROKE_COLOR2,"#ddeeff"),l=mxUtils…
4535 …Utils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.MAIN_TEXT,""),k=mxUtils.getValue(thi…
4538k);a.setFontColor(l);a.text(.5*d,.0971*e,0,0,h,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0…
4539k=0;k<q;k++)l=.0625*d+k*h,a.rect(l,.2686*e,h,.1143*e),a.fillAndStroke(),a.text(l+.5*h,.2686*e+.5*h…
4540k=1;for(a.setFillColor(g);6>b;)l=.0625*d+w*h,p=.2686*e+b*e*.1143,a.rect(l,p,h,.1143*e),a.fillAndSt…
4542k=4*f,l=0;"true"===g&&l++;"true"===h&&l++;b=Math.max(b,5*f);c=Math.max(c,10.5*f+l*f*3);a.translate…
4570 …lColor(f[h]):a.setFillColor("#ff0000");var k=0,l;l=parseInt(d[h],10)/g;.5===l&&(l=.501);for(var m=…
4571 …/g;l+=k;var n=2*Math.PI*k,p=2*Math.PI*l,m=.5*b-b*Math.sin(n)*.5,n=.5*c-c*Math.cos(n)*.5,q=.5*b-b*M…
4584 "#ffffff"),k=mxUtils.getValue(this.style,mxShapeMockupGauge.prototype.cst.TEXT_COLOR,"#666666"),l=m…
4585 …,.45*e,0,0,0,.95*d,.5*e);a.close();a.fill();a.setFontSize(l);a.setFontColor(k);a.text(.5*d,.3*e,0,…
4593k=.8*c;a.begin();a.moveTo(f-.5*h,k-.5*h);a.lineTo(f+.5*h,k-.5*h);a.lineTo(f+.5*h,k+.5*h);a.lineTo(…
4594k-.5*h);a.lineTo(f+.5*h,k+.5*h);a.lineTo(f-.5*h,k+.5*h);a.close();a.fillAndStroke();a.setFillColor…
4595 k=.28*c;a.begin();a.moveTo(f,k-.75*h);a.lineTo(f+.75*h,k);a.lineTo(f,k+.75*h);a.lineTo(f-.75*h,k);a…
4682 …lue(this.style,mxShapeMockupBreadcrumb.prototype.cst.TEXT_COLOR2,"#008cff"),k=mxUtils.getValue(thi…
4683k,mxConstants.DEFAULT_FONTFAMILY).width,p+=n[q];c=Math.max(c,1.5*k,20);p=20*m+p;b=Math.max(b,p);a.…
4684 ….begin();for(h=1;h<b;h++){for(var k=0,l=0;l<h;l++)k+=c[l]+2*f;k=k*d/g;a.moveTo(k-2.5,e-5);a.lineTo…
4687 …tValue(this.style,mxShapeMockupStepBar.prototype.cst.TEXT_COLOR2,"#008cff"),k=mxUtils.getValue(thi…
4688k,mxConstants.DEFAULT_FONTFAMILY).width;q+=p[u]}c=Math.max(c,1.5*k,20);q=20*n+q;b=Math.max(b,q);a.…
4689k,q,b),d=d+p[u]+10};mxShapeMockupStepBar.prototype.stepLineBg=function(a,d,e,b,c,f,g,h,k,l){a.setS… argument
4690k,l,m,n,p){a.setStrokeColor(k);e=2*m;m=b=0;n=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEW… argument
4719 …tValue(this.style,mxShapeMockupLinkBar.prototype.cst.TEXT_COLOR2,"#ffffff"),k=mxUtils.getValue(thi…
4720 …totype.cst.SELECTED&&(w=f[r].substring(1),v=r);w=mxUtils.getSizeForString(w,k,mxConstants.DEFAULT_…
4721k,20);u=10*q+u;b=Math.max(b,u);a.translate(d,e);this.background(a,b,c,10,q,t,5,u,l,m,n,p,v);a.setS…
4722k,l,m,n,p){a.begin();a.setStrokeColor(k);a.setFillColor(m);a.rect(0,0,d,e);a.fillAndStroke();a.set… argument
4723k=.5*mxUtils.getSizeForString(b,f,mxConstants.DEFAULT_FONTFAMILY).width;null!==b&&""!==b&&(a.begin…
4727 …etValue(this.style,mxShapeMockupCallout.prototype.cst.TEXT_COLOR,"#666666"),k=mxUtils.getValue(thi…
4728k===mxShapeMockupCallout.prototype.cst.STYLE_LINE?(a.begin(),a.moveTo(0,d),a.lineTo(m,d),a.lineTo(…
4729k===mxShapeMockupCallout.prototype.cst.STYLE_LINE?(a.begin(),a.moveTo(b,d),a.lineTo(b-m,d),a.lineT…
4730 …type.cst.DIR_SE?(k===mxShapeMockupCallout.prototype.cst.STYLE_LINE?(a.begin(),a.moveTo(b,c),a.line…
4731k===mxShapeMockupCallout.prototype.cst.STYLE_ROUNDRECT&&(a.roundrect(b-m,c-d,m,d,.25*d,.25*d),a.fi…
4732 (a.rect(0,c-d,m,d),a.fillAndStroke(),a.begin(),a.moveTo(.5*m,c-d),a.lineTo(b,0),a.stroke()):k===mxS…
4799 …66666"),h=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#ffffff"),k=mxUtils.getValue(thi…
4800 …bstring(1),t=u);v=mxUtils.getSizeForString(v,k,mxConstants.DEFAULT_FONTFAMILY).width;v>q&&(q=v)}va…
4801 …is.buttonText(a,b,(u*r+.5*r)*c/w,f[u],k,m)};mxShapeMockupiButtonBar.prototype.background=function(… argument
4802k,l,m,n){f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");a.setStrokeWidth(f);a.se… argument
4835 …N_TEXT,"Option 1").toString().split(",");e=d.length;var h=Math.max(1.5*g,5),k=0,l=-1,m=e*h;c=Math.…
4836 g,mxConstants.DEFAULT_FONTFAMILY).width;p>k&&(k=p)}a.roundrect(0,0,Math.max(b,5+k+10),c,2.5,2.5);a.…
4838 …N_TEXT,"Option 1").toString().split(",");e=d.length;var h=Math.max(1.5*g,5),k=0,l=-1,m=e*h;c=Math.…
4839 g,mxConstants.DEFAULT_FONTFAMILY).width;p>k&&(k=p)}a.roundrect(0,0,Math.max(b,5+k+10),c,2.5,2.5);a.…
4963 …66666"),h=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#ffffff"),k=mxUtils.getValue(thi…
4964 …ng(1),v=r);t[r]=mxUtils.getSizeForString(w,k,mxConstants.DEFAULT_FONTFAMILY).width;u+=t[r]}c=Math.…
4965 a.setFontColor(g),d+=2.5,this.buttonText(a,d,c,f[r],t[r],k,u,b),d=d+t[r]+2.5};
4966 …rButtonBar.prototype.background=function(a,d,e,b,c,f,g,h,k,l,m,n,p){a.begin();a.setStrokeColor(k);… argument
4968 …ineTo(f,0),a.lineTo(f,e),a.lineTo(n,e),a.close(),a.fill());a.setStrokeColor(k);a.setFillColor(m);a…
5419 …illColor","#ffffff"),h=mxUtils.getValue(this.state.style,"gradientColor",g),k=mxUtils.getValue(thi…
5420 "gradientDirection","south");a.setFillColor(g);a.setGradient(g,h,0,0,b,c,k,e,f);a.begin();a.moveTo(…
5431 ….getValue(this.style,mxShapeAndroidTabBar.prototype.cst.TEXT_COLOR2,"none"),k=mxUtils.getValue(thi…
5432 …ng(1),v=r);t[r]=mxUtils.getSizeForString(w,k,mxConstants.DEFAULT_FONTFAMILY).width;u+=t[r]}c=Math.…
5433 …)r===v?a.setFontColor(h):a.setFontColor(g),d+=5,this.buttonText(a,d,c,f[r],t[r],k,u,b),d=d+t[r]+5};
5434k,l,m,n){a.begin();a.setStrokeColor(h);a.setFillColor(l);a.rect(0,0,d,e);a.fillAndStroke();a.setSt… argument
5443k=Math.max(1.5*g,5),l=0,m=-1,n=e*k;c=Math.max(c,n);for(var p=0;p<e;p++){var q=d[p];q.charAt(0)===m…
5447k=Math.max(1.5*g,5),l=0,m=-1,n=e*k;c=Math.max(c,n);for(var p=0;p<e;p++){var q=d[p];q.charAt(0)===m…
5450 …h=f.length,k=0,l=0;l<h;l++){var m=mxUtils.getSizeForString(f[l],g,mxConstants.DEFAULT_FONTFAMILY).…
5451 l*g*c/k,a.moveTo(0,d),a.lineTo(b,d);a.stroke();for(l=0;l<h;l++)m+=2.5,d=(l*g+.5*g)*c/k,a.text(10,d,…
5700 k=.5*c*Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),l=0;0!=c&&(l…
5704 …notch)))),h=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"dx1",this.dx1)))),k=.5*e*
5705 Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),l=0;0!=e&&(l=h+f*k*…
5711k=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch))));parseFloat(m…
5717 …))),h=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"dx3",this.dx3)))),k=Math.max(0,
5718 …oint(1,.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null,k,0));a.push(new mxCon…
5819 k=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead)))),l=0;0…
5827 …h=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"notch",this.notch)))),k=Math.max(0,
5828 …e-b));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d-c,.5*e-b-k));a.push(new mxConne…
5829 …e+b));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d-c,.5*e+b+k));a.push(new mxConne…
5834 k=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead)))),l=0;0…
5842 …h=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"notch",this.notch)))),k=Math.max(0,
5843 …e-b));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d-c,.5*e-b-k));a.push(new mxConne…
5844 …e+b));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d-c,.5*e+b+k));a.push(new mxConne…
6012 …ath.PI*f,k=2*Math.PI*g;d=.5*b;e=.5*c;var l=d+Math.sin(h)*d,m=e-Math.cos(h)*e,n=d+Math.sin(k)*d,p=e…
6018 …ath.PI*f,k=2*Math.PI*g;d=.5*b;e=.5*c;var l=d+Math.sin(h)*d,m=e-Math.cos(h)*e,n=d+Math.sin(k)*d,p=e…
6024 …b*=.5;c*=.5;e=b*g;var g=c*g,h=d-f;0>h?h+=2*Math.PI:h==Math.PI&&(d+=1E-5);var k=b+Math.sin(f)*b,l=c-
6025 …ath.sin(d)*e;d=c-Math.cos(d)*g;var t=0;h>=Math.PI&&(t=1);a.begin();a.moveTo(k,l);a.arcTo(b,c,0,t,1…
6033 …cWidth",this.arcWidth))));d=.5*b;e=.5*c;var k=d*h,h=e*h,l=d+Math.sin(f)*d,m=e-Math.cos(f)*e,n=d+Ma…
6034k,v=e-Math.cos(g)*h,g=g-f;0>g&&(g+=2*Math.PI);f=0;g>Math.PI&&(f=1);var g=k-5,r=h-5;a.ellipse(.5*b-…
6100 …ntColor","none"),h=mxUtils.getValue(this.state.style,"fillColor","#ffffff"),k=mxUtils.getValue(thi…
6102 ….25*b,.7*c),a.lineTo(f+.25*b,.7*c),a.stroke()):"circle"==n&&(a.setFillColor(k),a.ellipse(f-p,0,2*p…
6135 ….getValue(this.state.style,"strokeColor","#000000"),h="mxgraph.cisco19.bg1",k="router csr_1000v wi…
6136 …r2","6500_vss2","hypervisor","collab1"].includes(f)?h="mxgraph.cisco19.bg5":k.includes(f)?(a.begin…
6137 …["immersive_telepresence_endpoint"].includes(f)&&(h="mxgraph.cisco19.bg10");k.includes(f)||"aci"==…
6141 …bgColor","#C2E0AE"),h=mxUtils.getValue(this.state.style,"fillColor","none"),k=mxUtils.getValue(thi…
6143 …else if("mxgraph.cisco_safe.architecture.generic_appliance"==d){a.setShadow(k);a.setFillColor(g);a…
6224k=parseFloat(mxUtils.getValue(this.style,"fontSize","12")),l="n"==d||"s"==d?parseInt(c/g):parseInt…
6225k,0,0,m.toString(),mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0):m-1<f.length&&a.…
6226k,c-20,0,0,m.toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0):m-1<f.leng…
6227 k+1,0,0,m.toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0):m-1<f.length&&…
6228k-.25*g,c-10,.5*g,10),a.fillAndStroke(),m="e"==d?l-h+1:2*l-h+1,"gen"==e?a.text(k,5,0,0,m.toString(…
6229 mxConstants.ALIGN_MIDDLE,0,null,0,0,0),k+=g,h++;a.setShadow(!1);a.begin();switch(d){case "e":40<c&&…
6235k=mxUtils.getValue(this.style,"fontColor","#000000");a.setFontColor(k);k=mxUtils.getValue(this.sty…
6236 …ng(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);switch(k){case "nw":n=m+2*l-f…
6237k){case "nw":n=l+f;break;case "ne":n=l+m+f;break;case "se":n=2*l+m+f;break;default:n=f}"gen"==e?a.…
6238 …);a.fillAndStroke();a.begin();a.rect(b-10,h-.25*d,10,.5*d);a.fillAndStroke();switch(k){case "nw":n=
6239 …ng(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);switch(k){case "nw":n=m+2*l-f…
6240 …AndStroke();a.begin();a.rect(h-.25*d,c-10,.5*d,10);a.fillAndStroke();switch(k){case "nw":n=l+f;bre…
6241k){case "nw":n=2*m+2*l-f+1;break;case "ne":n=m-f+1;break;case "se":n=m+l-f+1;break;default:n=2*m+l…
6247 …ke()}var g=1,h=1;if("mux"==e)var g=Math.pow(2,d),k=(c-16)/g;else h=Math.pow(2,d),k=(c-16)/h;var l=…
6248k;if(1==h)a.moveTo(b-10,.5*(c-10)),a.lineTo(b,.5*(c-10));else for(m=0;m<h;m++)a.moveTo(b-10,l),a.l…
6344 …opacity","100");mxUtils.getValue(this.state.style,"strokeColor","none");var k=mxUtils.getValue(thi…
6347 k;break;case "replica":g=mxStencilRegistry.getStencil("mxgraph.gcp2.outline_blank_1");this.style[mx…
6348 …e(a,this,.13*b,.12*c,.74*b,.76*c);this.style[mxConstants.STYLE_STROKEWIDTH]=k;break;case "dynamic3…
6349 …e(a,this,.13*b,.12*c,.74*b,.76*c);this.style[mxConstants.STYLE_STROKEWIDTH]=k;break;case "highmem"…
6412 …cWidth",this.arcWidth))));d=.5*b;e=.5*c;var k=d*h,h=e*h,l=d+Math.sin(f)*d,m=e-Math.cos(f)*e,n=d+Ma…
6413k,v=e-Math.cos(g)*h,g=g-f;0>g&&(g+=2*Math.PI);f=0;g>Math.PI&&(f=1);var g=k-5,r=h-5;a.ellipse(.5*b-…
6514 …(mxUtils.getValue(this.style,"arcWidth",this.arcWidth))));d=.5*b;e=.5*c;var k=d*h,l=e*h,m=g-f;0>m?…
6515k,f=e-Math.cos(f)*l,t=d+Math.sin(g)*d,u=e-Math.cos(g)*e,v=d+Math.sin(g)*k,g=e-Math.cos(g)*l,r=0;m<…
6516k,l,0,r,1,q,f);a.close();a.fill();d=.5*b;e=.5*c;k=d*h;l=e*h;h=k+.25*(d-k);m=l+.25*(e-l);a.setFillC…
6584 …Math.max(0,c-e),g=Math.min(c,e),h=Math.min(c-b,d),k;k=Math.max(c-d,b);f<d&&(a.moveTo(f,g),a.lineTo…
6630 …var k=parseFloat(f[h]);e.push(k);g+=k}b/=g;g=[];for(h=1;h<f.length;h+=2)g.push(f[h]);a.begin();f=0…
6631 ….text(f-.5*k,c-.75*d,0,0,g[h],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)):(a.…
6647k=f/g,l=e.x+.5*c,m=e.y+.5*f,c=l-h*g*.1-k/3*g*.1,f=m-k*g*.1+h/3*g*.1,l=l+h*g*.1+k/3*g*.1,g=m+k*g*.1…
6648 "#000000"));a.begin();a.moveTo(b.x-10*h-5*k,b.y-10*k+5*h);a.lineTo(b.x,b.y);a.lineTo(b.x-10*h+5*k,b…
6651 …ils.getValue(this.style,"dx3","0"),h=mxUtils.getValue(this.style,"dy3","0"),k=mxUtils.getValue(thi…
6652 …);.5>=l&&f?(a.lineTo(k,0),f=!0):.5<l&&!f?(a.lineTo(k,c),f=!1):.5>=l&&!f?(a.lineTo(k,c),a.lineTo(k,…
6663k=f/g,l=e.x+.5*c,m=e.y+.5*f,f=l+h*g/3*.1-k/3*g*.1,c=m+k*g/3*.1+h/3*g*.1,n=l+h*g*.1+k*g*.1,p=m+k*g*…
6665 …es[this.style["symbol"+h]];if(null!=f){var g=this.style["symbol"+h+"Align"],k=this.style["symbol"+…
6666 …TER?q+(b-l)/2:g==mxConstants.ALIGN_RIGHT?q+(b-l-n):q+n,u=k==mxConstants.ALIGN_MIDDLE?u+(c-m)/2:k==…
6702 …);mxMarker.addMarker("sysMLPackCont",function(a,d,e,b,c,f,g,h,k,l){var m=c*(g+k+1),n=f*(g+k+1),p=g… argument
6703 mxMarker.addMarker("sysMLReqInt",function(a,d,e,b,c,f,g,h,k,l){var m=c*(g+k+1),n=f*(g+k+1),p=g/2;re… argument
6704 mxMarker.addMarker("sysMLProvInt",function(a,d,e,b,c,f,g,h,k,l){var m=c*(g+k+1),n=f*(g+k+1),p=g/2;r… argument
6766 mxMarker.addMarker("sysMLx",function(a,d,e,b,c,f,g,h,k,l){var m=c*(g+k+1),n=f*(g+k+1);return functi… argument
6768 mxMarker.addMarker("sysMLLost",function(a,d,e,b,c,f,g,h,k,l){var m=c*(g+k+1),n=f*(g+k+1),p=g/2;retu… argument
6769 mxMarker.addMarker("sysMLFound",function(a,d,e,b,c,f,g,h,k,l){var m=c*(g+k+1),n=f*(g+k+1),p=g/2;ret… argument
6848 …b,c);mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");var k=mxUtils.getValue(thi…
6849k?a.setDashed(!1):a.setDashed(!0);k=0;for(c=e+.5*g;c<d+e-h;c+=g){var m=f,l=k%2;0===l&&(m=.5*f);for…
6850k++;a.stroke()}else if(f===mxShapePidColumn.prototype.cst.VALVE||f===mxShapePidColumn.prototype.cs…
6851k=mxUtils.getValue(this.style,mxConstants.STYLE_DASHED,0);for(c=0;c<=d-g;c+=g)a.setDashed(!0),a.be…
6880k=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");f===mxShapePidValve.prototy…
6931 …t.TEXT_SIZE,"12")),k=mxUtils.getValue(this.style,mxRackRackCabinet.prototype.cst.NUMBER_DISPLAY,mx…
6932 …;c=f*g+42;this.background(a,b,c,h);a.setShadow(!1);this.foreground(a,b,c,h);k===mxRackRackCabinet.…