Lines Matching refs:e

2e=["opacity",b,~~(100*a),c,d].join("-"),f=.01+c/d*100,g=Math.max(1-(1-a)/b*(100-f),a),h=j.substrin…  function
36 …ing(16)+" ")}function x(a){return e[a]||(e[a]=("\u0010">a?"%0":"%")+a.charCodeAt(0).toString(16))}… class
39e=k.lastIndexOf("/")+1,k=x((e?k.substring(0,e):"")+x(g)).replace(a,"")}else k=k&&k.replace(a,""),k… class in Y
40e.prototype.toString=function(){var d=[];s!==this.j&&d.push(this.j,":");s!==this.k&&(d.push("//"),… class
41e.prototype.K=function(){return s!==this.j};e.prototype.da=function(d){this.n=d?d:s};e.prototype.X…
42 function(){return this.g&&decodeURIComponent(this.g)};e.prototype.G=function(d){d?(d=""+d,this.g=!t…
43e.prototype.fa=function(d){this.o=d?d:s};e.prototype.Z=function(){return s!==this.o};var k=/^(?:([…
44e.N=E;e.ma=x;e.ha={ua:function(d){return/\.html$/.test(g(d).U())?"text/html":"application/javascri…
45e,w)+'")':'url("about:blank")'}function w(a){return v[a]}function M(a,d){return a?Y.ha.N(a,d):d}fu… variable
46e,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,B… argument
47 …46===I&&P)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.l…
48 …;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(" ")+")"…
50e,i,l,o,m=n;y="";if(b<f)if(o=a[b],"*"===o)++b,y=o;else if(/^[a-zA-Z]/.test(o)&&(e=x(o.toLowerCase(…
52e).replace(/[^ .*#\w-]/g,"\\$&")+i+l+g)&&j.push(b);return m}" "===a[i]&&++i;r-1!==i&&" "===a[r]&&-…
53 e+" "+l),N.push(l)),n):!b||b(a.slice(i,r))}var e=d.na,v=d.L,x=d.Aa,N=[],u=0,i,q=0,B;for(i=0;i<a.len…
54e=b[k];" "!=e&&(b[g++]=e)}b.length=g;b=b.join(" ");return b=!b.length?"":!d.test(b)?"not all":a.te…
56 b(E,a.qa,k,e,v,w,B);--B[0];a=l?{toString:function(){return"@media "+l+" {"+f.result+"}"}}:f.result;…
57 …&"!"===b[g-2]&&"important"===b[g-1].toLowerCase()&&(d=n,b.length-=2);aa(a,b,e,f,k.L);b.length&&q.p…
59 …";"===b[a])){var h=d+1,e=a;h<g&&" "===b[h]&&++h;e>h&&" "===b[e-1]&&--e;f.startAtrule&&f.startAtrul…
60e(b,a,g,f)}f.endRuleset&&f.endRuleset();return a}function x(b,a,g,f){for(var h,d=[],e=-1;a<g;++a)i…
61 e&&(a=~(a+1));return a}function E(b,a,g){for(;a<g&&";"!==b[a]&&"}"!==b[a];)++a;return a<g&&";"===b[… function
62e.length;f<h;)f=" "===e[f]?f+1:f<h?"@"===e[f].charAt(0)?g(e,f,h,a,n):M(e,f,h,a):f;a.endStylesheet&…
83 …(R,"&amp;").replace(P,"&lt;").replace(S,"&gt;").replace(D,"&#34;")}function e(a){return a.replace(… function
84e:b.e||b.pcdata,F:b.F||b.rcdata,H:b.H||b.startDoc,w:b.w||b.startTag};return function(b,g){var f;va… property in ha.v.d
85e&&a.e("&"+l,t,A,b(a,d,p,e,t)),p++):a.e&&a.e("&amp;",t,A,b(a,d,p,e,t));break;case "</":if(h=/^([-\…
86e,t));var B=g.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)…
87e,t));break;case "<!":if(/^\w/.test(l)){if(!e.r){for(z=p+1;z<i&&">"!==d[z];z++);z<i?p=z+1:e.r=n}e.…
88e(z),h,t,b(f,a,l,j,h));else throw Error("bug");return l}function f(a,b){var d=/^([-\w:]+)/.exec(a[…
89 e;)if(d=ja.exec(e))if(d[4]&&!d[5]||d[6]&&!d[7]){for(var d=d[4]||d[6],i=C,e=[e,a[h++]];h<j;h++){if(i…
90e,h){if(!f&&g.f.hasOwnProperty(b)){var j=g.f[b];if(!(j&g.c.FOLDABLE)){var k=a(b,e);if(k){if("objec… argument
91 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.…
92e].v);d.length=e;b.push("</",a,">")}}}},pcdata:b,rcdata:b,cdata:b,endDoc:function(a){for(;d.length… argument
93e,h){for(var j=0;j<b.length;j+=2){var k=b[j],i=b[j+1],m=i,o=s,q;if((q=a+"::"+k,g.m.hasOwnProperty(… argument
94e},f)}:s);b.length&&r.push(e+": "+b.join(" "))}});i=0<r.length?r.join(" ; "):s;h&&y(h,a,k,m,i);bre…
95 …return b}function ea(a,b,d){return function(e,f){if(g.f[e]&g.c.UNSAFE)d&&y(d,e,c,c,c);else return{… argument
97 ea;m.wa=m.normalizeRCData=e;m.xa=m.sanitize=function(a,b,d,e){return Q(a,ea(b,d,e))};m.ya=m.sanitiz…
105e=a.words,j=this.sigBytes;a=a.sigBytes;this.clamp();if(j%4)for(var k=0;k<a;k++)c[j+k>>>2]|=(e[k>>>…
106e=0;e<a;e+=4)c.push(4294967296*u.random()|0);return new r.init(c,a)}}),w=d.enc={},v=w.Hex={stringi…
107e,c/2)}},b=w.Latin1={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j<a;j++)e.p…
108e=c.words,j=c.sigBytes,k=this.blockSize,b=j/(4*k),b=a?u.ceil(b):u.max((b|0)-this._minBufferSize,0)…
109 …r:function(a){return function(b,e){return(new a.init(e)).finalize(b)}},_createHmacHelper:function(… argument
110 e)).finalize(b)}}});var n=d.algo={};return d}(Math);
113e,j,k){b=b+(n&a|~n&c)+e+k;return(b<<j|b>>>32-j)+n}function d(b,n,a,c,e,j,k){b=b+(n&c|a&~c)+e+k;ret… argument
114e=q[c];q[c]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360}var a=this._hash.words,c=q[n+0],e=q[n+…
115 …m,g,D,12,b[13]),g=p(g,h,f,m,E,17,b[14]),m=p(m,g,h,f,x,22,b[15]),f=d(f,m,g,h,e,5,b[16]),h=d(h,f,m,g…
116 …m,g,v,11,b[33]),g=l(g,h,f,m,C,16,b[34]),m=l(m,g,h,f,E,23,b[35]),f=l(f,m,g,h,e,4,b[36]),h=l(h,f,m,g…
117e,21,b[55]),f=s(f,m,g,h,v,6,b[56]),h=s(h,f,m,g,x,10,b[57]),g=s(g,h,f,m,t,15,b[58]),m=s(m,g,h,f,D,2…
118 4294967296);n[(c+64>>>9<<4)+15]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360;n[(c+64>>>9<<4)+14]…
121e,a){return this.create(this._ENC_XFORM_MODE,e,a)},createDecryptor:function(e,a){return this.creat… argument
122e){e&&this._append(e);return this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_M… argument
123e,a){return this.Encryptor.create(e,a)},createDecryptor:function(e,a){return this.Decryptor.create… argument
124 e,a,c);this._prevBlock=d}});b=b.CBC=q;q=(p.pad={}).Pkcs7={pad:function(a,b){for(var c=4*b,c=c-a.sig…
129e=0,j=0,c=0;256>c;c++){var k=j^j<<1^j<<2^j<<3^j<<4,k=k>>>8^k&255^99;l[e]=k;s[k]=e;var z=a[e],F=a[z…
130e=this._keySchedule=[],j=0;j<a;j++)if(j<d)e[j]=c[j];else{var k=e[j-1];j%d?6<d&&4==j%d&&(k=l[k>>>24…
131e,j,l,f){for(var m=this._nRounds,g=a[b]^c[0],h=a[b+1]^c[1],k=a[b+2]^c[2],n=a[b+3]^c[3],p=4,r=1;r<m… argument
132 d[k>>>24]^e[n>>>16&255]^j[g>>>8&255]^l[h&255]^c[p++],n=d[n>>>24]^e[g>>>16&255]^j[h>>>8&255]^l[k&255…
134e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&defi… argument
135e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports&&"string"!=typeof ex… argument
148 …eturn{s:v,n:function(){return p>=d.length?{done:!0}:{done:!1,value:d[p++]}},e:function(d){throw d;…
149 B=!1,C;return{s:function(){l=d[Symbol.iterator]()},n:function(){var d=l.next();z=d.done;return d},e
155e){if(b&&b.length){a=_slicedToArray(a,2);var c=a[0],f=a[1];e*=Math.PI/180;var k=Math.cos(e),d=Math… argument
156e){var c=b.length;if(3>c)return!1;var f=[Number.MAX_SAFE_INTEGER,e];a=[a,e];for(var k=e=0;k<c;k++)… argument
157e,a))||!(0!==k||!v(b,c,a))||!(0!==d||!v(e,b,c))||!(0!==g||!v(e,a,c))}function C(b,a){var e=[0,0],c… argument
159e,-c),function(a,c,e){var f=[];a.forEach(function(a){return f.push.apply(f,_toConsumableArray(a))}… argument
160e.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/)){e=[];break a}c[c.length]={…
161 e[k];if(1!==n.type)throw Error("Param not a number: "+c+","+n.text);g[g.length]=+n.text}if("number"…
164 … "z":w.push({key:"Z",data:[]}),g=m,n=x}}}catch(y){b.e(y)}finally{b.f()}return w}function X(b){var …
165 …){case "M":g.push({key:"M",data:_toConsumableArray(y)});a=y;e=_slicedToArray(a,2);m=e[0];x=e[1];a;…
167 …}catch(ka){b.e(ka)}finally{b.f()}return g}function I(b,a,e){return[b*Math.cos(e)-a*Math.sin(e),b*M… argument
168e,c,-r);c=_slicedToArray(t,2);e=c[0];c=c[1];t;t=(b-e)/2;h=(a-c)/2;q=t*t/(f*f)+h*h/(k*k);1<q&&(q=Ma…
169e=h+f*Math.cos(g),c=q+k*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…
170e){var c=(b||[]).length;if(2<c){for(var f=[],k=0;k<c-1;k++)f.push.apply(f,_toConsumableArray(D(b[k… argument
171e=e.concat(c)}return{type:"path",ops:e}}function aa(b,a,e){var c=2*Math.PI/Math.max(e.curveStepCou…
172e);e.disableMultiStroke||(b=ba(c.increment,b,a,c.rx,c.ry,1.5,0,e),b=_slicedToArray(b,1)[0],e=P(b,n… argument
173e*Math.cos(f),a+c*Math.sin(f),n)).concat(_toConsumableArray(D(b,a,b+e*Math.cos(k),a+c*Math.sin(k),…
174e}}function G(b,a){var e=ma,c=a.fillStyle||"hachure";if(!A[c])switch(c){case "zigzag":A[c]||(A[c]=…
175e)*(a-b)+b)}function u(b,a){return O(-b,b,a,2<arguments.length&&void 0!==arguments[2]?arguments[2]… argument
176e)/200,n=u(n,f,m),t=u(t,f,m),l=[],q=function(){return u(h,f,m)},p=function(){return u(r,f,m)},v=f.…
177e-b)*g+p(),t+a+(c-a)*g+p(),n+b+2*(e-b)*g+p(),t+a+2*(c-a)*g+p(),e+(v?0:p()),c+(v?0:p())]}),l}functi… argument
178 …],k[3][0],k[3][1]]})}a&&2===a.length&&(b=e.maxRandomnessOffset,f.push({op:"lineTo",data:[a[0]+u(b,
179e)));return f}function ba(b,a,e,c,f,k,d,g){var n=[],m=[],r=u(.5,g)-Math.PI/2;m.push([u(k,g)+a+.9*c…
180e+.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.push([u(… argument
181e+u(m[l],g),c+u(m[l],g),h[0],h[1]]});return k}function Q(b,a){return Math.pow(b[0]-a[0],2)+Math.po…
182e?(e=b[a+0],c.length?1<(h=c[c.length-1],l=e,Math.sqrt(Q(h,l)))&&c.push(e):c.push(e),c.push(b[a+3])…
183e,c,f)):(f.length||f.push(d),f.push(r)),f}function ga(b){for(var a=1<arguments.length&&void 0!==ar… argument
184 e){return this._fillPolygon(a,e)}},{key:"_fillPolygon",value:function(a,e){var c=2<arguments.length… argument
185e){var c=[];if(1<e.length)for(var f=1;f<e.length;f++){var b=e[f-1];3>h(b)||(b=[e[f][0],b[1]],3<h(b… argument
186e[0],e[1]))){var g=h([r,e[0]]),n=h([r,e[1]]);g>c&&n>c&&b.push({point:r,distance:g})}}if(1<b.length…
187e)?[e]:[]}}]);return b}(),na=function(b){function a(){_classCallCheck(this,a);return e.apply(this,… argument
188 e),b=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),b=this._fillPolygon(a,b);return c.ops=c.o… argument
189 …p-r,p+r,e),y=this.helper.randOffsetWithRange(v-r,v+r,e),F=this.helper.ellipse(z,y,d,d,e);c.push.ap…
190e){var c=C(a,e);return{type:"fillSketch",ops:this.dashedLine(c,e)}}},{key:"dashedLine",value:funct… argument
191e)))}}),r}}]);return b}(),ra=function(){function b(a){_classCallCheck(this,b);this.helper=a}_creat… argument
192 e,{hachureGap:c+b}));return{type:"fillSketch",ops:this.zigzagLines(c,b,e)}}},{key:"zigzagLines",val… argument
194 …ction(b,a,e){return O(b,a,e)},ellipse:function(b,a,e,c,d){e=aa(e,c,d);return T(b,a,d,e).opset},dou… argument
195e,c){return{shape:a,sets:e||[],options:c||this.defaultOptions}}},{key:"line",value:function(a,e,c,… argument
196e,c,b,d){d=this._o(d);var f=[],g;g=N([[a,e],[a+c,e],[a+c,e+b],[a,e+b]],!0,d);d.fill&&(a=[[a,e],[a+… argument
197e,c,b){a=this.ellipse(a,e,c,c,b);return a.shape="circle",a}},{key:"linearPath",value:function(a,e)… argument
198e,b,d,f,g){e=Math.abs(e/2);b=Math.abs(b/2);e+=u(.01*e,g);for(b+=u(.01*b,g);0>d;)d+=2*Math.PI,f+=2*… argument
199e=a.length;if(3>e)throw Error("A curve must have at least three points.");var b=[];if(3===e)b.push…
200 e[f+1][1]-c*e[f-1][1])/6];d[2]=[e[f+1][0]+(c*e[f][0]-c*e[f+2][0])/6,e[f+1][1]+(c*e[f][1]-c*e[f+2][1… argument
201e){var c=this._o(e),b=[];if(!a)return this._d("path",b,c);a=(a||"").replace(/\n/g," ").replace(/(-… argument
202 …sh([a[0],a[1]])}}}catch(ja){b.e(ja)}finally{b.f()}if(h(),!e)return d;l=[];for(m=0;m<d.length;m++)n…
203e=X(W(H(a))),b=[],d=[0,0],f=[0,0],e=_createForOfIteratorHelper(e),g;try{for(e.s();!(g=e.n()).done;…
204e?0:u(a,c))})});f=[h[0],h[1]];d=[h[0],h[1]];return"break"}())break;case "L":b.push.apply(b,_toCons…
205e){var c="",b=_createForOfIteratorHelper(a.ops),d;try{for(b.s();!(d=b.n()).done;){var h=d.value,g=… argument
206e=a.options||this.defaultOptions,c=[];a=_createForOfIteratorHelper(a.sets||[]);var b;try{for(a.s()… argument
207 e){var c=e.fillWeight;return 0>c&&(c=e.strokeWidth/2),{d:this.opsToPath(a),stroke:e.fill||"none",st… argument
208 e.n()).done;){var h=d.value;switch(h.type){case "path":b.save();b.strokeStyle="none"===c.stroke?"tr…
209e,c){var b=c.fillWeight;0>b&&(b=c.strokeWidth/2);a.save();c.fillLineDash&&a.setLineDash(c.fillLine… argument
210 …,g[5]);break;case "lineTo":a.lineTo(g[0],g[1])}}}catch(n){b.e(n)}finally{b.f()}"fillPath"===e.type…
211 …gon(a,b);return this.draw(c),c}},{key:"arc",value:function(a,b,c,d,k,h){var e=this.gen.arc(a,b,c,d…
212e),e}},{key:"curve",value:function(a,b){var c=this.gen.curve(a,b);return this.draw(c),c}},{key:"pa… argument
214 …d,l,c)}m&&k.appendChild(m)}}catch(x){b.e(x)}finally{b.f()}return k}},{key:"fillSketch",value:funct…
215e&&(e=c.strokeWidth/2);a=a.createElementNS("http://www.w3.org/2000/svg","path");return a.setAttrib…
217 …{var e=this.gen.arc(a,b,c,d,h,l,6<arguments.length&&void 0!==arguments[6]?arguments[6]:!1,7<argume…
219e,f,g,k,l,m=0;for(null!=b&&b||(a=Base64._utf8_encode(a));m<a.length;)d=a.charCodeAt(m++),e=a.charC…
220e=this._keyStr.indexOf(a.charAt(l++)),g=this._keyStr.indexOf(a.charAt(l++)),k=this._keyStr.indexOf…
243 …function(){return mxClient.IS_SVG},link:function(a,b,c,d){c=c||document;var e=c.createElement("lin…
244 e.setAttribute("rel",a);e.setAttribute("href",b);e.setAttribute("charset","UTF-8");e.setAttribute("…
248 …ument.createElement("tbody"),d=document.createElement("tr"),e=document.createElement("td");e.style…
249 …IS_NS&&"BackCompat"!=document.compatMode?"99%":"100%";e.appendChild(mxLog.textarea);d.appendChild(
259e=mxResources.getSpecialBundle(a,b),f=function(){if(null!=e)if(c)mxUtils.get(e,function(a){mxResou…
260 …xOf("=");if(0<c){var d=a[b].substring(0,c),e=a[b].length;13==a[b].charCodeAt(e-1)&&e--;c=a[b].subs…
261 … a},replacePlaceholders:function(a,b){for(var c=[],d=null,e=0;e<a.length;e++){var f=a.charAt(e);"{…
264 …+this.height,e=a.y+a.height;this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.width=Mat…
267 var mxEffects={animateChanges:function(a,b,c){var d=0,e=function(){for(var g=!1,k=0;k<b.length;k++)… function
268 …Timeout(e,f)):null!=c&&c()},f=30;e()},cascadeOpacity:function(a,b,c){for(var d=a.model.getChildCou…
269e=0;e<b.length;e++)d=a.getView().getState(b[e]),null!=d&&mxUtils.setOpacity(d.shape.node,c)},fadeO…
274 …Of(b,a);0<=d;)b.splice(d,1),c=a,d=mxUtils.indexOf(b,a);for(var e in b)b[e]==a&&(delete b[e],c=a);r…
275 ….attributes.length)for(var e=0;e<b.attributes.length;e++)d.setAttribute(b.attributes[e].nodeName,b…
276 …es&&0<b.childNodes.length)for(e=0;e<b.childNodes.length;e++)d.appendChild(mxUtils.importNodeImplem…
278 …DETYPE_TEXT;){var d=b?c.previousSibling:c.nextSibling,e=mxUtils.getTextContent(c);0==mxUtils.trim( variable in mxUtils
279 …function(a,b,c,d,e){var f=[];if(null!=a)if(b=null!=b?b:" ",c=null!=c?c:"",d=null!=d?d:"\n",null!=…
280 …c,d,e));else if(a.nodeType==mxConstants.NODETYPE_DOCUMENT_FRAGMENT){var g=a.firstChild;if(null!=g)…
281 …f(null!=g){for(f.push(">"+d);null!=g;)f.push(mxUtils.getPrettyXml(g,b,c+b,d,e)),g=g.nextSibling;f.…
282e=0;e<a.length;e++){var g=a[e];"BR"==g.nodeName||"\n"==g.innerHTML||(1==a.length||0==e)&&"DIV"==g.…
284 …or(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName… variable
286 …e')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvo…
287e)},f)},link:function(a,b,c,d){var e=document.createElement("span");e.style.color="blue";e.style.t… variable in mxUtils
288e=mxUtils.getDocumentScrollOrigin(a.ownerDocument),f=e.x,e=e.y,g=f+b.width;c+d>g&&(a.style.left=Ma… variable in mxUtils
289e,f);return a},getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();…
291 e;for(e in a)e!=mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=… variable in mxUtils
293e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){r…
294e*Math.PI/180);e=p*m+q*n;var m=-1*q*m+p*n,n=e*e,r=m*m,t=c*c,u=d*d,x=n/t+r/u;1<x?(c*=Math.sqrt(x),d…
295e/4)/Math.sin(e/2);n=p*c;p*=d;c*=q;d*=q;for(var y=Math.cos(f),B=Math.sin(f),r=-m*(n*B+d*y),t=-m*(c… variable
296 …ls.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);…
297 var e=a.x-d.x;a=a.y-d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,…
300e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g],e=mxUtil… variable
301e=null!=e?e:mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.wi…
302 b.x,b.x=b.width,b.width=c;if(d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e
303 …erPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.intersection(a[e].x,a[e
304e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k… variable
305e<l||e>g)&&(f<m||f>k)&&(c<g||c>l)&&(d<k||d>m)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d…
306e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoi…
307 null!=e&&(c+=e.left,d+=e.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defa…
308 document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)|…
309 …urn(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)-…
310 e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):null},…
311 …c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut…
312e){var d=c.get(a);null==d&&(d=mxCellPath.create(a).split(mxCellPath.PATH_SEPARATOR),c.put(a,d));va… argument
313e=0;e<c.length;e++){if(c[e]==b)return d;d+=c[e].length+1}return-1},addStylename:function(a,b){0>mx…
314e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}… variable
315e+")"}return a},setCssText:function(a,b){if(null!=a&&null!=b)for(var c=b.split(";"),d=0;d<c.length…
316e)):0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt…
317e=a.indexOf(b+"=");if(0>e)e=";"==a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";e…
318e){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=docum…
319 (f.style.fontStyle="italic"),b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.pus…
320 …ent.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=nul…
321 …appendChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCe…
322e=c.width-2*d;c=c.height-2*d;d=b.getGraphBounds().clone();b=b.getView().getScale();d.width/=b;d.he…
323 e,f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode…
324 …yle="margin:0px;">'+('<div style="position:absolute;overflow:hidden;width:'+e+"px;height:"+f+'px;"…
325 …w="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="a…
326 …ement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);null!=e.firstC…
328 …:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createElement("div");e.styl… variable
329e.appendChild(f);e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode…
330e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:functio…
331 …c=parseInt(b.style.width),e=parseInt(b.style.height);b.style.width=Math.round(c*a.view.scale)+"px"…
354 …for(var c=[b,a],d=0;d<this.eventListeners.length;d+=2){var e=this.eventListeners[d];null!=e&&e!=a.…
358 …Event.removeListener(a,"touchend",d))},redirectMouseEvents:function(a,b,c,d,e,f,g){var k=function(…
359 …MouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(a,k(a)))},function(a){null!=e?e(a):mxEvent.isConsum…
361e=0,f=0;mxEvent.addGestureListeners(b,mxUtils.bind(this,function(a){mxEvent.isMouseEvent(a)||null=… variable in mxEvent
362 2,d[0].clientY+(d[1].clientY-d[0].clientY)/2),e=b,f=c}}),mxUtils.bind(this,function(a){d=[];f=e=0})…
371 function mxXmlRequest(a,b,c,d,e,f){this.url=a;this.params=b;this.method=c||"POST";this.async=null!=… argument
377e=0<this.params.indexOf("&")?this.params.split("&"):this.params.split(),f=0;f<e.length;f++){var g=
381 function mxWindow(a,b,c,d,e,f,g,k,l,m){null!=b&&(g=null!=g?g:!0,this.content=b,this.init(c,d,e,f,m)… argument
384e){e=null!=e?e:"mxWindow";this.div=document.createElement("div");this.div.className=e;this.div.sty… argument
385e+"Title";this.buttons=document.createElement("div");this.buttons.style.position="absolute";this.b…
386e+"Pane";this.contentWrapper.style.width="100%";this.contentWrapper.appendChild(this.content);"DIV…
387 e);this.hide()};mxWindow.prototype.setTitle=function(a){for(var b=this.title.firstChild;null!=b;){v…
390 …=null,d=null,e=null;a=mxUtils.bind(this,function(a){this.activate();b=mxEvent.getClientX(a);c=mxEv…
391 …c){var f=mxEvent.getClientX(a)-b,g=mxEvent.getClientY(a)-c;this.setSize(d+f,e+g);this.fireEvent(ne…
400 …none";this.buttons.appendChild(this.maximize);var a=!1,b=null,c=null,d=null,e=null,f=null,g=mxUtil…
401 …"px";this.div.style.top=c+"px";this.div.style.height=d;this.div.style.width=e;k=mxUtils.getCurrent…
402 e;null!=this.resize&&(this.resize.style.visibility="");this.fireEvent(new mxEventObject(mxEvent.NOR…
405 …d=this.getX(),e=this.getY(),f=mxUtils.bind(this,function(a){var f=mxEvent.getClientX(a)-b,g=mxEven…
412e=document.createElement("button");mxUtils.write(e,mxResources.get("ok")||"OK");d.appendChild(e);m…
414 …,b,c,d){var e=document.createElement("option");mxUtils.writeln(e,b);e.setAttribute("value",c);d&&e
415 …mxImage(a,b,c,d,e){this.src=a;this.width=null!=b?b:this.width;this.height=null!=c?c:this.height;th… argument
417e=parseInt(this.div.style.top),f=parseInt(this.div.style.bottom);this.resizeWidth&&!isNaN(c)&&!isN…
427e=mxUtils.getOffset(a.container),f=mxUtils.getScrollOrigin(),g=this.getElementForEvent(b);if(this.…
434e=mxEvent.getClientX(b)-c.x+d.x-a.panDx,c=mxEvent.getClientY(b)-c.y+d.y-a.panDy;a.autoScroll&&(nul…
435 …yle.height),f=new mxRectangle(0,0,f,g),c=new mxPoint(e,c),c=this.currentGuide.move(f,c,d,!0),f=!1,
436e=(a.snap(e/d-g.x-k)+g.x)*d,c=(a.snap(c/d-g.y-k)+g.y)*d;null!=this.currentGuide&&f&&this.currentGu…
437 mxDragSource.prototype.drop=function(a,b,c,d,e){this.dropHandler.apply(this,arguments);"hidden"!=a.… argument
438 mxToolbar.prototype.addItem=function(a,b,c,d,e,f){var g=document.createElement(null!=b?"img":"butto… argument
442 …olbar.prototype.addSwitchMode=function(a,b,c,d,e){var f=document.createElement("img");f.initialCla… argument
444 …type.addMode=function(a,b,c,d,e,f){f=null!=f?f:!0;var g=document.createElement(null!=b?"img":"butt… argument
461 …c,d,e,f){this.active||this.start();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.contain… argument
468e,f,g,k){d=d||this;this.itemCount++;d.willAddSeparator&&(d.containsItems&&this.addSeparator(d,!0),… argument
473 …etLeft),d=parseInt(b.div.offsetWidth),e=mxUtils.getDocumentScrollOrigin(document),f=document.docum…
475 … 0px";d.setAttribute("colSpan","2");var e=document.createElement("hr");e.setAttribute("size","1");…
485e=null;if(null!=d&&(e=this.getDelta(d),this.graph.getModel().isVertex(a)&&(0!=e.x||0!=e.y))){var f…
490 …unction(a,b,c){if(null!=a){c(a,b);for(var d=a.view.graph,e=d.model.getChildCount(a.cell),f=0;f<e;f…
497 …ePoint=function(a,b,c,d,e){c*=Math.PI/180;return mxUtils.getRotatedPoint(new mxPoint(a,b),Math.cos… argument
499 mxAbstractCanvas2D.prototype.rotate=function(a,b,c,d,e){};mxAbstractCanvas2D.prototype.setAlpha=fun… argument
500 mxAbstractCanvas2D.prototype.setGradient=function(a,b,c,d,e,f,g,k,l){c=this.state;c.fillColor=a;c.g… argument
504 …)};mxAbstractCanvas2D.prototype.curveTo=function(a,b,c,d,e,f){this.addOp(this.curveOp,a,b,c,d,e,f)… argument
505e,f,g){a=mxUtils.arcToCurves(this.lastX,this.lastY,a,b,c,d,e,f,g);if(null!=a)for(b=0;b<a.length;b+… argument
510e){var f=this.createElement("rotate");if(0!=a||b||c)f.setAttribute("theta",this.format(a)),f.setAt… argument
514e,f,g,k,l){if(null!=a&&null!=b){mxAbstractCanvas2D.prototype.setGradient.apply(this,arguments);var… argument
530e=this.createElement("rect");e.setAttribute("x",this.format(a));e.setAttribute("y",this.format(b))…
531e,f){var g=this.createElement("roundrect");g.setAttribute("x",this.format(a));g.setAttribute("y",t… argument
532e=this.createElement("ellipse");e.setAttribute("x",this.format(a));e.setAttribute("y",this.format(…
533e,f,g,k){e=this.converter.convert(e);var l=this.createElement("image");l.setAttribute("x",this.for… argument
535e=this.createElement("quad");e.setAttribute("x1",this.format(a));e.setAttribute("y1",this.format(b…
536e,f){var g=this.createElement("curve");g.setAttribute("x1",this.format(a));g.setAttribute("y1",thi… argument
537e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e){mxUtils.isNode(e)&&(e=mxUtils.getOuterHtml(e));va… argument
545 …lns",b);return c};mxSvgCanvas2D.prototype.getAlternateText=function(a,b,c,d,e,f,g,k,l,m,n,p,q){ret… argument
546e,f,g,k,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&… argument
547 …Attribute("font-size",Math.round(d.fontSize)+"px"),"start"!=e&&g.setAttribute("text-anchor",e),(d.…
549e){"#"==a.charAt(0)&&(a=a.substring(1));"#"==b.charAt(0)&&(b=b.substring(1));a=a.toLowerCase()+"-"… argument
550e){var f=this.createGradientId(a,b,c,d,e),g=this.gradients[f];if(null==g){var k=this.root.ownerSVG… argument
551e){var f=this.createElement(e==mxConstants.DIRECTION_RADIAL?"radialGradient":"linearGradient");f.s… argument
552 e=this.createElement("stop");e.setAttribute("offset","0%");e.style.stopColor=a;e.style.stopOpacity=…
564e){if(0!=a||b||c){var f=this.state;d+=f.dx;e+=f.dy;d*=f.scale;e*=f.scale;f.transform=f.transform||… argument
565e}};mxSvgCanvas2D.prototype.begin=function(){mxAbstractCanvas2D.prototype.begin.apply(this,argumen…
566e,f){this.rect(a,b,c,d);0<e&&this.node.setAttribute("rx",this.format(e*this.state.scale));0<f&&thi… argument
567e,f,g,k){e=this.converter.convert(e);f=null!=f?f:!0;g=null!=g?g:!1;k=null!=k?k:!1;var l=this.state… argument
568e);f||m.setAttribute("preserveAspectRatio","none");(1>l.alpha||1>l.fillAlpha)&&m.setAttribute("opa…
573 …teText=function(a,b,c,d,e,f,g,k,l,m,n){null!=n&&null!=n.firstChild&&null!=n.firstChild.firstChild&… argument
574e,f,g,k,l,m,n,p,q,r,t){q=this.createElement("g");var u=this.createElement("foreignObject");this.se… argument
576e,f,g,k,l,m,n){var p=this.state.scale;mxSvgCanvas2D.createCss(c+2,d,e,f,g,k,l,null!=this.state.fon… argument
577 "center")+"; ",this.getTextCss(),p,mxUtils.bind(this,function(c,d,e,f,g){a+=this.state.dx;b+=this.s… argument
578 …);0>d?k.setAttribute("y",d):(k.removeAttribute("y"),e+="padding-top: "+d+"px; ");this.setCssText(l…
580 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
581 …lor: "+k+"; ");null!=l&&(b+="border: 1px solid "+l+"; ");""==c||g?n+=b:p+=b;e&&0<a?(n+="white-spac…
585e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e)if(p=null!=p?p:0,this.foEnabled&&"html"==l){var r=… argument
586e="mx-clip-"+a+"-"+b+"-"+c+"-"+d,f=0,g=e+"-"+f;null!=document.getElementById(g);)g=e+"-"+ ++f;clip…
587 mxSvgCanvas2D.prototype.plainText=function(a,b,c,d,e,f,g,k,l,m,n,p){n=null!=n?n:0;k=this.state;var … argument
589 ….setAttribute("transform",t);1>k.alpha&&r.setAttribute("opacity",k.alpha);t=e.split("\n");p=Math.r…
590 …]),r.appendChild(q)),n+=p;this.root.appendChild(r);this.addTextBackground(r,e,a,b,c,"fill"==l?d:u,…
593e,f,g,k,l){var m=this.state;if(null!=m.fontBackgroundColor||null!=m.fontBorderColor){var n=null;if… argument
595e=n.offsetWidth,f=n.offsetHeight,n.parentNode.removeChild(n),g==mxConstants.ALIGN_CENTER?c-=e/2:g=…
599 …al)&&null!=a&&null!=b){d=function(c,d,e){var f=!1;e&&Math.abs(c-z)<t?(b.y=c-a.getCenterY(),t=Math.… argument
600 n=n||f};var e=function(c,d,e){var f=!1;e&&Math.abs(c-y)<r?(b.x=c-a.getCenterX(),r=Math.abs(c-y),f=!… argument
601 …ed(g)||(this.horizontal&&(e.call(this,g.getCenterX(),g,!0),e.call(this,g.x,g,!1),e.call(this,g.x+g…
602e=d=null,null!=l&&null!=a&&(d=Math.min(a.y+b.y-this.graph.panDy,l.y),e=Math.max(a.y+a.height+b.y-t…
603e=d=null,null!=p&&null!=a&&(d=Math.min(a.x+b.x-this.graph.panDx,p.x),e=Math.max(a.x+a.width+b.x-th…
604e){var f=this.graph.view.scale;if(this.rounded||null!=b&&null==b.cell)c=Math.round((a.x+c)/f)*f-a.… argument
612 …null!=c){var d="1"==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPH,!1),e="1"==mxUtils.getValu…
613 …eight,c.height=c.width,c.width=c.y,c.y=b,b=d,d=e,e=b);return mxUtils.getDirectedBounds(a,c,this.st…
619 ….gradient&&this.gradient!=mxConstants.NONE){var c=this.fill,d=this.gradient,e="0",f={east:0,south:…
620e="1",f=c,c=d,d=f):2==g?(f=c,c=d,d=f):3==g&&(e="1");b+="progid:DXImageTransform.Microsoft.gradient…
625 …;d.apply(this,arguments)}}var e=this.scale,f=this.bounds.x/e,g=this.bounds.y/e,k=this.bounds.width…
626e=a.createRect("rect",n.x/e,n.y/e,n.width/e,n.height/e),e.appendChild(a.createTransparentFill()),e
627 e):this.paintVertexShape(a,f,g,k,l));null!=m&&null!=a.state&&null!=a.state.transform&&m.setAttribut…
628 mxShape.prototype.configureCanvas=function(a,b,c,d,e){var f=null;null!=this.style&&(f=this.style.da… argument
629 (b=this.getGradientBounds(a,b,c,d,e),a.setGradient(this.fill,this.gradient,b.x,b.y,b.width,b.height…
630e){return new mxRectangle(b,c,d,e)};mxShape.prototype.updateTransform=function(a,b,c,d,e){a.scale(… argument
631 …hape.prototype.paintBackground=function(a,b,c,d,e){};mxShape.prototype.paintForeground=function(a,… argument
633e,f){var g=Math.ceil(this.strokewidth/2);a.setGradient("#ffffff","#ffffff",b,c,d,.6*e,"south",.9,.… argument
634e,f,g){if(null!=b&&0<b.length){g=null!=g?g:!0;var k=b[b.length-1];if(e&&c){b=b.slice();var l=b[0],… argument
635 …)/p;a.quadTo(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…
646e=document.createElementNS(mxConstants.NS_SVG,"rect");e.setAttribute("x",a);e.setAttribute("y",b);
652e,f){var g=a.states.slice(),k=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,null),k=this.co… argument
653e,f,this.bgNode,k,!1,!0);this.drawChildren(a,b,c,d,e,f,this.fgNode,k,!0,!b.outline||null==b.style|… argument
654e,f){a=b;b=d/this.w0;var g=e/this.h0;if(f=f==mxConstants.DIRECTION_NORTH||f==mxConstants.DIRECTION… argument
655 mxStencil.prototype.drawNode=function(a,b,c,d,e,f){var g=c.nodeName,k=d.x,l=d.y,m=d.width,n=d.heigh… argument
656 …ld;null!=u;)u.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,u,d,e,f),u=u.nextSibling}e…
663 …("family")):"fontsize"==g&&a.setFontSize(Number(c.getAttribute("size"))*p);!e||"fillstroke"!=g&&"f…
664 …markers[a]=b},createMarker:function(a,b,c,d,e,f,g,k,l,m){var n=mxMarker.markers[c];return null!=n?… argument
665e=k.clone();e.x-=c;e.y-=p;n=d!=mxConstants.ARROW_CLASSIC&&d!=mxConstants.ARROW_CLASSIC_THIN?1:.75;…
666e=k.clone();e.x-=c;e.y-=d;k.x+=2*-c;k.y+=2*-d;return function(){b.begin();b.moveTo(e.x-l-m/a,e.y-m…
667e,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.fillAndStroke…
668 …,b,c,g,k,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…
669 …ctor.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);a.begin();this.redrawPath(a,b… argument
670e){b=d/3;a.moveTo(0,e);a.curveTo(0,3*e/5,0,2*e/5,d/2,2*e/5);a.curveTo(d/2-b,2*e/5,d/2-b,0,d/2,0);a… argument
671e){a.moveTo(.25*d,.25*e);a.curveTo(.05*d,.25*e,0,.5*e,.16*d,.55*e);a.curveTo(0,.66*e,.18*d,.9*e,.3… argument
673e){if(this.isRounded){var f;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)… argument
674e){return!0};mxRectangleShape.prototype.paintForeground=function(a,b,c,d,e){this.glass&&!this.outl… argument
675e){a.ellipse(b,c,d,e);a.fillAndStroke()};function mxDoubleEllipse(a,b,c,d){mxShape.call(this);this… argument
676e){if(!this.outline){var f=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.st… argument
678e){var f=d/2,g=e/2,k=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZ… argument
680 ….x,c.y);for(c=1;c<d-2;c++){var e=b[c],f=b[c+1];a.quadTo(e.x,e.y,(e.x+f.x)/2,(e.y+f.y)/2)}e=b[d-2];…
681 …mxArrow(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;this.strokewidth… argument
682e=b[0],f=b[b.length-1],g=f.x-e.x,k=f.y-e.y,l=Math.sqrt(g*g+k*k),m=l-2*c-mxConstants.ARROW_SIZE,g=g…
683 …nnector(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;this.strokewidth… argument
686 …nts.STYLE_STROKEWIDTH,this.strokewidth)));var d=this.getStartArrowWidth()+c,e=this.getEndArrowWidt…
688 …unction(b,c){D.push(function(){a.lineTo(b,c)})}(z,y)):(a.lineTo(I,F),function(b,c){var d=I-A*f,e=F+
689e)});D.push(function(){a.lineTo(g,k)})}(z,y)):(a.lineTo(I,F),function(b,c){D.push(function(){a.lin…
690e,f,m,!0),a.stroke(),a.end()))}};mxArrowConnector.prototype.paintMarker=function(a,b,c,d,e,f,g,k,l… argument
693 function mxText(a,b,c,d,e,f,g,k,l,m,n,p,q,r,t,u,x,y,B,A,z){mxShape.call(this);this.value=a;this.bou… argument
697 …c,e=this.bounds.y/c,f=this.bounds.width/c,c=this.bounds.height/c;this.updateTransform(a,d,e,f,c);t…
698 …ts.TEXT_DIRECTION_LTR&&m!=mxConstants.TEXT_DIRECTION_RTL&&(m=null);a.text(d,e,f,c,l,this.align,thi…
709e=a.getBBox();"string"==typeof this.value&&0==mxUtils.trim(this.value)?this.boundingBox=null:this.…
710e=a,8!=document.documentMode||mxClient.IS_EM?null!=e.firstChild&&"DIV"==e.firstChild.nodeName&&(e=
711e.offsetWidth+2,a=this.node.getElementsByTagName("div"),this.clipped&&(c=Math.min(d,c)),1<a.length…
714 mxText.prototype.configureCanvas=function(a,b,c,d,e){mxShape.prototype.configureCanvas.apply(this,a… argument
726e,f=0,g=null!=this.state?this.state.view.textDiv:null,k=this.node;if(null!=g){g.style.overflow="";…
727e=Math.min(e,this.bounds.width)),g.style.width=e+"px"):g.style.whiteSpace="nowrap";k=g;null!=k.fir…
728e=l):"width"==this.overflow&&(f=k.scrollHeight,e=l);this.offsetWidth=e;this.offsetHeight=f;"fill"!…
729e+", M12="+f+", M21="+-f+", M22="+e+", sizingMethod='auto expand')",a.filter=null!=a.filter&&0<a.f…
735e=a.style;this.clipped?(e.overflow="hidden",e.maxHeight=d+"px",e.maxWidth=c+"px"):"fill"==this.ove…
736e.width=c+"px",b&&"fill"!=this.overflow&&"width"!=this.overflow){d=a;null!=d.firstChild&&"DIV"==d.…
739e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoi… argument
740e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoi… argument
741e){a.begin();if(this.vertical){var f=b+d/2;a.moveTo(f,c);a.lineTo(f,c+e)}else f=c+e/2,a.moveTo(b,f… argument
743 …on="absolute";return a};mxImageShape.prototype.isRoundable=function(a,b,c,d,e){return!1};mxImageSh… argument
744e){null!=this.image?(null!=this.imageBackground&&(a.setFillColor(this.imageBackground),a.setStroke… argument
750e){this.paintImage(a,b,c,d,e);this.paintIndicator(a,b,c,d,e);mxRectangleShape.prototype.paintForeg… argument
751e=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),f=mxUtils.getV…
752e==mxConstants.ALIGN_RIGHT?a+(c-g-l):a+l;b=f==mxConstants.ALIGN_TOP?b+l:f==mxConstants.ALIGN_BOTTO… argument
753e=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),f=mxUtils.getV…
757e){a.translate(b,c);a.begin();this.redrawPath(a,b,c,d,e,!1);a.fillAndStroke();this.outline&&null!=… argument
758e,f){b=this.getCylinderSize(b,c,d,e);if(f&&null!=this.fill||!f&&null==this.fill)a.moveTo(0,b),a.cu… argument
760e=b.length,f=mxUtils.getValue(this.style,c?mxConstants.STYLE_STARTARROW:mxConstants.STYLE_ENDARROW…
763 …MLANE_FILLCOLOR,mxConstants.NONE))};mxSwimlane.prototype.isRoundable=function(a,b,c,d,e){return!0}; argument
765e=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPV,0),f=this.direction==mxConstants.DIRECTIO…
766e)a.x+=a.width-b;a.width=b}else{b=Math.min(a.height,b*this.scale);if(d||e)a.y+=a.height-b;a.height… argument
768e){var f=this.getTitleSize(),g=1==mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_LINE,1),k… argument
769 this.paintSeparator(a,b,c,d,e,f,g);null!=this.image&&(e=this.getImageBounds(b,c,d,e),a.image(e.x-b,
770e,f,g,k){a.begin();var l=!0;null!=this.style&&(l="1"==mxUtils.getValue(this.style,mxConstants.STYL… argument
771e),a.lineTo(f,e),a.fillAndStroke(),f<d&&(g!=mxConstants.NONE&&l||(a.pointerEvents=!1),g!=mxConstan…
772e,f,g,k,l){a.begin();var m=!0;null!=this.style&&(m="1"==mxUtils.getValue(this.style,mxConstants.ST… argument
773 e),a.lineTo(d-Math.min(d/2,g),e),a.quadTo(d,e,d,e-g),a.lineTo(d,f),k==mxConstants.NONE?a.stroke():a…
774e,f,k==mxConstants.NONE)};mxSwimlane.prototype.paintDivider=function(a,b,c,d,e,f,g){g||a.setShadow… argument
777e){if(null!=c&&null!=a&&(b=null!=b?b:!0,e=e||new mxDictionary,!e.get(a)&&(e.put(a,!0),d=c(a,d),nul… argument
781 …null!=this.parent&&null!=b)for(var e=c.getParent(a),e=this.getParentOffset(e),f=0;f<b.length;f++)b…
782 …nction(a,b,c){var d=this.graph.getModel(),e=d.getGeometry(a),f=null;if(null!=e){f=new mxRectangle(…
783 …&&(g=this.getParentOffset(g),b-=g.x,c-=g.y));if(e.x!=b||e.y!=c)e=e.clone(),e.x=b,e.y=c,d.setGeomet…
784e=c.text.boundingBox,f=Math.max(c.x-e.x,0)/d,g=Math.max(c.y-e.y,0)/d,b=new mxRectangle(b.x-f,b.y-g…
785 …phLayout.prototype.arrangeGroups=function(a,b,c,d,e,f){return this.graph.updateGroupBounds(a,b,!0,… argument
786 …Layout(a,b,c,d,e,f){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.spacing=null!=c?c… argument
789e=d.getParent(a),f=this.isHorizontal();if(null!=a&&null!=e){var g=0,k=d.getChildCount(e);c=f?b:c;b…
791 …{for(var b=this.graph.getModel(),c=b.getChildCount(a),d=[],e=0;e<c;e++){var f=b.getChildAt(a,e);!t…
793 …is.graph.getModel(),e=null;null!=b&&(e=c?b.height-this.marginTop-this.marginBottom:b.width-this.ma…
794 !0);null!=b&&(l=k?Math.min(l,b.height):Math.min(l,b.width));c==k&&(e-=l);k?g+=l:f+=l}d.beginUpdate(…
796 e&&(c?t.height=e:t.width=e);c?t.width=this.snap(t.width):t.height=this.snap(t.height);this.setChild…
798e=this.graph.getModel(),f=b.clone();d?(c=c.x+c.width+this.marginRight+this.border,f.width=this.res…
800e,f=0,g=c.getChildCount(d);for(e=0;e<g;e++){var k=c.getChildAt(d,e),k=this.getVertexBounds(k);if(n…
801 …!=d){for(var e=[],f=c.getChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g);!this.isVertexIgnored(…
802 …-l-a)/f:(d.height-m-a)/f;if(0<d){c.beginUpdate();try{for(g=0;g<f;g++){var k=e[g],p=c.getGeometry(k…
807 …h)for(var e=0;e<d.length;e++)if(!this.isVertexIgnored(d[e])&&0<this.graph.getEdges(d[e],null,this.…
809 …,null,g,d);if(null!=k){var l=e=0;0>k.x&&(e=Math.abs(g-k.x));0>k.y&&(l=Math.abs(d-k.y));0==e&&0==l|…
811e){var d=b.getTerminal(b.getTerminal(!1)==a),g=c.get(d);null==g&&(g=mxCellPath.create(d).split(mxC… argument
813 …ored(a)){this.visited[c]=a;var d=this.createNode(a),c=this.graph.getModel(),e=null,f=this.graph.ge…
814 ….invert),m=this.dfs(l,b);null!=m&&null!=c.getGeometry(l)&&(null==e?d.child=m:e.next=m,e=m)}}}retur…
815 …b,a.x,a.y,d);c=a.y+b.offsetY;for(var e=b.next;null!=e;)d=this.horizontalLayout(e,a.x+b.offsetX,c,d…
816e){a.x+=c+a.offsetY;a.y+=d+a.offsetX;e=this.apply(a,e);b=a.child;if(null!=b)for(e=this.verticalLay… argument
817 …nce,e=d+a.width+2*this.nodeDistance-b;a.child.offsetX=c+a.height;a.child.offsetY=e;a.contour.upper…
819 …ar d=c.width+b,e=d,c=c.next;null!=c;){var f=this.merge(a.contour,c.contour);c.offsetY=f+d;c.offset…
820e=0,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+…
821e,f){if(e<=a||0>=a+c)return 0;a=0<e*d-c*f?0>a?a*d/c-b:0<a?a*f/e-b:-b:e<a+c?f-(b+(e-a)*d/c):e>a+c?(… argument
823e=c.getGeometry(d);null!=d&&null!=e&&(this.isVertexMovable(d)&&(e=this.setVertexLocation(d,a.x,a.y…
826e=[];null!=b;){d++;var f=b.x;this.horizontal&&(f=b.y);e.push(new WeightedCellSorter(b,f));b=b.next…
827 e[k].cell.cell,m=this.getVertexBounds(l),l=this.graph.getEdgesBetween(c,l,!1),n=[],p,q,r=0;r<l.leng…
830e in this.visited){var f=this.getVertexBounds(this.visited[e]),c=null!=c?c:f.clone();c.add(f)}this…
831e);for(c=0;c<this.row.length;c++){var l=this.centerX-this.nodeDistance-g*this.rowRadi[c],m=this.ce…
832e<f.length-1?d.theta=Math.min(g,f[e+1].theta-Math.PI/10):g<d.theta&&0<e&&(d.theta=Math.max(g,f[e-1…
833 …[];for(var c=!1,d=0;d<a.length;d++)for(var e=null!=a[d]?a[d].child:null;null!=e;){var f=this.getVe…
834 …s.rowRadi[b]=f.y-this.getVertexBounds(this.root).y;null!=e.child&&(c=!0);this.row[b].push(e);e=e.n…
837 …;d<c.length;d++)this.isVertexIgnored(c[d])||this.vertexArray.push(c[d]);var e=this.useInputOrigin?…
841 0)+1;null!=e&&(d+=e.x,g+=e.y);this.graph.moveCells(this.vertexArray,d,g)}finally{b.endUpdate()}};mx…
842e=this.cellLocation[a][1]-this.cellLocation[c][1],f=d*d+e*e-this.radiusSquared[a]-this.radiusSquar…
843 this.dispX[a]-=d;this.dispY[a]-=e;this.dispX[c]+=d;this.dispY[c]+=e}}};
844 …ation[c][0],e=this.cellLocation[b][1]-this.cellLocation[c][1];0==d&&(d=.01+Math.random());0==e&&(e
845 g,d=d/f*g,e=e/f*g,this.dispX[b]+=d,this.dispY[b]+=e,this.dispX[c]-=d,this.dispY[c]-=e)}}};mxFastOrg…
847e=null,f=[],g=b.getChildCount(a),k=0;k<g;k++){var l=b.getChildAt(a,k);if(this.isVertexIgnored(l))t…
848e=this.x0,d=this.y0);this.circle(f,n,e,d)}finally{b.endUpdate()}};mxCircleLayout.prototype.getRadi…
849 …a,b);this.graph.model.beginUpdate();try{for(var d in c){var e=c[d];1<e.length&&this.layout(e)}}fin…
850 …if(null!=b)for(var e=0;e<b.length;e++)d(b[e]);else for(var f=this.graph.getModel(),g=f.getChildCou…
851 …null!=a&&null!=a.absolutePoints)){for(var d=[],e=0;e<a.absolutePoints.length;e++){var f=a.absolute…
852e=d.getGeometry(c.getVisibleTerminal(b,!0)),d=d.getGeometry(c.getVisibleTerminal(b,!1));if(e==d)fo…
853 1)/2,c=c+g/2-d*(a.length-1)/2,f=0;f<a.length;f++)this.route(a[f],b,c),b-=e,c+=d}};mxParallelEdgeLay…
855e=[],f=c.getChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g),l=b.getState(k);null!=l&&(this.isVe…
856 ….length;d++){var e=b[d];if(null!=e&&null!=e.text&&null!=e.text.boundingBox)for(var f=0;f<a.length;…
857e=-d.y-d.height+b.y,f=-d.y+b.y+b.height,e=Math.abs(e)<Math.abs(f)?e:f,f=-d.x-d.width+b.x,d=-d.x+b.…
870e){a.getGraph();this.tightenToSource=e;this.roots=c;this.parent=d;this.vertexMapper=new mxDictiona… argument
873e=0;e<b.length;e++){c[e]=new mxGraphHierarchyNode(b[e]);this.vertexMapper.put(b[e],c[e]);var f=a.g…
874 …etOrthogonalEdge(n,!0))}k.source=c[e];0>mxUtils.indexOf(c[e].connectsAsSource,k)&&c[e].connectsAsS…
875 … d=this.vertexMapper.getValues(),b=0;b<d.length;b++)d[b].temp[0]=-1;for(var e=a.slice();0<a.length…
876 …break}for(b=0;b<d.length;b++)d[b].temp[0]-=this.maxRank;for(b=0;b<e.length;b++)for(c=e[b],a=0,f=c.…
877 …r d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.visit(functi… argument
878e=0;e<b.length;e++){var f=b[e];null!=f&&(null==d&&(d={}),c?(f.hashCode=[],f.hashCode[0]=this.dfsCo…
879 …,d,e,f){if(null!=b){var g=b.id;if(null==e[g])for(e[g]=b,d(a,b,c,f,0),a=b.connectsAsSource.slice(),… argument
880e,f,g,k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.leng… argument
881e){a.getGraph();this.tightenToSource=e;this.roots=c;this.parent=d;this.vertexMapper=new mxDictiona… argument
884e=a.swimlanes,f=0;f<b.length;f++){c[f]=new mxGraphHierarchyNode(b[f]);this.vertexMapper.put(b[f],c…
886 …apper.getValues();for(c=0;c<d.length;c++)d[c].temp[0]=-1;for(a.slice();0<a.length;){var d=a[0],e,f;
887 e=d.connectsAsTarget;f=d.connectsAsSource;for(var g=!0,k=b[0],c=0;c<e.length;c++){var l=e[c];if(527…
888e){if(null!=b&&(a=mxCellPath.create(b.cell),null==d[a])){d[a]=b;a=b.swimlaneIndex;if(null==this.ra… argument
889 …r d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.visit(functi… argument
890e=0;e<b.length;e++){var f=b[e];null!=f&&(null==d&&(d={}),c?(f.hashCode=[],f.hashCode[0]=this.dfsCo…
891 …,d,e,f){if(null!=b){var g=b.id;if(null==e[g])for(e[g]=b,d(a,b,c,f,0),a=b.connectsAsSource.slice(),… argument
892e,f,g,k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.leng… argument
893 this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}else d(a,b,c,k,1)};function mxHierarchicalLayoutStage(…
895e=this.calculateCrossings(a);if(e<d)for(d=e,e=c=0;e<this.nestedBestRanks.length;e++)for(var f=a.ra…
896e=0;e<this.nestedBestRanks.length;e++)for(f=a.ranks[e],g=0;g<f.length;g++)k=f[g],k.setGeneralPurpo…
897e=b.ranks[a-1],f=[],g=0;g<d.length;g++){for(var k=d[g],l=k.getGeneralPurposeVariable(a),k=k.getPre…
898 l;)l%2&&(c+=e[l+1]),l=l-1>>1,++e[l];return c};
899 …ction.prototype.transpose=function(a,b){for(var c=!0,d=0;c&&10>d++;)for(var e=1==a%2&&1==d%2,c=!1,…
900 …ngth;A++)for(v=0;v<x.length;v++)t[A]>x[v]&&z++,t[A]<x[v]&&C++;if(C<z||C==z&&e)p=y.getGeneralPurpos…
901 …ralPurposeVariable(f)),B.setGeneralPurposeVariable(f,p),p=m,q=n,u=r,x=t,B=y,e||(c=!0)}}};mxMedianH…
902e=[],f=0;f<c;f++){var g=this.nestedBestRanks[a][f],k=new MedianCellSorter;k.cell=g;var l;l=b?g.get…
903e=0;e<a.length;e++){var f=a[e];c[d++]=f.getGeneralPurposeVariable(b)}c.sort(function(a,b){return a…
905e=0;e<c.length;e++)d[c[e].id]=c[e];c=null;if(null!=a.roots)for(var f=a.roots,c=[],e=0;e<f.length;e argument
906e,f,n){c.isAncestor(a)&&(e.invert(),mxUtils.remove(e,a.connectsAsSource),c.connectsAsSource.push(e argument
911 …var e=a.ranks[d],f=0;f<e.length;f++){var g=e[f];g.setX(d,g.getGeneralPurposeVariable(d))}b=this.cu…
912 a.ranks[d],f=0;f<e.length;f++)g=e[f],g.setGeneralPurposeVariable(d,g.getX(d));this.minPath(this.lay…
913e=0;e<=a.maxRank;e++){d[e]=a.ranks[e];for(var f=0;f<d[e].length;f++){var g=d[e][f],k=new WeightedC…
914e.getGeneralPurposeVariable(l),y=x;0<u&&(y=(r*p+t*q)/u);p=!1;y<x-1?0==m?(e.setGeneralPurposeVariab…
915e.getGeneralPurposeVariable(l)+1&&(e.setGeneralPurposeVariable(l,x),p=!0)));if(p){for(e=0;e<k.leng…
916 …c){b=b.ranks[a];for(var d=[],e={},f=0;f<b.length;f++){var g=b[f];d[f]=new WeightedCellSorter;d[f].…
917e[b[n].id];if(null!=p){var q=p.cell;p.visited?(k=q.getGeneralPurposeVariable(a)+q.width/2+this.int…
918 …function(a,b){for(var c=0,d=0;d<b.length;d++){var e=b[d];a.isVertex()&&e.isVertex()?c++:c=a.isEdge…
921 …ialX+(this.widestRankValue-this.rankWidths[a])/2;for(var d=!1,e=0;e<b.length;e++){var f=b[e];if(f.…
923 …lSpacing,d=0;this.rankWidths=[];this.rankY=[];for(var e=b.maxRank;0<=e;e--){for(var f=0,g=b.ranks[
924e,k);n.setGeneralPurposeVariable(e,k);k+=n.width/2;k+=this.intraCellSpacing;k>this.widestRankValue…
925 k;for(m=0;m<g.length;m++)g[m].setY(e,c)}};
926e=c[d];if(!(1>e.maxRank-e.minRank-1)){for(var f=e.getGeneralPurposeVariable(e.minRank+1),g=!0,k=0,…
927e.minRank-1]=q}p=e.getX(l);for(l=e.maxRank-1;l>e.minRank+1;l--)q=e.getX(l-1),p==q?(n[l-e.minRank-2…
928e=-1,f=0;f<a.length;f++)if(b==a[f]){e=f;break}if(0>e)return!1;f=b.getGeneralPurposeVariable(c);if(…
931e=c[d];if(e.isVertex())for(var f=e.getPreviousLayerConnectedCells(b),g=b-1,k=0;2>k;k++){if(-1<g&&g…
932e.connectsAsSource:e.connectsAsTarget;for(var u=0;u<t.length;u++)if(t[u].source==r||t[u].target==r…
933 …2&&(p-=this.prefVertEdgeOff),t=0;t<q;t++)r[4*t+2*k]=n,n+=l,r[4*t+2*k+1]=p}f=e.getNextLayerConnecte…
934 …a.maxRank,d=a.minRank;c==d&&(c=a.source.maxRank,d=a.target.minRank);for(var e=0,f=this.jettyPositi…
935 ….rankTopY[d]:l?this.rankTopY[c]:this.rankBottomY[c],x=f[4*e+1+t];r!=l&&(x=-x);var u=u+x,t=f[4*e+t]…
937 …rankBottomY[c]:l?this.rankBottomY[d]:this.rankTopY[d],x=f[4*e+3-t],r!=l&&(x=-x),u-=x,t=f[4*e+2-t],…
938 …nts(n,q);b=0==b?this.parallelEdgeSpacing:0<b?-b:-b+this.parallelEdgeSpacing;e++}a.temp[0]=101207}};
941e=0;e<d.length;e++)c[e]=a.vertexMapper.get(d[e]);a.visit(function(a,c,d,e,m){e=null!=a&&a.swimlane… argument
946 …eometry(a);null!=d&&(this.parentX=d.x,this.parentY=d.y)}if(null!=b){for(var e=[],f=0;f<b.length;f+…
947 b[f]):1)&&c.isVertex(b[f])&&e.push(b[f]);this.roots=e}c.beginUpdate();try{this.run(a),this.resizePa…
948e=null,f=-1E5,g;for(g in b){var k=b[g];if(d.isVertex(k)&&this.graph.isCellVisible(k)){for(var l=th…
949e=c.getChildCount(a),f=0;f<e;f++){var g=c.getChildAt(a,f);if(this.isPort(g))b=b.concat(c.getEdges(…
950 ….traverseAncestors))||d==a&&(null==this.parent||this.isAncestor(this.parent,e,this.traverseAncesto…
951e=null!=d?d.getVisibleTerminal(b):this.graph.view.getVisibleTerminal(a,b);null==e&&(e=null!=d?d.ge…
952e=!0,f;for(f in d)if(null!=d[f]){e=!1;break}for(;!e;){for(var g=this.findRoots(a,d),e=0;e<g.length…
953 0;e<b.length;e++){k=b[e];d=[];for(f in k)d.push(k[f]);this.model=new mxGraphHierarchyModel(this,d,t…
954 …&&this.graph.isCellVisible(a))for(var d=c.getChildCount(a),e=0;e<d;e++){var f=c.getChildAt(a,e);th…
955 …,e=[],f=0;f<d.length;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisibleTerminal(d[f],!1…
956e,f,g){if(null!=a&&null!=d){var k=mxObjectIdentity.get(a);if(null==d[k]&&(null==g||null!=g[k])){nu… argument
957 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…
962 …ry(a);null!=d&&(this.parentX=d.x,this.parentY=d.y)}this.swimlanes=b;for(var e=[],f=0;f<b.length;f+…
963e.push(g)}c.beginUpdate();try{this.run(a),this.resizeParent&&!this.graph.isCellCollapsed(a)&&this.…
964e=0;e<d.edges.length;e++)a.push(d.edges[e]);a=this.graph.getBoundingBoxFromGeometry(a,!0);b=[];for…
965e=0;e<this.swimlanes.length;e++)if(f=this.swimlanes[e],c=this.graph.getCellGeometry(f),null!=c){va…
967e=null,f=-1E5,g;for(g in b){var k=b[g];if(null!=k&&d.isVertex(k)&&this.graph.isCellVisible(k)&&d.i…
968e=c.getChildCount(a),f=0;f<e;f++){var g=c.getChildAt(a,f);if(this.isPort(g))b=b.concat(c.getEdges(…
969 …s.traverseAncestors))||d==a&&(null==this.parent||this.graph.isValidAncestor(e,this.parent,this.tra…
970e=null!=d?d.getVisibleTerminal(b):this.graph.view.getVisibleTerminal(a,b);null==e&&(e=null!=d?d.ge…
971e=0;e<this.swimlanes.length;e++)this.filterDescendants(this.swimlanes[e],d);this.roots=[];var e=!0…
972 e=!0;for(f in d)if(null!=d[f]){e=!1;break}}}}else for(e=0;e<this.roots.length;e++)l={},b.push(l),th…
973 …&&this.graph.isCellVisible(a))for(var d=c.getChildCount(a),e=0;e<d;e++){var f=c.getChildAt(a,e);th…
974 …,e=[],f=0;f<d.length;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisibleTerminal(d[f],!1…
975e,f,g,k){if(null!=a&&null!=d){var l=mxObjectIdentity.get(a);if(null==d[l]&&(null==g||null!=g[l])){… argument
976 b,m[c],d,e,f,g,q))}}else if(null==e[l])for(c=0;c<f.length;c++)if(a=f[c],null!=a[l]){for(m in a)e[m]…
980 …null==a||a(b))&&c.push(b);for(var d=this.getChildCount(b),e=0;e<d;e++)var f=this.getChildAt(b,e),c…
984e=this.getChildAt(a,d);this.updateEdgeParents(e,b)}e=this.getEdgeCount(a);c=[];for(d=0;d<e;d++)c.p…
986 …etry(a);if(null!=d){var e=this.getOrigin(this.getParent(a)),f=this.getOrigin(c),g=f.x-e.x,e=f.y-e.…
987e=mxCellPath.create(d);if(c.length<e.length)var d=b,f=e,e=c,c=f;for(;null!=d;){f=this.getParent(d)…
990 …is.getChildCount(a),e=[],f=0;f<d;f++){var g=this.getChildAt(a,f);(!c&&!b||c&&this.isEdge(g)||b&&th…
992 …l.prototype.getDirectedEdgeCount=function(a,b,c){for(var d=0,e=this.getEdgeCount(a),f=0;f<e;f++){v…
994 …,c,d){b=null!=b?b:!0;c=null!=c?c:!0;d=null!=d?d:!0;for(var e=this.getEdgeCount(a),f=[],g=0;g<e;g++…
995 …!1;var d=this.getEdgeCount(a),e=this.getEdgeCount(b),f=a,g=d;e<d&&(g=e,f=b);d=[];for(e=0;e<g;e++){…
996e=[];if(null!=a)for(var f=0;f<a.length;f++){var g=this.getTerminal(a[f],!0),k=this.getTerminal(a[f…
997 …d=0;d<a.length;d++){for(var e=a[d],f=!0,g=this.getParent(e);null!=g;){if(b.get(g)){f=!1;break}g=th…
1004 ….beginUpdate();try{var d={};this.mergeChildrenImpl(a,b,c,d);for(var e in d){var f=d[e],g=this.getT…
1005 …eChildrenImpl=function(a,b,c,d){this.beginUpdate();try{for(var e=a.getChildCount(),f=0;f<e;f++){va…
1006 …r c=new mxDictionary,d=0;d<a.length;d++){var e=this.getParent(a[d]);null==e||c.get(e)||(c.put(e,!0…
1007e=0;e<a.length;e++)null!=a[e]?d.push(this.cloneCellImpl(a[e],c,b)):d.push(null);for(e=0;e<d.length…
1008 …e(a,!1));for(var d=this.getChildCount(a),e=0;e<d;e++)this.restoreClone(this.getChildAt(a,e),this.g…
1028e=new mxPoint(this.getCenterX(),this.getCenterY()),e=mxUtils.getRotatedPoint(e,d,c,b);this.x=Math.…
1029e.x),this.targetPoint.y=Math.round(e.y));if(null!=this.points)for(var f=0;f<this.points.length;f++…
1036 …null!=b)for(var d=b.split(mxCellPath.PATH_SEPARATOR),e=0;e<d.length;e++)c=c.getChildAt(parseInt(d[
1037e=0;e<c;e++)if(a[e]!=b[e]){0==a[e].length||0==b[e].length?d=a[e]==b[e]?0:a[e]>b[e]?1:-1:(c=parseIn…
1038e+a.width*Math.tan(f)/2):(g.y=a.y+a.height,g.x=b+a.height*Math.tan(l)/2);d&&(c.x>=a.x&&c.x<=a.x+a.…
1039e&&(a=-a),new mxPoint(l+a,c);if(b>=e&&b<=e+a.width)return a=b-l,a=Math.sqrt(k*k*(1-a*a/(g*g)))||0,…
1040e=a.y,f=a.width;a=a.height;var g=b+f/2,k=e+a/2,l=c.x;c=c.y;if(g==l)return k>c?new mxPoint(g,e):new…
1041 b,c,d){b=null!=b?b.style[mxConstants.STYLE_DIRECTION]:null;var e=b==mxConstants.DIRECTION_NORTH||b=…
1042e?Math.atan2(r,t):Math.atan2(t,r),t=e?Math.atan2(k,l):Math.atan2(l,k);(b==mxConstants.DIRECTION_NO…
1043e?a:b==mxConstants.DIRECTION_WEST?f+k:f,d.y=c.y):c.x>=f&&c.x<=f+k&&(d.x=c.x,d.y=e?b==mxConstants.D…
1044e&&n<f||m<e&&n>f+k||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(…
1045e+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,f+3*k/4)}else …
1046e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f+Math.floor(1.25*k))):m>l&&(n>f+k/4&&n<f…
1047e+g/4)return new mxPoint(e+g/4,f);if(m==e+3*g/4)return new mxPoint(e+3*g/4,f)}else if(n>f+k){if(m=…
1048e+g/4?(b=new mxPoint(e-Math.floor(.25*g),f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))…
1049 e+g?(d=m,p=n<a?f+k: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.…
1050e,f-Math.floor(.25*k)),u=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k))):p>r&&p<q-m?(b=new mx…
1051e+Math.floor(.75*g),f);if(p==q-m)return new mxPoint(e+Math.floor(.25*g),f);if(p==q||p==-q)return n…
1052e-Math.floor(.25*g),f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):0>p&&p>-m?(b=new mx…
1053e,f,g,k,l){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.border=null!=d?d:0;this.pageFormat… argument
1056 …appendGraph=function(a,b,c,d,e,f){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.x0=c;this.y… argument
1057 mxPrintPreview.prototype.open=function(a,b,c,d){var e=this.graph.cellRenderer.initializeOverlay,f=n…
1063 …parentNode.removeChild(f)}finally{this.graph.cellRenderer.initializeOverlay=e}return this.wnd};mxP…
1067 …("table");d.className="mxPageSelector";d.setAttribute("border","0");for(var e=c.createElement("tbo…
1068 mxUtils.write(n,l,c);m.appendChild(n);g.appendChild(m)}e.appendChild(g)}d.appendChild(e);return d};
1069 mxPrintPreview.prototype.renderPage=function(a,b,c,d,e,f){f=this.wnd.document;var g=document.create… argument
1071 …d(l),document.body.appendChild(g),k=l}catch(n){throw g.parentNode.removeChild(g),n;}e(k);return g};
1073 …ype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.graph.container;this.… argument
1075 …vas.style.width=f.width+"px",g.canvas.style.height=f.height+"px";else for(c=e.firstChild;null!=c;)…
1076 …tNode.removeChild(c),c=B;this.printBackgroundImage&&(e=e.getElementsByTagName("svg"),0<e.length&&(
1078e=document.createElement("img");e.style.position="absolute";e.style.marginLeft=Math.round((b+d.x)*…
1083 …=a.split(";"),c=null!=c&&";"!=a.charAt(0)?mxUtils.clone(c):{},e=0;e<d.length;e++){var f=d[e],g=f.i…
1112 …e,d=null;if(this.autoSize&&"fill"!=a.style[mxConstants.STYLE_OVERFLOW]){var e=mxUtils.getValue(a.s…
1113 …luteOffset.x,a.absoluteOffset.y,0,0),null!=e&&(e=(parseFloat(e)+2)*c,this.bounds.width=e,this.boun…
1114 …&&g==mxConstants.ALIGN_MIDDLE?a.shape.getLabelBounds(b):b;null!=e&&(b.width=parseFloat(e)*c);if(!a…
1115 …),b=new mxRectangle(b.x+n,b.y+k,b.width-(f==mxConstants.ALIGN_CENTER&&null==e?n+l:0),b.height-(g==…
1116e=Math.round(this.bounds.width/c)+this.wordWrapPadding,"relative"!=this.textarea.style.position)th…
1117e+"px"}else this.textarea.style.maxWidth=e+"px";else this.textarea.style.whiteSpace="nowrap",this.…
1118 ….height-(e+.5)*c)+e*(c-1)*0+1*Math.abs(d.y+.5))/c))+"px",this.textarea.style.width=Math.round(a*c)…
1123 …s.getValue(c.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),e=mxUtils.getValue(c.s…
1126 e;this.textarea.style.textAlign=g;this.textarea.style.outline="none";this.textarea.style.color=f;d=…
1133 …odel().isEdge(a.cell),c=this.graph.getView().scale,d=this.getMinimumSize(a),e=d.width,d=d.height;i…
1134 …0)+mxText.prototype.baseSpacingLeft)*c+f,c=new mxRectangle(a.x,a.y,Math.max(e,a.width-f-k),Math.ma…
1135 …;c.x+=f;c.y+=g;null!=a.text&&null!=a.text.boundingBox&&(b?(c.width=Math.max(e,a.text.boundingBox.w…
1148e=a.view.graph,f=d[b],g=null;"inherit"==f?g=e.model.getParent(a.cell):"swimlane"==f?(d[b]=c==mxCon…
1149 …;null!=g&&(a=e.getView().getState(g),d[b]=null,null!=a&&(e=c==mxConstants.STYLE_FONTCOLOR?a.text:a…
1152 …itializeLabel(a,a.text);this.configureShape(a);var e=!1,f=function(b){var d=a;if(mxClient.IS_TOUCH…
1153e=c.dialect!=mxConstants.DIALECT_SVG&&"IMG"==mxEvent.getSource(b).nodeName)}),mxUtils.bind(this,fu…
1155e=null!=a.overlays?a.overlays.remove(b[d]):null;null==e&&(e=new mxImageShape(new mxRectangle,b[d].…
1160e=a.view.graph;e.isHtmlLabel(a.cell)&&mxClient.NO_FO&&e.dialect==mxConstants.DIALECT_SVG?(b.dialec…
1161 e.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b,a));mxEvent.consume(b)},function(b){e.fireMo…
1165e=c.isWrapping(a.cell),f=c.isLabelClipped(a.cell),g=a.view.graph.isHtmlLabel(a.cell)||null!=d&&mxU…
1166 …lor",mxConstants.STYLE_FONTCOLOR);if(b||a.text.value!=d||a.text.isWrapping!=e||a.text.overflow!=k|…
1167 …)a.text.dialect=g,a.text.value=d,a.text.bounds=c,a.text.scale=l,a.text.wrap=e,a.text.clipped=f,a.t…
1168e,f){return"spacingTop"==e||"spacingRight"==e||"spacingBottom"==e||"spacingLeft"==e?parseFloat(b[c… argument
1171e=new mxRectangle(a.absoluteOffset.x,a.absoluteOffset.y);if(d){var f=a.text.getSpacing();e.x+=f.x*…
1172e.x+=b,e.y-=b,b=e.width,e.width=e.height,e.height=b);null!=a.shape&&(b=mxUtils.getValue(a.style,mx…
1174 e=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),f=mx…
1175 d)&&(e*=Math.PI/180,c=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(e),Math.sin(e),new mxPo…
1176e=Math.cos(d),f=Math.sin(d);a.overlays.visit(function(d,k){var g=k.overlay.getBounds(a);if(!a.view…
1178 …),e=a.view.scale;if(b||a.control.scale!=e||!a.control.bounds.equals(c)||a.control.rotation!=d)a.co…
1179e=a.getCenterX(),f=a.getCenterY();if(!a.view.graph.getModel().isEdge(a.cell)&&(e=a.x+b*d,f=a.y+c*d…
1180 …(a.getCenterX(),a.getCenterY())),e=f.x,f=f.y)}return a.view.graph.getModel().isEdge(a.cell),new mx…
1181e=0;e<d.length;e++)if(null!=d[e]&&null!=d[e].node){var f=d[e].node.parentNode!=a.view.getDrawPane(…
1182e].node&&d[e].node.parentNode.insertBefore(d[e].node,g.nextSibling):d[e].node.parentNode.appendChi…
1184 mxCellRenderer.prototype.redrawShape=function(a,b,c){var d=a.view.graph.model,e=!1;null!=a.shape&&n…
1186 …pe.scale=a.view.scale,null==c||c?this.doRedrawShape(a):a.shape.updateBoundingBox(),e=!0);return e};
1189 var mxEdgeStyle={EntityRelation:function(a,b,c,d,e){var f=a.view,g=f.graph;d=mxUtils.getValue(a.sty… argument
1191e.push(new mxPoint(d,b)),e.push(new mxPoint(d,c))):(f.x<g.x==k?(d=b+(c-b)/2,e.push(f),e.push(new m… argument
1192 d[b],c=a.view.transformControlPoint(a,c),e.push(new mxPoint(c.x,c.y))}else if(null!=b){var f=a.view…
1193 …Math.abs(d-c.x),m),l=c.y,m=0);e.push(new mxPoint(d-k,l-m));e.push(new mxPoint(d+k,l+m))}},ElbowCon… argument
1194 …W_VERTICAL?mxEdgeStyle.SideToSide(a,b,c,d,e):mxEdgeStyle.TopToBottom(a,b,c,d,e)},SideToSide:functi… argument
1195 …d.y<=c.y+c.height&&(f=d.y)),mxUtils.contains(c,a,k)||mxUtils.contains(b,a,k)||e.push(new mxPoint(a,
1196e.push(new mxPoint(a,f)),1==e.length&&(null!=d?mxUtils.contains(c,a,d.y)||mxUtils.contains(b,a,d.y… argument
1197e.push(new mxPoint(a,k)),a=null!=d&&d.x>=c.x&&d.x<=c.x+c.width?d.x:f.getRoutingCenterX(c),mxUtils.…
1198 e.push(new mxPoint(d.x,k)):(f=Math.max(b.x,c.x),e.push(new mxPoint(f+(Math.min(b.x+b.width,c.x+c.wi… argument
1202e.push(f),k=f;null!=r&&null!=e[e.length-1]&&1>=Math.abs(r.x-e[e.length-1].x)&&1>=Math.abs(r.y-e[e.…
1203 (e[e.length-1].x=r.x),1>Math.abs(e[e.length-1].y-r.y)&&(e[e.length-1].y=r.y)))},orthBuffer:10,orthP…
1206 … d=0;d<a.length;d++)if(null!=a[d]){var e=new mxPoint(Math.round(a[d].x/b*10)/10,Math.round(a[d].y/… variable
1207 …h.round(a.height/b*10)/10)):c=null;return c},OrthConnector:function(a,b,c,d,e){var f=a.view.graph,…
1208 …ntsFallback&&null!=d&&0<d.length||g||k)mxEdgeStyle.SegmentConnector(a,b,c,d,e);else{c=[mxConstants…
1217 …TION_MASK_EAST|mxConstants.DIRECTION_MASK_WEST))?0:1)==m?0:1)==(f+1)%2);v++)e.push(new mxPoint(Mat…
1218e.length;)null==e[a-1]||null==e[a]||e[a-1].x!=e[a].x||e[a-1].y!=e[a].y?a++:e.splice(a,1)}},getRout…
1224 ….isVertex(a[d])||c.isEdge(a[d])){var e=this.getState(a[d]);null!=e&&(null==b?b=mxRectangle.fromRec…
1225e=new mxPoint(this.translate.x,this.translate.y);if(this.scale!=a||this.translate.x!=b||this.trans…
1228 …&&(b||a!=this.currentRoot)){c=d.getChildCount(a);for(var e=0;e<c;e++)this.clear(d.getChildAt(a,e),…
1229e=this.getState(a);null!=e&&(e.invalid=!0);if(!a.invalidating){a.invalidating=!0;if(b)for(var f=d.…
1234 …ext.boundingBox.clone()),b))for(var d=this.graph.getModel(),e=d.getChildCount(a.cell),f=0;f<e;f++)…
1242 …for(var c=this.graph.getModel(),d=c.getChildCount(a),e=0;e<d;e++)this.validateCell(c.getChildAt(a,
1244 …(b&&!c.invalid){null!=c.shape&&this.stateValidated(c);for(var e=d.getChildCount(a),f=0;f<e;f++)thi…
1245 …rigin.x+=d.x,a.origin.y+=d.y);var e=this.graph.getCellGeometry(a.cell);null!=e&&(b.isEdge(a.cell)|…
1246 e.relative&&null!=c?b.isEdge(c.cell)?(d=this.getPoint(c,e),null!=d&&(a.origin.x+=d.x/this.scale-c.o…
1247 this.scale*e.height,a.unscaledHeight=e.height,b.isVertex(a.cell)&&this.updateVertexState(a,e),b.isE…
1248e=mxUtils.toRadians(d.style[mxConstants.STYLE_ROTATION]||"0");if(0!=e){var c=Math.cos(e),e=Math.si…
1255e=null;null!=d&&(e=this.graph.getConnectionPoint(b,d,!1));if(null==e&&null==b){b=this.scale;d=this…
1257e=[];e.push(a.absolutePoints[0]);var f=this.getEdgeStyle(a,b,c,d);if(null!=f){c=this.getTerminalPo…
1258 a.absolutePoints;e.push(b[b.length-1]);a.absolutePoints=e}};mxGraphView.prototype.transformControlP…
1259e=this.graph.getConnectionConstraint(a,c,!0),f=this.graph.getConnectionConstraint(a,d,!1);return!(…
1261 …on(a,b,c){var d=a.absolutePoints,e=d[0];null==d[d.length-1]&&null!=c&&this.updateFloatingTerminalP…
1262e=this.getNextPoint(a,c,d),f=this.graph.isOrthogonal(a);c=mxUtils.toRadians(Number(b.style[mxConst…
1263 0);a=this.getPerimeterPoint(b,e,0==c&&f,k);0!=c&&(k=Math.cos(c),l=Math.sin(c),a=mxUtils.getRotatedP…
1264 …,d){var e=null;if(null!=a){var f=this.getPerimeterFunction(a);if(null!=f&&null!=b&&(d=this.getPeri…
1265e.x=2*d.getCenterX()-e.x),g&&(e.y=2*d.getCenterY()-e.y));e=f(d,a,e,c);null!=e&&(b&&(e.x=2*d.getCen…
1268e=d;null!=d&&d!=this.currentRoot;){if(!this.graph.isCellVisible(e)||this.isCellCollapsed(d))e=d;d=…
1269e=d.x-c.x,f=d.y-c.y;a.terminalDistance=Math.sqrt(e*e+f*f)}else a.terminalDistance=0;var d=0,g=[],f…
1271 …ar e=a.absolutePoints.length,f=Math.round(((null!=b?b.x/2:0)+.5)*a.length),g=a.segments[0],k=0,l=1…
1272 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…
1273e=a.absolutePoints.length;if(d.relative&&1<e){for(var d=a.length,f=a.segments,g=a.absolutePoints[0…
1274 …>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.…
1275e=b[b.length-1];if(null!=d&&null!=e){var b=e.x-d.x,f=e.y-d.y,g=e=0,c=c.offset;null!=c&&(e=c.x,g=c.…
1295 function mxGraph(a,b,c,d,e){this.mouseListeners=null;this.renderHint=c;this.dialect=mxClient.IS_SVG… argument
1296 this.view=this.createGraphView();this.view.rendering=null!=e?e:this.view.rendering;this.graphModelC…
1312e=mxUtils.bind(this,function(a){if(!c.get(a)&&this.model.contains(a))if(this.model.isEdge(a)||this…
1313 k&&e(k)}}return d};mxGraph.prototype.graphModelChanged=function(a){for(var b=0;b<a.length;b++)this.…
1325 …(b)){var e=!1;a=this.getCellAt(a.graphX,a.graphY,null,null,null,mxUtils.bind(this,function(a){var … variable
1327 …for(var b=this.model,c=b.getParent(a),d=b.getChildCount(c),e=0;e<d;e++){var f=b.getChildAt(c,e);if…
1330e=this.container;d=null!=d?d:20;if(a>=e.scrollLeft&&b>=e.scrollTop&&a<=e.scrollLeft+e.clientWidth…
1331e.scrollLeft,e.scrollLeft+=d-f,c&&a==e.scrollLeft){if(this.dialect==mxConstants.DIALECT_SVG){a=thi…
1332 …):(b=Math.max(e.clientHeight,e.scrollHeight)+d-f,a=this.view.getCanvas()),a.style.height=b+"px",e.…
1334 …iew.translate;var d=this.pageFormat,e=this.pageScale,d=new mxRectangle(0,0,Math.ceil(d.width*e),Ma…
1335 …=function(a,b,c,d,e,f,g){if(null!=this.container){a=null!=a?a:this.getBorder();b=null!=b?b:!1;c=nu… argument
1336e=e?m/p:f?l/n:Math.min(l/n,m/p);null!=this.minFitScale&&(e=Math.max(e,this.minFitScale));null!=thi…
1337 …loor(this.view.translate.x-g.x/k+a/e+c/2):a,null!=g.y?Math.floor(this.view.translate.y-g.y/k+a/e+c…
1341 …e;c=this.view.translate;var d=this.pageFormat,e=b*this.pageScale,f=new mxRectangle(0,0,d.width*e,d…
1349e=this.getOriginForCell(b[d]),f=this.getCellGeometry(b[d]);if(!this.model.isEdge(b[d])&&null!=f&&!…
1350e.y+f.y+f.height:e.x+f.x;else c=a==mxConstants.ALIGN_RIGHT?Math.max(c,e.x+f.x+f.width):a==mxConsta…
1351 …-e.x-f.width:a==mxConstants.ALIGN_TOP?f.y=c-e.y:a==mxConstants.ALIGN_MIDDLE?f.y=c-e.y-f.height/2:a…
1355e=this.model.getParent(a[d]);b?c?this.model.add(e,a[d],Math.max(0,e.getIndex(a[d])-1)):this.model.…
1356e=this.model.getParent(a);null==e&&(e=this.model.getParent(c[0]));this.model.beginUpdate();try{nul…
1359 …null!=d&&0<d.length){var d=d.slice(),e=this.model.getParent(a[c]),f=this.model.getChildCount(e);th…
1362 …oupBounds=function(a,b,c,d,e,f,g){null==a&&(a=this.getSelectionCells());b=null!=b?b:0;c=null!=c?c:… argument
1363 ….x-g),l.y=Math.round(l.y+n.y-b-p.y-d));l.width=Math.round(n.width+2*b+p.x+g+e+p.width);l.height=Ma…
1365e=null;if(null!=a){for(var f=new mxDictionary,e=[],g=0;g<a.length;g++)f.put(a[g],!0),e.push(a[g]);…
1366 …;if(null!=n&&null!=p)if(c=d?0:p.origin.x,p=d?0:p.origin.y,this.model.isEdge(e[g])){if(n=n.absolute…
1367e=[]}return e};mxGraph.prototype.insertVertex=function(a,b,c,d,e,f,g,k,l){b=this.createVertex(a,b,… argument
1368e,f){b=this.createEdge(a,b,c,d,e,f);return this.addEdge(b,a,d,e)};mxGraph.prototype.createEdge=fun… argument
1369e,f){null==b&&(b=this.getDefaultParent());null==c&&(c=this.model.getChildCount(b));this.model.begi… argument
1370 mxGraph.prototype.cellsAdded=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=b&&null!=c){this.model.beg… argument
1371 …trainChild(a[l]);null!=d&&this.cellConnected(a[l],d,!0);null!=e&&this.cellConnected(a[l],e,!1)}thi…
1372 d,"target",e,"absolute",f))}finally{this.model.endUpdate()}}};mxGraph.prototype.autoSizeCell=functi…
1373 …xDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<c.length;e++)null!=this.view.getState(c[e]…
1375e=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<a.length;e++){for(var f=this.getAllEdges([a[e]]),g=mxU…
1376 …k++)d.get(f[k])||(d.put(f[k],!0),g(f[k],!0),g(f[k],!1));this.model.remove(a[e])}this.fireEvent(new…
1377e,f,g,k){d=d||0;e=e||0;k=null!=k?k:this.model.getParent(a);f=this.model.getTerminal(a,!0);this.mod… argument
1378e,!1,!1);this.cellsAdded(b,k,this.model.getChildCount(k),null,null,!0);this.cellsAdded([c],k,this.…
1380 mxGraph.prototype.foldCells=function(a,b,c,d,e){b=null!=b?b:!1;null==c&&(c=this.getFoldableCells(th… argument
1381e=0;e<a.length;e++)if((!d||this.isCellFoldable(a[e],b))&&b!=this.isCellCollapsed(a[e])){this.model…
1383 …ull!=b.alternateBounds){b.alternateBounds.x=b.x;b.alternateBounds.y=b.y;var e=mxUtils.toRadians(c[…
1384e&&(c=b.alternateBounds.getCenterX()-b.getCenterX(),d=b.alternateBounds.getCenterY()-b.getCenterY(…
1385 ….length;c++){for(var d=this.model.getEdgeCount(a[c]),e=0;e<d;e++)b.push(this.model.getEdgeAt(a[c],
1386e=this.isCellCollapsed(a),d=d.clone();if(this.isSwimlane(a)){var f=this.getCellStyle(a),g=this.mod…
1387 c.width+8),e&&(d.width=c.width+8),d.height=c.height);this.model.setStyle(a,g)}else{var k=this.view.…
1388 Math.round((d.height-c.height)/2));d.width=c.width;d.height=c.height}if(!b&&!e){var n=this.view.get…
1389e=d.style;if(!this.model.isEdge(a)){var f=e[mxConstants.STYLE_FONTSIZE]||mxConstants.DEFAULT_FONTS…
1390e[mxConstants.STYLE_IMAGE_HEIGHT])||mxLabel.prototype.imageSize));var g=g+2*(e[mxConstants.STYLE_S…
1391e[mxConstants.STYLE_FONTFAMILY],b,e[mxConstants.STYLE_FONTSTYLE]),d=f.width+g,c=f.height+c,mxUtils…
1393 …{for(var e=0;e<a.length;e++)d.push(this.cellResized(a[e],b[e],!1,c)),this.isExtendParent(a[e])&&th…
1394e=this.model.getGeometry(a);if(null!=e&&(e.x!=b.x||e.y!=b.y||e.width!=b.width||e.height!=b.height)…
1395 …width?b.width/c.width:1,c=0!=c.height?b.height/c.height:1,e=this.model.getChildCount(a),f=0;f<e;f+…
1396e=this.model.getGeometry(a);if(null!=e){var f=this.getCurrentCellStyle(a),e=e.clone(),g=e.x,k=e.y,…
1397 e.height=m);this.model.isVertex(a)?this.cellResized(a,e,!0,d):this.model.setGeometry(a,e)}};mxGraph…
1398 mxGraph.prototype.importCells=function(a,b,c,d,e,f){return this.moveCells(a,b,c,!0,d,e,f)}; argument
1399 …totype.moveCells=function(a,b,c,d,e,f,g){b=null!=b?b:0;c=null!=c?c:0;d=null!=d?d:!1;if(null!=a&&(0… argument
1400e&&(e=this.getDefaultParent()));var t=this.isAllowNegativeCoordinates();null!=e&&this.setAllowNega…
1401 …mxEventObject(mxEvent.MOVE_CELLS,"cells",a,"dx",b,"dy",c,"clone",d,"target",e,"event",f))}finally{…
1402e,f){if(null!=a&&(0!=b||0!=c)){f=null!=f?f:!1;this.model.beginUpdate();try{d&&this.disconnectGraph… argument
1403 …is.model.isEdge(a)){var e=this.model.getParent(a),f=0;this.model.isVertex(e)&&(e=this.getCurrentCe…
1404 e=Math.cos(f),f=Math.sin(f),c=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,new mxPoint(0,0)),b=c.x,…
1405 …s.getDefaultParent()){var c=this.model.getGeometry(b);if(null!=c){var d=a=0,e=c.width,c=c.height;i…
1406 …xConstants.DIRECTION_SOUTH&&k)a=f.width,d=f.height;e-=f.width;c-=f.height}return new mxRectangle(a…
1407 …y(d);var e=this.getMaximumGraphBounds();null!=e&&(d=this.getBoundingBoxFromGeometry([d],!1),null!=…
1408e?e=d:(e=mxRectangle.fromRectangle(e),e.intersect(d))}if(null!=e){d=[a];if(!this.isCellCollapsed(a…
1409 e.y+e.height&&(g-=d.y+d.height-e.y-e.height-g);d.x<e.x&&(f-=d.x-e.x);d.y<e.y&&(g-=d.y-e.y);if(0!=f|…
1410e=0;e<d.length;e++){var f=this.view.getState(d[e]),g=null!=f?f.getVisibleTerminal(!0):this.view.ge…
1412e=c.width;c.width=c.height;c.height=e}var f=mxUtils.toRadians(b.shape.getShapeRotation());if(0!=f)…
1413 …||n);if(d==mxConstants.DIRECTION_NORTH||d==mxConstants.DIRECTION_SOUTH)e=m,m=n,n=e;m&&(f=-1,k=-c.w…
1415e=a.style[c?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y];null!=e&&(b=new mxPoint(parseFloat…
1416 mxConstants.STYLE_ENTRY_DY]),e=isFinite(e)?e:0,f=isFinite(f)?f:0);return new mxConnectionConstraint…
1420e=this.view.getPerimeterBounds(a),f=new mxPoint(e.getCenterX(),e.getCenterY()),g=a.style[mxConstan…
1421e.x+b.point.x*e.width+b.dx*d,e.y+b.point.y*e.height+b.dy*d),l=a.style[mxConstants.STYLE_ROTATION]|…
1422 …=2*e.getCenterX()-d.x);b&&(d.y=2*e.getCenterY()-d.y)}0!=l&&null!=d&&(a=mxUtils.toRadians(l),e=Math…
1423e=this.model.getTerminal(a,c);this.cellConnected(a,b,c,d);this.fireEvent(new mxEventObject(mxEvent…
1424 mxGraph.prototype.cellConnected=function(a,b,c,d){if(null!=a){this.model.beginUpdate();try{var e=th…
1425 c,"previous",e))}finally{this.model.endUpdate()}}};
1426e=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<a.length;e++)if(this.model.isEdge(a[e])){var f=this.mo…
1427e],null,!0))}var q=this.model.getTerminal(a[e],!1);if(null!=q&&this.isCellDisconnectable(a[e],q,!1…
1430 …;if(c){c=this.model.getChildCount(a);for(var e=0;e<c;e++){var f=this.getCellBounds(this.model.getC…
1431e=this.getCellGeometry(a[d]);if(null!=e){var f=null;if(this.model.isEdge(a[d])){f=function(a){null…
1432e[0].x,e[0].y,0,0),k=1;k<e.length;k++)f(e[k]);f=g}else k=this.model.getParent(a[d]),e.relative?thi…
1433e.offset.x,f.y+=e.offset.y),e=this.getCurrentCellStyle(a[d]),null!=f&&(e=mxUtils.getValue(e,mxCons…
1434e){var f=this.view.translate,g=this.view.scale;!c&&this.gridEnabled?(c=this.gridSize*g*.5,d||(d=b.… argument
1435 …r(var d=this.shiftPreview1.firstChild;null!=d;){var e=d.nextSibling;this.container.appendChild(d);…
1436 …tNode);for(d=this.shiftPreview2.firstChild;null!=d;)e=d.nextSibling,this.container.appendChild(d),…
1437 …w1,d=this.container.firstChild;null!=d;)e=d.nextSibling,d!=c.parentNode?f.appendChild(d):f=this.sh…
1440e=mxUtils.hasScrollbars(this.container),f=2*this.getBorder(),g=this.container.clientWidth-f,f=this…
1442 …Utils.hasScrollbars(this.container),b&&!d){var d=this.container.offsetWidth,e=this.container.offse…
1443e=e*-f;else f=(1/a-1)/(2*this.view.scale),d*=f,e*=f;this.view.scaleAndTranslate(c,this.view.transl…
1444 g)*this.view.scale+Math.round(l*a+e))}};
1447e=this.view.getState(a);null!=e&&(c=new mxRectangle(c+e.x,d+e.y,e.width,e.height),b&&null!=this.co…
1449e=Math.min(c,a.width),f=Math.min(d,a.height);if(mxUtils.hasScrollbars(this.container)){c=this.cont…
1450e&&(c.scrollTop+=e+2));this.useScrollbarsForPanning||0==d&&0==g||this.view.setTranslate(d,g)}else{…
1455 …null!=c){var d="";if(!this.multigraph){var e=this.model.getEdgesBetween(b,c,!0);if(1<e.length||1==
1456e=this.model.getDirectedEdgeCount(b,!0,a),f=this.model.getDirectedEdgeCount(c,!1,a);if(null!=this.…
1457 …ll!=b?b:{};for(var c=!0,d=this.model.getChildCount(a),e=0;e<d;e++){var f=this.model.getChildAt(a,e
1458 …minal(a,!1))||""):d+(this.getCellValidationError(a)||"");e=this.validateCell(a,b);null!=e&&(d+=e);…
1459 …r d="";if(null!=this.multiplicities)for(var e=0;e<this.multiplicities.length;e++){var f=this.multi…
1463e=null;null!=a&&(null==a.control||b!=a.control.node&&b.parentNode!=a.control.node||(e=this.collaps…
1464 e&&(e=this.getTooltipForCell(a.cell)));return e};mxGraph.prototype.getTooltipForCell=function(a){re…
1465e=parseInt(mxUtils.getValue(d,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));mxUtils.…
1467e=parseInt(mxUtils.getValue(d,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),d=this.g…
1495e=0;e<a.length;e++)if(this.isSwimlane(a[e]))return null;e=mxUtils.convertPoint(this.container,mxEv…
1497 …()));if(null!=c)for(var d=this.model.getChildCount(c),e=0;e<d;e++){var f=this.model.getChildAt(c,e
1498e,f){d=null!=d?d:!0;e=null!=e?e:!0;null==c&&(c=this.getCurrentRoot(),null==c&&(c=this.getModel().g… argument
1499e=d[0],f=1;f<d.length;f++){var g=d[f];if(mxUtils.ptSegDistSq(e.x,e.y,g.x,g.y,b,c)<=a)return!0;e=g}…
1500 …tSize(a);if(null!=d){var e=this.getView().getScale();b-=d.x;c-=d.y;if(0<a.width&&0<b&&b>a.width*e|…
1502 mxGraph.prototype.getEdges=function(a,b,c,d,e,f){c=null!=c?c:!0;d=null!=d?d:!0;e=null!=e?e:!0;f=nul… argument
1503 !1),(e&&l==n||l!=n&&(c&&n==a&&(null==b||this.isValidAncestor(l,b,f))||d&&l==a&&(null==b||this.isVal…
1504e=[],f=new mxDictionary;if(null!=a)for(var g=0;g<a.length;g++){var k=this.view.getState(a[g]),l=nu…
1505e=[],f=0;f<d.length;f++){var g=this.view.getState(d[f]),k=null!=g?g.getVisibleTerminal(!0):this.vi…
1506 …lientY(a)),d=this.view.scale,e=this.view.translate,f=0!=b?this.gridSize/2:0;c.x=this.snap(c.x/d-e.…
1507e,f,g,k,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… argument
1508e){var f=[];if(d||e)if(null==c&&(c=this.getDefaultParent()),null!=c)for(var g=this.model.getChildC… argument
1509 …ull!=c?c:!1;var d=[];if(null!=a){for(var e=this.getModel(),f=e.getChildCount(a),g=null,k=0,l=0;l<f…
1510e,f){if(null!=c&&null!=a&&(b=null!=b?b:!0,f=null!=f?f:!1,e=e||new mxDictionary,null==d||!e.get(d))… argument
1514e=0<d.cells.length?d.cells[0]:null;1<d.cells.length&&d.clear();var d=null!=e?this.model.getParent(
1516e=mxUtils.bind(this,function(c){return null!=this.view.getState(c)&&((d||0==this.model.getChildCou…
1523 …d=function(a,b,c){var d=mxEvent.isMouseEvent(b.getEvent()),e=!1;b.getEvent()==this.lastEvent?e=!0:…
1524 …ce,null,this.mouseMoveRedirect,this.mouseUpRedirect)):e=!0;this.isSyntheticEventIgnored(a,b,c)&&(e
1525e&&((!mxClient.IS_FF||a!=mxEvent.MOUSE_MOVE)&&this.isMouseDown&&this.isMouseTrigger!=d||a==mxEvent…
1527 …ame.toLowerCase():"",e=!mxEvent.isMouseEvent(b.getEvent())||mxEvent.isLeftMouseButton(b.getEvent()…
1532 …er.scrollTop)){var d=this.view.scale,e=this.view.translate;this.view.setTranslate(e.x-this.contain…
1533 (b.getEvent().returnValue=!0),e=0;e<this.mouseListeners.length;e++){var f=this.mouseListeners[e];a=…
1537 …(a,b,c,d,e,f){this.image=a;this.tooltip=b;this.align=null!=c?c:this.align;this.verticalAlign=null!… argument
1539 … b=a.view.graph.getModel().isEdge(a.cell),c=a.view.scale,d=this.image.width,e=this.image.height;if…
1540 …this.defaultOverlap-this.offset.x)*c),Math.round(b.y-(e*this.defaultOverlap-this.offset.y)*c),d*c,
1546e=1,f=mxUtils.bind(this,function(f){if(this.isEnabled()){b=new mxPoint(mxEvent.getClientX(f),mxEve…
1547 e;this.source.container.scrollTop=p.y-n*e/2+(b.y-this.border-q.top)*e}else p=this.source.view.trans…
1548e,this.source.container.scrollTop=d+(mxEvent.getClientY(a)-b.y)*e):this.source.panGraph((b.x-mxEve…
1558 function mxMultiplicity(a,b,c,d,e,f,g,k,l,m){this.source=a;this.type=b;this.attr=c;this.value=d;thi… argument
1560 …d,e,f){var g="";if(this.source&&this.checkTerminal(a,c,b)||!this.source&&this.checkTerminal(a,d,b)… argument
1561e=this.validNeighbors,f=0;f<e.length;f++)if(this.source&&this.checkType(a,d,e[f])){c=this.validNei…
1562 …plicity.prototype.checkType=function(a,b,c,d,e){return null!=b?isNaN(b.nodeType)?b==c:mxUtils.isNo… argument
1568 …is.getGraph().getModel(),e=0;e<a.length;e++){var f=this.getLayout(d.getParent(a[e]),mxEvent.MOVE_C…
1569 …raph().getModel(),e=0;e<a.length;e++){var f=this.getLayout(d.getParent(a[e]),mxEvent.RESIZE_CELLS)…
1571 …),d=0;d<c.getChildCount(a);d++){var e=c.getChildAt(a,d);this.hasLayout(e)&&(b.push(e),this.addDesc…
1572 …;c.beginUpdate();try{for(var d=null,e=0;e<a.length;e++)a[e]!=c.getRoot()&&a[e]!=d&&(this.executeLa…
1579e=null,f=0;f<d;f++){var g=b.getChildAt(c,f);if(g!=a&&!this.isSwimlaneIgnored(g)&&(e=b.getGeometry(…
1580e=new mxRectangle(0,0,d.width,d.height),f=a[c],g=f;null!=g;){var f=g,g=b.getParent(g),k=this.graph…
1581 e.height,l)}}}finally{b.endUpdate()}}};
1582e=this.getGraph().getModel();e.beginUpdate();try{var f=this.isCellHorizontal(a);if(!this.isSwimlan…
1584e,f){b=null!=b?b:1;this.view=a;this.oldValidateCellState=a.validateCellState;this.oldBounds=a.getG… argument
1587e){d=null!=d?d:!0;e=null!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f={point:new mxPoint(b,c),… argument
1589 …var e=d.getGeometry(a.cell);0==b&&0==c||null==e||e.relative&&null==this.deltas.get(a.cell)||(a.x+=…
1590e=this.graph.getModel();e.isEdge(a.cell)&&a.view.updateCellState(a);var f=this.graph.getCellGeomet…
1591e=a.view.getState(b.getEdgeAt(a.cell,d));null!=e&&this.moveState(e,0,0)}};function mxConnectionCon… argument
1606 …ellForEvent(c,b.getEvent());if(this.isMoveEnabled()){var d=this.graph.model,e=d.getGeometry(c);thi…
1607 null!=e.points&&0<e.points.length||null==d.getTerminal(c,!0)||null==d.getTerminal(c,!1)||this.graph…
1610 …isEdge(a[d])){var e=this.graph.view.getState(a[d]);if(null!=e){var f=e;c.isVertex(a[d])&&null!=e.s…
1613e=this.graph.model.getParent(a),f=2>this.graph.model.getChildCount(e),g=new mxDictionary;a=this.gr…
1614e))})}};mxGraphHandler.prototype.addStates=function(a,b){var c=this.graph.view.getState(a),d=0;if(…
1619e=c.tolerance;if(null!=this.shape||this.livePreviewActive||Math.abs(d.x)>e||Math.abs(d.y)>e){null=…
1620 …loning=e;c.isDropEnabled()&&this.highlightEnabled&&(l=c.getDropTarget(this.cells,b.getEvent(),g,e)…
1621 …l!=this.guide&&this.useGuidesForEvent(b)?(d=this.guide.move(this.bounds,d,f,e),k=!1):d=this.graph.…
1624e){var f=this.graph.view.getState(e.cell);f!=e&&(e.destroy(),null!=f?this.allCells.put(e.cell,f):t… argument
1625e.text.originalPointerEvents=e.text.pointerEvents),e.text.pointerEvents=!1)),this.graph.model.isVe…
1626e=0;e<c.length;e++){var f=c[e][0];if(this.graph.model.isEdge(f.cell)){var g=this.graph.getCellGeom…
1633e=c.getView().scale,f=this.roundLength(this.currentDx/e),e=this.roundLength(this.currentDy/e),g=th…
1635 …d){b=Math.cos(-d);var d=Math.sin(-d),e=new mxPoint(a.getCenterX(),a.getCenterY());c=mxUtils.getRot…
1636e,f){d&&(a=this.graph.getCloneableCells(a));var g=this.graph.getModel().getParent(this.cell);null=… argument
1637 …;null==m||k.get(m)||(k.put(m,!0),g.push(m))}}a=this.graph.moveCells(a,b,c,d,e,f);b=[];for(l=0;l<g.…
1642e=c.getProperty("event");b==mxEvent.MOUSE_DOWN&&this.isForcePanningEvent(e)&&(this.start(e),this.a…
1670e=a.remove(b[c]);null!=e&&(e.state!=d?(e.destroy(),e=null):this.isHandlerActive(e)||(null!=e.refre…
1671 …(e=this.handlers.get(b[c]),null==e?(e=this.graph.createHandler(d),this.fireEvent(new mxEventObject…
1672 …,d=b.startX,e=b.startY;b.destroy();b=this.graph.createHandler(a);null!=b&&(this.handlers.put(a.cel…
1678 …is.enabled=a};mxConnectionHandler.prototype.isInsertBefore=function(a,b,c,d,e){return this.insertB… argument
1688e=new mxImageShape(d,b.src,null,null,0);e.preserveImageAspect=!1;this.isMoveIconToFrontForState(a)…
1689 e.node.parentNode.firstChild));e.node.style.cursor=mxConstants.CURSOR_CONNECT;var f=mxUtils.bind(th…
1691e=b.getCenterY();if(this.graph.isSwimlane(b.cell)){var f=this.graph.getStartSize(b.cell),d=0!=f.wi…
1692 a.bounds.width/2,e-a.bounds.height/2)};mxConnectionHandler.prototype.destroyIcons=function(){if(nul…
1696e=document.documentElement,f=this.currentPoint.x-this.graph.container.scrollLeft+b.x-((window.page…
1705e=c.translate,c=new mxPoint(b.getGraphX(),b.getGraphY());this.error=null;this.graph.isGridEnabledE…
1707 …nterY()-c.y)?c.x=this.previous.getCenterX():c.y=this.previous.getCenterY());e=this.first;if(null!=…
1708 …,f),d=this.edgeState.absolutePoints[this.edgeState.absolutePoints.length-1],e=this.edgeState.absol…
1709 …oints.length?this.waypoints[0]:d,b),null!=g&&(e=g)));if(null==this.currentState&&this.movePreviewA…
1710 …&&(null!=this.edgeState?this.shape.points=this.edgeState.absolutePoints:(c=[e],null!=this.waypoint…
1712 …is.icons){c=!1;d=b.getSource();for(e=0;e<this.icons.length&&!c;e++)c=d==this.icons[e].node||d.pare…
1714 …l;if(null!=this.waypoints)for(var c=[],d=0;d<this.waypoints.length;d++){var e=this.waypoints[d].cl…
1715 this.convertWaypoint(e);c[d]=e}this.graph.view.updatePoints(this.edgeState,c,this.previous,this.cur…
1716e=d.getPerimeterFunction(a);if(null!=e){var f=null!=this.waypoints&&0<this.waypoints.length?this.w…
1717e=d.getPerimeterFunction(a),f=new mxPoint(a.getCenterX(),a.getCenterY());if(null!=e){var g=mxUtils…
1721 …turn}var c=this.sourceConstraint,d=this.constraintHandler.currentConstraint,e=null!=this.previous?…
1722e&&null!=f&&e==f&&!this.checkConstraints(c,d)?(null!=this.previous&&null!=this.marker.validState&&…
1726e=this.graph.getModel(),f=!1,g=null;e.beginUpdate();try{if(null!=a&&null==b&&!this.graph.isIgnoreT…
1727e.getParent(a)==e.getParent(b)&&e.getParent(e.getParent(a))!=e.getRoot()&&(m=e.getParent(a),null!=…
1728e.setGeometry(g,this.edgeState.cell.geometry);m=e.getParent(a);if(this.isInsertBefore(g,a,b,c,d)){…
1730 …terminalInserted",f))}}catch(x){mxLog.show(),mxLog.debug(x.message)}finally{e.endUpdate()}this.sel…
1731 …(a,b,c,d,e,f){if(null==this.factoryMethod)return this.graph.insertEdge(a,b,c,d,e,f);b=this.createE… argument
1732 …d);if(null!=c){var e=this.graph.view.translate,f=this.graph.view.scale,g=new mxPoint(this.currentP…
1733 …te(b);if(null!=k){var l=k.x/f-e.x,e=k.y/f-e.y;Math.abs(l-c.x)<=g&&(c.x=Math.round(l));Math.abs(e-c…
1734e=null;null!=this.factoryMethod&&(e=this.factoryMethod(b,c,d));null==e&&(e=new mxCell(a||""),e.set…
1743e=this.getTolerance(a),f=null!=d?d.x:a.getGraphX(),g=null!=d?d.y:a.getGraphY(),f=new mxRectangle(f…
1744e)||k==this.currentFocus||(this.currentFocus=this.currentFocusArea=null,this.setFocus(a,k,b));a=th…
1745 p=l-this.focusIcons[m].bounds.getCenterY(),n=n*n+p*p;if((this.intersects(this.focusIcons[m],e,b,c)|…
1750e=this.getImageForConstraint(b,this.constraints[c],d),f=e.src,e=new mxRectangle(Math.round(d.x-e.w…
1751 …ild);e=mxUtils.bind(this,function(){return null!=this.currentFocus?this.currentFocus:b});f.redraw(…
1754e=c.getProperty("event");if(b==mxEvent.MOUSE_DOWN&&this.isForceRubberbandEvent(e)){var b=mxUtils.g…
1759 …ar d=b.getX()+c.x,c=b.getY()+c.y,e=this.first.x-d,f=this.first.y-c,g=this.graph.tolerance;if(null!…
1808 …xConstants.STYLE_ROTATION]||"0"),d=new mxPoint(a.getGraphX(),a.getGraphY()),e=this.graph.view.tran…
1809 …&&(k=mxRectangle.fromRectangle(k),k.x-=(this.parentState.x-e.x*f)/f,k.y-=(this.parentState.y-e.y*f…
1811 …l!=this.parentState?this.parentState.x:e.x*f)+this.unscaledBounds.x*f,(null!=this.parentState?this…
1812 …k*m-l;c=k*l+g*m-m;l=this.bounds.x-this.state.x;m=this.bounds.y-this.state.y;e=g*l-k*m;g=k*l+g*m;th…
1813 …ldOffsetY=this.childOffsetX=0:(this.childOffsetX=this.state.x-this.bounds.x+e,this.childOffsetY=th…
1818 …nUpdate();try{if(d<=mxEvent.CUSTOM_HANDLE){if(null!=this.customHandles){var e=this.state.view.grap…
1819 …ndles&&null!=this.customHandles[mxEvent.CUSTOM_HANDLE-d]&&(this.state.style=e,this.customHandles[m…
1821e=(this.graph.getCurrentCellStyle(a)[mxConstants.STYLE_ROTATION]||0)+b;this.graph.setCellStyles(mx…
1822 d.getChildCount(a),e=0;e<c;e++)this.rotateCell(d.getChildAt(a,e),b,a)}}}};
1826 mxVertexHandler.prototype.resizeCell=function(a,b,c,d,e,f,g){b=this.graph.model.getGeometry(a);null… argument
1827 ….moveChildren=function(a,b,c){for(var d=this.graph.getModel(),e=d.getChildCount(a),f=0;f<e;f++){va…
1828e,f,g,k,l){e=null!=e?e&&this.graph.gridEnabled:this.graph.gridEnabled;if(this.singleSizer)return d… argument
1829e?this.graph.snap(p/f)*f:Math.round(p/f)*f;else if(2==d||4==d||7==d)q+=b,q=e?this.graph.snap(q/f)*…
1834 …s.singleSizer)this.moveSizerTo(this.sizers[0],b,c);else{var d=a.x+a.width/2,e=a.y+a.height/2;if(8<…
1836 …n.y=e;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[3],n.x,n.y);this.sizers[3].s…
1837 …tCursor(f[mxUtils.mod(4+g,f.length)]);n.x=d+this.state.absoluteOffset.x;n.y=e+this.state.absoluteO…
1838 ….state.height?this.moveSizerTo(this.sizers[0],d+this.state.absoluteOffset.x,e+this.state.absoluteO…
1858 …Connectable(c)){var e=this.graph.getModel().getParent(c);this.graph.getModel().isVertex(e)&&this.g…
1859 …ectableCell(c)||c==b.state.cell||null!=c&&!b.graph.connectableEdges&&e.isEdge(c)||e.isAncestor(b.s…
1861e=0==c||d;(e||this.graph.isCellBendable(a))&&mxUtils.bind(this,function(a){var d=this.createHandle…
1862 b.push(d);e||(this.points.push(new mxPoint(0,0)),d.node.style.visibility="hidden")})(c)}return b};m…
1867e&&mxUtils.intersects(b.bounds,e))){var c=a.getGraphX()-b.bounds.getCenterX();b=a.getGraphY()-b.bo…
1875e=this.getSnapToTerminalTolerance(),f=!1,g=!1;if(0<e&&this.isSnapToTerminalsEvent(a)){var k=functi…
1880 …s.state.cell),c=null!=c.points?c.points.slice():null,d=new mxPoint(a.x,a.y),e=null;if(this.isSourc…
1881 …splice(mxEvent.VIRTUAL_HANDLE-this.index,1):c.splice(this.index-1,1),e=c)}if(null==e&&this.straigh…
1882 …].y,a.x,a.y)<f&&(c.splice(l-1,1),e=c)}}null==e&&this.index>mxEvent.VIRTUAL_HANDLE&&(c[this.index-1…
1883e=document.documentElement,f=this.currentPoint.x-this.graph.container.scrollLeft+b.x-((window.page…
1885e){var f=this.isSource?c:this.state.getVisibleTerminalState(!0),g=this.isTarget?c:this.state.getVi… argument
1886 …ll!=this.constraintHandler.currentFocus?(this.marker.highlight.shape.stroke=e?mxConstants.OUTLINE_…
1893e=this.clonePreviewState(this.currentPoint,null!=c?c.cell:null);this.updatePreviewState(e,this.cur…
1895 ….index;this.index=null;if(b.getX()!=this.startX||b.getY()!=this.startY){var e=!this.graph.isIgnore…
1897e){var k=f.getGeometry(c),e=this.graph.cloneCell(c);f.add(g,e,f.getChildCount(g));null!=k&&(k=k.cl…
1898 c=e}c=this.connect(c,d,this.isSource,e,b)}finally{f.endUpdate()}}else this.graph.isAllowDanglingEdg…
1899 c=this.changeTerminalPoint(c,f,this.isSource,e));else this.active?c=this.changePoints(c,this.points…
1903e=d.getGeometry(a.cell);if(null!=e){var f=this.graph.getView().scale,e=e.clone();if(e.relative){va…
1904 …round((c-(g.y+(k.y-g.y)/2))/f)),e.x=0,e.y=0)}d.setGeometry(a.cell,e)}};mxEdgeHandler.prototype.con… argument
1905e=this.graph.getModel();e.beginUpdate();try{if(d){var f=e.getParent(a),g=e.getTerminal(a,!c);a=thi…
1906 …te();try{if(c){var e=d.getParent(a),f=d.getTerminal(a,!0),g=d.getTerminal(a,!1);a=this.graph.clone…
1908e=this.graph.view.translate;c=this.graph.view.scale;var e=new mxPoint(e.x*c,e.y*c),f=this.graph.mo…
1913e=a.y,b=this.bends[0].bounds;this.bends[0].bounds=new mxRectangle(Math.floor(d-b.width/2),Math.flo…
1918e=this.abspoints[c].y,f=this.bends[c].bounds;this.bends[c].node.style.visibility="visible";this.be…
1919 …LE_SIZE+3,this.bends[c].bounds=new mxRectangle(Math.round(d-w/2),Math.round(e-h/2),w,h));this.bend…
1931 …ranslate(),e=this.state.origin;b&&(a.x=this.graph.snap(a.x),a.y=this.graph.snap(a.y));a.x=Math.rou…
1932e=null;1<d.length?(a=d[1],b=d[d.length-2]):null!=c.points&&0<c.points.length&&(e=d[0]);e=null==e?n…
1933e.x-c/2),Math.round(e.y-d/2),c,d);this.manageLabelHandle?this.checkLabelHandle(c):null==this.handl…
1936e=1;e<b.length;e++){var f=this.convertPoint(b[e].clone(),!1);e==this.index&&(0==Math.round(c.x-f.x…
1937 …s.state.view.getTranslate(),e=d[0].x*f+g.x,f=d[0].y*f+g.y;if(null!=b&&mxUtils.contains(b,e,f)||nul…
1938 …){b=this.convertPoint(b.clone(),!1);for(var e=a.absolutePoints,f=e[0],g=e[1],k=[],l=2;l<e.length;l…
1939e[0].x-e[e.length-1].x)||0==Math.round(e[0].y-e[e.length-1].y)))k=[b,b];else if(5==e.length&&2==k.…
1940 …ctionPoint(g,l),null!=n&&(this.convertPoint(n,!1),k=n.y);k=[new mxPoint(b.x,e),new mxPoint(b.x,k)]…
1941 mxEdgeSegmentHandler.prototype.connect=function(a,b,c,d,e){var f=this.graph.getModel(),g=f.getGeome… argument
1943 ….push(b);var e=0==Math.round(c[d].x-c[d+1].x);0==Math.round(c[d].y-c[d+1].y)&&d<c.length-2&&(e=0==…
1945e=c[0].x+(c[c.length-1].x-c[0].x)/2;c[1]=new mxPoint(e,c[1].y);c[2]=new mxPoint(e,c[2].y)}else e=c…
1946e++)if(null!=this.bends[e+1]){a=c[e];b=c[e+1];var f=new mxPoint(a.x+(b.x-a.x)/2,a.y+(b.y-a.y)/2),g…
1957 …&(null==this.div||"hidden"==this.div.style.visibility)){var d=a.getSource(),e=a.getX(),f=a.getY(),…
1958 this.graph.getTooltip(c,d,e,f);this.show(a,e,f);this.state=c;this.node=d;this.stateSource=g}}),this…
1978 …];this.mapping=null!=d?d:[];this.reverse={};for(var e in this.mapping)this.reverse[this.mapping[e]…
1980 …d(b));for(var d in b){var e=d,f=b[e];null==f||this.isExcluded(b,e,f,!0)||(mxUtils.isInteger(e)&&(e
1981e){if(null!=d){if(this.isReference(b,c,d,!0)){var f=a.getId(d);if(null==f){mxLog.warn("mxObjectCod… argument
1982e){d=this.convertAttributeToXml(a,b,c,d,e);null==c?(b=a.document.createElement("add"),"function"==… argument
1983 …ototype.writeComplexAttribute=function(a,b,c,d,e){a=a.encode(d);null!=a?(null!=c&&a.setAttribute("… argument
1985e=a.objects[d];null==e&&(e=c||this.cloneTemplate(),null!=d&&a.putObject(d,e));b=this.beforeDecode(…
1987 …b.nodeName;b=this.convertAttributeFromXml(a,b,c);var e=this.getFieldName(d);if(this.isReference(c,
1989e=this.getFieldTemplate(c,d,b);"add"==b.nodeName?(a=b.getAttribute("value"),null==a&&mxObjectCodec…
1990 …try{var d=mxUtils.load(b).getDocumentElement();null!=d&&a.decode(d,c)}catch(e){}return!0}return!1}…
1992 …s,arguments)};a.isExcluded=function(a,c,d,e){return mxObjectCodec.prototype.isExcluded.apply(this,… argument
1998e){return"child"!=c||e&&!a.model.contains(a.previous)?0<=mxUtils.indexOf(this.idrefs,c):!0};a.isEx… argument
2007 …lement(this.getName()),e;for(e in c.styles){var f=c.styles[e],g=a.document.createElement("add");if…
2024 ….floor(a),e=c*(1-b);a=c*(1-b*(d%2?a-d:1-(a-d)));switch(d){case 6:case 0:return[c,a,e];case 1:retur…
2025 a,c];case 4:return[a,e,c];case 5:return[c,e,a]}}function d(b,c){if(!mxJSColor.picker){mxJSColor.pic…
2028 …lor.fireEvent(u,"change"))};l.sldM.onmousedown=function(a){B=!0;n(a);p()};d=e(r);l.box.style.width…
2034 …ner=r;document.getElementsByTagName("body")[0].appendChild(l.boxB)}function e(a){return[2*a.picker… function
2036e,f=[r.hsv[2],0,0],d=Math.floor(r.hsv[0]),g=d%2?r.hsv[0]-d:1-(r.hsv[0]-d);switch(d){case 6:case 0:…
2040 …,mxJSColor.getElementSize(a),mxJSColor.getViewPos(),mxJSColor.getViewSize(),e(this),this.pickerPos…
2042 …]?"#FFF":"#000");a&C||!k()||f();a&v||!k()||g()};this.fromHSV=function(a,b,d,e){0>a&&(a=0);6<a&&(a=… argument
2043e)};this.fromRGB=function(a,b,c,d){0>a&&(a=0);1<a&&(a=1);0>b&&(b=0);1<b&&(b=1);0>c&&(c=0);1<c&&(c=…
2047 …ditor=function(a,b,d,e,c){mxEventSource.call(this);this.chromeless=null!=a?a:this.chromeless;this.… argument
2084e=null,c=mxUtils.bind(this,function(b){"ready"==b.data&&b.source==e&&(mxEvent.removeListener(windo…
2085 …,a);d.transparentBackground=!1;var e=d.isCssTransformsSupported,c=this;d.isCssTransformsSupported=…
2097 …s,function(a){return!(a instanceof mxChildChange)});if(0<c.length){a.getModel();for(var e=[],h=0;h<
2098 c.length;h++)null!=a.view.getState(c[h])&&e.push(c[h]);a.setSelectionCells(e)}};b.addListener(mxEve…
2100e,c,f,k,h,g,l,m){var n=g?57:0,p=d,q=e,u=g?0:64,v=Editor.inlineFullscreen||null==a.embedViewport?mx… argument
2102 …TransDialog":"geDialog");c=this.getPosition(w,x,d,e);w=c.x;x=c.y;z.style.width=d+"px";z.style.heig…
2104e=c.h)}c=mxUtils.getDocumentSize();t=c.height;this.bg.style.height=t+"px";Editor.inlineFullscreen|…
2110 var ErrorDialog=function(a,b,d,e,c,f,k,h,g,l,m){g=null!=g?g:!0;var n=document.createElement("div");… argument
2111 …){null!=m&&m()}),l.className="geBtn",d.appendChild(l));var q=mxUtils.button(e,function(){g&&a.hide…
2112 …ndChild(q);null!=k&&(e=mxUtils.button(k,function(){g&&a.hideDialog();null!=h&&h()}),e.className="g…
2113e=d.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,f=1/d.pageScale;if(b){var g=h.checked?1:parseI…
2114e,0,g,k,b);b.open();a&&PrintDialog.printPreview(b)}var d=a.editor.graph,e,c,f=document.createEleme…
2115 ….addListener(h,"change",function(){l.checked=!h.checked});e.appendChild(c);k.appendChild(e);e=e.cl…
2116e.appendChild(c);var m=document.createElement("input");m.setAttribute("value","1");m.setAttribute(…
2117e=e.cloneNode(!1);c=document.createElement("td");mxUtils.write(c,mxResources.get("pageScale")+":")…
2119 c.appendChild(g);e.appendChild(c);k.appendChild(e);f.appendChild(k);this.container=f};PrintDialog.p…
2120 PrintDialog.createPrintPreview=function(a,b,d,e,c,f,k){b=new mxPrintPreview(a,b,d,e,c,f);b.title=mx… argument
2122 …),q.style.display=""):(q.removeAttribute("src"),q.style.display="none")}var e=a.editor.graph,c,f,k…
2123 …ontSize="10pt";var g=PageSetupDialog.addPageFormatPanel(f,"pagesetupdialog",e.pageFormat);c.append…
2124 …eat";mxClient.IS_FF&&(l.style.position="relative",l.style.top="-6px");var m=e.background;b();mxEve…
2125 …px";n.value=e.getGridSize();f.appendChild(n);mxEvent.addListener(n,"change",function(){var a=parse…
2127 "60px";q.style.padding="4px";var u=e.backgroundImage,v=function(b){a.showBackgroundImageDialog(func…
2128e.gridSize===b||e.setGridSize(b);b=new ChangePageSetup(a,m,u,g.get());b.ignoreColor=e.background==…
2130 PageSetupDialog.addPageFormatPanel=function(a,b,d,e){function c(a,b,c){if(c||n!=document.activeElem… argument
2136 …c.height,c.width));b&&x||c.width==z.width&&c.height==z.height||(z=c,null!=e&&e(z))};mxEvent.addLis…
2141 var FilenameDialog=function(a,b,d,e,c,f,k,h,g,l,m,n){g=null!=g?g:!0;var p,q,u=document.createElemen… argument
2142 …;var w=mxUtils.button(d,function(){if(null==f||f(t.value))g&&a.hideDialog(),e(t.value)});w.classNa…
2148e=document.createElement("img");e.style.backgroundPosition="center bottom";e.style.backgroundRepea…
2149e.setAttribute("title",mxResources.get(d[a].title));break}};mxEvent.addListener(b,"keyup",c);mxEve…
2150 c();return e};
2151e=document.createElement("select");for(a=0;a<d.length;a++){var c=document.createElement("option");…
2152 …l.length-1)=="."+l){c=f;break}}e.value=c};mxEvent.addListener(b,"change",a);mxEvent.addListener(b,…
2156e="";if(a.isGridEnabled()||a.gridVisible){e=10;mxClient.IS_SVG?(d=unescape(encodeURIComponent(this…
2157e=-Math.round(e-mxUtils.mod(this.translate.x*this.scale-c,e))+"px "+-Math.round(e-mxUtils.mod(this…
2158e,c.style.backgroundColor=b,c.style.backgroundImage=d)};mxGraphView.prototype.createSvgGrid=functi…
2160e=this.gridSize*this.view.scale*this.view.gridSteps,e=-Math.round(e-mxUtils.mod(this.view.translat…
2161 b=k.width;c=k.height;var h=new mxRectangle(d*e.x,d*e.y,f.width*g,f.height*g),v=(a=a&&Math.min(h.wid…
2163e=0;e<c.length;e++){if(this.graph.isTableCell(c[e])||this.graph.isTableRow(c[e]))return!1;if(this.…
2165 e=this.graph.pageScale,f=d.width*e,d=d.height*e,e=Math.floor(Math.min(0,b)/f),p=Math.floor(Math.min…
2166 …=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(a,b,d,e,f,n){var g=c.apply(t… argument
2167e=this.graph.model.getParent(a);if(b)d=this.graph.model.isEdge(a)?null:this.graph.getCellGeometry(…
2168e);return d};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(a){a=a.getCell();for(var b… method
2169 …or.chromeless&&!this.editor.editable&&(this.footerHeight=0,e.isEnabled=function(){return!1},e.pann…
2170 this.menus=this.createMenus();if(!e.standalone){var f="rounded shadow glass dashed dashPattern labe…
2171e.view.getState(a);if(null!=b){var c=a.clone();c.style="";var d=e.getCellStyle(c);a=[];var c=[],f;…
2172e.getModel().isEdge(b.cell)?e.currentEdgeStyle={}:e.currentVertexStyle={};this.fireEvent(new mxEve…
2174 …function(a,b,c,d,g,k,l){d=null!=d?d:e.currentVertexStyle;g=null!=g?g:e.currentEdgeStyle;k=null!=k?…
2176 e.addListener("cellsInserted",function(a,b){n(b.getProperty("cells"),null,null,null,null,!0,!0)});e
2178e.panningHandler.usePopupTrigger=!1;e.init(this.diagramContainer);mxClient.IS_SVG&&null!=e.view.ge…
2179 e.graphHandler.start;e.graphHandler.start=function(){null!=y.hoverIcons&&y.hoverIcons.reset();q.app…
2180e.isEditing()?mxEvent.isConsumed(a)||27!=a.keyCode||this.hideDialog(null,!0):(u=!0,this.hoverIcons…
2181e.panningHandler.isForcePanningEvent;e.panningHandler.isForcePanningEvent=function(a){return t.app… method
2182e.isZoomWheelEvent;e.isZoomWheelEvent=function(){return u||x.apply(this,arguments)};var z=!1,E=nul… method
2183e.cellEditor.isContentEditing();E=a;H=c;C=b}}),y=this,I=e.cellEditor.startEditing;e.cellEditor.sta… method
2184e.cellEditor.textarea,"input",b);mxEvent.addListener(e.cellEditor.textarea,"touchend",b);mxEvent.a…
2185 e.container.setAttribute("tabindex","0");e.container.style.cursor="default";if(window.self===window…
2186e.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=funct…
2187e.getModel().isVertex(c[m])||d,!(h=e.getModel().isEdge(c[m])||h)||!d);m++);else h=d=!0;for(var c=b…
2188 e.currentVertexStyle[c[m]]=n[m]);else if(0<=mxUtils.indexOf(f,c[m])){if(d||p)null==n[m]?delete e.cu…
2189e.currentEdgeStyle.edgeStyle&&"1"==e.currentEdgeStyle.curved?"geSprite geSprite-curved":"straight"…
2190 e.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==e.currentEdgeStyle.elbow?"verticalis…
2191e.currentEdgeStyle.shape,e.currentEdgeStyle[mxConstants.STYLE_STARTARROW],mxUtils.getValue(e.curre…
2192e.currentVertexStyle.fontFamily||"Helvetica",b=String(e.currentVertexStyle.fontSize||"12"),c=e.get…
2193 …ells"),d=b.getProperty("parent");null!=d&&e.getModel().isLayer(d)&&!e.isCellVisible(d)&&null!=c&&0…
2195e.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,functio…
2201e=a.popupMenuHandler.isMenuShowing;a.popupMenuHandler.isMenuShowing=function(){return e.apply(this… argument
2202 …s)};var k=this.hoverIcons.execute;this.hoverIcons.execute=function(c,d,e){var f=e.getEvent();this.… argument
2203e.consume();null!=h&&a.model.isVertex(h)&&null!=f&&f.relative;)cell=h,h=a.model.getParent(cell),f=…
2204e=d.getProperty("direction"),f=d.getProperty("event"),c=c.getBoundingClientRect(),g=mxUtils.getOff… argument
2205 …){a.selectCellsForConnectVertex(b)},f,this.hoverIcons)}),e,!0);this.centerShapePicker(l,c,k,g,e);m…
2206e,c){if(c==mxConstants.DIRECTION_EAST||c==mxConstants.DIRECTION_WEST)a.style.width="40px";var f=a.… argument
2207e,c,f){a=this.createShapePicker(a,b,d,e,c,mxUtils.bind(this,function(){this.hideShapePicker()}),th… argument
2208 EditorUi.prototype.createShapePicker=function(a,b,d,e,c,f,k,h){var g=null;if(null!=k&&0<k.length){v… argument
2210 …ht);mxEvent.addListener(d,"click",function(){var d=m.cloneCell(c);if(null!=e)e(d);else{d.geometry.…
2220e){return"flexArrow"==b?null!=d&&d!=mxConstants.NONE?"geSprite geSprite-"+a+"blocktrans":"geSprite… argument
2221e?"geSprite geSprite-"+a+"block":"geSprite geSprite-"+a+"blocktrans":d==mxConstants.ARROW_BLOCK_TH…
2222e?"geSprite geSprite-"+a+"thindiamond":"geSprite geSprite-"+a+"thindiamondtrans":"openAsync"==d?"g…
2225 …getSelectionCells(),c=b.getExportableCells(b.model.getTopmostCells(c)),d={},e=b.createCellLookup(c…
2226e[mxObjectIdentity.get(m.getParent(c[p]))]&&(u.offset=null,u.relative=!1,u.x=q.x/q.view.scale-q.vi…
2227 …tionStates();return c};var e=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEdito…
2230 …ssResize=b=mxUtils.bind(this,function(b,c,d,e){if(null!=a.container&&!a.isViewer()){d=null!=d?d:0; argument
2232e)f=a.view.translate,a.view.setTranslate(Math.floor(f.x+d/h),Math.floor(f.y+e/h))}});this.chromele…
2250 ….container)){var b=this.getPageLayout(),c=this.getPagePadding(),d=this.getPageSize(),e=Math.ceil(2*
2251e||g.height!=f)a.minimumGraphSize=new mxRectangle(0,0,e,f);e=c.x-b.x*d.width;c=c.y-b.y*d.height;th…
2254 e=mxUtils.getOffset(a.container),f=a.view.scale,g=0,k=0;null!=I&&(g=a.container.offsetWidth/2-I.x+e
2255 …d.wheelZoomDelay:d.lazyZoomDelay)},0)},P=Date.now();a.lazyZoom=function(b,c,e){(c=c||!a.scrollbars… argument
2259e)}};mxEvent.addGestureListeners(a.container,function(a){null!=y&&window.clearTimeout(y)},null,fun… argument
2260e=40/a.view.scale,mxEvent.isShiftDown(b)?a.view.setTranslate(d.x+(c?-e:e),d.y):a.view.setTranslate…
2265 …ilename(b),this.updateDocumentTitle())}catch(e){mxUtils.alert(mxResources.get("invalidOrMissingFil…
2266e){this.editor.graph.popupMenuHandler.hideMenu();var c=new mxPopupMenu(a);c.div.className+=" geMen… argument
2273 …ds():a.getGraphBounds()),d=a.view.translate,e=a.view.scale;b.x=b.x/e-d.x;b.y=b.y/e-d.y;b.width/=e;…
2274e=0,c=0;d&&(e=b.view.translate.x*b.view.scale-b.container.scrollLeft,c=b.view.translate.y*b.view.s…
2276 …angePageSetup(a,b,d,e,c){this.ui=a;this.previousColor=this.color=b;this.previousImage=this.image=d… argument
2279e){e.previousColor=e.color;e.previousImage=e.image;e.previousFormat=e.format;e.previousPageScale=e
2283e=mxUtils.bind(this,function(){a.setEnabled(this.canUndo());b.setEnabled(this.canRedo())});d.addLi…
2284 this.editor.graph.cellEditor.stopEditing=function(a,b){f.apply(this,arguments);e()};e()};
2285e=!1,c=!1,f=[],k=a.getSelectionCells();if(null!=k)for(var h=0;h<k.length;h++){var g=k[h];a.isCellE…
2287e);this.actions.get("rotation").setEnabled(b);this.actions.get("wordWrap").setEnabled(b);this.acti…
2291 …t.clientHeight);var e=0;mxClient.IS_IOS&&!window.navigator.standalone&&window.innerHeight!=documen…
2292 …b+=1);var f=0;if(null!=this.sidebarFooterContainer){var k=this.footerHeight+e,f=Math.max(0,Math.mi…
2294e+"px";this.hsplit.style.left=c+"px";this.footerContainer.style.display=0==this.footerHeight?"none…
2295e+"px";this.formatContainer.style.bottom=this.footerHeight+e+"px";"1"!=urlParams.embedInline&&(thi…
2304 …ddSplitHandler=function(a,b,d,e){function c(a){if(null!=k){var c=new mxPoint(mxEvent.getClientX(a)… argument
2305 …(this,function(a){if(!g&&this.hsplitClickEnabled){var b=null!=l?l-d:0;l=m();e(b);mxEvent.consume(a…
2306e,c){a=null!=a&&null!=a.error?a.error:a;if(null!=a||null!=b){c=mxUtils.htmlEntities(mxResources.ge… argument
2307e,c,f,k,h,g,l,m,n,p){a=new ErrorDialog(this,a,b,d||mxResources.get("ok"),e,c,f,k,n,h,g);b=Math.cei… argument
2309e=[],c=0;c<b.length;c++){var f=a.isTableCell(b[c])?a.model.getParent(b[c]):b[c];null==f||d.get(f)|…
2310e=d.cellEditor.saveSelection(),c=230+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+M…
2312 …a.indexOf("&lt;mxGraphModel ");if(0<=d){var e=a.lastIndexOf("&lt;/mxGraphModel&gt;");e>d&&(b=a.sub…
2314 …Utils.trim(null==c.innerText?mxUtils.getTextContent(c):c.innerText);try{var e=d.lastIndexOf("%3E");
2315 0<=e&&e<d.length-3&&(d=d.substring(0,e+3))}catch(m){}try{var g=c.getElementsByTagName("span"),l=nul…
2325e=this.editor.graph;if(e.isEnabled()){e.getModel().beginUpdate();try{a()}catch(c){throw c;}finally…
2326 …type.showImageDialog=function(a,b,d,e){e=this.editor.graph.cellEditor;var c=e.saveSelection(),f=mx… argument
2331e.isSelectionEmpty()&&e.isEnabled())if(b=null!=b?b:1,c){e.getModel().beginUpdate();try{var d=e.get…
2332 e.getSelectionCell(),f=e.model.getParent(d),g=e.getView().scale;c=null;1==e.getSelectionCount()&&e.…
2333 …h.moveCells(h.cells,a,b);h.reset()}},400))}}}var d=this,e=this.editor.graph,c=new mxKeyHandler(e),…
2335e.isEnabled()){if(mxEvent.isShiftDown(a)&&mxEvent.isAltDown(a)){var c=d.actions.get(d.altShiftActi…
2336e.defaultEdgeLength,a,!0);null!=b&&0<b.length&&(1==b.length&&e.model.isEdge(b[0])?e.setSelectionCe…
2337e){var f=this.actions.get(d);null!=f&&(d=function(){f.isEnabled()&&f.funct()},b?e?c.bindControlShi… argument
2338 …able)c.bindControlKey(36,function(){e.isEnabled()&&e.foldCells(!0)}),c.bindControlKey(35,function(…
2341 …ript"),c.bindAction(13,!1,"keyPressEnter"),c.bindKey(113,function(){e.isEnabled()&&e.startEditingA…
2360 Sidebar.prototype.createTooltip=function(a,b,d,e,c,f,k,h,g,l,m){m=null!=m?m:!0;this.tooltipMouseDow… argument
2363 …!h&&(d>this.maxTooltipWidth||e>this.maxTooltipHeight)?Math.round(100*Math.min(this.maxTooltipWidth…
2364 …=f;m=this.graph2.getGraphBounds();h&&0<d&&0<e&&(m.width>d||m.height>e)?(d=Math.round(100*Math.min(…
2365 …Pane().ownerSVGElement.style.transform="");d=m.width+2*this.tooltipBorder+4;e=m.height+2*this.tool…
2367e+=c,mxClient.IS_SVG?this.tooltipTitle.style.marginTop=2-c+"px":(e-=6,this.tooltipTitle.style.top=
2369e,c,f){if(this.enableTooltips&&this.showTooltips&&this.currentElt!=a){null!=this.thread&&(window.c… argument
2370 …ataEntry=function(a,b,d,e,c){return this.addEntry(a,mxUtils.bind(this,function(){return this.creat… argument
2373e=[],c={},f=0;f<d.length;f++){null==c[d[f]]&&(c[d[f]]=!0,e.push(d[f]));var k=d[f].replace(/\.*\d*$…
2375e,c){if(null!=this.taglist&&null!=a){var f=a.toLowerCase().split(" ");c=new mxDictionary;var k=(d+… argument
2376 …a){if(null!=a){a=a.split(" ");for(var b=[],d={},e=0;e<a.length;e++)null==d[a[e]]&&(d[a[e]]="1",b.p…
2377 …a||(d.style.display="none");var e=document.createElement("div");e.style.whiteSpace="nowrap";e.styl…
2378 e.style.cursor="default";var c=document.createElement("input");c.setAttribute("placeholder",mxResou…
2379 …nd="url('"+this.editorUi.editor.transparentImage+"')";var k;e.appendChild(f);d.appendChild(e);var …
2380 ….currentSearch=null;for(var a=d.firstChild;null!=a;){var b=a.nextSibling;a!=e&&a!=h&&a.parentNode.…
2381 …mxUtils.bind(this,function(b,c,e,f){if(this.currentSearch==a){b=null!=b?b:[];m=!1;p++;this.insertS… argument
2383 e?(g.removeAttribute("disabled"),g.innerHTML=mxResources.get("moreResults")):(g.innerHTML=mxResourc…
2386 Sidebar.prototype.insertSearchHint=function(a,b,d,e,c,f,k,h){0==c.length&&1==e&&(d=document.createE… argument
2387e=new mxCell("List Item",new mxGeometry(0,0,80,30),"text;strokeColor=none;fillColor=none;align=lef…
2396e,"Item 1"));a.insert(b.cloneCell(e,"Item 2"));a.insert(b.cloneCell(e,"Item 3"));return b.createVe…
2453 …table=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");d.vertex=!0;var e=new mxCell("",new mx…
2454 e.vertex=!0;this.setCurrentSearchEntryLibrary("uml");var c=[this.createVertexTemplateEntry("html=1;…
2455 a.vertex=!0;a.insert(d.clone());a.insert(e.clone());a.insert(b.cloneCell(d,"+ method(type): type"))…
2457 … class divider hline line separator",function(){return b.createVertexTemplateFromCells([e.clone()],
2458 e.geometry.width,e.geometry.height,"Divider")}),this.addEntry("uml static class spacer space gap se…
2495 Sidebar.prototype.createThumb=function(a,b,d,e,c,f,k){this.graph.labelsVisible=null==f||f;f=mxClien… argument
2496 …tyle.height=d+"px";h.style.visibility="";h.style.minWidth="";h.style.minHeight="";e.appendChild(h);
2497e.style.height=this.thumbHeight+0+this.sidebarTitleSize+8+"px",b=document.createElement("div"),b.s…
2499 Sidebar.prototype.createItem=function(a,b,d,e,c,f,k,h){h=null!=h?h:!0;var g=document.createElement(… argument
2500e,c,f);var m=new mxRectangle(0,0,c,f);1<a.length||a[0].vertex?(e=this.createDragSource(g,this.crea…
2502 Sidebar.prototype.updateShapes=function(a,b){var d=this.editorUi.editor.graph,e=d.getCellStyle(a),c…
2503 …&&"umlLifeline"!=e[mxConstants.STYLE_SHAPE]&&(d.setCellStyles(mxConstants.STYLE_SHAPE,"umlLifeline…
2505 Sidebar.prototype.createDropHandler=function(a,b,d,e){d=null!=d?d:!0;return mxUtils.bind(this,funct… argument
2506 …late,q=(h+p.x)*n,u=(g+p.y)*n,v=c.cloneCells(a);c.splitEdge(k,v,null,h-e.width/2,g-e.height/2,q,u);…
2509e,c){var f=this.getDropAndConnectGeometry(a,b[e],d,b),k=[];if(null!=f){var h=this.editorUi.editor.… argument
2510 ….isTableRow(a)||h.isTableCell(a))f.x+=q,f.y+=u;q=m.x;u=m.y;h.model.isEdge(b[e])&&(u=q=0);k=b=h.imp…
2511e],d==mxConstants.DIRECTION_NORTH);else if(h.model.isEdge(b[e])){h.model.setTerminal(b[e],a,!0);va…
2512 …model.setGeometry(b[e],f),h.cellsMoved(b,q,u,null,null,!0),k=b.slice(),g=1==k.length?k[0]:null,b.p…
2513e){var c=this.editorUi.editor.graph,f=c.view,k=1<e.length,h=c.getCellGeometry(a);e=c.getCellGeomet… argument
2514e.getTerminalPoint(!0)&&null!=e.getTerminalPoint(!1)?(b=e.getTerminalPoint(!0),c=e.getTerminalPoin…
2515 e.width,e.y),!1)):d==mxConstants.DIRECTION_SOUTH?(e.height=f,e.y=h.y+h.height,e.setTerminalPoint(ne…
2516 e.width/2+f:d==mxConstants.DIRECTION_SOUTH?e.y=e.y+h.height/2+e.height/2+f:d==mxConstants.DIRECTION…
2517e.x-=h.getCenterX()+h.width/2,e.y-=h.getCenterY()))))));return e};Sidebar.prototype.isDropStyleEna…
2519 Sidebar.prototype.createDragSource=function(a,b,d,e,c){function f(a,b){var c;c=mxUtils.createImage(… argument
2520e.length&&(null==m&&g.model.isVertex(e[p])?m=p:null==l&&g.model.isEdge(e[p])&&null==g.model.getTer…
2521 e&&null!=K&&null!=t&&K!=y?(k=a.model.isEdge(t.cell)||null==l?m:l,a.setSelectionCells(this.dropAndCo…
2524 ….model.isEdge(t.cell)||null==l?m:l,f=n.getDropAndConnectGeometry(t.cell,e[g],R,e),k=a.model.isEdge…
2525e[g]),p=a.model.getParent(t.cell),q=d.translate.x*d.scale,v=d.translate.y*d.scale;null!=k&&!k.rela…
2526 …isplay="")}};var O=(new Date).getTime(),S=0,Q=null,U=this.editorUi.editor.graph.getCellStyle(e[0]);
2527 u.getDropTarget=mxUtils.bind(this,function(a,b,c,d){var g=mxEvent.isAltDown(d)||null==e?null:a.getC…
2529 …&(a.model.isVertex(h.cell)&&null!=m||a.model.isEdge(h.cell)&&a.model.isEdge(e[0]))){if(a.isCellEdi…
2534 …stants.DIRECTION_WEST);null!=x&&K==y&&(h=x);l=(null==m||a.isCellConnectable(e[m]))&&(a.model.isEdg…
2539e,d))){for(;null!=g&&!a.isValidDropTarget(g,e,d)&&f.isVertex(f.getParent(g));)g=f.getParent(g);nul…
2541e){e=this.editorUi.editor.graph;e.container.focus();if(mxEvent.isAltDown(d)&&1==e.getSelectionCoun… argument
2542e.scrollCellToVisible(e.getSelectionCell()))}else mxEvent.isShiftDown(d)&&!e.isSelectionEmpty()?(d…
2543 …ction(a,b,d){var e=b.mouseDown,c=b.mouseMove,f=b.mouseUp,k=this.editorUi.editor.graph.tolerance,h=…
2545e,c,f,k,h){null!=h&&null!=c&&(h+=" "+c);h=null!=h&&0<h.length?h:null!=c?c.toLowerCase():"";return … argument
2546e,c,f,k,h){a=mxUtils.parseXml(Graph.decompress(a));var g=new mxCodec(a),l=new mxGraphModel;g.decod… argument
2547 …,b,d,e,c,f,k,h,g){k=null!=k&&0<k.length?k:c.toLowerCase();return this.addEntry(k,mxUtils.bind(this… argument
2548e,c,f,k,h){a=new mxCell(null!=e?e:"",new mxGeometry(0,0,b,d),a);a.geometry.setTerminalPoint(new mx… argument
2549 …tteFunctions=function(a,b,d,e){this.addPalette(a,b,d,mxUtils.bind(this,function(a){for(var b=0;b<e argument
2550e){b=this.createTitle(b);this.container.appendChild(b);var c=document.createElement("div");c.class… argument
2551e=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==b.style.display?…
2554e,c,f,k){for(var h=[],g=0;g<c.length;g++)mxUtils.bind(this,function(a,b,c){if(null==c){c=a.lastInd… argument
2555 …otype.getTagsForStencil=function(a,b,d){a=a.split(".");for(var e=1;e<a.length;e++)a[e]=a[e].replac…
2556e,c,f,k,h,g,l){k=null!=k?k:1;if(this.addStencilsToIndex){var m=[];if(null!=g)for(l=0;l<g.length;l+… argument
2557e&&(e="");null!=f&&f.call(this,a);if(null!=g)for(var b=0;b<g.length;b++)g[b](a);mxStencilRegistry.…
2559 …Xml;mxUtils.parseXml=function(d){for(var e=0;e<a.length;e++)d=d.replace(new RegExp("&"+a[e][0]+";"…
2561 … object - not null or undefined");var e=1<arguments.length?arguments[1]:void 0,k;if("undefined"!==…
2562 …b(this)?Object(new this(h)):Array(h),l=0,m;l<h;)m=c[l],g[l]=e?"undefined"===typeof k?e(m,l):e.call…
2567 Graph=function(a,b,d,e,c,f){mxGraph.call(this,a,b,d,e);this.themes=c||this.defaultThemes;this.curre… argument
2568 …"eventName")&&this.isEnabled()){var c=b.getProperty("event"),d=c.getState(),e=this.view.scale;if(!…
2570e,3))&&this.model.getChildAt(f,0)!=p||mxUtils.intersects(n,new mxRectangle(d.x,d.y+q.height-2,q.wi…
2571 …At(p,0)!=d.cell||mxUtils.intersects(n,new mxRectangle(d.x+q.width*e-2,d.y,2,q.height*e)))p=this.se…
2572 …f.x-f.width-1)*e+(0==f.x?d.width:0),d.y,1,d.height))||(0<f.y||0<f.height)&&mxUtils.intersects(n,ne…
2573e=this.selectionCellsHandler.getHandler(c.cell);null==e&&this.model.isEdge(c.cell)&&(e=this.create…
2574e.bends.length-1&&d!=mxEvent.LABEL_HANDLE)!n||null==c.visibleSourceState&&null==c.visibleTargetSta…
2575e.bends.length-1:null!=f&&(2==n.length||3==n.length&&(0==Math.round(n[0].x-n[1].x)&&0==Math.round(…
2576 e&&(this.selectionCellsHandler.isHandlerActive(e)?this.isCellSelected(c.cell)||(this.selectionCells…
2577e="move";else if(mxUtils.contains(d,n[0].x,n[0].y)||mxUtils.contains(d,n[n.length-1].x,n[n.length-…
2578 …c.cell||mxUtils.intersects(d,new mxRectangle(c.x+c.width-2,c.y,2,c.height)))e="col-resize";else if…
2579e="row-resize";for(n=c;null==e&&null!=n&&(this.isTableCell(n.cell)||this.isTableRow(n.cell)||this.…
2580 "row-resize")}n=this.view.getState(this.model.getParent(n.cell))}}null!=e&&c.setCursor(e)}}),mouseU…
2581 …alidSource=function(a,b){return!1};this.alternateEdgeStyle="vertical";null==e&&this.loadStylesheet…
2582e=c.width*d,c=c.height*d,d=this.graph.view.translate,f=this.graph.view.scale,g=this.graph.getPageL…
2583 …s,arguments),c=new mxDictionary,d=[],e=0;e<b.length;e++){var f=this.graph.isTableCell(a)&&this.gra…
2584e])?this.graph.model.getParent(b[e]):this.graph.isTableRow(a)&&this.graph.isTableRow(b[e])&&this.g…
2599e,c){d=unescape(encodeURIComponent(Graph.svgDoctype+'<svg xmlns="http://www.w3.org/2000/svg" xmlns… argument
2600 …or(var b=0,d=[],e=0;e<a.length;e++){var c=a.charCodeAt(e);(32<=c||9==c||10==c||13==c)&&65535!=c&&6…
2602 …n(a){var b="";a=new Uint8Array(a);for(var d=a.byteLength,e=0;e<d;e++)b+=String.fromCharCode(a[e]);…
2603 …rayBufferIndexOfString=function(a,b,d){var e=b.charCodeAt(0),c=1,f=-1;for(d=d||0;d<a.byteLength;d+…
2605e,c){c=null!=c?c:1E3;Graph.setTransitionForNodes(a,null);Graph.setOpacityForNodes(a,b);window.setT… argument
2607 …),e=0;e<d.length;e++)for(var c=0;c<d[e].attributes.length;c++){var f=d[e].attributes[c];2<f.name.l…
2608e=d.indexOf("<svg");if(0<=e){b.innerHTML=d.substring(e);Graph.sanitizeSvg(b);var c=b.getElementsBy…
2609 …!isNaN(f)&&!isNaN(k)){var g=h.split(" ");4<=h.length&&(d=parseFloat(g[2])/f,e=parseFloat(g[3])/k)}…
2610 l.height/e))}catch(m){}finally{document.body.removeChild(b)}a=Editor.createSvgDataUri(mxUtils.getXm…
2616e=null,h=mxUtils.bind(this,function(a){d=!0;e=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY…
2617 e&&e!=b.node;){if("a"==e.nodeName.toLowerCase()){a.view.graph.labelLinkClicked(a,e,c);break}e=e.par…
2620 …f(null!=a){var d={},e;for(e in a){var f=a[e];null!=f&&(d[e]=!0,null==b[e]&&c?b[e]=f:b[e]!=f&&delet…
2621 …):[];for(var c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");if(0<=e){var f=d.substring(0,e),d=d.s…
2622 …date();try{for(var d=0;d<b.length;d++)for(var e=this.getCurrentCellStyle(b[d]),f=0;f<c.length;f++)…
2623e,f){this.useCssTransforms&&(a=a/this.currentScale-this.currentTranslate.x,b=b/this.currentScale-t… argument
2624 …el.getChildAt(c,g),h=this.getScaledCellAt(a,b,k,d,e,f);if(null!=h)return h;if(this.isCellVisible(k…
2629 …c])||b.push(a[c]);return b};var e=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsFor…
2631 …raph.prototype.updatePageBreaks=function(a,b,c){var d=this.useCssTransforms,e=this.view.scale,g=th…
2632 new mxPoint(0,0),this.useCssTransforms=!1);f.apply(this,arguments);d&&(this.view.scale=e,this.view.…
2634e=window;try{if("_self"==b&&window!=window.top)window.location.href=a;else if(a.substring(0,this.b…
2637 …yout"==d.childLayout){var e=new mxStackLayout(this.graph,!0);e.resizeParentMax="1"==mxUtils.getVal…
2638e.resizeParent="1"==mxUtils.getValue(d,"resizeParent","1");e.resizeLast="1"==mxUtils.getValue(d,"r…
2639 e.horizontal="1"==mxUtils.getValue(d,"horizontalTree","1"),e.resizeParent="1"==mxUtils.getValue(d,"…
2640e.maintainParentLocation=!0,e.intraCellSpacing=mxUtils.getValue(d,"intraCellSpacing",mxHierarchica…
2641 e;if("circleLayout"==d.childLayout)return new mxCircleLayout(this.graph);if("organicLayout"==d.chil…
2642e=this.view.getState(a[d]);if(null!=e){for(var c=this.cellRenderer.getShapesForState(e),f=0;f<c.le…
2643 …ype.createWipeAnimations=function(a,b){for(var d=[],e=0;e<a.length;e++){var c=this.view.getState(a…
2644e=a.segments,c=a.length,f=d.length;return{execute:mxUtils.bind(this,function(k,h){if(null!=a.shape…
2646 …this,function(e,c){if(null!=a.shape){var f=e/c;b||(f=1-f);a.shape.bounds=new mxRectangle(d.x,d.y,d… argument
2647e){d=null!=d?d:30;e=null!=e?e:30;var c=null,f=0,k=mxUtils.bind(this,function(){if(f==d||this.stopp… argument
2649 …ew.translate.x)/a.width),e=Math.floor(Math.ceil(b.y/this.view.scale-this.view.translate.y)/a.heigh…
2650 e)};Graph.prototype.sanitizeHtml=function(a,b){return Graph.sanitizeHtml(a,b)};Graph.prototype.upda…
2657 …yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var e=this.dateFormatCache…
2658e.masks[b]||b||e.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),d=!0);var h=d?"getUTC":"get…
2661 …sition="absolute";for(var e=this.getModel(),c=e.getChildCount(e.root),f=0;f<c;f++)mxUtils.bind(thi…
2662 …ce="nowrap";k.style.cursor="pointer";k.setAttribute("title",mxResources.get(e.isVisible(c)?"hideIt…
2663 …xEvent.addListener(k,"click",function(){e.setVisible(c,!e.isVisible(c));f();null!=a&&a(c)});f()})(
2664 Graph.prototype.replacePlaceholders=function(a,b,d,e){e=[];if(null!=b){for(var c=0;match=this.place… argument
2665e.push(b.substring(c,match.index)+(null!=k?k:f));c=match.index+f.length}}e.push(b.substring(c))}re…
2667 Graph.prototype.connectVertex=function(a,b,d,e,c,f,k,h){f=f?f:!1;if(a.geometry.relative&&this.model… argument
2670 !mxEvent.isShiftDown(e)||mxEvent.isControlDown(e)||c;w&&("1"!=urlParams.sketch||c)&&(b==mxConstants…
2671 …&&!g&&this.addCells([z],this.getDefaultParent(),null,null,null,!0)}var l=mxEvent.isControlDown(e)&&
2672 mxEvent.isShiftDown(e)&&w||null==u&&g?null:this.insertEdge(this.model.getParent(a),null,"",a,z,this…
2674 …ction(){var a=document.createElement("div"),b=[],d,e;for(e in this.model.cells)if(d=this.model.cel…
2675e=a;null==d&&null!=e;)null!=e.value&&"object"==typeof e.value&&(d=e.hasAttribute(b)?null!=e.getAtt…
2678 …ull!=b.alternateBounds){var e=this.layoutManager.getLayout(this.model.getParent(a));null!=e&&e.con…
2679 Graph.prototype.foldCells=function(a,b,d,e,c){b=null!=b?b:!1;null==d&&(d=this.getFoldableCells(this… argument
2681e){this.model.beginUpdate();try{var c=this.getCellsBeyond(a.x,a.y,b,!0,!0);for(b=0;b<c.length;b++)… argument
2682e){if(null!=this.layoutManager&&null!=b&&b.constructor==mxStackLayout&&!b.resizeLast){this.model.b… argument
2685 …imlaneAt=function(a,b,d){var e=mxGraph.prototype.getSwimlaneAt.apply(this,arguments);this.isCellLo…
2688e=this.container.clientHeight-b,c=Math.floor(20*Math.min(d/a.width,e/a.height))/20;this.zoomTo(c);…
2689 …this.sanitizeHtml(d);else{d=this.builtInProperties;a=a.value.attributes;var e=[];this.isEnabled()&…
2690e.push({name:a[c].nodeName,value:a[c].nodeValue});e.sort(function(a,b){return a.name<b.name?-1:a.n…
2703 e){b=!1;var c=e.getEvent();if(this.isResetEvent(c))this.reset();else if(!this.isActive()){var d=thi… argument
2704e){var c=e.getEvent();mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(c),mxEvent.getC… argument
2705 null!=this.bbox&&mxUtils.contains(this.bbox,e.getGraphX(),e.getGraphY())?(this.setDisplay(""),this.…
2706e=null,e=mxUtils.createImage(a.src);e.style.width=a.width+"px";e.style.height=a.height+"px";e.styl…
2707e,this.setDisplay("none"),mxEvent.consume(a))}));mxEvent.redirectMouseEvents(e,this.graph,this.cur…
2708e,"direction",d,"event",a)))}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this,function(a){m…
2713 …){var e=d.getEvent(),c=d.getGraphX(),f=d.getGraphY(),c=this.getStateAt(a,c,f);null==c||!this.graph…
2717e=new mxRectangle(b,c,a.clientWidth,a.clientHeight);mxUtils.intersects(e,d)&&(a==this.arrowUp?c-=e
2719 e=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),c=this.graph.g…
2720 …e.visibility="visible":b.style.visibility="hidden"});k(b,this.arrowRight);k(e,this.arrowLeft);k(c,…
2724 …dge(a.cell.parent)&&(a=null);var e=null;this.prev!=a||this.isActive()?(this.startTime=(new Date).g…
2725e=(new Date).getTime()-this.startTime);this.setDisplay("");null!=this.currentState&&this.currentSt…
2727 …ent=function(a,b,d,e,c){a=this.cloneCell(a);for(var f=0;f<d;f++){var k=this.cloneCell(b),h=this.ge… argument
2728 Graph.prototype.createTable=function(a,b,d,e,c,f,k,h,g){d=null!=d?d:60;e=null!=e?e:40;f=null!=f?f:3… argument
2729e+(null!=c?f:0),null!=k?k:"shape=table;startSize="+(null!=c?f:"0")+";container=1;collapsible=0;chi…
2730 ….prototype.createCrossFunctionalSwimlane=function(a,b,d,e,c,f,k,h,g){d=null!=d?d:120;e=null!=e?e:1… argument
2731e,null!=f?f:"shape=table;childLayout=tableLayout;rowLines=0;columnLines=0;startSize="+l+";"+(null=…
2732 return 1<a?(k.geometry.y=e+f,this.createParent(c,this.createParent(k,this.createVertex(null,null,""…
2734e=this.getModel();e.beginUpdate();try{var c=this.getCellGeometry(a);if(null!=c){c=c.clone();c.heig…
2735 null!=this.layoutManager&&this.layoutManager.executeLayout(f,!0)}}finally{e.endUpdate()}};
2736e=this.getModel(),c=e.getParent(a),f=e.getParent(c),k=e.getChildCells(c,!0);a=mxUtils.indexOf(k,a)…
2737e.setGeometry(m,n)))}if(h||d){var p=this.getCellGeometry(f);null!=p&&(p=p.clone(),p.width+=b,e.set…
2738 …etSize=function(a,b){for(var d=0,e=0;e<a.length;e++)if(!this.isVertexIgnored(a[e])){var c=this.gra…
2739e=this.graph.getActualStartSize(a,!0),c=this.getSize(d,!0),f=b-e.x-e.width,k=[],e=e.x,h=0;h<d.leng…
2740e,c){var f=this.graph.getModel(),k=f.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);var… argument
2743 …(a),e=this.graph.getCellStyle(a),c="1"==mxUtils.getValue(e,"resizeLastRow","0"),f="1"==mxUtils.get…
2744 …und(v),v=c||e?v+p.height:v+p.height/n*g,p.height=Math.round(v)-p.y,k.setGeometry(m[t],p)),h=Math.m…
2748 …Attribute("id"))}}};var e=mxCellRenderer.prototype.isShapeInvalid;mxCellRenderer.prototype.isShape…
2749 …!==mxUtils.getValue(a.style,"jumpStyle","none")){for(var e=function(b,c,e){var f=new mxPoint(c,e);… argument
2750e},f=.5*this.scale,c=!1,d=[],g=0;g<b.length-1;g++){for(var k=b[g+1],h=b[g],l=[],m=b[g+2];g<b.lengt…
2751 …gth&&l[l.length-1].x===m.x&&l[l.length-1].y===m.y||l.push(m)}}}for(C=0;C<l.length;C++)c=e(1,l[C].x,
2752e(0,m.x,m.y)||c}a.routedPoints=d;return c}return!1};var f=mxConnector.prototype.paintLine;mxConnec…
2754 …Math.sqrt(n.x*n.x+n.y*n.y),0<l?(n.x=n.x*e/l,n.y=n.y*e/l):n=null);C>e*e&&0<l&&(C=h.x-G.x,I=h.y-G.y,…
2756e=this.getNextPoint(a,c,d),f=this.graph.isOrthogonal(a),g=mxUtils.toRadians(Number(b.style[mxConst…
2757e=this.getPerimeterPoint(b,e,0==g&&f,l);0!=g&&(l=Math.cos(g),m=Math.sin(g),e=mxUtils.getRotatedPoi… argument
2758 a[f]);if(null!=g){var k=(g.x-e.x)*(g.x-e.x)+(g.y-e.y)*(g.y-e.y);if(null==d||k<d)c=g,d=k}}null!=c&&(
2761 …];if(null!=b){if(null==mxStencilRegistry.packages[d]){for(var e=0;e<b.length;e++){var c=b[e];if(!m…
2764 ….loadStencilSet=function(a,b,d,e){var c=mxStencilRegistry.packages[a];if(null!=d&&d||null==c){var … argument
2766e=a.firstChild;null!=e;)"shapes"==e.nodeName&&mxStencilRegistry.parseStencilSet(e,b,d),e=e.nextSib…
2767 h=e.getAttribute("h"),k=null==k?80:parseInt(k,10),h=null==h?80:parseInt(h,10);b(c,f,a,k,h)}}e=e.nex…
2770 ….graph.isTableCell(a)};var e=mxGraphLayout.prototype.isEdgeIgnored;mxGraphLayout.prototype.isEdgeI…
2776 …e(c[d])){this.setCellStyles(a,null,[c[d]]);var e=this.getCellStyle(c[d])[a];b!=(null==e?mxConstant…
2777e=this.model.getChildCount(d),f=0;f<e;f++)this.createCellLookup([this.model.getChildAt(d,f)],b)}re…
2778 …r e=new mxCodec(a.ownerDocument),f=new mxGraphModel;e.decode(a,f);a=[];var e={},g={},k=f.getChildr…
2779 …tId()]=this.getDefaultParent().getId())}if(null!=a&&(this.createCellMapping(e,h,g),this.updateCust…
2780e=0;e<a.length;e++)d.put(a[e],!0);for(var f=new mxCodec,g=new mxGraphModel,k=g.getChildAt(g.getRoo…
2782e,f,k,h){null==h&&(h=this.model.getParent(a),this.isTable(h)||this.isTableRow(h))&&(h=this.getCell… argument
2784 …ll(),e=null,f=[],g=mxUtils.bind(this,function(b){if(null!=this.view.getState(b)&&(this.model.isVer…
2785e&&a&&f.length>e||!a&&0<e)return;for(var c=0;c<this.model.getChildCount(b);c++)g(this.model.getChi…
2786e&&null!=d)){c=e.clone();e=d.clone();e.x=c.x;e.y=c.y;c.x=d.x;c.y=d.y;this.model.beginUpdate();try{… argument
2787e&&this.isTableRow(a[h])){var J=this.model.getParent(a[h]),l=this.getCellGeometry(a[h]);this.isTab…
2789 …d=0;d<a.length;d++)if(this.isTableCell(a[d])){var e=this.model.getParent(a[d]),f=this.model.getPar…
2790 1==this.model.getChildCount(e)&&1==this.model.getChildCount(f)?0>mxUtils.indexOf(a,f)&&0>mxUtils.in…
2791 …(a,b){if(null!=a){var c=mxUtils.getValue(a.style,"points",null);if(null!=c){var d=[];try{for(var e=
2792e.length;c++){var f=e[c];d.push(new mxConnectionConstraint(new mxPoint(f[0],f[1]),2<f.length?"0"!=…
2793 …b=this.model.getChildCount(a),c=0,d=0;d<b;d++){var e=this.model.getChildAt(a,d);this.model.isVerte…
2794e=this.getCellGeometry(e),null==e||e.relative||c++)}return 0<c||this.isContainer(a)};Graph.prototy…
2796 …n(a,b){var c=this.getModel(),d=[];c.beginUpdate();try{for(var e=0;e<a.length;e++){var f=a[e];if(c.…
2802 …var d=document.createElement("div"),e=0;e<a.length;e++)if(this.isHtmlLabel(a[e])){var f=this.conve…
2803e],d.innerHTML)}}};Graph.prototype.cellLabelChanged=function(a,b,c){b=Graph.zapGremlins(b);this.mo…
2804 e.hasAttribute(d)){this.setAttributeForCell(e,d,b);break}e=this.model.getParent(e)}var f=a.value.cl…
2805e=this.model.getParent(a[c]);null==e||b.get(e)||(b.put(e,!0),d.push(e))}for(c=0;c<d.length;c++)if(
2808e=0;e<a.length;e++){var f=this.model.getParent(a[e]);if(this.model.isEdge(f)&&0>mxUtils.indexOf(a,…
2809 …is.model.isVertex(b)){var d=this.model.isEdge(b)?this.view.getState(b):null,e=mxEvent.getSource(a)…
2810 e||null!=d&&null!=d.text&&null!=d.text.node&&null!=d.text.boundingBox&&(mxUtils.contains(d.text.bou…
2811 …this.pageVisible)var d=this.getPageLayout(),e=this.getPageSize(),b=Math.max(b,d.x*e.width),c=Math.…
2814e=this.view.getRelativePoint(c,a,b);d.geometry.x=Math.round(1E4*e.x)/1E4;d.geometry.y=Math.round(e
2815 e.x-(null!=c?c.origin.x:0),d.geometry.y=Math.round(b/this.view.scale)-e.y-(null!=c?c.origin.y:0),d.…
2816 …ners(a[c],null,null,b))}});this.model.addListener(mxEvent.CHANGE,d);d();var e=this.container.style…
2819 …mouseUp:function(a,d){for(var e=d.getSource(),k=d.getEvent();null!=e&&"a"!=e.nodeName.toLowerCase(…
2820e=g.isBlankLink(this.currentLink),"data:"!==this.currentLink.substring(0,5)&&e||null==b||b(k,this.…
2821 …ighlight(a))},clear:function(){null!=g.container&&(g.container.style.cursor=e);this.currentLink=th…
2822 …odel.getParent(a[c]));a=this.model.getTopmostCells(a);var d=this.getModel(),e=this.gridSize,f=[];d…
2823 if(null!=l){var m=this.moveCells([h[c]],e,e,!1)[0];f.push(m);if(b)d.add(l,h[c]);else{var n=l.getInd…
2824e=[],f=0;f<d.length;f++)e.push(d[f]);document.execCommand("insertimage",!1,a);a=this.cellEditor.te…
2826 …b&&(b=this.getSelectionCells());if(null!=b&&1<b.length){for(var c=[],d=null,e=null,f=0;f<b.length;…
2827e=null!=e?Math.min(e,k):k;c.push(g)}}if(2<c.length){c.sort(function(b,c){return a?b.x-c.x:b.y-c.y}…
2829e,f,g,k,h,l,m,n,p,q){var J=null;if(null!=q)for(J=new mxDictionary,m=0;m<q.length;m++)J.put(q[m],!0… argument
2832e?"-0.5 -0.5":"0 0")+" "+v+" "+ba);u.appendChild(t);var ea=null!=u.createElementNS?u.createElement… argument
2835 …llSelected(a.cell),e=c.model.getParent(a.cell);!(f&&null==J||d)&&null!=e;)d=null!=J?J.get(e):c.isC…
2836e=a.createElement("a");e.setAttribute("transform","translate(0,-5)");null==e.setAttributeNS||b.own…
2837 e.setAttributeNS(mxConstants.NS_XLINK,"target","_blank"));var f=a.createElement("text");f.setAttrib…
2838 null==e&&(e=a[d].getAttribute("xlink:href"));null!=e&&(null!=b&&/^https?:\/\//.test(e)?a[d].setAttr…
2841e=this.model.getParent(a[d]);if(this.isTable(e)){var f=this.getCellGeometry(a[d]),g=this.getCellGe…
2842e=0;if(this.isTableCell(a))var f=c.getParent(a),d=c.getParent(f),e=mxUtils.indexOf(c.getChildCells…
2843 …idth,n=this.getCellGeometry(g[f]);null!=n&&(m.height=n.height)}c.add(g[f],l,e+(b?0:1))}var J=this.…
2844e=a;if("stackLayout"==this.getCurrentCellStyle(e).childLayout)var d=e,f=c.getChildCells(d,!0),e=f[…
2845e=f[b?0:f.length-1];var g=c.getChildCells(e,!0),k=d.getIndex(e),e=c.cloneCell(e,!1);e.value=null;v…
2846e=b.getChildCells(c,!0);if(0==e.length)b.remove(c);else{this.isTableRow(d)||(d=e[0]);var f=b.getCh…
2847 …ableRow(a)&&(c=b.getParent(d));var e=b.getChildCells(c,!0);if(1>=e.length)b.remove(c);else{this.is…
2848e=0,f=0;f<d.length;f++)var g=d[f].getAttribute("colspan"),e=e+(null!=g?parseInt(g):1);c=c.insertRo…
2849 for(d=0;d<c.rows.length;d++)e=c.rows[d].insertCell(b),mxUtils.br(e);return c.rows[0].cells[0<=b?b:c…
2853e=this.fireMouseEvent;this.fireMouseEvent=function(a,f,g){a==mxEvent.MOUSE_DOWN&&(f=this.updateMou… argument
2854e.getCell()&&this.isSelectionEmpty()||b&&this.isCellSelected(e.getCell())));f=!b||f?null:mxUtils.b… argument
2861 …for(a=a.firstChild,b=b.firstChild;null!=a;){var e=a.nextSibling;null==b?d(a):(c(a,b),b=b.nextSibli…
2864 …tValue(a.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),e=mxUtils.getValue(a.s…
2866 …?"italic":"";this.textarea.style.fontFamily=b;this.textarea.style.textAlign=e;this.textarea.style.…
2877e=this.graph.view.scale;c=this.roundLength((this.bounds.x+this.currentDx)/e-d.x);d=this.roundLengt…
2878 …childLayout){var d=this.graph.model.getParent(a),e=null!=d?this.graph.getCellGeometry(d):null;if(n…
2879e=e.clone();c?e.height=b.height+g.y+g.height+2*f:e.width=b.width+g.x+g.width+2*f;this.graph.model.…
2880 this.graph.isTableRow(g)&&a(d.getParent(g));a(g)}return e};var G=mxVertexHandler.prototype.createPa…
2885 …his.graph.isTable(this.state.cell)){var b=this.graph,c=b.model,d=this.state,e=this.selectionBorder…
2886 …nateBounds:h,h=new mxLine(new mxRectangle,mxConstants.NONE,1,!0);h.isDashed=e.isDashed;h.svgStroke…
2887 …{var a=b.getActualStartSize(d.cell);this.shape.stroke=0==n?mxConstants.NONE:e.stroke;this.shape.bo…
2889e.isDashed;k.svgStrokeTolerance++;c=new mxHandle(c,"row-resize",null,k);c.tableHandle=!0;var h=0;c…
2895e=this.customHandles[d].shape.bounds,f=e.getCenterX(),g=e.getCenterY();if(Math.abs(this.state.x-f)…
2899e=this.graph.view.translate,f=this.graph.view.scale,g=this.roundLength(d.x/f-e.x),e=this.roundLeng…
2912 …s.div.style.display,d=null,e=null,f=null,g=null;null!=this.first&&null!=this.currentX&&null!=this.…
2913e)/this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(…
2914 …t(this.graph.container);c.x-=d.x;c.y-=d.y;var d=b.getX()+c.x,c=b.getY()+c.y,e=this.first.x-d,f=thi…
2915e)>g||Math.abs(f)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.up…
2919 …e=function(a,b){var c=null!=a&&0==a,d=this.state.getVisibleTerminalState(c),e=null!=a&&(0==a||a>=t…
2920 …):null,c=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(c),e):nul…
2923 …wn=function(a,b){var c=this.graph.getModel(),d=c.getParent(this.state.cell),e=this.graph.getCellGe…
2924 (this.getHandleForEvent(b)==mxEvent.ROTATION_HANDLE||!c.isEdge(d)||null==e||!e.relative||null==this…
2932e=document.createElement("div");e.style.marginTop=null!=b||0<d?"6px":"0px";e.appendChild(this.grap…
2963e=0;e<a.length;e++){var c=this.editorUi.editor.graph.getCurrentCellStyle(a[e]);"0"!=mxUtils.getVal…
2965 Format.prototype.updateSelectionStateForCell=function(a,b,d,e){d=this.editorUi.editor.graph;a.cells… argument
2967 …ts.STYLE_SHAPE,null),a.containsImage=a.containsImage||"image"==f,d.mergeStyle(b.style,a.style,e))};
2973e=document.createElement("div");e.className="geFormatSection";e.style.textAlign="center";e.style.f…
2974e.style.display="inline-block";e.style.height="25px";e.style.overflow="hidden";e.style.width="100%… argument
2975 …));(e&&null==k||d==(f?this.labelIndex:b.isSelectionEmpty()?this.diagramIndex:this.currentIndex))&&…
2976 e.style.borderLeftWidth="0px";d.appendChild(e);c=d.cloneNode(!1);this.panels.push(new DiagramFormat…
2977 …his,a,n));this.container.appendChild(n);g(m,n,l++)}this.showCloseButton&&(m=e.cloneNode(!1),m.styl…
2978 …,d.appendChild(m))}else if(b.isEditing())mxUtils.write(e,mxResources.get("text")),d.appendChild(e),
2979e.style.backgroundColor=Format.inactiveTabBackgroundColor;e.style.borderLeftWidth="1px";e.style.cu…
2980e,n,l++));mxUtils.write(m,mxResources.get("text"));d.appendChild(m);e=d.cloneNode(!1);e.style.disp…
2982e,c,f,k,h){f=null!=f?f:"";h=null!=h?h:!1;var g=this.editorUi,l=g.editor.graph;e=null!=e?e:1;c=null… argument
2986e,c,f,k){d=null!=d?d:1;e=null!=e?e:9;var h=10*d,g=document.createElement("div");mxUtils.setPrefixe… argument
2987e+"px";m.className="geBtnDown";g.appendChild(m);mxEvent.addGestureListeners(m,function(a){mxEvent.…
2989 BaseFormatPanel.prototype.createOption=function(a,b,d,e,c){var f=document.createElement("div");f.st… argument
2990 …=f||a==h)k.checked=!k.checked;m(k.checked)}});m(l);null!=e&&(e.install(m),this.listeners.push(e));…
2991e,c,f,k,h,g){var l=this.editorUi,m=l.editor.graph,n=this;e=null!=e?"null"==e?null:e:1;c=null!=c?"n… argument
2993 BaseFormatPanel.prototype.createColorOption=function(a,b,d,e,c,f,k,h){var g=document.createElement(… argument
2994 p=!1,q=null,u=function(a,c,g){if(!p){var m="null"==e?null:e;p=!0;a=/(^#?[a-zA-Z0-9]*$)/.test(a)?a:m…
2997 …ed=!l.checked),l.checked||null==n||n==mxConstants.NONE||e==mxConstants.NONE||(e=n),u(l.checked?e:m…
2998e,c,f){var k=this.editorUi,h=k.editor.graph,g=this;return this.createColorOption(a,function(){var … argument
2999 ….CHANGE,this.listener)},destroy:function(){h.getModel().removeListener(this.listener)}},e,null,f)};
3000e=10-b;2==e?d.style.paddingTop="6px":0<e?d.style.paddingTop=6-e+"px":d.style.marginTop="-2px";d.st…
3001 e=d.getElementsByTagName("img")[0];e.style.position="relative";e.style.left="1px";e.style.top=mxCli…
3002 " geColorBtn";mxUtils.setPrefixedStyle(a.style,"borderRadius","3px");a.appendChild(d);return e};
3003e,c,f,k,h,g){k=null!=k?k:0;b=document.createElement("input");b.style.position="absolute";b.style.t… argument
3004e,c){d=null!=d?d:52;var f=this.editorUi.editor.graph,k=this.createPanel();k.style.paddingTop="10px… argument
3005 …" %"}mxEvent.consume(a)});var h=this.addUnitInput(k,"%",16,d,a,10,-15,null!=e);if(null!=b){var g=m…
3007 …,b,d,e){e=null!=e?e:61;var c=document.createElement("div");mxUtils.write(c,b);c.style.position="ab… argument
3013 ArrangePanel.prototype.addTable=function(a){var b=this.editorUi,d=b.editor.graph,e=this.format.getS…
3014e.vertices[0])||d.isTableRow(e.vertices[0])||d.isTableCell(e.vertices[0]),k=d.isStack(e.vertices[0…
3015e.vertices[0],!1):d.insertTableColumn(e.vertices[0],!1)}catch(l){b.handleError(l)}}),c),b.toolbar.…
3016e.vertices[0],!0):d.insertTableRow(e.vertices[0],!0)}catch(l){b.handleError(l)}}),c),b.toolbar.add…
3018e=mxUtils.button(mxResources.get("toFront"),function(a){b.actions.get("toFront").funct()});e.setAt…
3019e.style.width="104px";a.appendChild(e);1==d.getSelectionCount()&&(mxUtils.br(a),e=mxUtils.button(m…
3020 "104px",e.style.marginTop="2px",a.appendChild(e));return a};
3021e=this.format.getSelectionState(),c=e.cells[0],f=0,k=null;a.style.paddingTop="8px";a.style.padding…
3022 d.getModel().isEdge(c)||d.isSwimlane(c)||d.isTable(c)||e.row||e.cell)&&0<d.getModel().getChildCount…
3023 …10px",k.style.marginBottom="2px",a.appendChild(k),f++,null!=b.copiedSize&&0<e.vertices.length)){va…
3025 …0px",k.style.marginBottom="2px",a.appendChild(k),f++,null!=b.copiedValue&&0<e.cells.length&&(h=mxU…
3026e.cells.length&&d.getModel().isVertex(c)&&!e.row&&!e.cell&&d.getModel().isVertex(d.getModel().getP…
3027 …),k.style.width="210px",k.style.marginBottom="2px",a.appendChild(k),f++);1==e.cells.length&&(0<f&&…
3029 …orderWidth="0px";d.style.width="220px";d.className="geToolbarContainer";var e=this.editorUi.toolba…
3031 …"),function(){b.alignCells(mxConstants.ALIGN_BOTTOM)},d);this.styleButtons([e,c,f,k,h,g]);f.style.…
3036e=this.format.getSelectionState();a.style.paddingBottom="8px";var c=document.createElement("div");…
3037e.containsLabel||(c=mxResources.get("reverse"),0<e.vertices.length&&0<e.edges.length?c=mxResources…
3038 a=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_ROTATION,0)),f.value=isNaN(a)?"":a+"°"}),k=…
3042 ArrangePanel.prototype.addGeometry=function(a){var b=this,d=this.editorUi,e=d.editor.graph,c=e.getM…
3045 …dKeyHandler(q,E);g=this.addGeometryHandler(p,function(a,c,d){if(e.isTableCell(d))return e.setTable…
3046 …his.addGeometryHandler(q,function(a,c,d){e.isTableCell(d)&&(d=e.model.getParent(d));if(e.isTableRo…
3048e.getSelectionCount()||null==f.width||null==f.height)k.style.display="none";else{k.style.display="…
3050 c.isEdge(c.getParent(f.vertices[0]))){var H=e.getCellGeometry(f.vertices[0]);null!=H&&H.relative&&(…
3051e.getModel().beginUpdate();try{for(var g=f.format.getSelectionState().cells,l=0;l<g.length;l++)if(
3052 k;a.value=k+" "+f.getUnit()}}mxEvent.consume(d)}var e=this.editorUi.editor.graph,c=null,f=this;mxEv…
3053e.getModel().beginUpdate();try{for(var g=f.format.getSelectionState().cells,l=0;l<g.length;l++)if(
3055 ArrangePanel.prototype.addEdgeGeometry=function(a){var b=this.editorUi,d=b.editor.graph,e=this.form…
3056 c=Math.min(999,Math.max(1,isNaN(c)?1:c));if(c!=mxUtils.getValue(e.style,"width",mxCellRenderer.defa…
3059e=this.format.getSelectionState();a=e.cells[0];if("link"==e.style.shape||"flexArrow"==e.style.shap…
3062 …) 100%)":"linear-gradient(#c5ecff 0px,#87d4fb 100%)":""}var d=this.editorUi,e=d.editor.graph,c=thi…
3063 …inLeft="-2px";f.style.borderWidth="0px";f.className="geToolbarContainer";if(e.cellEditor.isContent…
3066 …bar.addButton("geSprite-left",mxResources.get("left"),e.cellEditor.isContentEditing()?function(a){
3067e.cellEditor.isContentEditing()?function(a){e.cellEditor.alignText(mxConstants.ALIGN_CENTER,a);d.f…
3068e.cellEditor.alignText(mxConstants.ALIGN_RIGHT,a);d.fireEvent(new mxEventObject("styleChanged","ke…
3071 …_BOTTOM])),n);this.styleButtons([w,x,z]);a.appendChild(n);var E,H,C,G,y,I,L;e.cellEditor.isContent…
3074 …itorUi.toolbar.addButton("geSprite-code",mxResources.get("html"),function(){e.cellEditor.toggleVie…
3079e.isEditing()||(a.appendChild(n),mxEvent.addListener(M,"change",function(a){e.getModel().beginUpda…
3080 b[3],c.cells))}finally{e.getModel().endUpdate()}mxEvent.consume(a)}),a.appendChild(t),mxEvent.addLi…
3081 …S_IE&&!mxClient.IS_IE11){var b=function(b,g){null!=e.cellEditor.textarea&&b!=e.cellEditor.textarea…
3082 …ontainer:e.cellEditor.textarea;g!=e.cellEditor.textarea&&g.nodeType==mxConstants.NODETYPE_ELEMENT|…
3083 ….commonAncestorContainer)),null!=k&&b(e.cellEditor.textarea,k))for(S=a,document.execCommand("fontS…
3084 …[0];h.style.cssFloat="right";var Q=null,U="#ffffff",fa=null,ja="#000000",ma=e.cellEditor.isContent…
3085 …dColor"),mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"default",null,function(a){e.updateLabelElements(…
3086 e.shapeBackgroundColor);ma.style.fontWeight="bold";var na=this.createCellColorOption(mxResources.ge…
3087 …nged","keys",[mxConstants.STYLE_FONTCOLOR],"values",[a],"cells",c.cells));a=e.cellEditor.textarea.…
3089e.setCellStyles(mxConstants.STYLE_NOLABEL,"1",c.cells):e.setCellStyles(mxConstants.STYLE_NOLABEL,n…
3090 e.cellEditor.isContentEditing()||k.appendChild(na);a.appendChild(k);k=this.createPanel();k.style.pa…
3093e.cellEditor.isContentEditing()){var la=null,ia=null;a.appendChild(this.createRelativeOption(mxRes…
3094e.cellEditor.textarea&&null!=e.cellEditor.textarea.firstChild&&("P"!=e.cellEditor.textarea.firstCh…
3095 mxEvent.addListener(a,"touchstart",function(){document.activeElement==e.cellEditor.textarea&&(la=e.…
3096 …",mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=y&&e.insertColumn(y,
3097e.insertColumn(y,null!=I?I.cellIndex+1:-1)}catch(J){this.editorUi.handleError(J)}}),h),this.editor…
3098e.insertRow(y,L.sectionRowIndex)}catch(J){this.editorUi.handleError(J)}}),h),this.editorUi.toolbar…
3099 mxUtils.bind(this,function(){try{null!=y&&null!=L&&e.deleteRow(y,L.sectionRowIndex)}catch(J){this.e…
3100 ….pickColor(b,function(b){var c=null==I||null!=a&&mxEvent.isShiftDown(a)?y:I;e.processElements(c,fu…
3102 a&&mxEvent.isShiftDown(a)?y:I;e.processElements(c,function(a){a.style.backgroundColor=null});c.styl…
3104 ….STYLE_TEXT_OPACITY)),a.appendChild(h);var V=mxUtils.bind(this,function(a,d,e){c=this.format.getSe… argument
3105 …nt);b(m,"0"==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,"1"));if(e||document.activeElem…
3108e||document.activeElement!=ga)a=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_SPACING,2)),…
3109 0)),aa.value=isNaN(a)?"":a+" pt";if(e||document.activeElement!=ha)a=parseFloat(mxUtils.getValue(c.s…
3110e.getModel().addListener(mxEvent.CHANGE,V);this.listeners.push({destroy:function(){e.getModel().re…
3111 …gth-b.length-1,a.length)=="-"+b}return!1},f=function(b){if(null!=e.getParentByName(a,b,e.cellEdito…
3113 …,e.cellEditor.isTableSelected()?(b(C,d(m.textAlign,"justify")),b(q,d(m.textAlign,"left")),b(u,d(m.…
3114 …nts.ALIGN_RIGHT))),y=e.getParentByName(a,"TABLE",e.cellEditor.textarea),L=null==y?null:e.getParent…
3115e){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+("0"+… argument
3116e.cellEditor.textarea,"DOMSubtreeModified",f);mxEvent.addListener(e.cellEditor.textarea,"input",f)…
3121 …";a.style.display="none";try{var d=b.style.editableCssRules;if(null!=d){var e=new RegExp(d),c=b.st…
3122 d=0;d<g.length;d++)this.addSvgRule(a,g[d],k,h[b],g,d,e)}}catch(l){}return a};
3123 StyleFormatPanel.prototype.addSvgRule=function(a,b,d,e,c,f,k){var h=this.editorUi.editor.graph;k.te… argument
3124 …tion(a){c[f].style[k]=a;a="";for(var b=0;b<c.length;b++)a+=c[b].cssText+" ";e.textContent=a;a=mxUt…
3128 StyleFormatPanel.prototype.addFill=function(a){var b=this.editorUi,d=b.editor.graph,e=this.format.g…
3129 …)});mxEvent.addListener(f,"click",function(a){mxEvent.consume(a)});var k=1<=e.vertices.length?d.st…
3130e.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:mxConstants.STYLE_FILLCOLOR,k="image"==e.style.sh…
3132e=this.format.getSelectionState();var b=mxUtils.getValue(e.style,mxConstants.STYLE_GRADIENT_DIRECT…
3133e.style.sketch||"solid"==d||"auto"==d?"":"none")});d.getModel().addListener(mxEvent.CHANGE,p);this…
3134 f.value,e.cells);b.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[f.valu…
3136 …E_STROKEWIDTH,1)&&(c.setCellStyles(mxConstants.STYLE_STROKEWIDTH,b,f.cells),e.fireEvent(new mxEven…
3137e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[b],"…
3139 …d=[null,"1"]);for(var g=0;g<b.length;g++)c.setCellStyles(b[g],d[g],f.cells);e.fireEvent(new mxEven…
3141 function(a,b,c,d,e){a=this.editorUi.menus.styleChange(a,"",d,e,"geIcon",null);d=document.createElem… argument
3185 …unction g(a,b,c,d){c=c.getElementsByTagName("div")[0];null!=c&&(c.className=e.getCssClassForMarker…
3196 …ength&&b.lineJumps){a.style.padding="2px 0px 24px 14px";var d=this.editorUi,e=d.editor.graph,c=doc…
3197 …f.appendChild(h)}mxEvent.addListener(f,"change",function(a){e.getModel().beginUpdate();try{e.setCe…
3198 …eChanged","keys",["jumpStyle"],"values",[f.value],"cells",b.cells))}finally{e.getModel().endUpdate…
3199 …a+" pt"});this.addKeyHandler(l,m);e.getModel().addListener(mxEvent.CHANGE,m);this.listeners.push({…
3200 …x";a.style.paddingBottom="0px";var e=document.createElement("table");e.style.width="210px";e.style…
3201 …ft="8px";f.appendChild(k);f.appendChild(h);c.appendChild(f);e.appendChild(c);a.appendChild(e);var …
3205 DiagramStylePanel.prototype.addView=function(a){var b=this.editorUi,d=b.editor.graph,e=d.getModel()…
3208 …ientColor"],u=mxUtils.bind(this,function(a,b){var c=d.getVerticesAndEdges();e.beginUpdate();try{fo…
3209e.isEdge(c[f]),h=e.getStyle(c[f]),l=k?d.currentEdgeStyle:d.currentVertexStyle,m=0;m<a.length;m++)i…
3210e,f){if(null!=a){null!=c&&null!=b.labelBackgroundColor&&(e=null!=e?e.background:null,f=null!=f?f:d… argument
3211e.beginUpdate();try{d.updateCellStyles("sketch",null,a),d.updateCellStyles("rounded",null,a),d.upd…
3213 l=d.stylesheet.getDefaultVertexStyle(),m=b;e.isEdge(g)&&(l=d.stylesheet.getDefaultEdgeStyle(),m=c);…
3216e.beginUpdate();try{u(q,l);var p=new ChangePageSetup(b,null!=l?l.background:null);p.ignoreImage=!0…
3217 …s.clone(c.apply(this,arguments)),k=d.stylesheet.getDefaultVertexStyle(),m=g;e.isEdge(b)&&(k=d.styl…
3226e=this.createColorOption(mxResources.get("background"),function(){return d.background},function(a)…
3227 …yle.height="22px";c.style.left="118px";c.style.width="56px";e.appendChild(c)}a.appendChild(e)}retu…
3231 …;f.value=d.inUnit(b)+" "+d.getUnit();mxEvent.consume(a)}var d=this,e=this.editorUi,c=e.editor.grap…
3233 …ridEnabled();a==mxConstants.NONE?c.setGridEnabled(!1):(c.setGridEnabled(!0),e.setGridColor(a));f.s…
3234 e.fireEvent(new mxEventObject("gridEnabledChanged")))},Editor.isDarkMode()?c.view.defaultDarkGridCo…
3236e=PageSetupDialog.addPageFormatPanel(a,"formatpanel",d.pageFormat,function(a){if(null==d.pageForma…
3237 function(){e.set(d.pageFormat)});var c=function(){e.set(d.pageFormat)};b.addListener("pageFormatCha…
3239 …ction b(){mxCylinder.call(this)}function d(){mxCylinder.call(this)}function e(){mxActor.call(this)… function
3245 …{mxConnector.call(this)}function Ra(a,b,c,d,e,f,g,k,h,l){g+=h;var r=d.clone();d.x-=e*(2*g+h);d.y-=… argument
3246 e-g,r.y-f-g,2*g,2*g);l?a.fillAndStroke():a.stroke()}}mxUtils.extend(a,mxSwimlane);a.prototype.getLa… argument
3247e)};a.prototype.paintForeground=function(a,b,c,d,e){if(null!=this.state){var r=this.flipH,f=this.f… argument
3250e-f.height);a.end();a.stroke()}}};mxCellRenderer.registerShape("table",a);mxUtils.extend(b,mxCylin… argument
3251 …egin();a.moveTo(0,0);a.lineTo(d-r,0);a.lineTo(d,r);a.lineTo(d,e);a.lineTo(r,e);a.lineTo(0,e-r);a.l…
3252 …egin(),a.moveTo(0,0),a.lineTo(r,r),a.lineTo(r,e),a.lineTo(0,e-r),a.close(),a.fill()),a.begin(),a.m…
3253 e);mxUtils.extend(d,mxCylinder);d.prototype.size=6;d.prototype.paintVertexShape=function(a,b,c,d,e)… argument
3254e-b)/2+b/4);a.moveTo(0,.25*b);a.lineTo(.5*b,b*xa);a.lineTo(b,.25*b);a.lineTo(.5*b,(.5-xa)*b);a.lin… argument
3255 …xtend(f,mxCylinder);f.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(e/2,Math.round(e/8)+th… argument
3256e-b),a.curveTo(d,e+b/3,0,e+b/3,0,e-b),a.close())};f.prototype.getLabelMargins=function(a){return n… argument
3257 …,c);a.begin();a.moveTo(0,0);a.lineTo(d-r,0);a.lineTo(d,r);a.lineTo(d,e);a.lineTo(0,e);a.lineTo(0,0…
3258 …hape);g.prototype.isoAngle=15;g.prototype.paintVertexShape=function(a,b,c,d,e){var r=Math.max(.01,… argument
3259e);a.translate(b,c);a.begin();a.moveTo(.5*d,0);a.lineTo(d,r);a.lineTo(d,e-r);a.lineTo(.5*d,e);a.li… argument
3260 e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.translate(b,c);0==r?(a.rect(0,0,d,e
3261e){var r=Math.max(0,Math.min(.5*e,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),f=mx… argument
3262 …drawPath=function(a,b,c,d,e){a.moveTo(0,0);a.quadTo(d/2,.5*e,d,0);a.quadTo(.5*d,e/2,d,e);a.quadTo(… argument
3263e){a.translate(b,c);b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"tabWidth",this… argument
3264e-c));b=Math.max(b,k);b=Math.min(d-k,b);f||(k=0);a.begin();"left"==r?(a.moveTo(Math.max(k,0),c),a.…
3266 …le,"rounded",!1),e=mxUtils.getValue(this.style,"absoluteArcSize",!1),r=parseFloat(mxUtils.getValue…
3267e){a.translate(b,c);var r=mxUtils.getValue(this.style,"rounded",!1),f=mxUtils.getValue(this.style,… argument
3268e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(r+b,e);a.arcTo(b,b,0,0,1,r,e-b);a.close();a.fillAndStroke()…
3269 c&&(a.ellipse(0,.5*e-10,20,20),a.fillAndStroke(),a.begin(),a.moveTo(5,.5*e-5),a.lineTo(15,.5*e+5),a…
3270e){b=Math.max(0,Math.min(d,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)))))… argument
3271 ….quadTo(3*d/4,b*(1-1.4),d,b/2);a.lineTo(d,e-b/2);a.quadTo(3*d/4,e-1.4*b,d/2,e-b/2);a.quadTo(d/4,e-…
3272 …ize",this.size))*a.height):null};t.prototype.redrawPath=function(a,b,c,d,e){b=e*Math.max(0,Math.mi… argument
3273e-b/2);a.quadTo(3*d/4,e-1.4*b,d/2,e-b/2);a.quadTo(d/4,e-b*(1-1.4),0,e-b/2);a.lineTo(0,b/2);a.close…
3275 …le,"rounded",!1),e=mxUtils.getValue(this.style,"absoluteArcSize",!1),r=parseFloat(mxUtils.getValue…
3277 …pe.isRoundable=function(){return!0};w.prototype.redrawPath=function(a,b,c,d,e){b="0"!=mxUtils.getV… argument
3278e),new mxPoint(b,0),new mxPoint(d,0),new mxPoint(d-b,e)],this.isRounded,c,!0);a.end()};mxCellRende… argument
3279e),new mxPoint(b,0),new mxPoint(d-b,0),new mxPoint(d,e)],this.isRounded,c,!0)};mxCellRenderer.regi… argument
3280e/2),new mxPoint(0,e/2),new mxPoint(b,e/2),new mxPoint(b,e),new mxPoint(d,e)],this.isRounded,c,!1)… argument
3281 b=d/5;a.rect(0,0,b,e);a.fillAndStroke();a.rect(2*b,0,b,e);a.fillAndStroke();a.rect(4*b,0,b,e);a.fil…
3282 …function(a,b,c,d,e,f){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=e;this.lastY=f}… argument
3283e=Math.abs(b-this.lastY),r=Math.sqrt(d*d+e*e);if(2>r){this.originalLineTo.apply(this.canvas,argume…
3286 …paintBackground;mxRectangleShape.prototype.paintBackground=function(a,b,c,d,e){if(null==a.handJigg… argument
3287 …ue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?r=Math.min(d/2,Math.min(e/2,mxUtils.getValue(t…
3288e*r)),a.moveTo(b+r,c),a.lineTo(b+d-r,c),a.quadTo(b+d,c,b+d,c+r),a.lineTo(b+d,c+e-r),a.quadTo(b+d,c…
3289 …unded)var e=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDI…
3290e){var r=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),f=parseFloat(mxUtils.getValue(thi… argument
3291 …ound=function(a,b,c,d,e){a.setFillColor(mxConstants.NONE);a.rect(b,c,d,e);a.fill()};G.prototype.pa… argument
3292 …ath=function(a,b,c,d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_A… argument
3293e-c),new mxPoint(Math.min(d,f+g),e-c),new mxPoint(r,e),new mxPoint(Math.max(0,f),e-c),new mxPoint(… argument
3294 …w mxPoint(0,0),new mxPoint(d-b,0),new mxPoint(d,e/2),new mxPoint(d-b,e),new mxPoint(0,e),new mxPoi…
3295 …pe.isRoundable=function(){return!0};L.prototype.redrawPath=function(a,b,c,d,e){b="0"!=mxUtils.getV… argument
3296e),new mxPoint(d-b,e),new mxPoint(b,e),new mxPoint(0,.5*e)],this.isRounded,c,!0)};mxCellRenderer.r… argument
3297 …height-2*b)}return a};mxRhombus.prototype.paintVertexShape=function(a,b,c,d,e){Ua.apply(this,argum… argument
3298e-=2*f;0<d&&0<e&&(a.setShadow(!1),Ua.apply(this,[a,b,c,d,e]))}};mxUtils.extend(R,mxRectangleShape)… argument
3299 …parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);b+=f;c+=f;d-=2*f;e-=2*f;0<d&&0<e&&mxRectangleS…
3300e+this.strokewidth),D+=m,l+=m);var m=b,B=c,m=g==mxConstants.ALIGN_CENTER?m+(d-h)/2:g==mxConstants.…
3301e,f){f?(a.moveTo(0,0),a.lineTo(d/2,e/2),a.lineTo(d,0),a.end()):(a.moveTo(0,0),a.lineTo(d,0),a.line… argument
3302e/3);a.lineTo(0,e);a.moveTo(d/2,2*e/3);a.lineTo(d,e);a.end();a.stroke()};mxCellRenderer.registerSh… argument
3303e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(b+d/8,c+e);a.line… argument
3304e){a.translate(b,c);a.begin();a.moveTo(3*d/8,e/8*1.1);a.lineTo(5*d/8,0);a.end();a.stroke();a.ellip… argument
3305 …a.y,a.width,b)};Q.prototype.paintBackground=function(a,b,c,d,e){var f=Math.max(0,Math.min(e,parseF… argument
3306e&&(a.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),a.begin(),a.moveTo(b+d/2,c… argument
3307 …ht",this.height)*this.scale))};U.prototype.paintBackground=function(a,b,c,d,e){var f=this.corner,r… argument
3308e,Math.max(1.5*f,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),k=mxUtils.getValu…
3309 …ndStroke();a.begin();a.moveTo(b+r,c);a.lineTo(b+d,c);a.lineTo(b+d,c+e);a.lineTo(b,c+e);a.lineTo(b,…
3313e="0"!=mxUtils.getValue(b.style,"fixedSize","0"),f=e?w.prototype.fixedSize:w.prototype.size;null!=…
3314e),new mxPoint(r,g)]):(e=e?Math.max(0,Math.min(.5*k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint…
3315e?x.prototype.fixedSize:x.prototype.size;null!=b&&(f=mxUtils.getValue(b.style,"size",f));e&&(f*=b.…
3316e=e?Math.max(0,Math.min(k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(r,g),new mxPoint(r+k,g),n…
3317 …){var e="0"!=mxUtils.getValue(b.style,"fixedSize","0"),f=e?I.prototype.fixedSize:I.prototype.size;…
3318e=e?Math.max(0,Math.min(k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(r,g),new mxPoint(r+k-e,g)…
3319e,g+h),new mxPoint(r,a),new mxPoint(r+e,g)]):b==mxConstants.DIRECTION_NORTH?(e=e?Math.max(0,Math.m…
3320 …){var e="0"!=mxUtils.getValue(b.style,"fixedSize","0"),f=e?L.prototype.fixedSize:L.prototype.size;…
3321e=e?Math.max(0,Math.min(h,f)):h*Math.max(0,Math.min(1,f)),g=[new mxPoint(l,g),new mxPoint(r+k,g+e)…
3322e){var f=parseFloat(mxUtils.getValue(this.style,"size",this.size));a.translate(b,c);a.ellipse((d-f… argument
3323e){var f=parseFloat(mxUtils.getValue(this.style,"size",this.size)),g=parseFloat(mxUtils.getValue(t… argument
3324e){a.translate(b,c);a.begin();a.moveTo(0,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,0,e);a.end();a.stroke… argument
3325 e,d/2,e);a.end();a.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",na);mxUtils.e… argument
3326e),a.lineTo(c,e),a.lineTo(c,k+b),a.lineTo(0,k+b),a.lineTo(0,k),a.lineTo(c,k),a.lineTo(c,r+b),a.lin… argument
3327e-b/2,k=.7*e-b/2;f?(a.moveTo(c,r),a.lineTo(g,r),a.lineTo(g,r+b),a.lineTo(c,r+b),a.moveTo(c,k),a.li…
3328e){var f=d/2,g=e/2,r=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZ… argument
3329 Math.min(d/5,e/5));0<d&&0<e&&(a.ellipse(b+f,c+f,d-2*f,e-2*f),a.fillAndStroke());a.setShadow(!1);thi…
3331e){b=Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)));c=mxUtils.getValue(this… argument
3332e)],this.isRounded,c,!0);a.end()};mxCellRenderer.registerShape("manualInput",ha);mxUtils.extend(aa… argument
3333e,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));a.begin();a.moveTo(b,c+f);a.lineTo(b+d,c… argument
3334e,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"… argument
3335e){a.moveTo(0,0);a.lineTo(0,e);a.end();a.moveTo(d,0);a.lineTo(d,e);a.end();a.moveTo(0,e/2);a.lineT… argument
3336e),new mxPoint((d-b)/2,e),new mxPoint((d-b)/2,c),new mxPoint(0,c)],this.isRounded,f,!0);a.end()};m… argument
3337e-f)/2;var f=c+f,g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)… argument
3338e){var f=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",V.prototype.a…
3339e)],this.isRounded,g,!0);a.end()};mxCellRenderer.registerShape("doubleArrow",qa);mxUtils.extend(J,… argument
3340e/2,b,0);a.close();a.end()};mxCellRenderer.registerShape("dataStorage",J);mxUtils.extend(W,mxActor… argument
3341e){b=Math.min(d/2,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils… argument
3342e){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils… argument
3343e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(b+d/2,c+e);a.line… argument
3344e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo(b… argument
3345e/2);a.lineTo(b+d,c+e/2);a.end();a.stroke()};mxCellRenderer.registerShape("sortShape",Ma);mxUtils.… argument
3346e){var f=c+e-5;a.begin();a.moveTo(b,c);a.lineTo(b,c+e);a.moveTo(b,f);a.lineTo(b+10,f-5);a.moveTo(b… argument
3347e);a.fill();a.pointerEvents=f;a.setStrokeColor(this.stroke);a.begin();a.moveTo(b,c);this.outline||…
3348e);(this.outline||"1"==mxUtils.getValue(this.style,"left","1"))&&a.lineTo(b,c);a.end();a.stroke()}… argument
3349e){b=Math.min(d,e/2);a.moveTo(0,0);a.lineTo(d-b,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d-b,e);a.lineT… argument
3350e);a.lineTo(g,e);a.lineTo(g,c);a.lineTo(0,c);a.close();a.end()};mxCellRenderer.registerShape("cros… argument
3356 function(a,b,c,d,e){a.translate(b,c);this.strictDrawShape(a,0,0,d,e)};N.prototype.strictDrawShape=f… argument
3360e,.5*d,h);k||(h=G*Math.min(d,e)/100);h=Math.min(h,.5*Math.min(d,e));k||(l=Math.min(p*Math.min(d,e)…
3361e,g,v,h,q),q&&f.paintSW(a,b,c,d,e,g,v,h,B),f.paintLeft(a,b,c,d,e,g,u,h,D),a.close(),a.fill(),a.set…
3362e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,u,h,l,q,D),D&&q&&f.paintNWInner(a,b,c,d,e,g,u,h,l),a.fill()…
3363e,g,F,h,l,A,B)),a.stroke()):(a.begin(),f.moveSE(a,b,c,d,e,g,F,h,A),f.paintBottom(a,b,c,d,e,g,v,h,q…
3364e,g,u,h,l,D,q),f.paintLeftInner(a,b,c,d,e,g,v,h,l,B,q)),a.stroke(),a.begin(),f.moveNE(a,b,c,d,e,g,…
3365e,g,F,h,l,B),f.paintRightInner(a,b,c,d,e,g,t,h,l,D,A),a.close(),a.fillAndStroke()):!D&&A&&B&&!q?"f…
3366e,g,F,h,A),f.paintBottom(a,b,c,d,e,g,v,h,q),f.lineSWInner(a,b,c,d,e,g,v,h,l,q),f.paintBottomInner(…
3367e,g,v,h,l,B,q),f.paintSWInner(a,b,c,d,e,g,v,h,l,B),f.paintBottomInner(a,b,c,d,e,g,F,h,l,A,B),f.pai…
3368e,g,F,h,l,A,B),f.paintSEInner(a,b,c,d,e,g,F,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,D,A),a.close(…
3369e,g,u,h,D),f.paintNW(a,b,c,d,e,g,u,h,q),f.paintTop(a,b,c,d,e,g,t,h,A),f.lineNEInner(a,b,c,d,e,g,t,…
3370e,g,v,h,q),"double"==r&&(f.moveSWInner(a,b,c,d,e,g,v,h,l,q),f.paintBottomInner(a,b,c,d,e,g,F,h,l,A…
3371e,g,F,h,A),f.paintBottom(a,b,c,d,e,g,v,h,q),f.paintSW(a,b,c,d,e,g,v,h,B),f.paintLeft(a,b,c,d,e,g,u…
3372e,g,v,h,q),f.paintSW(a,b,c,d,e,g,v,h,B),f.paintLeft(a,b,c,d,e,g,u,h,D),f.paintNW(a,b,c,d,e,g,u,h,q…
3373 e,g,t,h,D),f.paintRight(a,b,c,d,e,g,F,h,B),"double"==r&&(f.moveSEInner(a,b,c,d,e,g,F,h,l,B),f.paint…
3374e,g,v,h,B),f.paintLeft(a,b,c,d,e,g,u,h,D),f.paintNW(a,b,c,d,e,g,u,h,q),f.paintTop(a,b,c,d,e,g,t,h,…
3375e,g,v,h,B),f.paintLeft(a,b,c,d,e,g,u,h,D),f.paintNW(a,b,c,d,e,g,u,h,q),f.paintTop(a,b,c,d,e,g,t,h,…
3376 e,g,t,h,A),f.paintNE(a,b,c,d,e,g,t,h,D),f.paintRight(a,b,c,d,e,g,F,h,B),f.paintSE(a,b,c,d,e,g,F,h,A…
3377e,g,F,h,B),f.paintSE(a,b,c,d,e,g,F,h,A),f.paintBottom(a,b,c,d,e,g,v,h,q),f.lineSWInner(a,b,c,d,e,g…
3378e,g,F,h,B),f.paintSE(a,b,c,d,e,g,F,h,A),f.paintBottom(a,b,c,d,e,g,v,h,q),f.paintSW(a,b,c,d,e,g,v,h…
3379e,g,u,h,q),f.paintNW(a,b,c,d,e,g,u,h,q),f.paintTop(a,b,c,d,e,g,t,h,A),f.paintNE(a,b,c,d,e,g,t,h,D)…
3380e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,u,h,l,q,D),f.paintNWInner(a,b,c,d,e,g,u,h,l),f.paintLeftInn…
3381e,g,t,h,D),f.paintRight(a,b,c,d,e,g,F,h,B),"double"==r&&(f.moveSEInner(a,b,c,d,e,g,F,h,l,B),f.pain…
3382e,g,F,h,l,A,B)),a.stroke()):(a.begin(),f.moveSE(a,b,c,d,e,g,F,h,A),f.paintBottom(a,b,c,d,e,g,v,h,q…
3383e,g,v,h,l,B,q),a.close(),a.fillAndStroke());a.begin();f.paintFolds(a,b,c,d,e,g,u,t,F,v,h,D,A,B,q);… argument
3384e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.moveTo(0,e):a.moveTo(h,e)};N.prototype.pai… argument
3385e,f,g,h,k){if(k)if("rounded"==g||"default"==g&&"rounded"==f||"invRound"==g||"default"==g&&"invRoun… argument
3386e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.lineTo(0,0):a.lineTo(0,h)};N.prototype.pai… argument
3387e):a.lineTo(h,e)};N.prototype.paintSW=function(a,b,c,d,e,f,g,h,k){if(k)if("rounded"==g||"default"=… argument
3388 …lineTo(k+h,k+h),a.lineTo(k,k+h)};N.prototype.paintTopInner=function(a,b,c,d,e,f,g,h,k,l,m){l||m?!l… argument
3389e,f,g,h,k){if("rounded"==g||"default"==g&&"rounded"==f)a.arcTo(h-.5*k,h-.5*k,0,0,0,d-h-.5*k,k);els… argument
3390e,f,g,h,k,l,m){l||m?!l&&m?a.lineTo(k,e):l&&!m?a.lineTo(0,e-k):l?"square"==g||"default"==g&&"square… argument
3391e):a.lineTo(0,e)};N.prototype.paintSEInner=function(a,b,c,d,e,f,g,h,k){if("rounded"==g||"default"=… argument
3392e):"square"==g||"default"==g&&"square"==f||!l?a.lineTo(d-k,e-k):"rounded"==g||"default"==g&&"round… argument
3393e-k);else if("snip"==g||"default"==g&&"snip"==f)a.lineTo(h+.5*k,e-k);else if("fold"==g||"default"=… argument
3394e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f?a.lineTo(k,e-k):"rounded"==g||"default"==g&&… argument
3395e-h-.5*k):("invRound"==g||"default"==g&&"invRound"==f||"fold"==g||"default"==g&&"fold"==f)&&a.move… argument
3396e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f||l?a.moveTo(d-k,k):"rounded"==g||"default"==… argument
3397 …&&a.lineTo(d-k,h+k):a.lineTo(d,k)};N.prototype.moveNWInner=function(a,b,c,d,e,f,g,h,k,l,m){l||m?!l… argument
3398e,f,g,h,k,l,m){l||m?!l&&m?a.lineTo(k,0):l&&!m?a.lineTo(0,k):"square"==g||"default"==g&&"square"==f… argument
3399 …a.moveTo(d-m,e),a.lineTo(d-m,e-m),a.lineTo(d,e-m)),("fold"==l||"default"==l&&"fold"==f)&&q&&u&&(a.…
3400e=0;e<b.length;e++)d.push(mxUtils.clone(b[e]));var e=a.state.dashed,f=a.state.fixDash;wa.prototype…
3401e,f,g,h,k,l){var m=e*(g+k+1),r=f*(g+k+1);return function(){a.begin();a.moveTo(d.x-m/2-r/2,d.y-r/2+… argument
3402 e*(g+k+1),r=f*(g+k+1),n=d.x+m/2,p=d.y+r/2;d.x-=m;d.y-=r;return function(){a.begin();a.moveTo(n-m/2-… argument
3403e,f,g,h,k,l){var m=d.clone(),r=Ra.apply(this,arguments),n=e*(g+2*k),p=f*(g+2*k);return function(){… argument
3404e,f,g,h,k,l){b=e*k*1.118;c=f*k*1.118;e*=g+k;f*=g+k;var m=d.clone();m.x-=b;m.y-=c;d.x+=1*-e-b;d.y+=… argument
3405 e,f,g,h,k,l,m){f*=h+l;g*=h+l;var r=e.clone();return function(){b.begin();b.moveTo(r.x,r.y);k?b.line… argument
3406e){return T(a,b,function(b){var e=a.absolutePoints,f=e.length-1;b=a.view.translate;var g=a.view.sc… argument
3408 ….size=Math.max(0,b.y-a.y)},!0)]}},Qa=function(a,b,c){return function(d){var e=[T(d,["size"],functi…
3409e.push(ra(d));return e}},Ia=function(a,b,c,d,e){c=null!=c?c:.5;return function(f){var g=[T(f,["siz… argument
3410e=[T(d,["size"],function(d){var e=null!=c?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):…
3411e=null!=c&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?d.x-b.x:Math.max(0,Math.min(a,(…
3412e=mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoin…
3413e,f,g){var h=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);h.execute=functio… argument
3414 …h",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getEdg… argument
3415e.x+c*(f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)… argument
3416 …h",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getSta… argument
3417e.x+c*(f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)… argument
3419e,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxC… argument
3421e,f){b=(a.shape.getEndArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style… argument
3425e=[],f=0;f<d.length;f++)d[f]!=a.cell&&b.isSwimlane(d[f])&&b.getSwimlaneDirection(b.getCurrentCellS…
3447 …,Math.cos(ua),Math.sin(ua));mxEdgeStyle.IsometricConnector=function(a,b,c,d,e){var f=a.view;d=null… argument
3448 …x+k*b,p.y+l*b),e.push(p)),p=new mxPoint(p.x+m*a,p.y+n*a)):(c&&(p=new mxPoint(p.x+m*a,p.y+n*a),e.pu…
3449e.prototype.constraints=[];c.prototype.getConstraints=function(a,b,c){a=[];var d=Math.tan(mxUtils.…
3450 …*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b+.5*d,c+(1-e)*d));a.push(new mxCo…
3452 …e))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var e=b*Math.max(0,Math.mi…
3453 …,!1,null,b,c-d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,c));a.push(new mxCon…
3464 …h.min(b,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))),e=Math.max(0,Math.min(…
3465 …onConstraint(new mxPoint(0,0),!1,null,d,e)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,…
3466e)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-d),e)));a.push(new mxConnecti…
3467e)+e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,c));a.push(new mxConnectionCon…
3469e=Math.min(b-d,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*b);a.push(new…
3470 …nConstraint(new mxPoint(0,0),!1,null,.5*(e+b-d),c));a.push(new mxConnectionConstraint(new mxPoint(…
3485 …th.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),e=Math.max(0,Math.min(…
3486e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,e));a.push(new mxConnectionConstr…
3487e)));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-d),e));a.push(new mxConnecti…
3488e=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));a.push(new mxConne…
3489 0),!1,null,d,e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,.5*(c+e)));a.push(new…
3490 …n(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),e=b*Math.max(0,Math.mi…
3491e),d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-e,0));a.push(new mxConnectionC…
3492e=b*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",V.prototype.arrowSize…
3493e,0));a.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));a.push(new mxConnectionConstraint(n…
3494 …,!1,null,e,0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,.5*d));a.push(new mxCo…
3495e,c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,c-.5*d));a.push(new mxConnectio…
3496 0),!1,null,.5*(b+e),f));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,g,f));a.push(new…
3499 …nged(a[b],"")}finally{c.getModel().endUpdate()}}}var d=this.editorUi,e=d.editor,c=e.graph,f=functi…
3500 …b=c.view.translate.x,e=c.view.translate.y;d.actions.get("resetView").funct();1E-5>Math.abs(a-c.vie…
3501 …(mxUtils.bind(this,function(a,b){try{var c=mxUtils.parseXml(a);e.graph.setSelectionCells(e.graph.i…
3505e=c.view.translate,d=c.view.scale,f=e.x,g=e.y,e=null;if(1==a.length&&b){var h=c.getCellGeometry(a[…
3506e.x,d-e.y))}}function e(){c.getModel().beginUpdate();try{b(mxClipboard.paste(c))}finally{c.getMode… function
3507 …b])){var e=c.getCellGeometry(a[b]);null!=e&&(e=e.clone(),e.width=d.copiedSize.width,e.height=d.cop…
3508 …nction e(b,d){var e=f.getValue(b);d=b.cloneValue(d);d.removeAttribute("placeholders");null==e||isN… function
3509 …eCells(c.getSelectionCells());if(0==g.length)e(f.getRoot(),d.copiedValue);else for(var h=0;h<g.len…
3517e=null;Graph.translateDiagram&&null!=Graph.diagramLanguage&&a.value.hasAttribute("tooltip_"+Graph.…
3518 …s.get("apply"),function(b,d,e){b=mxUtils.trim(b);c.setLinkForCell(a,0<b.length?b:null);c.setAttrib… argument
3519 …nction(a,b,d){a=mxUtils.trim(a);if(0<a.length){var e=null,f=c.getLinkTitle(a);null!=b&&0<b.length&…
3520e?"shape=label;imageWidth=16;imageHeight=16;spacingLeft=26;align=left;image="+e:"spacing=10;"));b.…
3521 …r a=c.getSelectedElement(),b=c.getParentByName(a,"A",c.cellEditor.textarea),e="";if(null==b&&null!…
3522 …null!=b&&"A"==b.nodeName&&(e=b.getAttribute("href")||"",c.selectNode(b));var k=c.cellEditor.saveSe…
3523 …r(var b=c.getEditableCells(c.getSelectionCells()),e=0;e<b.length;e++)if(state=c.getView().getState…
3524 …(k.childNodes);c.cellLabelChanged(state.cell,h);c.setCellStyles("html",a,[b[e]])}else"0"==f&&"1"==…
3525 ….cellLabelChanged(state.cell,c.sanitizeHtml(h)),c.setCellStyles("html",a,[b[e]]))}d.fireEvent(new …
3527 …x(c.getSelectionCells()),b=c.view.translate,e=c.view.scale;a.x=a.x/e-b.x;a.y=a.y/e-b.y;a.width/=e;…
3538 …320,280,!0,!0,function(){h=!1}),h=!0)}));k=mxUtils.bind(this,function(a,b,d,e){return this.addActi… argument
3539 …a.nodeName&&c.replaceElement(a)});for(var e=0;e<a.length;e++)0==c.model.getChildCount(a[e])&&c.aut…
3540 !1)}finally{c.getModel().endUpdate()}}},null,null,e)});k("bold",mxConstants.FONT_BOLD,function(){do…
3546 e="1"==mxUtils.getValue(b,mxConstants.STYLE_ROUNDED,"0")?"0":"1";c.setCellStyles(mxConstants.STYLE_…
3549 …tion(){var a=c.getSelectionCell();if(null!=a&&c.getModel().isEdge(a)){var b=e.graph.selectionCells…
3550 …etEditableCells(c.addAllEdges(d));c.getModel().beginUpdate();try{for(var e=0;e<d.length;e++){var f=
3551 d[e];if(c.getModel().isEdge(f)){var g=c.getCellGeometry(f);mxEvent.isShiftDown(a)?(c.setCellStyles(…
3552 …"):",b=c.getView().getState(c.getSelectionCell()),e="";null!=b&&(e=b.style[mxConstants.STYLE_IMAGE…
3553e,function(a,b,d){if(c.cellEditor.isContentEditing())c.cellEditor.restoreSelection(f),c.insertImag…
3554 e[0].geometry.x=h.x;e[0].geometry.y=h.y;g=e;c.fireEvent(new mxEventObject("cellsInserted","cells",g…
3559e,c){var f;"..."==a.substring(a.length-3)?(a=a.substring(0,a.length-3),f=mxResources.get(a)+"...")… argument
3561e=mxUtils.bind(this,function(e){this.styleChange(d,e,[mxConstants.STYLE_FONTFAMILY],[e],null,c,fun… argument
3562 …=e}),k=0;k<this.defaultFonts.length;k++)e(this.defaultFonts[k]);d.addSeparator(c);if(0<this.custom…
3563 …his.put("formatBlock",new Menu(mxUtils.bind(this,function(a,c){function d(d,e){return a.addItem(d,… argument
3564 e+">"))}),c)}d(mxResources.get("normal"),"p");d("","h1").firstChild.nextSibling.innerHTML='<h1 styl…
3565 …lockquote")+"</blockquote>"})));this.put("fontSize",new Menu(mxUtils.bind(this,function(d,c){var e=
3566e,this.defaultFontSize)&&(e.push(this.defaultFontSize),e.sort(function(a,b){return a-b}));for(var …
3567 …=0;g<e.length;g++)h(e[g]);d.addSeparator(c);if(0<this.customFontSizes.length){for(var l=0,g=0;g<th…
3579e=new mxCompactTreeLayout(b,!0);e.edgeRouting=!1;e.levelDistance=30;d(e.levelDistance,mxUtils.bind…
3580e=new mxCompactTreeLayout(b,!1);e.edgeRouting=!1;e.levelDistance=30;d(e.levelDistance,mxUtils.bind…
3581e=new mxRadialTreeLayout(b,!1);e.levelDistance=80;e.autoRadius=!0;d(e.levelDistance,mxUtils.bind(t…
3586 [.25,.5,.75,1,1.25,1.5,2,3,4],e=0;e<d.length;e++)(function(d){a.addItem(100*d+"%",null,function(){b…
3588e){var c=this.get(a);null!=c&&(c=c.isEnabled(),b.showDisabled||c)&&(d=b.addItem(e||mxResources.get… argument
3589e=d.getSelectionCell(),c=d.getCurrentCellStyle(e),f=d.isTable(e)||d.isTableRow(e)||d.isTableCell(e argument
3590 "Cross-Functional Flowchart":null):d.createTable(b,c,null,null,e||mxEvent.isShiftDown(a)?"Table":nu…
3591e,!0):d.insertTableColumn(e,!0)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geS…
3592e)try{k?d.deleteLane(e):d.deleteTableColumn(e)}catch(l){this.editorUi.handleError(l)}}),null,"geIc…
3593e,!1):d.insertTableRow(e,!1)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSprite geSpri…
3595e){function c(a,b){for(var c=["<table>"],d=0;d<a;d++){c.push("<tr>");for(var e=0;e<b;e++)c.push("<… argument
3596e=p.rows[d],c=0;c<e.cells.length;c++)f=e.cells[c],d==h.sectionRowIndex&&c==g.cellIndex&&(b="blue"=…
3597e.cellEditor.textarea){e.getParentByName(a,"TR");var f=e.cellEditor.textarea.getElementsByTagName(…
3599 …reListeners(m,null,null,mxUtils.bind(this,function(a){mxEvent.consume(a)}));e&&(a.firstChild.appen…
3600 ….setAttribute("cellPadding","8");for(var d=0;d<a;d++)for(var e=c.insertRow(d),f=0;f<b;f++)e.insert…
3602e,c,f,k,h){return this.showIconOnly(a.addItem(b,h,mxUtils.bind(this,function(){var a=this.editorUi… argument
3603 "keys",d,"values",e,"cells",c))}finally{a.getModel().endUpdate()}}),f,c))};Menus.prototype.showIcon…
3604 Menus.prototype.styleChange=function(a,b,d,e,c,f,k,h,g){var l=this.createStyleChangeFunction(d,e);a… argument
3605e=this.editorUi.editor.graph;e.stopEditing(!1);e.getModel().beginUpdate();try{for(var c=e.getEdita…
3606 e.autoSizeCell(c[f],!1);null!=d&&d();this.editorUi.fireEvent(new mxEventObject("styleChanged","keys…
3607 …ptChange=function(a,b,d,e,c,f,k,h,g,l){return a.addItem(b,null,mxUtils.bind(this,function(){var a=… argument
3609 Menus.prototype.pickColor=function(a,b,d){var e=this.editorUi,c=e.editor.graph,f=226+17*(Math.ceil(…
3610 null!=d&&e.fireEvent(new mxEventObject("styleChanged","keys",[d],"values",[a],"cells",[c.cellEditor…
3611 …s.editorUi.editor.graph,e=d.toggleCellStyles(a,b);this.editorUi.fireEvent(new mxEventObject("style…
3612 …,e,c,f){var k=this.editorUi.actions.get(b);return null!=k&&(a.showDisabled||k.isEnabled())&&k.visi… argument
3613e=document.createElement("span");e.style.color="gray";mxUtils.write(e,b.shortcut);d.appendChild(e)… argument
3616e=this.editorUi.editor.graph;0<e.getEditableCells(e.getSelectionCells()).length&&(this.addMenuItem…
3618e=this.editorUi.editor.graph,c=e.view.getState(b);a.addSeparator();if(null!=c){var f=!1;1==e.getSe…
3619e.updateMouseEvent(new mxMouseEvent(d))),0<f&&f<c.bends.length-1&&(null==c.bends[f]||null==c.bends…
3620 (f||e.getModel().isVertex(b)&&0<e.getModel().getEdgeCount(b))&&this.addMenuItems(a,["-","clearWaypo…
3621e){var c=this.editorUi.editor.graph.view.getState(b);this.addMenuItems(a,["-","editStyle","editDat… argument
3622e=0;e<d.length;e++)mxUtils.bind(this,function(a){var c=b.addMenu(mxResources.get(d[e]),mxUtils.bin…
3624e=document.createElement("a");e.className="geItem";mxUtils.write(e,a);this.addMenuHandler(e,b);nul…
3625e=mxUtils.bind(this,function(c){if(d&&null==a.enabled||a.enabled){this.editorUi.editor.graph.popup… argument
3626e,a)}mxEvent.consume(c)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(b){null!=th…
3644 …ion(a,b,d,e,c,f,k,h){c=EditorUi.compactUi?c:h;a.style.whiteSpace="nowrap";a.style.overflow="hidden… argument
3650 …esources.get("underline")+" ("+a.actions.get("underline").shortcut+")");var e=this.addMenuFunction…
3654 …prite-indent");c.setAttribute("title",mxResources.get("increaseIndent"))}));e.style.position="rela…
3655 e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.width="30px";e.innerHTML="";d=documen…
3657 …get("removeFormat"))}));e.style.position="relative";e.style.whiteSpace="nowrap";e.style.overflow="…
3658 "-2px";e.appendChild(d);this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.getElementsByTagName…
3659e=this.addMenuFunction("",mxResources.get("insert"),!0,mxUtils.bind(this,function(a){a.addItem(mxR…
3660e.style.overflow="hidden";e.style.position="relative";e.style.width="16px";e.innerHTML="";d=docume…
3661 …tor.text2),e=b.getParentByName(c,"TR",b.cellEditor.text2);if(null==e)this.editorUi.menus.addInsert…
3663e.sectionRowIndex))}catch(m){this.editorUi.handleError(m)}}),null,"geIcon geSprite geSprite-insert…
3664 null,mxUtils.bind(this,function(){try{b.deleteRow(f,e.sectionRowIndex)}catch(m){this.editorUi.handl…
3669 …CurrentMenu()};Toolbar.prototype.addMenu=function(a,b,d,e,c,f,k){var h=this.editorUi.menus.get(e),… argument
3670e,c,f){return this.addMenuFunctionInContainer(null!=c?c:this.container,a,b,d,e,f)};Toolbar.prototy… argument
3671e=[],c=0;c<a.length;c++){var f=a[c];"-"==f?e.push(this.addSeparator(b)):e.push(this.addItem("geSpr… argument
3672 …addButton=function(a,b,d,e){a=this.createButton(a);e=null!=e?e:this.container;this.initElement(a,b… argument
3675e){if(null!=d){var c=this.editorUi.editor.graph,f=null,k=!0;mxEvent.addListener(a,"click",mxUtils.… argument
3677 ….setAttribute("src",OPEN_FORM);this.container=a},ColorDialog=function(a,b,d,e){function c(){var b=… argument
3679 …);var l=document.createElement("center"),m=mxUtils.bind(this,function(a,b,d,e){b=null!=b?b:12;var … argument
3681e=this.colorNames[a.toUpperCase()];null!=e&&b.setAttribute("title",e)}q.appendChild(b);null!=a&&(b…
3684 …=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=e&&e()});q.className="ge…
3685 b.keyCode&&(a.hideDialog(),null!=e&&e(),mxEvent.consume(b))});this.container=d};ColorDialog.prototy…
3689 …rimaryBtn";b.appendChild(d);this.container=b},TextareaDialog=function(a,b,d,e,c,f,k,h,g,l,m,n,p,q)… argument
3692 …appendChild(f);null!=g&&g(v,x);null!=e&&(g=mxUtils.button(n||mxResources.get("apply"),function(){l…
3694 …)},!1));var e=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});e.className="ge…
3696e=null;if("new"==c.value)a.hideDialog(),a.editor.editAsNew(b);else if("replace"==c.value){a.editor…
3697e=n}finally{a.editor.graph.model.endUpdate()}}null!=e&&mxUtils.alert(e.message)});f.className="geB…
3699 …Color=q.value*u.value>MAX_AREA||0>=u.value?"red":""}var e=a.editor.graph,c=e.getGraphBounds(),f=e.…
3708 …teElement("input");x.setAttribute("type","checkbox");x.checked=null==e.background||e.background==m…
3712 g=e.background,h=Math.max(1,parseInt(t.value));if(("svg"==c||"png"==c||"pdf"==c)&&x.checked)g=null;…
3714e,c,f,k,h){h=a.editor.graph;if("xml"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGr… argument
3715 …st(EXPORT_URL,"format="+d+"&filename="+encodeURIComponent(b)+"&bg="+(null!=e?e:"none")+"&w="+l+"&h…
3716 …d,e){b.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRequest(SAVE_URL,"xml="+encodeURIComponen… argument
3717 …gth?E.removeAttribute("disabled"):E.setAttribute("disabled","disabled")}var e=document.createEleme…
3718 …document.createElement("a"),e=mxUtils.createImage(Dialog.prototype.closeImage);e.style.height="9px…
3719e);e=function(a){return function(){for(var b=0,c=0;c<n.length;c++){if(n[c]==a){p[c]=null;l.table.d… function
3723 …yle.marginLeft="2px";z.style.width="100%";k.appendChild(z);g.appendChild(k);e.appendChild(g);var E…
3725 …ode(!0);for(var d=!1,e=0;e<n.length;e++)null==p[e]?f.removeAttribute(n[e]):(f.setAttribute(n[e],p[
3728 …dChild(g),m.appendChild(k)):(m.appendChild(k),m.appendChild(g));e.appendChild(m);this.container=e};
3730 var LinkDialog=function(a,b,d,e){var c=document.createElement("div");mxUtils.write(c,mxResources.ge… argument
3732 …mxEvent.addListener(k,"keypress",function(b){13==b.keyCode&&(a.hideDialog(),e(k.value))});b=mxUtil…
3733e(k.value)});d.className="geBtn gePrimaryBtn";f.appendChild(d);a.editor.cancelFirst||f.appendChild… argument
3736 …ak}d=d.parentNode}c&&(b?g.funct():l.funct())})},LayersWindow=function(a,b,d,e,c){function f(b){if(… argument
3737 …entNode.removeChild(G)}function h(){function a(a,b,c,d){var e=document.createElement("div");e.clas…
3738e);e.style.overflow="hidden";e.style.position="relative";e.style.padding="4px";e.style.height="22p…
3739e,"dragover",function(b){b.dataTransfer.dropEffect="move";q=a;b.stopPropagation();b.preventDefault…
3740 …",Editor.visibleImage),mxUtils.setOpacity(e,75)):(k.setAttribute("src",Editor.hiddenImage),mxUtils…
3743 …;k.style.left="52px";k.style.right="8px";k.style.top="8px";h.appendChild(k);e.appendChild(h);if(g.…
3745e.appendChild(b);mxClient.IS_SVG&&(!mxClient.IS_IE||10<=document.documentMode)&&(e.setAttribute("d…
3746e.style.fontWeight=g.isEnabled()?"bold":"",v=c);mxEvent.addListener(e,"click",function(a){g.isEnab…
3756 …e="geButton";k()});this.window=new mxWindow(mxResources.get("layers"),l,b,d,e,c,!0,!0);this.window…
3775 …rtSearchHint;Sidebar.prototype.insertSearchHint=function(c,b,d,e,l,m,p,n){if(null!=n&&1==e){var f=… argument
3778 …ll!=c?c?"block":"none":"none"==b[0].style.display?"block":"none",e=0;e<b.length;e++)b[e].style.dis…
3779 …his.customEntries[c],d=0;d<b.entries.length;d++){var e=b.entries[d];if(e.id==a)return{id:e.id,libs…
3780 …s[c],d=0;d<b.entries.length;d++){var e=b.entries[d];if(e.id==a){if(null!=e.libs&&0<e.libs.length&&…
3781 …(a=0;a<this.customEntries.length;a++)for(c=this.customEntries[a],b=0;b<c.entries.length;b++){var e=
3782 c.entries[b];if(null!=e.libs&&0<e.libs.length){for(var f=[],g=0;g<e.libs.length;g++)f.push(e.id+"."…
3792 ….style.backgroundPosition="0% 50%";var e=document.createElement("button");e.style.marginLeft="4px"…
3794 …ne"==c.style.display){if(d)a.appendChild(e);else if(d=!0,null!=b){null!=e.parentNode&&e.parentNode…
3795e)},0)}else a.appendChild(e);a.style.backgroundImage="url('"+this.expandedImage+"')";c.style.displ…
3796e=b.apply(this,arguments);null!=this.shapetags&&(a=a.toLowerCase(),c=c.toLowerCase(),null!=this.sh…
3798e=this.showPalette(c[a].lib||c[a].id,!0);null!=e&&1<e.length&&null!=e[1].firstChild&&(null==e[1].f…
3799e=d.lastIndexOf(".");if(0<e){var f=d.substring(0,e),d=d.substring(e+1,d.length),e=this.getTagsForS…
3800e=this.pids,m=this.cisco,p=this.sysml;"1"==urlParams.createindex&&(this.createdSearchIndex=[]);thi…
3801e&&(null!=b?(d.style.display="block",e.innerHTML="",mxUtils.write(e,this.editorUi.getResource(a.ti…
3802e,mxResources.get("loading")+"...")))});if(null==a.data&&null!=a.url&&!a.preload&&n>=this.maxPrelo…
3803e)||(e=PROXY_URL+"?url="+encodeURIComponent(e));this.editorUi.editor.loadUrl(e,mxUtils.bind(this,f… argument
3804 "."+v,this.editorUi.getResource(a.title),!1,mxUtils.bind(this,function(a,c){d=a;e=c;g()})),null!=a.…
3815e,c);this.addThreatModelingPalette();this.addWebIconsPalette();this.addWebLogosPalette();this.addS…
3816e,f,g){if(null!=this.createdSearchIndex&&null==l||0>mxUtils.indexOf(l,b))c={style:"shape="+c+b+d,w… argument
3817e,l){var f=e;null!=this.searchIndexData&&(this.addSearchIndex(JSON.parse(Graph.decompress(this.sea… argument
3818e,g,h){!this.editorUi.isOffline()&&c.length<=b/4?(g=d-Math.ceil((e-b/4)/b),mxUtils.get(ICONSEARCH_… argument
3819 e,!1,h);else f(c,e,!1,h),this.editorUi.handleError({message:mxResources.get("unknownError")})}catch…
3820 e.getModel().getTerminal(e.getSelectionCell(),!1)&&e.getModel().isVertex(g)){e.getModel().beginUpda…
3821 e.setSelectionCell(g);f=!0}}f||d.apply(this,arguments)}})();(function(){Sidebar.prototype.addActive…
3855 …ctive Directory",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
3856 …rrentSearchEntryLibrary("general","advanced");var b=a.apply(this,arguments),e=this,c=new mxCell("V…
3863e.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Vertical Flow Layout",!0)}…
3867 …yLibrary()};Sidebar.prototype.addAlliedTelesisBuildingsPalette=function(a,b,e,c){c+="buildings/";v… argument
3870 …))};Sidebar.prototype.addAlliedTelesisComputerTerminalsPalette=function(a,b,e,c){c+="computer_and_… argument
3875 …)}))};Sidebar.prototype.addAlliedTelesisMediaConvertersPalette=function(a,b,e,c){c+="media_convert… argument
3877 …)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisSecurityPalette=function(a,b,e,c){c+= argument
3880 …(d[c](a))}))};Sidebar.prototype.addAlliedTelesisStoragePalette=function(a,b,e,c){c+="storage/";var… argument
3883 …d(d[c](a))}))};Sidebar.prototype.addAlliedTelesisSwitchPalette=function(a,b,e,c){c+="switch/";var … argument
3889 …d[c](a))}))};Sidebar.prototype.addAlliedTelesisWirelessPalette=function(a,b,e,c){c+="wireless/";va… argument
3890 …_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.android.",e=mxConstants.STYLE_VE…
3957e+"rect;fillColor=#33b5e5;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateE…
3958e+"rect;fillColor=#99cc00;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateE…
3959 50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#cc000…
3999 …0 / Application",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
4011 … 3.0 / Business",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
4012 …3.0 / Composite",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
4016 …n and Migration",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
4023 function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3Ph…
4026 function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3Re…
4035 … 3.0 / Strategy",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
4048 ….0 / Technology",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
4062 …es.get("arrows"),!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
4295e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.verte…
4296 e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,40),b+"corporate_data_center_icon;strokeColo…
4297e,c],200,220,"EC2 Instance Contents")}),this.addEntry("aws group amazon web service EC2 Spot Fleet…
4298e=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.verte…
4300e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.verte…
4301 e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,40),b+"vpc_subnet_icon;strokeColor=none;fill…
4333e=new mxCell("",new mxGeometry(0,30,200,200),"rounded=1;fillColor=none;gradientColor=none;arcSize=…
4374 …ction(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=…
4375e,c],200,220,"Elastic Beanstalk Container")}),this.addEntry("aws group amazon web service group gr…
4376e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradien…
4377 …ction(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=…
4378e,c],200,220,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service group groupscl…
4379e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradien…
4477 …erver;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");b.vertex=!0;var e=new mxCell("",new mx…
4478 e.vertex=!0;var c=new mxCell("",new mxGeometry(140,40,123,124),a+"application_server;fillColor=#ECE…
4506 …ntSearchEntryLibrary()};Sidebar.prototype.addAWS4ArrowsPalette=function(a,b,e){this.addPaletteFunc… argument
4511 …in(" "))])};Sidebar.prototype.addAWS4GeneralResourcesPalette=function(a,b,e){e="sketch=0;outlineCo… argument
4513e+"all_products;",78*a,78*a,"","All Products",null,null,this.getTagsForStencil(b,"all products","a…
4514e+"client;",78*a,76*a,"","Client",null,null,this.getTagsForStencil(b,"client","aws amazon web serv…
4515e+"documents;",64*a,78*a,"","Documents",null,null,this.getTagsForStencil(b,"documents","aws amazon…
4516e+"gear;",78*a,78*a,"","Gear",null,null,this.getTagsForStencil(b,"gear","aws amazon web service ge…
4517e+"internet;",78*a,48*a,"","Internet",null,null,this.getTagsForStencil(b,"internet","aws amazon we…
4518e+"internet_alt22;",78*a,78*a,"","Internet",null,null,this.getTagsForStencil(b,"internet gateway",…
4519e+"multimedia;",78*a,73*a,"","Multimedia",null,null,this.getTagsForStencil(b,"multimedia","aws ama…
4520e+"saml_token;",78*a,78*a,"","SAML Token",null,null,this.getTagsForStencil(b,"saml token","aws ama…
4521e+"traditional_server;",45*a,78*a,"","Traditional Server",null,null,this.getTagsForStencil(b,"trad…
4522e+"external_toolkit;",68*a,78*a,"","Toolkit",null,null,this.getTagsForStencil(b,"external toolkit"… argument
4523e,"users","aws amazon web service illustrations ").join(" ")),this.createVertexTemplateEntry(b+"il…
4524e,"devices","aws amazon web service illustrations ").join(" ")),this.createVertexTemplateEntry(b+"…
4525e,c){e=c+"outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;"+mxC… argument
4526e+"group;grIcon="+b+".group_aws_cloud;strokeColor=#232F3E;fillColor=none;verticalAlign=top;align=l…
4528e+"groupCenter;grIcon="+b+".group_auto_scaling_group;grStroke=1;strokeColor=#D86613;fillColor=none…
4529e+"group;grIcon="+b+".group_security_group;grStroke=0;strokeColor=#147EBA;fillColor=#E6F2F8;vertic…
4530 …mazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".…
4531e+"group;grIcon="+b+".group_corporate_data_center;strokeColor=#5A6C86;fillColor=none;verticalAlign…
4532 …mazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".…
4533e+"group;grIcon="+b+".group_spot_fleet;strokeColor=#D86613;fillColor=none;verticalAlign=top;align=…
4535e,c,d,f,g){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#4D27AA;str… argument
4536e+"resourceIcon;resIcon="+d+".analytics;",c,c,"","Analytics",null,null,this.getTagsForStencil(d,"a…
4537e+"resourceIcon;resIcon="+d+".elasticsearch_service;",c,c,"","ElasticSearch Service",null,null,thi…
4538e+"resourceIcon;resIcon="+d+".finspace;",c,c,"","FinSpace",null,null,this.getTagsForStencil(d,"fin…
4539e+"resourceIcon;resIcon="+d+".kinesis_data_firehose;",c,c,"","Kinesis Firehose",null,null,this.get…
4540e+"resourceIcon;resIcon="+d+".kinesis_video_streams;",c,c,"","Kinesis Video Streams",null,null,thi…
4541e+"resourceIcon;resIcon="+d+".data_pipeline;",c,c,"","Data Pipeline",null,null,this.getTagsForSten…
4542e+"resourceIcon;resIcon="+d+".glue;",c,c,"","Glue",null,null,this.getTagsForStencil(d,"glue","aws …
4543e+"resourceIcon;resIcon="+d+".lake_formation;",c,c,"","Lake Formation",null,null,this.getTagsForSt…
4544 "aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resI…
4549 …analytics ").join(" "))])};Sidebar.prototype.addAWS4ApplicationIntegrationPalette=function(a,b,e,c, argument
4550 …e=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="sketch=0;points=[[0…
4551e+"resourceIcon;resIcon="+d+".application_integration;",c,c,"","Application Integration",null,null…
4552e+"resourceIcon;resIcon="+d+".mq;",c,c,"","MQ",null,null,this.getTagsForStencil(d,"mq","aws amazon…
4553e+"resourceIcon;resIcon="+d+".appsync;",c,c,"","AppSync",null,null,this.getTagsForStencil(d,"appsy…
4554e+"resourceIcon;resIcon="+d+".managed_workflows_for_apache_airflow;",c,c,"","Managed Workflows for…
4555e+"resourceIcon;resIcon="+d+".mobile_application;",c,c,"","Console Mobile Application",null,null,t…
4556 this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".appflow;",c,c,"","AppFlow",null,null,t…
4561 Sidebar.prototype.addAWS4ARVRPalette=function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0],[0.25,0,0],[… argument
4563 function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[…
4567 …nt ").join(" "))])};Sidebar.prototype.addAWS4BlockchainPalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4568 "=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,…
4569e+"resourceIcon;resIcon="+d+".blockchain;",c,c,"","Blockchain",null,null,this.getTagsForStencil(d,…
4570 …(" "))])};Sidebar.prototype.addAWS4BusinessApplicationsPalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4571 mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0…
4572e+"resourceIcon;resIcon="+d+".business_application;",c,c,"","Business Application",null,null,this.…
4573e+"resourceIcon;resIcon="+d+".chime;",c,c,"","Chime SDK",null,null,this.getTagsForStencil(d,"chime…
4574e+"resourceIcon;resIcon="+d+".connect;",c,c,"","Connect",null,null,this.getTagsForStencil(d,"conne…
4575e+"resourceIcon;resIcon="+d+".pinpoint;",c,c,"","Pinpoint APIs",null,null,this.getTagsForStencil(d…
4576e+"resourceIcon;resIcon="+d+".workdocs;",c,c,"","WorkDocs",null,null,this.getTagsForStencil(d,"wor…
4577 this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".workmail;",c,c,"","WorkMail",null,null…
4578e,c,d,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#D45B07;strok… argument
4579e+"resourceIcon;resIcon="+d+".compute;",c,c,"","Compute",null,null,this.getTagsForStencil(d,"compu…
4580e+"resourceIcon;resIcon="+d+".auto_scaling3;",c,c,"","Auto Scaling",null,null,this.getTagsForStenc…
4581e+"resourceIcon;resIcon="+d+".lightsail;",c,c,"","Lightsail",null,null,this.getTagsForStencil(d,"l…
4582e+"resourceIcon;resIcon="+d+".compute_optimizer;",c,c,"","Compute Optimizer",null,null,this.getTag…
4583e+"resourceIcon;resIcon="+d+".fargate;",c,c,"","Fargate",null,null,this.getTagsForStencil(d,"farga…
4584e+"resourceIcon;resIcon="+d+".lambda;",c,c,"","Lambda",null,null,this.getTagsForStencil(d,"lambda"…
4585e+"resourceIcon;resIcon="+d+".nitro_enclaves;",c,c,"","Nitro Enclaves",null,null,this.getTagsForSt…
4586e+"resourceIcon;resIcon="+d+".parallel_cluster;",c,c,"","Parallel Cluster",null,null,this.getTagsF…
4587e+"resourceIcon;resIcon="+d+".thinkbox_deadline;",c,c,"","Thinkbox Deadline",null,null,this.getTag…
4588e+"resourceIcon;resIcon="+d+".thinkbox_frost;",c,c,"","Thinkbox Frost",null,null,this.getTagsForSt…
4589e+"resourceIcon;resIcon="+d+".thinkbox_stoke;",c,c,"","Thinkbox Stoke",null,null,this.getTagsForSt…
4590e+"resourceIcon;resIcon="+d+".elastic_load_balancing;",c,c,"","Elastic Load Balancing",null,null,t…
4591 this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".wavelength;",c,c,"","Wavelength",null,…
4614 …te ").join(" "))])};Sidebar.prototype.addAWS4ContainersPalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4615 mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0…
4616e+"resourceIcon;resIcon="+d+".containers;",c,c,"","Containers",null,null,this.getTagsForStencil(d,…
4617e+"resourceIcon;resIcon="+d+".eks_distro;",c,c,"","EKS Distro",null,null,this.getTagsForStencil(d,…
4618e+"resourceIcon;resIcon="+d+".ecr;",c,c,"","Elastic Container Registry",null,null,this.getTagsForS…
4619e+"resourceIcon;resIcon="+d+".fargate;",c,c,"","Fargate",null,null,this.getTagsForStencil(d,"farga…
4623 …in(" "))])};Sidebar.prototype.addAWS4CustomerEnablementPalette=function(a,b,e,c,d,f){a="sketch=0;p… argument
4627 Sidebar.prototype.addAWS4CustomerEngagementPalette=function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0… argument
4629 …ment ").join(" "))])};Sidebar.prototype.addAWS4DatabasePalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4630 mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0…
4631e+"resourceIcon;resIcon="+d+".database;",c,c,"","Database",null,null,this.getTagsForStencil(d,"dat…
4632e+"resourceIcon;resIcon="+d+".dynamodb;",c,c,"","DynamoDB",null,null,this.getTagsForStencil(d,"dyn…
4633e+"resourceIcon;resIcon="+d+".managed_apache_cassandra_service;",c,c,"","Managed Apache Cassandra …
4634e+"resourceIcon;resIcon="+d+".rds;",c,c,"","RDS",null,null,this.getTagsForStencil(d,"rds","aws ama…
4635e+"resourceIcon;resIcon="+d+".redshift;",c,c,"","Redshift",null,null,this.getTagsForStencil(d,"red…
4636 …amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIco…
4647 …).join(" "))])};Sidebar.prototype.addAWS4DeveloperToolsPalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4648 mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0…
4649e+"resourceIcon;resIcon="+d+".developer_tools;",c,c,"","Developer Tools",null,null,this.getTagsFor…
4650e+"resourceIcon;resIcon="+d+".cloudshell;",c,c,"","CloudShell",null,null,this.getTagsForStencil(d,…
4651e+"resourceIcon;resIcon="+d+".codebuild;",c,c,"","CodeBuild",null,null,this.getTagsForStencil(d,"c…
4652e+"resourceIcon;resIcon="+d+".codepipeline;",c,c,"","CodePipeline",null,null,this.getTagsForStenci…
4653e+"resourceIcon;resIcon="+d+".corretto;",c,c,"","Corretto",null,null,this.getTagsForStencil(d,"cor…
4654 …eb service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIco… argument
4655 function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[…
4658e,c,d,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BF0816;strok… argument
4659e+"resourceIcon;resIcon="+d+".mobile;",c,c,"","Mobile",null,null,this.getTagsForStencil(d,"mobile"…
4660 …"aws amazon web service mobile ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIco…
4662 …bile ").join(" "))])};Sidebar.prototype.addAWS4GameTechPalette=function(a,b,e,c,d,f){a="sketch=0;p… argument
4664 …join(" "))])};Sidebar.prototype.addAWS4InternetOfThingsPalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4665 e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0…
4666e+"resourceIcon;resIcon="+d+".internet_of_things;",c,c,"","Internet of Things",null,null,this.getT…
4667e+"resourceIcon;resIcon="+d+".iot_analytics;",c,c,"","Analytics",null,null,this.getTagsForStencil(…
4668e+"resourceIcon;resIcon="+d+".iot_core;",c,c,"","Core",null,null,this.getTagsForStencil(d,"core","…
4669e+"resourceIcon;resIcon="+d+".iot_events;",c,c,"","Events",null,null,this.getTagsForStencil(d,"eve…
4670e+"resourceIcon;resIcon="+d+".iot_sitewise;",c,c,"","SiteWise",null,null,this.getTagsForStencil(d,…
4688 ….join(" "))])};Sidebar.prototype.addAWS4MachineLearningPalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4689 mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0…
4690e+"resourceIcon;resIcon="+d+".machine_learning;",c,c,"","Machine Learning",null,null,this.getTagsF…
4691e+"resourceIcon;resIcon="+d+".comprehend;",c,c,"","Comprehend",null,null,this.getTagsForStencil(d,…
4692e+"resourceIcon;resIcon="+d+".devops_guru;",c,c,"","DevOps Guru",null,null,this.getTagsForStencil(…
4693e+"resourceIcon;resIcon="+d+".fraud_detector;",c,c,"","Fraud Detector",null,null,this.getTagsForSt…
4694e+"resourceIcon;resIcon="+d+".kendra;",c,c,"","Kendra",null,null,this.getTagsForStencil(d,"kendra"…
4695e+"resourceIcon;resIcon="+d+".lex;",c,c,"","Lex",null,null,this.getTagsForStencil(d,"lex","aws ama…
4696e+"resourceIcon;resIcon="+d+".lookout_for_metrics;",c,c,"","Lookout for Metrics",null,null,this.ge…
4697e+"resourceIcon;resIcon="+d+".personalize;",c,c,"","Personalize",null,null,this.getTagsForStencil(…
4698e+"resourceIcon;resIcon="+d+".rekognition_2;",c,c,"","Rekognition",null,null,this.getTagsForStenci…
4699e+"resourceIcon;resIcon="+d+".textract;",c,c,"","Textract",null,null,this.getTagsForStencil(d,"tex…
4700e+"resourceIcon;resIcon="+d+".translate;",c,c,"","Translate",null,null,this.getTagsForStencil(d,"t…
4701e+"resourceIcon;resIcon="+d+".deeplens;",c,c,"","DeepLens",null,null,this.getTagsForStencil(d,"dee…
4702e+"resourceIcon;resIcon="+d+".tensorflow_on_aws;",c,c,"","TensorFlow on AWS",null,null,this.getTag…
4705 …(" "))])};Sidebar.prototype.addAWS4ManagementGovernancePalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4706 mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0…
4707e+"resourceIcon;resIcon="+d+".management_and_governance;",c,c,"","Management & Governance",null,nu…
4708e+"resourceIcon;resIcon="+d+".managed_service_for_grafana;",c,c,"","Managed Service for Grafana",n…
4709e+"resourceIcon;resIcon="+d+".app_config;",c,c,"","App Config",null,null,this.getTagsForStencil(d,…
4710e+"resourceIcon;resIcon="+d+".autoscaling;",c,c,"","Auto Scaling",null,null,this.getTagsForStencil…
4711e+"resourceIcon;resIcon="+d+".chatbot;",c,c,"","Chatbot",null,null,this.getTagsForStencil(d,"chatb…
4712e+"resourceIcon;resIcon="+d+".cloudtrail;",c,c,"","CloudTrail",null,null,this.getTagsForStencil(d,…
4713e+"resourceIcon;resIcon="+d+".compute_optimizer;",c,c,"","Compute Optimizer",null,null,this.getTag…
4714e+"resourceIcon;resIcon="+d+".control_tower;",c,c,"","Control Tower",null,null,this.getTagsForSten…
4715e+"resourceIcon;resIcon="+d+".license_manager;",c,c,"","License Manager",null,null,this.getTagsFor…
4716e+"resourceIcon;resIcon="+d+".management_console;",c,c,"","Management Console",null,null,this.getT…
4717e+"resourceIcon;resIcon="+d+".organizations;",c,c,"","Organizations",null,null,this.getTagsForSten…
4718e+"resourceIcon;resIcon="+d+".service_catalog;",c,c,"","Service Catalog",null,null,this.getTagsFor…
4719e+"resourceIcon;resIcon="+d+".systems_manager_incident_manager;",c,c,"","Systems Manager - Inciden…
4720 this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".well_architect_tool;",c,c,"","Well-Arc…
4736 …").join(" "))])};Sidebar.prototype.addAWS4MediaServicesPalette=function(a,b,e,c,d,f){a="sketch=0;p… argument
4744 …oin(" "))])};Sidebar.prototype.addAWS4MigrationTransferPalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4745 "=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,…
4746e+"resourceIcon;resIcon="+d+".migration_and_transfer;",c,c,"","Migration & Transfer",null,null,thi…
4747e+"resourceIcon;resIcon="+d+".database_migration_service;",c,c,"","Database Migration Service",nul…
4748e+"resourceIcon;resIcon="+d+".migration_hub;",c,c,"","Migration Hub",null,null,this.getTagsForSten…
4749e+"resourceIcon;resIcon="+d+".snowball;",c,c,"","Snowball",null,null,this.getTagsForStencil(d,"sno…
4750e+"resourceIcon;resIcon="+d+".snowmobile;",c,c,"","Snowmobile",null,null,this.getTagsForStencil(d,…
4751 …web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIco…
4753e,c,d,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#4D27AA;strok… argument
4754e+"resourceIcon;resIcon="+d+".networking_and_content_delivery;",c,c,"","Networking and Content Del…
4755e+"resourceIcon;resIcon="+d+".cloud_directory;",c,c,"","Cloud Directory",null,null,this.getTagsFor…
4756e+"resourceIcon;resIcon="+d+".route_53;",c,c,"","Route 53",null,null,this.getTagsForStencil(d,"rou…
4757e+"resourceIcon;resIcon="+d+".app_mesh;",c,c,"","App Mesh",null,null,this.getTagsForStencil(d,"app…
4758e+"resourceIcon;resIcon="+d+".site_to_site_vpn;",c,c,"","Site-to-Site VPN",null,null,this.getTagsF…
4759e+"resourceIcon;resIcon="+d+".cloud_map;",c,c,"","Cloud Map",null,null,this.getTagsForStencil(d,"c…
4760e+"resourceIcon;resIcon="+d+".global_accelerator;",c,c,"","Global Accelerator",null,null,this.getT…
4775 …n(" "))])};Sidebar.prototype.addAWS4QuantumTechnologiesPalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4776 mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0…
4777e+"resourceIcon;resIcon="+d+".quantum_technologies;",c,c,"","Quantum Technologies",null,null,this.…
4781 …gies ").join(" "))])};Sidebar.prototype.addAWS4RoboticsPalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4782 mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0…
4783e+"resourceIcon;resIcon="+d+".robotics;",c,c,"","Robotics",null,null,this.getTagsForStencil(d,"rob…
4785 …ics ").join(" "))])};Sidebar.prototype.addAWS4SatellitePalette=function(a,b,e,c,d,f){a="sketch=0;p… argument
4787e,c,d,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BF0816;strok…
4788e+"resourceIcon;resIcon="+d+".security_identity_and_compliance;",c,c,"","Security Identity and Com…
4789e+"resourceIcon;resIcon="+d+".cognito;",c,c,"","Cognito",null,null,this.getTagsForStencil(d,"cogni…
4790e+"resourceIcon;resIcon="+d+".guardduty;",c,c,"","GuardDuty",null,null,this.getTagsForStencil(d,"g…
4791e+"resourceIcon;resIcon="+d+".artifact;",c,c,"","Artifact",null,null,this.getTagsForStencil(d,"art…
4792e+"resourceIcon;resIcon="+d+".certificate_manager_3;",c,c,"","Certificate Manager",null,null,this.…
4793e+"resourceIcon;resIcon="+d+".firewall_manager;",c,c,"","Firewall Manager",null,null,this.getTagsF…
4794e+"resourceIcon;resIcon="+d+".key_management_service;",c,c,"","Key Management Service",null,null,t…
4795e+"resourceIcon;resIcon="+d+".resource_access_manager;",c,c,"","Resource Access Manager",null,null…
4796e+"resourceIcon;resIcon="+d+".secrets_manager;",c,c,"","Secrets Manager",null,null,this.getTagsFor…
4797e+"resourceIcon;resIcon="+d+".shield;",c,c,"","Shield",null,null,this.getTagsForStencil(d,"shield"…
4798 …e security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIco…
4810 Sidebar.prototype.addAWS4ServerlessPalette=function(a,b,e,c,d,f){this.addPaletteFunctions("aws4Serv… argument
4811 …rless ").join(" "))])};Sidebar.prototype.addAWS4StoragePalette=function(a,b,e,c,d,f){b="sketch=0;o… argument
4812 "=mxgraph.aws4.";e="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,…
4813e+"resourceIcon;resIcon="+d+".storage;",c,c,"","Storage",null,null,this.getTagsForStencil(d,"stora…
4814e+"resourceIcon;resIcon="+d+".fsx;",c,c,"","FSx",null,null,this.getTagsForStencil(d,"fsx","aws ama…
4815e+"resourceIcon;resIcon="+d+".s3_on_outposts_storage;",c,c,"","S3 on Outposts Storage",null,null,t…
4816e+"resourceIcon;resIcon="+d+".glacier;",c,c,"","S3 Glacier",null,null,this.getTagsForStencil(d,"s3…
4817e+"resourceIcon;resIcon="+d+".backup;",c,c,"","Backup",null,null,this.getTagsForStencil(d,"backup"…
4818e+"resourceIcon;resIcon="+d+".snowmobile;",c,c,"","Snowmobile",null,null,this.getTagsForStencil(d,…
4819e+"resourceIcon;resIcon="+d+".cloudendure_disaster_recovery;",c,c,"","CloudEndure Disaster Recover…
4820 …aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIco…
4837 mxConstants.STYLE_SHAPE+"=mxgraph.aws4.",e="sketch=0;outlineConnect=0;gradientColor=none;fontColor=…
4838 …ntryLibrary("aws4b","aws4bIllustrations");this.addAWS4bIllustrationsPalette(e,"mxgraph.aws4",this)…
4849 …oin(" "))])};Sidebar.prototype.addAWS4bGeneralResourcesPalette=function(a,b,e,c,d,f,g){this.addPal… argument
4850e,e,"AWS Cloud",null,null,null,this.getTagsForStencil(f,"cloud","aws amazon web service general re…
4851e,e,"Disk",null,null,null,this.getTagsForStencil(f,"disk","aws amazon web service general resource…
4852e,e,"Generic\ndatabase",null,null,null,this.getTagsForStencil(f,"generic databas","aws amazon web …
4853e,e,"Internet alt2",null,null,null,this.getTagsForStencil(f,"internet alternative","aws amazon web…
4854e,e,"Multimedia",null,null,null,this.getTagsForStencil(f,"multimedia","aws amazon web service gene…
4855e,e,"SSL padlock",null,null,null,this.getTagsForStencil(f,"ssl padlock","aws amazon web service ge…
4856e,e,"Traditional\nserver",null,null,null,this.getTagsForStencil(f,"traditional server","aws amazon…
4857e,e,"Virtual private\ncloud",null,null,null,this.getTagsForStencil(f,"virtual private cloud vpc","… argument
4859 … ").join(" "))])};Sidebar.prototype.addAWS4bGroupsLightPalette=function(a,b,e){this.addPaletteFunc… argument
4867 …t ").join(" "))])};Sidebar.prototype.addAWS4bGroupsDarkPalette=function(a,b,e){this.addPaletteFunc… argument
4875 …rk ").join(" "))])};Sidebar.prototype.addAWS4bAnalyticsPalette=function(a,b,e,c,d,f,g){this.addPal… argument
4881e,e,"Search\ndocuments",null,null,null,this.getTagsForStencil(f,"search documents","aws amazon web…
4882e,e,"HDFS cluster",null,null,null,this.getTagsForStencil(f,"hdfs cluster","aws amazon web service …
4883e,e,"EMR engine\nMapR M5",null,null,null,this.getTagsForStencil(f,"emr engine mapr m5","aws amazon…
4884e,e,"Dense\ncompute Node",null,null,null,this.getTagsForStencil(f,"dense compute node","aws amazon… argument
4885 b,e,c,d,f,g){this.addPaletteFunctions("aws4bApplication Integration","AWS18 / Application Integrati…
4887e,e,"Email\nnotification",null,null,null,this.getTagsForStencil(f,"email notification","aws amazon…
4888e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","aws amazon web service application in…
4889e,c,d,f,g){this.addPaletteFunctions("aws4bAR VR","AWS18 / AR & VR",!1,[this.createVertexTemplateEn… argument
4891 …" "))])};Sidebar.prototype.addAWS4bBusinessProductivityPalette=function(a,b,e,c,d,f,g){this.addPal… argument
4892 …vity ").join(" "))])};Sidebar.prototype.addAWS4bComputePalette=function(a,b,e,c,d,f,g){this.addPal… argument
4898 …n(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".ami;",e,e,"AMI",null,null,nul…
4899e,e,"Auto Scaling",null,null,null,this.getTagsForStencil(f,"auto scaling","aws amazon web service …
4900e,e,"Instance with\nCloudWatch",null,null,null,this.getTagsForStencil(f,"instance with cloudwatch"…
4901e,e,"Instances",null,null,null,this.getTagsForStencil(f,"instances","aws amazon web service comput…
4902e,e,"Spot Instance",null,null,null,this.getTagsForStencil(f,"spot instance","aws amazon web servic…
4903e,e,"Registry",null,null,null,this.getTagsForStencil(f,"registry","aws amazon web service compute …
4904e,e,"Container 3",null,null,null,this.getTagsForStencil(f,"container","aws amazon web service comp…
4905e,e,"Lambda\nFunction",null,null,null,this.getTagsForStencil(f,"lambda function","aws amazon web s… argument
4907e,e,"Email",null,null,null,this.getTagsForStencil(f,"email","aws amazon web service customer engag… argument
4911e,e,"Attribute",null,null,null,this.getTagsForStencil(f,"attribute","aws amazon web service db dat…
4912e,e,"Item",null,null,null,this.getTagsForStencil(f,"item","aws amazon web service db database ").j…
4913e,e,"Global\nsecondary\nindex",null,null,null,this.getTagsForStencil(f,"global secondary index","a…
4914e,e,"DB instance",null,null,null,this.getTagsForStencil(f,"db instance","aws amazon web service db…
4915 e,e,"DB instance\nread replica",null,null,null,this.getTagsForStencil(f,"db instance read replica",…
4916e,e,"MS SQL\ninstance\nalternate",null,null,null,this.getTagsForStencil(f,"ms sql instance","aws a…
4917e,e,"MySQL DB \ninstance\nalternate",null,null,null,this.getTagsForStencil(f,"mysql db database in…
4918 e,e,"Oracle DB \ninstance\nalternate",null,null,null,this.getTagsForStencil(f,"oracle db database i…
4919e,e,"PostgreSQL\ninstance",null,null,null,this.getTagsForStencil(f,"postresql instance","aws amazo…
4920e,e,"Dense\nstorage node",null,null,null,this.getTagsForStencil(f,"dense storage node","aws amazon… argument
4921e,c,d,f,g){this.addPaletteFunctions("aws4bDesktop App Streaming","AWS18 / Desktop & App Streaming"… argument
4925 …join(" "))])};Sidebar.prototype.addAWS4bGameDevelopmentPalette=function(a,b,e,c,d,f,g){this.addPal… argument
4926 …oin(" "))])};Sidebar.prototype.addAWS4bInternetOfThingsPalette=function(a,b,e,c,d,f,g){this.addPal… argument
4930e,c,d,f,g){this.addPaletteFunctions("aws4bIoT Things","AWS18 / IoT Things",!1,[this.createVertexTe… argument
4931e,e,"Camera",null,null,null,this.getTagsForStencil(f,"camera","aws amazon web service internet of …
4932e,e,"Cart",null,null,null,this.getTagsForStencil(f,"cart","aws amazon web service internet of thin…
4933e,e,"Factory",null,null,null,this.getTagsForStencil(f,"factory","aws amazon web service internet o…
4934e,e,"Lightbulb",null,null,null,this.getTagsForStencil(f,"lightbulb","aws amazon web service intern…
4935e,e,"Police\nEmergency",null,null,null,this.getTagsForStencil(f,"police emergency","aws amazon web…
4936e,e,"Utility",null,null,null,this.getTagsForStencil(f,"utility","aws amazon web service internet o… argument
4937e,c,d,f,g){this.addPaletteFunctions("aws4bIoT Resources","AWS18 / IoT Resources",!1,[this.createVe…
4938e,e,"Alexa enabled\ndevice",null,null,null,this.getTagsForStencil(f,"alexa enabled device","aws am…
4939e,e,"Alexa smart\nhome skill",null,null,null,this.getTagsForStencil(f,"alexa smart home skill","aw…
4940 e,e,"Certificate\nmanager",null,null,null,this.getTagsForStencil(f,"certificate manager","aws amazo…
4941e,e,"FireTV stick",null,null,null,this.getTagsForStencil(f,"firetv fire tv stick","aws amazon web …
4942e,e,"Hardware\nboard",null,null,null,this.getTagsForStencil(f,"hardware board","aws amazon web ser…
4943e,e,"HTTP\nprotocol",null,null,null,this.getTagsForStencil(f,"http protocol","aws amazon web servi…
4944e,e,"Policy",null,null,null,this.getTagsForStencil(f,"policy","aws amazon web service internet of …
4945e,e,"Rule",null,null,null,this.getTagsForStencil(f,"rule","aws amazon web service internet of thin…
4946e,e,"Shadow",null,null,null,this.getTagsForStencil(f,"shadow","aws amazon web service internet of …
4947e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","aws amazon web service internet of th… argument
4952 …join(" "))])};Sidebar.prototype.addAWS4bManagementToolsPalette=function(a,b,e,c,d,f,g){this.addPal… argument
4958e,e,"Alarm",null,null,null,this.getTagsForStencil(f,"alarm","aws amazon web service management too…
4959e,e,"Event (time-\nbased)",null,null,null,this.getTagsForStencil(f,"event time based","aws amazon …
4960e,e,"Stack",null,null,null,this.getTagsForStencil(f,"stack","aws amazon web service management too…
4961e,e,"Apps",null,null,null,this.getTagsForStencil(f,"apps","aws amazon web service management tools…
4962e,e,"Layers",null,null,null,this.getTagsForStencil(f,"layers","aws amazon web service management t…
4963e,e,"Resources",null,null,null,this.getTagsForStencil(f,"resources","aws amazon web service manage…
4964e,e,"Automation",null,null,null,this.getTagsForStencil(f,"automation","aws amazon web service mana…
4965e,e,"Maintenance\nwindows",null,null,null,this.getTagsForStencil(f,"maintenance windows","aws amaz…
4966e,e,"Patch\nmanager",null,null,null,this.getTagsForStencil(f,"patch manager","aws amazon web servi…
4967e,e,"State\nmanager",null,null,null,this.getTagsForStencil(f,"state manager","aws amazon web servi…
4968e,e,"Checklist fault\ntolerant",null,null,null,this.getTagsForStencil(f,"checklist fault tolerant"…
4969e,e,"Checklist\nsecurity",null,null,null,this.getTagsForStencil(f,"checklist security","aws amazon… argument
4973 …es ").join(" "))])};Sidebar.prototype.addAWS4bMigrationPalette=function(a,b,e,c,d,f,g){this.addPal… argument
4976 ….join(" "))])};Sidebar.prototype.addAWS4bMobileServicesPalette=function(a,b,e,c,d,f,g){this.addPal… argument
4978 …"))])};Sidebar.prototype.addAWS4bNetworkContentDeliveryPalette=function(a,b,e,c,d,f,g){this.addPal… argument
4981 …createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".customer_gateway;",e,e,"Customer\ngateway"…
4982e,e,"Elastic\nnetwork\nadapter",null,null,null,this.getTagsForStencil(f,"elastic network adapter",…
4983e,e,"Endpoints",null,null,null,this.getTagsForStencil(f,"endpoints","aws amazon web service netowr…
4984e,e,"Internet\ngateway",null,null,null,this.getTagsForStencil(f,"internet gateway","aws amazon web…
4985e,e,"Peering",null,null,null,this.getTagsForStencil(f,"peering","aws amazon web service netowrk co…
4986e,e,"VPN\nConnection",null,null,null,this.getTagsForStencil(f,"vpn virtual private network connect…
4987e,e,"Download\ndistribution",null,null,null,this.getTagsForStencil(f,"download distribution","aws …
4988 e,e,"Streaming\ndistribution",null,null,null,this.getTagsForStencil(f,"streaming distribution","aws…
4989 …)};Sidebar.prototype.addAWS4bSecurityIdentityCompliancePalette=function(a,b,e,c,d,f,g){this.addPal… argument
4995 …" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".addon;",e,e,"Add-on",null,null,…
4996e,e,"AWS STS",null,null,null,this.getTagsForStencil(f,"sts","aws amazon web service security ident…
4997 e,e,"Data\nencryption\nkey",null,null,null,this.getTagsForStencil(f,"data encryption key","aws amaz…
4998e,e,"MFA Token",null,null,null,this.getTagsForStencil(f,"mfa token","aws amazon web service securi…
4999e,e,"Role",null,null,null,this.getTagsForStencil(f,"role","aws amazon web service security identit…
5000e,e,"Agent",null,null,null,this.getTagsForStencil(f,"agent","aws amazon web service security ident…
5001 …ance ").join(" "))])};Sidebar.prototype.addAWS4bStoragePalette=function(a,b,e,c,d,f,g){this.addPal… argument
5004 … ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".bucket;",e,e,"Bucket",null,null,…
5005e,e,"Snapshot",null,null,null,this.getTagsForStencil(f,"snapshot","aws amazon web service storage …
5006e,e,"Object",null,null,null,this.getTagsForStencil(f,"object","aws amazon web service storage ").j…
5007e,e,"Import/Export",null,null,null,this.getTagsForStencil(f,"import export","aws amazon web servic…
5008e,e,"Non-Cached\nvolume",null,null,null,this.getTagsForStencil(f,"non cached volume","aws amazon w…
5047 …Library()};Sidebar.prototype.addAzure2AIMachineLearningPalette=function(a,b,e,c){var d=[this.creat… argument
5050 …Child(d[c](a))}))};Sidebar.prototype.addAzure2AnalyticsPalette=function(a,b,e,c){var d=[this.creat… argument
5054 …ild(d[c](a))}))};Sidebar.prototype.addAzure2AppServicesPalette=function(a,b,e,c){var d=[this.creat… argument
5058 …hild(d[c](a))}))};Sidebar.prototype.addAzure2AzureStackPalette=function(a,b,e,c){var d=[this.creat… argument
5061e,c){var d=[this.createVertexTemplateEntry(c+"AVS.svg;",.175*b,.14*b,"","AVS",null,null,this.getTa… argument
5064 function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App S…
5073 function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App S…
5075 …appendChild(d[c](a))}))};Sidebar.prototype.addAzure2CXPPalette=function(a,b,e,c){var d=[this.creat… argument
5076 …Child(d[c](a))}))};Sidebar.prototype.addAzure2DatabasesPalette=function(a,b,e,c){var d=[this.creat… argument
5085 b,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Insights.svg;",.11*b,.1575*b,"","Applic…
5086 …ndChild(d[c](a))}))};Sidebar.prototype.addAzure2GeneralPalette=function(a,b,e,c){var d=[this.creat… argument
5116 Sidebar.prototype.addAzure2IdentityPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(… argument
5120 …ild(d[c](a))}))};Sidebar.prototype.addAzure2IntegrationPalette=function(a,b,e,c){var d=[this.creat… argument
5125 …[c](a))}))};Sidebar.prototype.addAzure2InternetOfThingsPalette=function(a,b,e,c){var d=[this.creat… argument
5126 …endChild(d[c](a))}))};Sidebar.prototype.addAzure2IntunePalette=function(a,b,e,c){var d=[this.creat… argument
5129 …appendChild(d[c](a))}))};Sidebar.prototype.addAzure2IOTPalette=function(a,b,e,c){var d=[this.creat… argument
5134 function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Activity_Log.svg;",.14*b,.1675*b,"","Act…
5143 …ndChild(d[c](a))}))};Sidebar.prototype.addAzure2MigratePalette=function(a,b,e,c){var d=[this.creat… argument
5145 …ld(d[c](a))}))};Sidebar.prototype.addAzure2MixedRealityPalette=function(a,b,e,c){var d=[this.creat… argument
5146 …ndChild(d[c](a))}))};Sidebar.prototype.addAzure2MonitorPalette=function(a,b,e,c){var d=[this.creat… argument
5147 function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Gateways.svg;",.16*b,.16*b,"…
5159 …pendChild(d[c](a))}))};Sidebar.prototype.addAzure2OtherPalette=function(a,b,e,c){var d=[this.creat… argument
5164 …ndChild(d[c](a))}))};Sidebar.prototype.addAzure2PreviewPalette=function(a,b,e,c){var d=[this.creat… argument
5167 …dChild(d[c](a))}))};Sidebar.prototype.addAzure2SecurityPalette=function(a,b,e,c){var d=[this.creat… argument
5170 …ndChild(d[c](a))}))};Sidebar.prototype.addAzure2StoragePalette=function(a,b,e,c){var d=[this.creat… argument
5176 …appendChild(d[c](a))}))};Sidebar.prototype.addAzure2WebPalette=function(a,b,e,c){var d=[this.creat… argument
5712 …SearchEntryLibrary()};Sidebar.prototype.addBPMN2GeneralPalette=function(a,b,e){var c=[this.createV… argument
5734 …ppendChild(c[b](a))}))};Sidebar.prototype.addBPMN2TasksPalette=function(a,b,e){var c=[this.createV… argument
5767 …d(c[b](a))}))};Sidebar.prototype.addBPMN2ChoreographiesPalette=function(a,b,e){var c=[this.addEntr… argument
5769 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5771 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5773 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5775 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5777 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5779 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5781 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5783 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5785 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5787 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5789 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5791 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5793 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5795 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5797 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5799 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5801 c.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometr…
5803 !0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplateFromCells([a,c,b],1…
5805 …geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplate…
5807 …geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplate…
5810 b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplat…
5812 b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplat…
5814 …geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplate…
5816 …geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplate…
5819 …geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplate…
5820 …pendChild(c[b](a))}))};Sidebar.prototype.addBPMN2EventsPalette=function(a,b,e){var c=[this.createV… argument
5869 …ndChild(c[b](a))}))};Sidebar.prototype.addBPMN2GatewaysPalette=function(a,b,e){var c=[this.createV… argument
5953e=new mxCell("Person",new mxGeometry(0,0,160,30),"shape=partialRectangle;html=1;whiteSpace=wrap;co…
5954 e.vertex=!0;b.insert(e);e=new mxCell("Container",new mxGeometry(0,30,160,30),"shape=partialRectangl…
5955 e.vertex=!0;b.insert(e);e=new mxCell("External Person",new mxGeometry(0,30,160,30),"shape=partialRe…
5956 e.vertex=!0;b.insert(e);return sb.createVertexTemplateFromCells([a,b],b.geometry.width,a.geometry.h…
5964 …ar q=new mxCell("",new mxGeometry(81,0,9,50),a+"cb_1p;");q.vertex=!0;return e.createVertexTemplate…
5966 … q=new mxCell("",new mxGeometry(162,0,18,50),a+"cb_2p;");q.vertex=!0;return e.createVertexTemplate…
5968 0,27,50),a+"cb_3p;");k.vertex=!0;return e.createVertexTemplateFromCells([c,b,g,h,k],135,50,"Circuit…
5969 … k=new mxCell("",new mxGeometry(144,0,36,50),a+"cb_4p;");k.vertex=!0;return e.createVertexTemplate…
5986 …(var e=0;e<a.length;e++)this.setCurrentSearchEntryLibrary("cisco","cisco"+a[e]),this.addStencilPal…
5987e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;sketch=0;html=1;"+mxConstants.STYLE_VERTICAL_…
5988e);this.setCurrentSearchEntryLibrary("cisco19","cisco19Network Management");this.addCisco19Network…
5989e);this.setCurrentSearchEntryLibrary("cisco19","cisco19Endpoint Client Device Icons");this.addCisc…
5990e);this.setCurrentSearchEntryLibrary("cisco19","cisco19SAFE");this.addCisco19SafePalette(a,b,e);th… argument
6000 function(a,b,e){this.addPaletteFunctions("cisco19Routing WAN","Cisco 19 / Routing WAN",!1,[this.cre…
6008 …],[0.75,1,0],[0.125,0.25,0],[0.875,0.25,0],[0.875,0.75,0],[0.125,0.75,0]];"+e+"rect;prIcon=asr_100…
6009 …(" "))])};Sidebar.prototype.addCisco19NetworkManagementPalette=function(a,b,e){this.addPaletteFunc… argument
6010 …").join(" "))])};Sidebar.prototype.addCisco19DataCenterPalette=function(a,b,e){this.addPaletteFunc… argument
6011 …,0],[0,0.67,0],[0.015,0.89,0],[0.25,0.91,0],[0.5,0.91,0],[0.785,0.955,0]];"+e+"x509_certificate;fi…
6015 …5,1,0],[0,0.5,0],[0.305,0.305,0],[0.695,0.305,0],[0.7,0.7,0],[0.3,0.7,0]];"+e+"rect;prIcon=aci;fil…
6025e){this.addPaletteFunctions("cisco19Wireless LAN","Cisco 19 / Wireless LAN",!1,[this.createVertexT… argument
6026 …,[1,0.92,0],[0.91,0.995,0],[0.57,0.995,0],[0.045,0.955,0],[0.005,0.43,0]];"+e+"3g_4g_indicator;fil…
6027 …,0.36,0],[1,0.67,0],[0.975,0.975,0],[0.5,1,0],[0.025,0.975,0],[0,0.67,0]];"+e+"wireless_access_poi…
6030 …join(" "))])};Sidebar.prototype.addCisco19CollaborationPalette=function(a,b,e){this.addPaletteFunc… argument
6032 e+"laptop_video_client;fillColor=#005073;strokeColor=none;",50,42.5,"","Laptop Video Client",null,n…
6033 e+"hdtv;fillColor=#005073;strokeColor=none;",60,50,"","HDTV",null,null,this.getTagsForStencil("mxgr…
6040 e+"surveillance_camera;fillColor=#005073;strokeColor=none;",64,50,"","Surveillance Camera",null,nul…
6041 e+"upc_unified_personal_communicator;fillColor=#005073;strokeColor=none;",50,42.5,"","UPC Unified P…
6045 e+"phone_polycom;fillColor=#005073;strokeColor=none;",47.5,50,"","Phone Polycom",null,null,this.get…
6047 ….3,0],[0.99,0.99,0],[0.5,1,0],[0.01,0.99,0],[0.075,0.5,0],[0.17,0.115,0]];"+e+"ip_phone;fillColor=…
6048 e+"camera;fillColor=#005073;strokeColor=none;",90,50,"","Camera",null,null,this.getTagsForStencil("…
6050 ….24,0],[0.95,0.55,0],[0.96,0.95,0],[0.5,1,0],[0.04,0.95,0],[0.05,0.55,0]];"+e+"joystick_keyboard;f…
6052 …Sidebar.prototype.addCisco19SecurityCloudsAndConnectorsPalette=function(a,b,e){this.addPaletteFunc… argument
6058 e+"ldap;fillColor=#005073;strokeColor=none;",50,42.5,"","LDAP",null,null,this.getTagsForStencil("mx…
6059 …4,0.01,0],[0.79,0.25,0],[1,0.65,0],[0.8,0.86,0],[0.41,1,0],[0.16,0.86,0]];"+e+"cloud;fillColor=#6B…
6060 e+"cloud;fillColor=#A6A6A6;strokeColor=none;",50,30,"","Cloud",null,null,this.getTagsForStencil("mx…
6061 e+"cloud;fillColor=#186180;strokeColor=none;",50,30,"","Cloud",null,null,this.getTagsForStencil("mx…
6063e+"secure_endpoints;fillColor=#005073;strokeColor=none;",50,35,"","Secure Endpoint (laptop)",null,… argument
6064 …0.97,0.03,0],[1,0.4,0],[0.97,0.745,0],[0.5,1,0],[0.03,0.745,0],[0,0.4,0]];"+e+"workstation;fillCol…
6065 e+"laptop;fillColor=#005073;strokeColor=none;",50,35,"","Laptop",null,null,this.getTagsForStencil("…
6066 ….985,0.14,0],[1,0.57,0],[0.99,0.98,0],[0.5,1,0],[0.01,0.98,0],[0,0.57,0]];"+e+"tablet;fillColor=#0…
6067 e+"printer;fillColor=#005073;strokeColor=none;",50,45,"","Printer",null,null,this.getTagsForStencil…
6068 e+"home_office;fillColor=#005073;strokeColor=none;",50,50,"","Home Office",null,null,this.getTagsFo…
6069 e+"secure_endpoint_pc;fillColor=#005073;strokeColor=none;",50,40,"","Secure Endpoint (PC)",null,nul…
6070 …25,1,0],[0,1,0],[0,0.34,0],[1,0.67,0],[0,0.67,0],[0.325,0,0],[0.675,0,0]];"+e+"data_center;fillCol…
6071 e+"branch;fillColor=#005073;strokeColor=none;",50,50,"","Branch",null,null,this.getTagsForStencil("… argument
6072e+"cisco_dna;fillColor=#005073;strokeColor=none;",50,30,"","Cisco DNA",null,null,this.getTagsForSt… argument
6074 ….join(" "))])};Sidebar.prototype.addCisco19StealthwatchPalette=function(a,b,e){this.addPaletteFunc… argument
6075 …0.97,0.03,0],[1,0.4,0],[0.97,0.745,0],[0.5,1,0],[0.03,0.745,0],[0,0.4,0]];"+e+"stealthwatch_manage…
6076 …hwatch").join(" "))])};Sidebar.prototype.addCisco19SafePalette=function(a,b,e){this.addPaletteFunc… argument
6141 …1;"+mxConstants.STYLE_SHAPE+"=mxgraph.cisco_safe.",b="fillColor=#6ABD46;"+a,e="fillColor=#999999;"…
6176 …tection","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIco…
6177e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.l2_switching;",43,43,"","L2 …
6178e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.fabric_switching;",43,43,"",…
6179e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.wireless_connection;",43,43,…
6180e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.quality_of_service;",43,43,"…
6181e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.database;",43,43,"","Databas…
6182e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.secure_server;",43,43,"","Se…
6183e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.video;",43,43,"","Video",nul…
6184e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.host_context;",43,43,"","Hos…
6185e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.infrastructure_redundancy;",…
6187 …_ALIGN+"=top;align=center;pointerEvents=1;shape=mxgraph.cisco_safe.design.",e=mxConstants.STYLE_VE…
6188e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.a…
6189e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.a…
6190e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.a…
6192e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.a…
6193e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.a…
6194 …lade server","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIco…
6195e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.b…
6196e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.c…
6197e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.c…
6198e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.c…
6199e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.l…
6200e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.c…
6201e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.d…
6202e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.e…
6203e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.e…
6204e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.f…
6205e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.f…
6206e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.f…
6207e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.f…
6208 …w collector","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIco…
6209e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.f…
6210e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.i…
6211e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.i…
6212e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.l…
6213e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.l…
6214e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.l…
6215e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.m…
6216e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.m…
6217e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.m…
6218e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.m…
6219e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.n…
6220e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.n…
6221e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.n…
6222e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.p…
6223e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.p…
6224e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.r…
6225e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.r…
6226e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.s…
6227e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.s…
6228e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.s…
6229e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.s…
6230e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.s…
6231e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.s…
6232e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.s…
6233e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.t…
6234e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.design.udp_director;",50,45,"","UDP Dir…
6235e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.design.user;",50,50,"","User",null,null…
6236e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.design.video_endpoint;",50,50,"","Video…
6237e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.v…
6238e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.v…
6239e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.v…
6240 …af security","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIco…
6241e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.v…
6242e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.w…
6243e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.w…
6244e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.w…
6245e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.w…
6246 …less switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIco…
6247 "cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisc…
6387 …};Sidebar.prototype.addEipMessageConstructionPalette=function(a){var b=this,e=[this.createEdgeTemp…
6389e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5…
6390 !0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([e,a,d],2…
6391 …nter;fontSize=8;shape=rect;fillColor=#C7A0FF;fontStyle=1;");d.vertex=!0;var e=new mxCell("",new mx…
6392 e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplat…
6393e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5…
6395 …nstruction",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}…
6419 …)])};Sidebar.prototype.addEipMessagingSystemsPalette=function(a){var b=this,e=[this.createVertexTe…
6425 …nter;fontSize=8;shape=rect;fillColor=#80FF6C;fontStyle=1;");d.vertex=!0;var e=new mxCell("",new mx…
6426 e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplat…
6427 …hape=mxgraph.eip.message_1;fillColor=#ff5500;fontStyle=1;");d.vertex=!0;var e=new mxCell("",new mx…
6428 e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplat…
6429e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5…
6430 …ng Systems",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}…
6435 …L_ALIGN+"=top;"+mxConstants.STYLE_SHAPE,b=a+"=mxgraph.electrical.abstract.",e="pointerEvents=1;"+a…
6457e+"capacitor_1;",100,60,"","Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.c…
6458e+"capacitor_3;",100,60,"","Electrolytic Capacitor (US)",null,null,this.getTagsForStencil("mxgraph…
6459e+"capacitor_6;",100,60,"","Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capaci…
6460e+"trimmer_capacitor_2;",100,65.5,"","Tuning Variable Capacitor (US)",null,null,this.getTagsForSte…
6461e+"variable_capacitor_2;",100,60,"","Trimmer Variable Capacitor (US)",null,null,this.getTagsForSte…
6462e+"ganged_capacitor;",100,130,"","Ganged Capacitor",null,null,this.getTagsForStencil("mxgraph.elec…
6463 …omm_neg","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"multiple_electrolyt…
6606e=new mxCell("Item",new mxGeometry(0,0,40,30),"text;strokeColor=none;fillColor=none;spacingLeft=4;…
6611 …ze=14;");a.vertex=!0;a.insert(b.cloneCell(e,"Item 1"));a.insert(b.cloneCell(e,"Item 2"));a.insert(…
6612e.clone()],e.geometry.width,e.geometry.height,"List Item 1")}),this.addEntry("db database schema e…
6613 a.vertex=!0;var c=b.cloneCell(e,"");c.connectable=!1;c.style="shape=partialRectangle;top=0;left=0;b…
6852 …s","GCP / Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6861 …s","GCP / Paths",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6862 …ontColor=#9E9E9E;align=left;verticalAlign=top;spacing=10;spacingTop=-4;",e=[],e=[this.createVertex…
6867e=new mxCell("Zone",new mxGeometry(0,0,230,120),b+"fillColor=#FFF3E0;");e.geometry.relative=!0;e.g…
6868e.vertex=!0;c.insert(e);d=new mxCell("pod",new mxGeometry(0,0,210,60),b+"fillColor=#E8F5E9;");d.ge…
6869e);d=new mxCell("Zone",new mxGeometry(0,0,230,250),b+"fillColor=#FFF3E0;");d.geometry.relative=!0;…
6870e.insert(d);e=new mxCell("Optional Component",new mxGeometry(0,0,250,60),"rounded=1;absoluteArcSiz…
6871 370);e.vertex=!0;c.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry…
6874 …l("2",new mxGeometry(40,0,20,20),b);d.vertex=!0;var e=new mxCell("3",new mxGeometry(80,0,20,20),b)…
6875 …le=0;fontSize=11;");m.vertex=!0;return a.createVertexTemplateFromCells([c,d,e,g,h,k,l,m],260,50,"M…
6879 …,"GCP / Zones",!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}…
6939 "GCP / General Icons",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e
6948 …/ Service Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6950 …,"GCP / Compute",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6952 … API Management",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6955 …"GCP / Security",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6957 … Data Analytics",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6958 …/ Data Transfer",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6961 …"GCP / Cloud AI",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6962 …ernet of Things",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6963 …GCP / Databases",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6964 …,"GCP / Storage",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6968 …anagement Tools",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6972 …CP / Networking",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6976 function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2Expanded…
6981 …d Product Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6987 …nd Device Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
6990 …/ Product Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7054 …++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2CardSet=function(a,b,e,c,d,f){var g=this,h=… argument
7055 "-");f.push(this.addEntry(d,function(){var c=new mxCell("",new mxGeometry(0,0,e,60),"strokeColor=#d…
7058 …geometry.height,k)}))};Sidebar.prototype.addGCP2ProductCardSet=function(a,b,e,c,d,f,g,h){var k=thi… argument
7059 f.vertex=!0;var g=new mxCell(a,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;labelPosition=right;verti…
7060 a.vertex=!0;var d=new mxCell('<font color="#000000">Name</font><br>'+m,new mxGeometry(0,0,45*e,45*c…
7061e,45*c),l+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=mid… argument
7062 …");f.push(this.addEntry(d,function(){var d=new mxCell("",new mxGeometry(0,0,e,c),"strokeColor=#ddd…
7063e,c,k)}))};Sidebar.prototype.addGCP2ExpandedProductCardSet=function(a,b,e,c,d){var f=this,g="sketc… argument
7064 …));d.push(this.addEntry(c,function(){var a=new mxCell("",new mxGeometry(0,0,e+8,78),"shape=mxgraph…
7066 function(a,b,e,c,d,f,g,h,k,l,m,p,n,q){var r=this,u="sketch=0;dashed=0;connectable=0;html=1;fillColo…
7067 …mxCell("",new mxGeometry(0,0,25*e,25*c),u+b+";part=1;");n.geometry.relative=!0;n.geometry.offset=n…
7070 …mxCell("",new mxGeometry(0,0,25*e,25*c),u+b+";part=1;");l.geometry.relative=!0;l.geometry.offset=n…
7073 …geometry.height,t)}))};Sidebar.prototype.addGCP2UserDeviceCard=function(a,b,e,c,d,f,g){var h=this,… argument
7074 …w mxCell("",new mxGeometry(.5,0,50*e,50*c),k+b+";part=1;");g.geometry.relative=!0;g.geometry.offse…
7084 …rm & Ecosystems",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7093 …cons / Big Data",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7105 …cons / Cloud AI",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7111 …Icons / Compute",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7112 …/ Data Transfer",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7116 …Developer Tools",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7130 …duct Card Icons",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7131 …Icons / Generic",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7137 …tity & Security",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7138 …ernet of Things",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7146 …anagement Tools",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7161 …ns / Networking",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7166 …en Source Icons",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7174 …age & Databases",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
7186 …b[c](a))}))};Sidebar.prototype.addGMDLButtonsPalette=function(a){var b=this,e=[this.createVertexTe…
7239 …unction(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLCardsPal…
7265 …unction(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLChipsPal…
7269 …DL / Chips",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}…
7337 …ld(b[c](a))}))};Sidebar.prototype.addGMDLMiscPalette=function(a){var b=this,e=[this.createVertexTe…
7340 …MDL / Misc",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}…
7352 …)};Sidebar.prototype.addGMDLSelectionControlsPalette=function(a){var b=this,e=[this.addEntry("gmdl…
7379 …n Controls",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}…
7422 …](a))}))};Sidebar.prototype.addGMDLTextFieldsPalette=function(a){var b=this,e=[this.addDataEntry("…
7428e=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor=#ff00…
7432e=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor=#ff00…
7440 …=16;verticalAlign=middle;strokeColor=none;fillColor=none;");d.vertex=!0;var e=new mxCell("",new mx…
7441 e.vertex=!0;return b.createVertexTemplateFromCells([a,d,e],346,55,"Single-line text field (normal, …
7442e=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeCol…
7443e=new mxCell("",new mxGeometry(0,45,346,10),"shape=line;strokeWidth=1;noLabel=1;strokeColor=#99999…
7444 …;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2…
7445e],346,55,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design libra…
7446 …;strokeWidth=1;noLabel=1;strokeColor=#999999;");e.vertex=!0;return b.createVertexTemplateFromCells…
7450 …ext Fields",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}…
7457 this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addIBMAnalyticsPalette=function(a,b,e,c){c+=… argument
7459 Sidebar.prototype.addIBMApplicationsPalette=function(a,b,e,c){c+="applications/";var d=[this.create… argument
7465 …ndChild(d[c](a))}))};Sidebar.prototype.addIBMBlockchainPalette=function(a,b,e,c){c+="blockchain/";… argument
7472 …a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMDataPalette=function(a,b,e,c){c+="data/";var d=… argument
7477 function(a,b,e,c){c+="devops/";var d=[this.createVertexTemplateEntry(c+"artifact_management.svg;",a…
7480 …ild(d[c](a))}))};Sidebar.prototype.addIBMInfrastructurePalette=function(a,b,e,c){c+="infrastructur… argument
7486 …ndChild(d[c](a))}))};Sidebar.prototype.addIBMManagementPalette=function(a,b,e,c){c+="management/";… argument
7492 Sidebar.prototype.addIBMMiscPalette=function(a,b,e,c){c+="miscellaneous/";var d=[this.createVertexT… argument
7496 …pendChild(d[c](a))}))};Sidebar.prototype.addIBMSecurityPalette=function(a,b,e,c){c+="security/";va… argument
7501 …appendChild(d[c](a))}))};Sidebar.prototype.addIBMSocialPalette=function(a,b,e,c){c+="social/";var … argument
7503 ….appendChild(d[c](a))}))};Sidebar.prototype.addIBMUsersPalette=function(a,b,e,c){c+="users/";var d… argument
7505 …)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMVPCPalette=function(a,b,e,c){c+="vpc/";var d=[… argument
7514 Sidebar.prototype.addIBMBoxesPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry("shape… argument
7521 …ndChild(d[c](a))}))};Sidebar.prototype.addIBMConnectorsPalette=function(a,b,e,c){var d=[this.creat… argument
7768 …onstants.STYLE_STROKEWIDTH+"=1;html=1;shadow=0;dashed=0;shape=mxgraph.ios.",e=mxConstants.STYLE_VE…
7787 …5,"","Horizontal button bar",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#00…
7788e+"iPin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000;",10,25,"","Pin",null,null,null)…
7794e="html=1;verticalLabelPosition=bottom;align=center;labelBackgroundColor=#ffffff;verticalAlign=top…
7795e+"back;",30,25.5,"","Back",null,null,this.getTagsForStencil(c,"back",b).join(" ")),this.createVer…
7796e+"basketball;",30,30,"","Basketball",null,null,this.getTagsForStencil(c,"basketball",b).join(" ")…
7797e+"book;",30,25.5,"","Book",null,null,this.getTagsForStencil(c,"book",b).join(" ")),this.createVer…
7798e+"calculator;",24,30,"","Calculator",null,null,this.getTagsForStencil(c,"calculator",b).join(" ")…
7799e+"clock;",30,30,"","Clock",null,null,this.getTagsForStencil(c,"clock",b).join(" ")),this.createVe…
7800e+"credit_card;",30,15,"","Credit Card",null,null,this.getTagsForStencil(c,"credit_card",b).join("…
7801e+"delete;",30,30,"","Delete",null,null,this.getTagsForStencil(c,"delete",b).join(" ")),this.creat…
7802e+"edit;",29.4,29.4,"","Edit",null,null,this.getTagsForStencil(c,"edit",b).join(" ")),this.createV…
7803e+"flag;",30,30,"","Flag",null,null,this.getTagsForStencil(c,"flag",b).join(" ")),this.createVerte…
7804e+"folders;",30,25.5,"","Folders",null,null,this.getTagsForStencil(c,"folders",b).join(" ")),this.…
7805e+"glasses;",30,12,"","Glasses",null,null,this.getTagsForStencil(c,"glasses",b).join(" ")),this.cr…
7806e+"home;",24,25.5,"","Home",null,null,this.getTagsForStencil(c,"home",b).join(" ")),this.createVer…
7807e+"location;",24,30,"","Location",null,null,this.getTagsForStencil(c,"location",b).join(" ")),this…
7808e+"loud;",102*.3,32.4,"","Loud",null,null,this.getTagsForStencil(c,"loud",b).join(" ")),this.creat…
7809e+"message;",30,19.5,"","Message",null,null,this.getTagsForStencil(c,"message",b).join(" ")),this.…
7810e+"moon;",29.4,29.4,"","Moon",null,null,this.getTagsForStencil(c,"moon",b).join(" ")),this.createV…
7811 …his.getTagsForStencil(c,"note",b).join(" ")),this.createVertexTemplateEntry(e+"options;pointerEven…
7812e+"page_navigation;pointerEvents=1",30,4.8,"","Page Navigation",null,null,this.getTagsForStencil(c…
7813e+"pie_chart;",30,30,"","Pie Chart",null,null,this.getTagsForStencil(c,"pie_chart",b).join(" ")),t…
7814e+"printer;",30,25.5,"","Printer",null,null,this.getTagsForStencil(c,"printer",b).join(" ")),this.…
7815e+"repeat;pointerEvents=1",30,24,"","Repeat",null,null,this.getTagsForStencil(c,"repeat",b).join("…
7816e+"share;",21,28.5,"","Share",null,null,this.getTagsForStencil(c,"share",b).join(" ")),this.create…
7817e+"smartphone;",18,30,"","Smartphone",null,null,this.getTagsForStencil(c,"smartphone",b).join(" ")…
7818e+"sun;pointerEvents=1",30,30,"","Sun",null,null,this.getTagsForStencil(c,"sun",b).join(" ")),this…
7819e+"trophy;",28.5,30,"","Trophy",null,null,this.getTagsForStencil(c,"trophy",b).join(" ")),this.cre…
7820e+"user;",30,30,"","User",null,null,this.getTagsForStencil(c,"user",b).join(" ")),this.createVerte…
7821e+"wallet;",30,24,"","Wallet",null,null,this.getTagsForStencil(c,"wallet",b).join(" ")),this.creat…
7826 this.createVertexTemplateEntry(e+"slider;barPos=20;strokeColor=#0080f0;strokeColor2=#a0a0a0;",150,1…
7851 …etTagsForStencil(c,"url",b+"url").join(" ")),this.createVertexTemplateEntry(e+"iconGrid;fillColor=…
7870e+"onOffButton;buttonState=on;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor…
7872 …mxgraph.ios7.misc","circle",b+"").join(" ")),this.createVertexTemplateEntry(e+"pageControl;fillCol…
7896 …tants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=2;shape=mxgraph.lean_mapping.",e=this;this.setCurrent…
7899 …;align=center;spacingTop=-5;resizeWidth=1;");b.vertex=!0;c.insert(b);return e.createVertexTemplate…
7904 …iddle;html=1;align=center;whiteSpace=wrap;");b.vertex=!0;c.insert(b);return e.createVertexTemplate…
7906 …,"rect;fillColor=#000000;strokeColor=none;");c.vertex=!0;a.insert(c);return e.createVertexTemplate…
7918 "=#999999;",e=this,c=[this.createVertexTemplateEntry(a+"buttons.button;"+(mxConstants.STYLE_STROKEC…
7919 …Color=#ffffff;fontStyle=1;whiteSpace=wrap;");b.vertex=!0;c.insert(b);return e.createVertexTemplate…
7922 b.geometry.relative=!0;b.vertex=!0;c.insert(b);return e.createVertexTemplateFromCells([c],c.geometr…
7924 …8cff;resizeWidth=1;");b.geometry.relative=!0;b.vertex=!0;c.insert(b);return e.createVertexTemplate…
7926 …"=mxgraph.mockup.",e=mxConstants.STYLE_STROKECOLOR+"=#666666;",c=this,d=[this.createVertexTemplate…
7930 …"Browser Window")}),this.createVertexTemplateEntry(a+"containers.userMale;"+e+"strokeColor2=#008cf…
7931 "containers.userFemale;"+e+"strokeColor2=#008cff;",100,100,"","User, Female",null,null,this.getTags…
7940 e=mxConstants.STYLE_STROKECOLOR+"=#999999;",c=this,d=[this.createVertexTemplateEntry(b+"forms.rrect…
7942 …ockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.comboBox;"+e+mxConstants.STYLE_FI…
7943 "forms.spinner;"+e+"spinLayout=right;spinStyle=normal;adjStyle=triangle;fillColor=#aaddff;fontSize=…
7946 …ry.height,"Menu Bar")}),this.createVertexTemplateEntry(a+"forms.horSlider;"+e+"sliderStyle=basic;s…
7947 this.createVertexTemplateEntry(a+"forms.horSlider;"+e+"sliderStyle=basic;sliderPos=20;handleStyle=c…
7948e+"mainText=;align=left;fontColor=#666666;fontSize=17;spacingLeft=3;",150,30,"********","Password …
7950e=new mxCell("Tab 3",new mxGeometry(160,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#666666;alig…
7951 …ckup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.searchBox;"+e+"mainText=;strokeCol…
7955 …ROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",e=
7956e+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Bar …
7957 …aphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.lineChart;"+e+"strokeColor2=#66666…
7959 this.createVertexTemplateEntry(a+"graphics.bubbleChart;"+e+"strokeColor2=none;strokeColor3=#666666;…
7975 ….STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+"=#999999;",e=mxConstants.STYLE_ST…
7978 "=mxgraph.mockup.markup.redX;fillColor=#ff0000;html=1;shadow=0;"+e,200,100,"","Red X",null,null,thi…
7979 "=mxgraph.mockup.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;shadow=0;dashed=0;align=center…
7991e+"misc.pin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600;",10,25,"","Pin",null,null,t…
7992e+"misc.pin;fillColor2=#ffff00;fillColor3=#888800;strokeColor=#999900;",10,25,"","Pin",null,null,t…
7993 …ROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",e=
7997e+"barPos=20;fillColor2=#99ddff;strokeColor2=none;",200,20,"","Horizontal Scroll Bar",null,null,th…
7999 …on.mapNavigator;fillColor2=#99ddff;strokeColor2=none;strokeColor3=#ffffff;"+e,60,100,"","Map Navig…
8001 ….STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+"=#666666;",e=mxConstants.STYLE_ST…
8007 e+mxConstants.STYLE_FILLCOLOR+"=none;align=left;verticalAlign=top;fontSize=17;fontColor=#666666;",1…
8022 function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Cache_Redis_Product.svg;",.5*b,.42*b,"",…
8027 …d(d[c](a))}))};Sidebar.prototype.addMSCAEEnterpriseFlatPalette=function(a,b,e){var c=[this.createV… argument
8089 …Child(c[b](a))}))};Sidebar.prototype.addMSCAEIntuneFlatPalette=function(a,b,e){var c=[this.createV… argument
8119 …endChild(c[b](a))}))};Sidebar.prototype.addMSCAEOMSFlatPalette=function(a,b,e){var c=[this.createV… argument
8131 …c[b](a))}))};Sidebar.prototype.addMSCAESystemCenterFlatPalette=function(a,b,e){var c=[this.createV… argument
8138 …d(c[b](a))}))};Sidebar.prototype.addMSCAEAIandMLServicePalette=function(a,b,e,c){var d=[this.creat… argument
8142 …d[c](a))}))};Sidebar.prototype.addMSCAEAnalyticsServicePalette=function(a,b,e,c){var d=[this.creat… argument
8147 …d(d[c](a))}))};Sidebar.prototype.addMSCAEComputeServicePalette=function(a,b,e,c){var d=[this.creat… argument
8152 …d[c](a))}))};Sidebar.prototype.addMSCAEComputeServiceVMPalette=function(a,b,e,c){var d=[this.creat… argument
8156 …c](a))}))};Sidebar.prototype.addMSCAEContainerServiceVMPalette=function(a,b,e,c){var d=[this.creat… argument
8158 …d[c](a))}))};Sidebar.prototype.addMSCAEDatabasesServicePalette=function(a,b,e,c){var d=[this.creat… argument
8167 …ld(d[c](a))}))};Sidebar.prototype.addMSCAEDevOpsServicePalette=function(a,b,e,c){var d=[this.creat… argument
8171 Sidebar.prototype.addMSCAEGeneralServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateE… argument
8180 …(d[c](a))}))};Sidebar.prototype.addMSCAEIdentityServicePalette=function(a,b,e,c){var d=[this.creat… argument
8187 Sidebar.prototype.addMSCAEIntegrationServicePalette=function(a,b,e,c){var d=[this.createVertexTempl… argument
8195 …)}))};Sidebar.prototype.addMSCAEInternetOfThingsServicePalette=function(a,b,e,c){var d=[this.creat… argument
8200 …ld(d[c](a))}))};Sidebar.prototype.addMSCAEIntuneServicePalette=function(a,b,e,c){var d=[this.creat… argument
8205 …};Sidebar.prototype.addMSCAEManagementGovernanceServicePalette=function(a,b,e,c){var d=[this.creat… argument
8213 …ebar.prototype.addMSCAEManagementGovernanceMediaServicePalette=function(a,b,e,c){var d=[this.creat… argument
8216 Sidebar.prototype.addMSCAEMigrateServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateE… argument
8217 …](a))}))};Sidebar.prototype.addMSCAEMixedRealityServicePalette=function(a,b,e,c){var d=[this.creat… argument
8218 …ld(d[c](a))}))};Sidebar.prototype.addMSCAEMobileServicePalette=function(a,b,e,c){var d=[this.creat… argument
8220 …[c](a))}))};Sidebar.prototype.addMSCAENetworkingServicePalette=function(a,b,e,c){var d=[this.creat… argument
8232 …(a))}))};Sidebar.prototype.addMSCAEOtherCategoryServicePalette=function(a,b,e,c){var d=[this.creat… argument
8237 …(d[c](a))}))};Sidebar.prototype.addMSCAESecurityServicePalette=function(a,b,e,c){var d=[this.creat… argument
8239 …d(d[c](a))}))};Sidebar.prototype.addMSCAEStorageServicePalette=function(a,b,e,c){var d=[this.creat… argument
8247 …Child(d[c](a))}))};Sidebar.prototype.addMSCAEWebServicePalette=function(a,b,e,c){var d=[this.creat… argument
8301 …Office / Clouds",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
8351 !1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prot…
8439 …fice / Concepts",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
8469 …ice / Databases",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
8500 …ffice / Devices",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
8535 …fice / Security",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
8603 …ffice / Servers",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
8620 …)];this.addPalette("officeServices","Office / Services",!1,mxUtils.bind(this,function(b){for(var e=
8621 0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addOfficeSitesPalette=function(){var …
8634 …"Office / Sites",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
8660 …"Office / Users",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
8661 …tte();for(var e="Instruments;Misc;Valves;Compressors;Engines;Filters;Flow Sensors;Piping".split(";…
8771e=0;e<a.length;e++)"general"===a[e].toLowerCase()?(this.setCurrentSearchEntryLibrary("rack","rackG…
8772e].toLowerCase()?this.addRackHPEArubaSecurityPalette():"hpe aruba switches"===a[e].toLowerCase()?t…
8950 …(var e=0;e<a.length;e++)this.setCurrentSearchEntryLibrary("signs","signs"+a[e]),this.addStencilPal…
8975 …temap","Sitemap",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
8977 …ry()};Sidebar.prototype.addSysMLModelElementsPalette=function(a){var b=this,e=[this.addDataEntry("…
8983e=new mxCell("\nSubpackage2",new mxGeometry(190,20,100,50),"strokeColor=inherit;fillColor=inherit;…
8984 g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);return b.createV…
8985e=new mxCell("\nSubpackage2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;…
8986 …ne;endSize=12;html=1;");g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.i…
8993 …nction(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLBlocksPa…
8994 …tStyle=1;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var e=new mxCell("Block2",…
8995 e.vertex=!0;a.insert(e);var g=new mxCell("part1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillC…
8996 …relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.insertEdge(g,!1);ret…
9004e=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradien…
9005 …try.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.insertEdge(g,!1);
9007 …l=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var e=new mxCell("Block3",…
9008 e.vertex=!0;a.insert(e);var g=new mxCell("c1:",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillCol…
9009 …relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.insertEdge(g,!1);ret…
9031 …1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell('<p style…
9032e.vertex=!0;var g=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;part…
9033 …rit;shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;");g.vertex=!0;e.insert(g);g=new mxCe…
9034 h.geometry.relative=!0;h.edge=!0;e.insertEdge(h,!0);var k=new mxCell("property2",new mxGeometry(-1,…
9036 d,e,g,h],400,260,"Participant Property")}),this.addDataEntry("sysml block participant property",400…
9040e=new mxCell("p2:\nType2",new mxGeometry(300,100,80,40),"strokeColor=inherit;fillColor=inherit;gra…
9041e);var g=new mxCell("c1: Association1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inhe…
9042 …;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);e=new mxCell("p4:\nTyp…
9043e.vertex=!0;a.insert(e);g=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inh…
9047e=new mxCell("p2:\nType2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gra…
9048 …relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.insertEdge(g,!1);a.i…
9060 …ion(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLPortsAndFlo…
9074 …lowType=none;spacingLeft=15;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("Torque",…
9075e.geometry.relative=!0;e.edge=!0;var g=new mxCell("ep:EP",new mxGeometry(0,0,0,0),"resizable=0;htm…
9076 …ve=!0;g.geometry.x=1;g.setConnectable(!1);g.vertex=!0;e.insert(g);a.insertEdge(e,!0);d.insertEdge(
9083 …;l.insertEdge(m,!1);g.insert(m);return b.createVertexTemplateFromCells([a,d,e,g,h],470,370,"Item F…
9087e=new mxCell("ITransData",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=…
9089e=new mxCell("ITransData",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=…
9090 …n(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLConstraintBlo…
9092e=new mxCell("x:",new mxGeometry(0,25,0,0),"html=1;resizable=0;align=left;verticalAlign=middle;lab…
9093e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;d.insert(e);var g=new mxCell("length: Real…
9094 …=1;fontSize=10;verticalLabelPosition=top;verticalAlign=bottom;");e.vertex=!0;a.insert(e);var h=new…
9095 g.geometry.relative=!0;g.geometry.x=1;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);r…
9097 …tion(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLActivities…
9123e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;elbow=horizontal;endArrow…
9124 d,e],160,60,"Control Flow")}),this.addDataEntry("sysml activity control flow",160,60,"Control Flow"…
9126e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;elbow=horizontal;endArrow…
9127 return b.createVertexTemplateFromCells([a,d,e],200,60,"Object Flow")}),this.createVertexTemplateEnt…
9132e=new mxCell("&lt;&lt;activity&gt;&gt;\nactivity name",new mxGeometry(30,160,120,60),"strokeColor=…
9133 …=none;");g.geometry.relative=!0;g.geometry.x=1;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.i…
9134e=new mxCell("&lt;&lt;block&gt;&gt;\nblock name",new mxGeometry(180,160,120,60),"strokeColor=inher…
9135 !0;g.geometry.x=1;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);return b.createVertex…
9138 …ion(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLInteraction…
9144e=new mxCell("b2: Block2",new mxGeometry(140,40,80,30),"strokeColor=inherit;fillColor=inherit;grad…
9146e.insertEdge(d,!0);e=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;…
9147 …oint(180,150),!1);g.geometry.relative=!0;g.geometry.x=-1;g.edge=!0;a.insert(g);e=new mxCell("msg1",
9148 …lAlign=bottom;labelBackgroundColor=none;");e.geometry.relative=!0;e.setConnectable(!1);e.vertex=!0…
9149e=new mxCell("msg2",new mxGeometry(1,0,0,0),"align=right;html=1;verticalAlign=bottom;labelBackgrou…
9157 …ion(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLStateMachin…
9158 …belBackgroundColor=#ffffff;verticalAlign=top;");d.vertex=!0;a.insert(d);var e=new mxCell("State1",…
9159 …erit;shape=rect;html=1;rounded=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);var g=new…
9160e.insertEdge(h,!1);a.insert(h);d=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillCo…
9171 0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLUseCasesPalette=function(a){v…
9176 …tion(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLAllocation…
9182 …try(200,0,100,60),"shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=
9183e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTempla…
9184 function(a){var b=this,e=[this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.package;overfl…
9187 …var e=new mxCell("&lt;&lt;copy&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endS…
9188 !0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Cop…
9189e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometr…
9190e=new mxCell("&lt;&lt;deriveReq&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;html=1;edgeStyle=n…
9191e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometr…
9192e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometr…
9193e],360,60,"Derive Callout")}),this.addEntry("sysml requirement satisfy dependency",function(){var …
9194 e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplat…
9195e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometr…
9196e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometr…
9197e=new mxCell("&lt;&lt;verify&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSiz…
9198e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometr…
9199e],360,60,"Verify Callout")}),this.addEntry("sysml requirement verify callout",function(){var a=ne…
9200e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360…
9201 …ashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.…
9202e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometr…
9203e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometr…
9204e=new mxCell("&lt;&lt;trace&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize…
9205e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometr…
9206 …=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e
9207e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Trace Callout")})];this.addPalette("s…
9210e=new mxCell("{required}",new mxGeometry(0,0,0,0),"endArrow=block;html=1;endFill=1;edgeStyle=none;…
9211e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=block;html=1;endFill=0;edgeStyle=none;endSize=12…
9213 …/ Profiles",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}…
9230 b.vertex=!0;this.setCurrentSearchEntryLibrary("uml25");var e=[this.createVertexTemplateEntry("shape…
9237 …tom=0;html=1;strokeColor=none;fillColor=none;");b.vertex=!0;c.insert(b);var e=new mxCell("property…
9238 …erticalAlign=middle;rotatable=0;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(20,20);e.v…
9239 h.geometry.relative=!0;h.edge=!0;e.insertEdge(h,!0);g.insertEdge(h,!1);b.insert(h);return a.createV…
9241e=new mxCell("instance2",new mxGeometry(0,0,80,30),"html=1;align=center;verticalAlign=middle;rotat…
9247 …r=none;endSize=2;");b.geometry.relative=!0;b.edge=!0;c.insertEdge(b,!0);var e=new mxCell("",new mx…
9248 e.vertex=!0;e.insertEdge(b,!1);return a.createEdgeTemplateFromCells([c,b,e],60,30,"Port with provid…
9249 …r;verticalLabelPosition=top;flipH=1;");e.vertex=!0;e.insertEdge(b,!1);return a.createEdgeTemplateF…
9250e=new mxCell("",new mxGeometry(1,0,16,20),"shape=module;jettyWidth=10;jettyHeight=4;");e.vertex=!0…
9253e=new mxCell("Classifier1",new mxGeometry(0,0,100,30),"html=1;align=center;verticalAlign=middle;ro…
9254e.insertEdge(g,!0);b.insertEdge(g,!1);c.insert(g);e=new mxCell("Classifier2",new mxGeometry(0,0,10…
9255e.vertex=!0;c.insert(e);g=new mxCell("property1",new mxGeometry(0,0,0,0),"edgeStyle=none;endArrow=…
9262 …rtex=!0;var e=new mxCell("Region 2",new mxGeometry(70,40,60,20),"text;align=left;");e.vertex=!0;re…
9263e=new mxCell("State2",new mxGeometry(30,10,80,30),"html=1;align=center;verticalAlign=middle;rounde…
9273e=new mxCell("",new mxGeometry(50,25,30,15),"triangle;whiteSpace=wrap;html=1;direction=north;");e.…
9280 …w mxPoint(0,15),!0);b.geometry.relative=!0;b.edge=!0;c.insertEdge(b,!1);var e=new mxCell("",new mx…
9281 …");e.geometry.setTerminalPoint(new mxPoint(130,15),!1);e.geometry.relative=!0;e.edge=!0;c.insertEd…
9298 …pace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;");b.vertex=!0;var e=
9299 …apsible=0;recursiveResize=0;outlineConnect=0;");e.vertex=!0;return a.createVertexTemplateFromCells…
9303 ….vertex=!0;c.insert(b);var e=new mxCell("Interaction1",new mxGeometry(0,0,100,20),"text;align=left…
9304 40);e.vertex=!0;b.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.…
9310 var e=new mxCell("",new mxGeometry(1,0,20,16),"shape=ellipse;");e.vertex=!0;e.geometry.relative=!0;
9320 …ew mxPoint(0,0),!0);b.geometry.relative=!0;b.edge=!0;c.insertEdge(b,!1);var e=new mxCell("&lt;&lt;…
9321 e.geometry.setTerminalPoint(new mxPoint(0,80),!0);e.geometry.relative=!0;e.edge=!0;c.insertEdge(e,!…
9322 …e=!0;h.edge=!0;c.insertEdge(h,!0);return a.createEdgeTemplateFromCells([c,b,e,g,h],140,80,"Depende…
9328 …w mxPoint(0,10),!0);b.geometry.relative=!0;b.edge=!0;c.insertEdge(b,!1);var e=new mxCell("",new mx…
9329 e.geometry.setTerminalPoint(new mxPoint(140,10),!1);e.geometry.relative=!0;e.edge=!0;c.insertEdge(e
9337e=new mxCell("ConnectableElement",new mxGeometry(0,0,0,0),"html=1;rounded=0;labelBackgroundColor=n…
9338 !0;e.edge=!0;b.insertEdge(e,!0);d.insertEdge(e,!1);return a.createEdgeTemplateFromCells([b,d,e],100…
9342 …5,100,30),"html=1;rounded=1;absoluteArcSize=1;arcSize=10;");d.vertex=!0;var e=new mxCell("",new mx…
9343e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);d.insertEdge(e,!1);var g=new mxCell("",new mxG…
9351e=new mxCell("",new mxGeometry(75,60,10,60),"rounded=0;dashed=0;");e.vertex=!0;b.insert(e);var g=n…
9352e.insertEdge(d,!1);e=new mxCell("",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;startArrow…
9355 …("uml")+" 2.5",!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}…
9376 …m / Data Center",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9395 …/ Miscellaneous",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9415 …eeam / Software",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9433 …Veeam / Storage",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9447 …sers and Status",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9466 …uite components",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9492 …and Replication",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9502 …eeam / Products",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9517 … / VMs and Tape",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9552 …3D","Veeam / 3D",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9567 …eam / Auxiliary",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9594 …m / Data Center",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9608 …eeam / Features",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9638 …Veeam / General",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9679 … and Components",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9705 …eeam / Software",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9716 …"Veeam / States",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9742 …Veeam / Storage",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9779 "Veeam / 3D",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}…
9839 …alidated Design",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b)…
9975 DrawioFile=function(b,e){mxEventSource.call(this);this.ui=b;this.shadowData=this.data=e||"";this.sh… argument
9978 …e=function(b,e){this.savingFile?null!=e&&e({message:mxResources.get("busy")}):null!=this.sync?this… argument
9979e,d,c){null!=d&&d()||(this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=e&&e():this.getLa… argument
9980 DrawioFile.prototype.mergeFile=function(b,e,d,c){var g=!0;try{this.stats.fileMerged++;var k=null!=t… argument
9982 …r(b.getDescriptor());this.descriptorChanged();this.backupPatch=null;null!=e&&e()}catch(z){this.inv…
9984 …ction(b){var e=new mxCodec(mxUtils.createXmlDocument()),d=e.document.createElement("mxfile");if(nu…
9985 …mpressReportData=function(b,e,d){e=null!=e?e:1E4;null!=d&&null!=b&&b.length>d?b=b.substring(0,d)+"… argument
9986e,d,c,g){this.stats.checksumErrors++;this.invalidChecksum=this.inConflictState=!0;this.descriptorC… argument
9989 DrawioFile.prototype.sendErrorReport=function(b,e,d,c){try{var g=this.compressReportData(this.getAn… argument
9990 …mxSettings.getPlugins():"null")+"\n\nStats:\n"+JSON.stringify(this.stats,null,2)+(null!=e?"\n\n"+e:
9992e){try{this.ui.spinner.stop();var d=mxUtils.bind(this,function(){this.stats.fileReloaded++;var c=t… argument
9993 …sources.get("discardChanges")):d()}catch(c){null!=e&&e(c)}};DrawioFile.prototype.copyFile=function… argument
9994 …ototype.ignorePatches=function(b){for(var e=!0,d=0;d<b.length&&e;d++)e=e&&0==Object.keys(b[d]).len…
9995 DrawioFile.prototype.patch=function(b,e,d){var c=this.ui.editor.undoManager,g=c.history.slice(),k=c… argument
9996 0;q<b.length;q++)this.ui.pages=this.ui.patchPages(this.ui.pages,b[q],!0,e,this.isModified());0==thi…
9998e,d,c,g,k){try{if(this.isEditable())if(!g&&this.invalidChecksum)if(null!=d)d({message:mxResources.… argument
9999 …compressXml};DrawioFile.prototype.saveAs=function(b,e,d){};DrawioFile.prototype.saveFile=function(… argument
10001 …b,e,d){};DrawioFile.prototype.isMovable=function(){return!1};DrawioFile.prototype.isTrashed=functi… argument
10003e=function(b){for(var c=0;null!=b&&c<b.length;c++){var d=b[c];null!=d.id&&0==d.id.indexOf("extFont… function
10004e){b(null)};DrawioFile.prototype.loadDescriptor=function(b,e){b(null)};DrawioFile.prototype.loadPa… argument
10006 DrawioFile.prototype.getLatestVersion=function(b,e){b(null)};DrawioFile.prototype.getLastModifiedDa… argument
10007e){this.setDescriptorEtag(b,e)};DrawioFile.prototype.getDescriptorRevisionId=function(b){return th… argument
10008 ….changeListener&&(this.changeListener=mxUtils.bind(this,function(b,e){var d=null!=e?e.getProperty(… argument
10012 …aftId,JSON.stringify(b));EditorUi.debug("draft saved",this.draftId,b)}catch(e){this.removeDraft()}…
10014e=mxUtils.htmlEntities(mxResources.get("unsavedChanges"));this.ui.editor.setStatus('<div title="'+
10015e&&60<e.length&&(e=e.substring(0,60)+"...");e=mxUtils.htmlEntities(mxResources.get("unsavedChanges…
10016 …unct()}))):(e=mxUtils.htmlEntities(mxResources.get("unsavedChanges")),this.ui.editor.setStatus('<d…
10017e){this.invalidChecksum&&null==e&&(e=mxResources.get("checksum"));this.setConflictStatus(mxUtils.h… argument
10019e,d){null==d&&(d=mxResources.get("checksum"));this.ui.editor.isChromelessView()&&!this.ui.editor.e… argument
10020 e)}),null,mxResources.get("synchronize"),mxUtils.bind(this,function(){this.reloadFile(b,e)}),mxReso…
10021e,d){this.invalidChecksum=this.inConflictState=!1;this.addUnsavedStatus();this.ui.showError(mxReso… argument
10022e){this.ui.showError(mxResources.get("externalChanges"),mxResources.get("fileChangedSyncDialog"),m… argument
10023e){this.ui.spinner.stop();if(!this.redirectDialogShowing){this.redirectDialogShowing=!0;var d=wind… argument
10026e){this.ui.spinner.stop();if(this.ui.getCurrentFile()==this)if(this.inConflictState)this.handleCon… argument
10028 DrawioFile.prototype.handleConflictError=function(b,e){var d=mxUtils.bind(this,function(){this.hand… argument
10029 …g):this.invalidChecksum?this.showRefreshDialog(d,c,this.getErrorMessage(b)):e?this.showConflictDia…
10030 …b){var e=null!=b?null!=b.error?b.error.message:b.message:null;null==e&&null!=b&&b.code==App.ERROR_…
10033e=Editor.guid(32);null==this.sync||this.isOptimisticSync()?b(e):this.sync.createToken(e,mxUtils.bi…
10035e,d,c,g){this.lastSaved=new Date;this.ageStart=null;try{this.stats.saved++,this.invalidChecksum=th… argument
10037 …rototype.autosave=function(b,e,d,c){null==this.lastAutosave&&(this.lastAutosave=Date.now());b=Date… argument
10040 …ion(b,e){if(null!=b&&null!=e){var d=b.lastIndexOf("."),c=0<d?b.substring(d):"",d=e.lastIndexOf("."… argument
10042e){b([])};DrawioFile.prototype.addComment=function(b,e,d){e(Date.now())};DrawioFile.prototype.canR… argument
10043e,d){this.saveAs(this.title,e,d)};LocalFile.prototype.saveAs=function(b,e,d){this.saveFile(b,!1,e,… argument
10044 …ototype.getLatestVersion=function(b,e){null==this.fileHandle?b(null):this.ui.loadFileSystemEntry(t… argument
10045e,d,c,g){b!=this.title&&(this.desc=this.fileHandle=null);this.title=b;g||this.updateFileData();var… argument
10047 …,e);this.removeDraft()}catch(A){e(A)}}),e)}),e)}),e):(this.inConflictState=!0,e())}),mxUtils.bind(…
10048e=this.ui.getPngFileProperties(this.ui.fileNode),this.ui.getEmbeddedPng(mxUtils.bind(this,function… argument
10049e,d){LocalFile.call(this,b,e,d)};mxUtils.extend(LocalLibrary,LocalFile);LocalLibrary.prototype.get… argument
10050e,d){this.saveAs(this.getTitle(),e,d)};StorageFile.prototype.saveAs=function(b,e,d){DrawioFile.pro… argument
10051e,d,c,g){var k=mxUtils.bind(this,function(k){var f=function(){var f=new StorageFile(b,d,e);f.saveF… argument
10052 …tion(b,e,d,c){b.getDatabaseItem(e,function(b){d(b)},mxUtils.bind(this,function(){null==b.database?… argument
10053e,d,c){if(this.isEditable()){var g=mxUtils.bind(this,function(){this.isRenamable()&&(this.title=b)… argument
10054 g,e):null!=c&&c()}),["filesInfo","files"])}catch(f){null!=c&&c(f)}});this.isRenamable()&&"."==b.cha…
10055e,d){var c=this.getTitle();c!=b?StorageFile.getFileInfo(this.ui,b,mxUtils.bind(this,function(g){va… argument
10056 …ion=function(b,e){StorageFile.getFileContent(this.ui,this.title,mxUtils.bind(this,function(d){b(ne… argument
10057e=[],d=0;d<localStorage.length;d++){var c=localStorage.key(d),g=localStorage.getItem(c);if(0<c.len…
10058e=StorageFile.listLocalStorageFiles();e.push({title:".scratchpad",type:"L"});var d=b.transaction([…
10059e,d,c){b.getDatabaseItems(function(b){var c=[];if(null!=b)for(var g=0;g<b.length;g++)"."==b[g].tit… argument
10060e,d){return".scratchpad"!=this.title};StorageLibrary.prototype.open=function(){};RemoteFile=functi… argument
10061e,d){};RemoteLibrary.prototype.updateFileData=function(){};RemoteLibrary.prototype.open=function()… argument
10063e,d){function c(c,g,k,p,x,A){function q(){mxEvent.addListener(t,"click",null!=A?A:function(){k!=Ap… argument
10064 (b.setMode(k,!0),e()):window.location.hostname=DriveClient.prototype.newAppHostname})}f++;++n>d&&(m…
10072 …ld(m))},5E3);this.container=g},SplashDialog=function(b){var e=document.createElement("div");e.styl…
10073 EditorUi.isElectronApp){var d=b.addLanguageMenu(e,!0);null!=d&&(d.style.bottom="19px")}b.getService…
10077e.appendChild(n);d=document.createElement("span");d.style.cssText="position:absolute;cursor:pointe…
10083 …w.dropbox.com/logout")}):d(function(){b.oneDrive.logout()});e.appendChild(g);this.container=e},Emb… argument
10084 e,d,c,g,k,n,f,l){n=null!=n?n:"Check out the diagram I made using @drawio";c=document.createElement(…
10085 …xUtils.br(c);this.init=function(){window.setTimeout(function(){5E5>e.length?(p.value=e,p.focus(),m…
10087 e.length?"preview":"openInNewWindow"),function(){var c=5E5>e.length?p.value:e;if(null!=g)g(c);else …
10088e+"</body></html>"),l.close()):b.handleError({message:mxResources.get("errorUpdatingPreview")})}})…
10089 e.length){var t=mxUtils.button("",function(){try{var c="https://www.facebook.com/sharer.php?p[url]=…
10090 …Top="4px";t.style.minWidth="46px";t.className="geBtn";k.appendChild(t)}7168>e.length&&(t=mxUtils.b…
10092 !1,null);document.execCommand("copy");b.alert(mxResources.get("copiedToClipboard"))});5E5>e.length?…
10093 var GoogleSitesDialog=function(b,e){function d(){var b=null!=G&&null!=G.getTitle()?G.getTitle():thi… argument
10097 …le.marginBottom="8px";t.style.marginTop="2px";t.style.width="410px";t.value=e||"";c.appendChild(t);
10102 …endChild(n);c.appendChild(k);this.container=c},CreateGraphDialog=function(b,e,d){var c=document.cr… argument
10103e=document.createElement("div");e.style.position="relative";e.style.border="1px solid gray";e.styl…
10105 …Handler.reset();k.clearSelection();var e=k.getCellGeometry(b),m;q(function(){m=k.insertVertex(f,nu…
10106 …stopEditing(!1);var e=mxUtils.convertPoint(k.container,mxEvent.getClientX(f),mxEvent.getClientY(f)…
10109e){t.apply(this,arguments);q()};k.resizeCell=function(){mxGraph.prototype.resizeCell.apply(this,ar…
10110 …ible(d);b.editor.graph.setSelectionCells(f);null!=e.parentNode&&(k.destroy(),e.parentNode.removeCh…
10114 var BackgroundImageDialog=function(b,e,d){var c=document.createElement("div");c.style.whiteSpace="n… argument
10118e=null;mxEvent.addListener(d,"dragleave",function(b){null!=e&&(e.parentNode.removeChild(e),e=null)…
10119 …=e&&(e.parentNode.removeChild(e),e=null);if(0<c.dataTransfer.files.length)b.importFiles(c.dataTran… argument
10123 …utton(mxResources.get("apply"),function(){b.hideDialog();v(null,function(b){e(""!=b&&null!=b?new m…
10124e,d){function c(c,f,d){var e=c.split("\n");if("plantUmlPng"==f||"plantUmlSvg"==f||"plantUmlTxt"==f… argument
10125 …bel=1;verticalAlign=top;aspect=fixed;imageAspect=0;image="+b.convertDataUri(e)+";"),m.setAttribute…
10127e){b.spinner.stop();l(c,g,f,d,e)},function(c){b.handleError(c)})}}else if("mermaid"==f)b.spinner.s… argument
10128 …(f=0;f<e.length;f++){var u=mxUtils.trim(e[f]);if("primary key"==u.substring(0,11).toLowerCase()){v…
10129 !0,e[f]=mxUtils.trim(u.replace(/primary key/i,"")))}for(f=0;f<e.length;f++)if(u=mxUtils.trim(e[f]),…
10132 …"==f){if(0<e.length){m=b.editor.graph;H=null;q=[];for(f=p=0;f<e.length;f++)";"!=e[f].charAt(0)&&(0…
10133e[f]?(u=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verti…
10135e.length;f++)";"!=e[f].charAt(0)&&(I=e[f].split("->"),2<=I.length&&(n=H(I[0]),v=H(I[I.length-1]),I…
10136 m=new Graph(e);m.getModel().beginUpdate();try{q=m.importCells(q);for(f=0;f<q.length;f++)m.getModel(…
10137 …llCellToVisible(b.editor.graph.getSelectionCell());m.destroy();e.parentNode.removeChild(e)}}}funct…
10140 …label->c\nc->a\n"}var k=b.editor.graph.getFreeInsertPoint();e=document.createElement("div");e.styl…
10143 …d&&(f.appendChild(l),f.appendChild(m),f.appendChild(p));var q=g();n.value=q;e.appendChild(n);this.…
10144e.appendChild(f);mxEvent.addListener(f,"change",function(){var b=g();if(0==n.value.length||n.value…
10145e.appendChild(l);m=mxUtils.button(mxResources.get("insert"),function(d){b.hideDialog();c(n.value,f… argument
10147e,m,g,p){null!=na&&(na.style.backgroundColor="transparent",na.style.border="1px solid transparent"… argument
10148 b.getStatus()&&299>=b.getStatus()&&(B=b.getText());f(B)}))}else f(B)}function K(f,e,l){if(null!=f&&… argument
10149 document.body.clientHeight)-80,800),null!=d?mxResources.get(d,null,d):null,!0,new mxPoint(e,l),!0,f…
10150e&&0<e.length&&v.setAttribute("title",e);var J=!1;if(null!=m){v.style.display="inline-flex";v.styl…
10152 …,c,f,null,null,t,qa),b&&y())})};e=k||TEMPLATE_PATH+"/"+c.substring(0,c.length-4)+".png";v.style.ba…
10157e=document.createElement("div"),l=d,f=ja[d];18<l.length&&(l=l.substring(0,18)+"&hellip;");e.style.…
10158e)}f=document.createElement("div");f.style.cssText="font-weight: bold;background: #f9f9f9;padding:…
10159 …;mxUtils.write(y,K);c(d,y,t);p.appendChild(y)}k.appendChild(p);e.className="geTempTree";e.appendCh…
10160e.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;ov…
10163 b.mode==App.MODE_BROWSER?IMAGE_PATH+"/osa_database.png":IMAGE_PATH+"/osa_drive-harddisk.png";e||E||…
10164 …ribute("value",b.defaultFilename+I);M.style.marginLeft="10px";M.style.width=e||E?"144px":"244px";t…
10165e||E?"350px":"450px":(null!=b.editor.diagramFileTypes&&(z=FilenameDialog.createFileTypes(b,M,b.edi…
10168e;for(e in f)d+=f[e].length;if(c)R.innerHTML=c;else if(0==b.length&&0==d)R.innerHTML=mxUtils.htmlE…
10172 …ull==NewDialog.tagsList[p]){var f={},d;for(d in ea)for(var e=ea[d],l=0;l<e.length;l++){var m=e[l];…
10173e=ja[d],l=0;l<e.length;l++)for(m=e[l],g=m.title.split(" "),g.push(d),k=0;k<g.length;k++){var t=g[k…
10175 …ull,da=null;ea.basic=[{title:"blankDiagram",select:!0}];var ma=ea.basic;if(!e){var sa=function(){m…
10176e=[],l=0;l<d.length;l++)e.push(encodeURIComponent(mxUtils.getTextContent(d[l])));null!=f&&0<e.leng…
10177e=b.getAttribute("clibs");null!=c[e]&&(e=c[e]);e={url:b.getAttribute("url"),libs:b.getAttribute("l… class in AnonymousFunction9bd35d6bcf600
10178 …marginTop=e?"4px":"16px";A.style.textAlign="right";A.style.position="absolute";A.style.left="40px"…
10179 …|g&&null==k||A.appendChild(x);e||"1"==urlParams.embed||g||mxClient.IS_ANDROID||mxClient.IS_IOS||"1…
10180 …("url"));b.showDialog(c.container,300,80,!0,!0);c.init()}),e.className="geBtn",A.appendChild(e));G…
10182e,d,c,g,k,n,f,l,m,p,q,t,u,v,x,A){function z(c,f,d,l){function m(){mxEvent.addListener(g,"click",fu… argument
10186 …ilename")+":");var C=document.createElement("input");C.setAttribute("value",e);C.style.width="200p…
10198 var PopupDialog=function(b,e,d,c,g){g=null!=g?g:!0;var k=document.createElement("div");k.style.text… argument
10199e,null,!0)});f.className="geBtn gePrimaryBtn";f.style.width=n.style.width;k.appendChild(f);mxUtils… argument
10200 "clip";e.style.cursor="default";e.style.paddingRight="20px";var l=document.createElement("input");l…
10201 …click",function(){l.value="";l.focus()});e.appendChild(l);e.appendChild(d);f.appendChild(e);var m=… argument
10202 …m){b.spinner.stop();b.hideDialog();var g=!1===l?1:null!=d&&null!=e?Math.max(d/m.width,e/m.height):…
10203 …,e=null==e?100:e,b.hideDialog(),c(f,d,e))},p=function(f,d){if(null!=f){var e=g?null:n.getModel().g…
10204 …ngth)b.importFiles(c.dataTransfer.files,0,0,b.maxImageSize,function(b,c,f,d,e,l,m,g){p(b,g)},funct… argument
10205 …4px";d.style.textAlign="center";e=mxUtils.button(mxResources.get("cancel"),function(){b.spinner.st…
10206 "geBtn";b.editor.cancelFirst&&d.appendChild(e);ImageDialog.filePicked=function(b){b.action==google.… argument
10207 c,f,d,e,l){p(b)},function(){},function(b){return"image/"==b.type.substring(0,6)},function(b){for(va…
10208 …e="geBtn gePrimaryBtn";d.appendChild(t);b.editor.cancelFirst||d.appendChild(e);Graph.fileSupport&&…
10209e=document.createElement("div"),e.style.position="absolute",e.style.width="420px",e.style.top="58%… argument
10213 …("title",n);k&&(p.style.width="340px");if(g&&null!=b.pages){null!=e&&Graph.isPageLink(e)?(u.setAtt…
10214e),t.setAttribute("checked","checked"),t.defaultChecked=!0);m.appendChild(t);m.appendChild(p);m.ap…
10215 …|A.parentNode.removeChild(A)})}m.appendChild(v)}else p.setAttribute("value",e),m.appendChild(p),m.…
10216 c(u.checked?"pageNotFound"!==v.value?v.value:e:p.value,LinkDialog.selectedDocs,x.checked?n:null)});…
10223 …appendChild(d);l.appendChild(B);this.container=l},FeedbackDialog=function(b,e,d,c){var g=document.… argument
10225 …ncodeURIComponent(window.location.href)+"&body="+encodeURIComponent((null!=e?e:"Feedback")+":\n"+f…
10230 var RevisionDialog=function(b,e,d){var c=document.createElement("div"),g=document.createElement("h3… argument
10243 …rder="none";O.style.left="199px";O.style.top="442px";var W=null;if(null!=e&&0<e.length){k.style.cu…
10244e.length-1;0<=t;t--){var ba=function(c){var d=new Date(c.modifiedDate),g=null;if(0<=d.getTime()){v… argument
10245e;m=parseSelectFunction=null;p=0;if("mxfile"==t.nodeName){q=t.getElementsByTagName("diagram");m=[]…
10246e].getAttribute("name")||mxResources.get("pageWithNumber",[e+1])),q.setAttribute("value",e),e==p&&…
10248 …t.createElement("td");t.style.padding="6px";t.style.whiteSpace="nowrap";c==e[e.length-1]?mxUtils.w…
10252 …ction.empty();mxEvent.consume(b)},!1);ka.appendChild(g)}return g}(e[t]);null!=ba&&t==e.length-1&&(…
10254e,d,c,g,k,n,f,l){var m=document.createElement("div"),p=document.createElement("div");p.style.margi… argument
10255 u.setAttribute("value",e);var v=new Date(l[e].created),x=new Date(l[e].modified);mxUtils.write(u,v.…
10258e=mxUtils.button("",function(){z.maxFitScale=8;z.fit(8);z.center()});e.className="geSprite geSprit…
10262 …ndChild(E);x.appendChild(d);x.appendChild(p);x.appendChild(u);x.appendChild(e);d=mxUtils.button(mx…
10263 …,e,d,c,g,k){function n(b,c,f,d){if("object"===typeof c.value&&null!=c.value.attributes){c=c.value.… argument
10264e].nodeValue.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")).toLowerCase();if(null==b&&(d&&0<=l.indexOf(… argument
10265 …(m),p.model.setRoot(m.root),c=(c+1)%b.pages.length;while(!l(!0,d,e)&&c!=J);t&&(t=null,e?b.editor.g…
10266 d,e)}for(X=0;X<m.length;X++){J=p.view.getState(m[X]);d&&null!=K&&(B=B||J==t);if(null!=J&&null!=J.ce…
10267 …&&E.checked)return t=null,v=!0,l(!0,d,e);t=y;p.scrollCellToVisible(t.cell);p.isEnabled()&&!p.isCel…
10268 E.checked)return v=!0,l(!0,d,e);p.isEnabled()&&!e&&p.clearSelection()}u=null!=y;k&&!c&&f();return 0…
10273 …,f,d,e){if(null==e||"1"!=e.html)return d=b.toLowerCase().indexOf(c,d),0>d?b:b.substr(0,d)+f+b.subs… argument
10274e.push(m);m=b.match(/<[^>]*>/g);b=b.replace(/<[^>]*>/g,"");d=b.toLowerCase().indexOf(c,d);if(0>d)r…
10277 …te();try{for(var d=0,e={};l(!1,!0,!0)&&100>d;){var m=t.cell,g=p.getLabel(m),k=e[m.id];if(k&&k.repl… class in popupMenuHandler.AnonymousFunction9bd35d6bd6f00.AnonymousFunction9bd35d6bd7400
10281 this.window=new mxWindow(mxResources.get("find")+(k?"/"+mxResources.get("replace"):""),B,e,d,c,g,!0…
10283 …stener(window,"resize",X);this.window.destroy()}},FreehandWindow=function(b,e,d,c,g){var k=b.edito… argument
10284 …tn";b.appendChild(n);this.window=new mxWindow(mxResources.get("freehand"),b,e,d,c,g,!0,!0);this.wi…
10287e,d,c,g){var k=b.editor.graph,n=b.editor.graph.createTagsDialog(mxUtils.bind(this,function(){retur… argument
10288e.push(m)}0<e.length&&(k.isSelectionEmpty()?f(c.concat(e)):k.addTagsForCells(k.getSelectionCells()…
10290 …veListener(window,"resize",l);this.window.destroy()}},AuthDialog=function(b,e,d,c){var g=document.… argument
10291e==b.drive?(n=mxResources.get("googleDrive"),f.src=IMAGE_PATH+"/google-drive-logo-white.svg"):e==b…
10292 …,f.style.width="32px"):e==b.notion?(n=mxResources.get("notion"),f.src=IMAGE_PATH+"/notion-logo-whi…
10294 g},MoreShapesDialog=function(b,e,d){d=null!=d?d:b.sidebar.entries;var c=document.createElement("div… argument
10295e){k=mxUtils.bind(this,function(c){for(var f=0;f<c.length;f++)(function(c){var d=v.cloneNode(!1);d…
10298 …sume(b)});u.push(function(){return l.checked?c.id:null});0==f&&0==e&&m()})(c.entries[e])})(c[f])})…
10302e=document.createElement("td");var g=document.createElement("td"),n=document.createElement("td"),z…
10303 e.checked=b.sidebar.isEntryVisible(d);var l=document.createElement("span");mxUtils.write(l,f);f=doc…
10306e,d){function c(){if(0==n.length)k.innerHTML=mxUtils.htmlEntities(mxResources.get("noPlugins"));el… argument
10307 …marginRight="4px";l.style.display="inline-block";e.appendChild(l);mxUtils.write(e,n[f]);k.appendCh…
10308e?function(){e(function(b){b&&0>mxUtils.indexOf(n,b)&&n.push(b);c()})}:function(){var f=document.c…
10309 e.appendChild(l)}f.appendChild(e);mxUtils.br(f);mxUtils.br(f);d=mxUtils.button(mxResources.get("cus…
10310 f=new CustomDialog(b,f,mxUtils.bind(this,function(){var b=App.pluginRegistry[e.value];0>mxUtils.ind…
10311 …pendChild(l));g.appendChild(p);this.container=g},CropImageDialog=function(b,e,d){function c(b){nul… argument
10312 …bleExif:!0,showZoomer:!1,enableResize:!0,enableOrientation:!0});n.bind({url:e})}var g=document.cre…
10315 …this.container=g},EditGeometryDialog=function(b,e){var d=b.editor.graph,c=1==e.length?d.getCellGeo… argument
10321e.length?mxUtils.getValue(d.getCellStyle(e[0]),mxConstants.STYLE_ROTATION,0):"";m.appendChild(z);f…
10322e[c])&&(0<mxUtils.trim(x.value).length&&(f.width=Number(x.value)),0<mxUtils.trim(A.value).length&&…
10323e[c]])}}finally{d.getModel().endUpdate()}});B.className="geBtn gePrimaryBtn";mxEvent.addListener(g… argument
10324 …u.firstChild,c=0;null!=f&&f!=b;)f=f.nextSibling,c++;return c}function f(c,d,e,l,m,g,k,q,t){try{if(… argument
10327 …lick",function(d){x[c]=null;for(var e=0;e<p.length;e++)if(null!=p[e].data&&p[e].data==c||null!=p[e
10328 f.xml){p.splice(e,1);break}E.parentNode.removeChild(b);0==p.length&&(u.style.backgroundImage="url('…
10336 ….get("filename")+":");null==e&&(e=b.defaultLibraryName+".xml");var t=document.createElement("input…
10338e=function(b){"true"!=mxEvent.getSource(b).getAttribute("contentEditable")&&null!=B&&(B(),B=null,m… method in popupMenuHandler.AnonymousFunction9bd35d6bdae00
10339e=0;e<c.length;e++)q=c[e],f(q.data,null,0,0,q.w,q.h,q,q.aspect,q.title);mxEvent.addListener(u,"dra… argument
10340 …nseText,e,l,m,g,k,p,"fixed",mxEvent.isAltDown(c)?null:p.substring(0,p.lastIndexOf(".")).replace(/_…
10341e=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog(!0)});e.setAttribute("id","btnC…
10345 b.importFiles(G.files,0,0,b.maxImageSize,function(b,f,d,e,l,m,g,p,k){null!=G.files&&(F(c)(b,f,d,e,l… argument
10346e=b.indexOf(",");0<e&&(b=b.substring(0,e)+";base64,"+b.substring(e+1))}f(b,null,0,0,c,d);u.scrollT… argument
10347 …ild(q);b.editor.cancelFirst||c.appendChild(e);d.appendChild(c);this.container=d},EditShapeDialog=f… argument
10349 …Child(d);var p=new Graph(d);p.setEnabled(!1);var q=b.editor.graph.cloneCell(e);p.addCells([q]);d=p…
10350 …tor.cancelFirst&&n.appendChild(g);var u=function(c,f,d){var e=m.value,l=mxUtils.parseXml(e),e=mxUt…
10351e!=t){e=Graph.compress(e);c.getModel().beginUpdate();try{if(l){var g=b.editor.graph.getFreeInsertP…
10352e,!0)});d.className="geBtn gePrimaryBtn";n.appendChild(d);b.editor.cancelFirst||n.appendChild(g);k… argument
10353 e.style.marginTop="30px";e.style.textAlign="center";null!=n&&e.appendChild(n);b.isOffline()||null==…
10354e.appendChild(g);g.className="geBtn gePrimaryBtn";b.editor.cancelFirst||e.appendChild(l);p.appendC… argument
10355e,l,m){if(-1<b.className.indexOf("geTempDlgRadioBtnActive"))return!1;b.className+=" geTempDlgRadio… argument
10356 …tatus()&&299>=b.getStatus()&&(p=b.getText());f(p)}))}else f(p)}function g(d,e,l){if(null!=d&&mxUti… argument
10357 …00),null!=c.title?mxResources.get(c.title,null,c.title):null,!0,new mxPoint(e,l),!0,null,!0);var p…
10358 …=function(c){da&&b.sidebar.currentElt==f&&g(c,mxEvent.getClientX(e),mxEvent.getClientY(e));da=!1;d…
10359 …){if(null!=W){for(var d=W.className.split(" "),e=0;e<d.length;e++)if(-1<d[e].indexOf("Active")){d.…
10360 …ext(),c):p()})):g(b.emptyDiagramXml,c)},g=function(c,d){v||b.hideDialog(!0);e(c,d,t,f)},p=function…
10362 f=0;f<c.length;f++)c[f].style.display=b}function G(c,f,d,e,l){l||(ia.innerHTML="",y(),na=c,pa=e);va…
10368e)c=e[x],0<c.length&&(l=document.createElement("div"),l.className="geTempDlgImportCat",l.innerHTML…
10372e=f=mxUtils.htmlEntities(f);15<f.length&&(f=f.substring(0,15)+"&hellip;");return{lbl:f+" ("+c.leng… function
10373 …tLink";f.setAttribute("title",g.fullLbl);f.innerHTML=g.lbl;l.appendChild(f);e(m,g.lblOnly,f,null,!…
10375 ….lbl;u.className="geTemplateCatLink";u.style.padding="0";u.style.margin="0";e(m,v.lblOnly,u,y);n.a…
10376 …tLink",f.setAttribute("title",g.fullLbl),f.innerHTML=g.lbl;l.appendChild(f);e(m,g.lblOnly,k)}}func…
10377 e=[],l=0;l<d.length;l++)e.push(encodeURIComponent(mxUtils.getTextContent(d[l])));null!=f&&0<e.lengt… class in AnonymousFunction9bd35d6bde300
10378 …preview"),clibs:e,tags:b.getAttribute("tags")};l.push(e);null!=f&&(l=qa[d],null==l&&(l={},qa[d]=l)…
10379e=la[d],l=0;l<e.length;l++){var m=e[l];if(null!=m.tags)for(var g=m.tags.toLowerCase().split(";"),p…
10380 …=[];if(null!=q)for(p=0;p<q.length;p++)m=q[p],0==g==(null==e[m.url])&&(t[m.url]=!0,d.push(m));e=t;g…
10392e,d,c){var g=document.createElement("div");g.style.textAlign="center";var k=document.createElement… argument
10393e==b.oneDrive?(n=mxResources.get("oneDrive"),f.src=IMAGE_PATH+"/onedrive-logo-white.svg"):e==b.git…
10394 …);g.appendChild(b);g.appendChild(d);this.container=g},FontDialog=function(b,e,d,c,g){function k(b)… argument
10396 …ild(f);var t=document.createElement("input");"s"==c&&t.setAttribute("value",e);t.style.marginLeft=…
10399 …ild(f);var v=document.createElement("input");"g"==c&&v.setAttribute("value",e);v.style.marginLeft=…
10401 …"input");"w"==c&&(Editor.enableWebFonts?A.setAttribute("value",e):t.setAttribute("value",e));A.sty…
10403e=mxUtils.button(mxResources.get("help"),function(){b.openLink("https://www.diagrams.net/blog/exte…
10404e.className="geBtn";b.editor.cancelFirst&&f.appendChild(e);var B=mxUtils.button(mxResources.get("a…
10405 e=!1):"w"!=l||p.test(e)?e=!0:(m.querySelector(".dlg_fontUrl").style.border="1px solid red",e=!1);e&…
10406 …ecked");x.checked=!0});f.appendChild(B);b.editor.cancelFirst||f.appendChild(e);n.appendChild(f);p.…
10407e,d,c,g){this.aspect={pageId:e||(b.pages?b.pages[0].getId():null),layerIds:d||[]};e=document.creat… argument
10408 e.appendChild(k);this.pagesContainer=d;this.layersContainer=k;this.ui=b;d=document.createElement("d…
10409e.appendChild(d);this.container=e}AspectDialog.prototype.init=function(){var b=this.ui.getFileData…
10410e,d,c){mxEvent.disableContextMenu(b);b.style.userSelect="none";var g=new Graph(b);g.setTooltips(!1… argument
10411 c=null==d;for(k=0;k<e;k++){var n=b.getChildAt(b.root,k);b.setVisible(n,c||d==n.id)}g.maxFitScale=1;…
10412e,d){var c=document.createElement("div");c.className="geAspectDlgListItem";c.setAttribute("data-pa… argument
10413e=g.model,e=e.getChildCells(e.getRoot()),n=0;n<e.length;n++)this.createLayerItem(e[n],b,g,d)});mxE…
10414e,d,c){e=d.convertValueToString(b)||mxResources.get("background")||"Background";var g=document.cre… argument
10416e,d,c=document.createElement("table"),g=document.createElement("tbody");c.style.width="100%";c.sty…
10417e.appendChild(d);var l=document.createElement("input");l.setAttribute("value",100*n+"%");l.style.m…
10418e.appendChild(d);var m=document.createElement("input");m.setAttribute("value",f);m.style.marginLef…
10419e=document.createElement("tr");d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.…
10420e.appendChild(d);g.appendChild(e);this.init=function(){p.focus()};d=function(){null!=b.fileNode&&(…
10421 …(f);d.appendChild(n);b.editor.cancelFirst||d.appendChild(f);e.appendChild(d);g.appendChild(e);c.ap…
10467e=f[d];switch(e.type){case "path":null!=c.stroke&&this._drawToContext(b,e,c);break;case "fillPath"…
10468 …trokeColor(e);b.setStrokeAlpha(m)};c._drawToContext=function(b,c,f){b.begin();for(var d=0;d<c.ops.…
10472 …te){var d=this.shape.state.cell.id;if(null!=d)for(var e=0;e<d.length;e++)f=(f<<5)-f+d.charCodeAt(e
10473 delete f.stroke;e=null;(f.filled=c)?(f.fill="none"===this.canvas.state.fillColor?"":this.canvas.sta…
10475 …olor:Editor.isDarkMode()?Editor.darkColor:"#ffffff"),l=null!=f.fill&&(null!=e||null!=l&&f.fill==l)…
10478e,l){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,b… argument
10479 …ction(b,c,f,d,e,l){this.passThrough?this.originalRoundrect.apply(this.canvas,arguments):(this.begi… argument
10480 …+d-l),this.quadTo(b+f,c+d,b+f-e,c+d),this.lineTo(b+e,c+d),this.quadTo(b,c+d,b,c+d-l),this.lineTo(b…
10484e=!0;null!=this.style&&(e="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));…
10485e&&null!=l&&(c.addTolerance=function(){})}f.apply(this,arguments);c.addTolerance=d};var d=mxShape.… argument
10486 …etElementsByTagName("div"),e=[];if(null!=d&&0<d.length)for(var l=0;l<d.length;l++)if("mxgraph"==d[…
10487e.length&&(d=e[0].getAttribute("data-mxgraph"),null!=d?(e=JSON.parse(d),null!=e&&null!=e.xml&&(b=m…
10488e=null,"diagram"==b.nodeName?e=b:"mxfile"==b.nodeName&&(d=b.getElementsByTagName("diagram"),0<d.le…
10490 …o:"string"})}return null}for(var f=null,c="",d=0,e=0,l=[],m=null;e<b.length;){var g=b.charCodeAt(e
10491 d){var p=b.indexOf("%3C%2Fmxfile%3E)",e)+15,e=e-9;if(p>e){f=b.substring(e,p);break}}10==g&&("endobj…
10492e){b=d.substring(b+8,b+8+e);"zTXt"==f?(e=b.indexOf(String.fromCharCode(0)),"mxGraphModel"==b.subst… argument
10503 …ength;f++){var d=b[f].indexOf(")"),d=Editor.trimCssUrl(b[f].substring(0,d)),e=document.createEleme…
10504 e.setAttribute("rel","preload");e.setAttribute("href",d);e.setAttribute("as","font");e.setAttribute…
10506 …oad(STYLE_PATH+"/"+f+".xml").getDocumentElement(),null!=d&&(e=new mxCodec(d.ownerDocument),e.decod…
10507 …_PATH+"/default-old.xml").getDocumentElement(),null!=d){var e=new mxCodec(d.ownerDocument);e.decod…
10509 …return this.message}};};var e=Editor.prototype.getGraphXml;Editor.prototype.getGraphXml=function(b…
10516 …length){var e=document.createElement("script");e.setAttribute("type","text/javascript");e.setAttri…
10517 …\s][^"\\]*)*)"|([^,'"\s\\]*(?:\s+[^,'"\s\\]+)*))\s*(?:,|$)/g,function(b,f,d,e){void 0!==f?c.push(f… argument
10518 '"')):void 0!==e&&c.push(e);return""});/,\s*$/.test(b)&&c.push("");return c};Editor.prototype.isCor…
10519 …n(d){if(null!=d){var e="http://"==d.substring(0,7)||"https://"==d.substring(0,8);e&&!navigator.onL…
10520 …;f&&c(Editor.svgBrokenImage.src)});else{var e=new Image;this.crossOriginImages&&(e.crossOrigin="an… method
10521e.height;b.width=e.width;l.drawImage(e,0,0);c(b.toDataURL())}catch(ka){c(Editor.svgBrokenImage.src… method
10522e++,this.convertImageToDataUri(g,function(d){null!=d&&(l[g]=d,f.setAttribute(m,d));e--;0==e&&c(b)}…
10523e&3)<<4);c+="==";break}l=b.charCodeAt(f++);if(f==d){c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnop…
10524e&3)<<4|(l&240)>>4);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((… argument
10525 …st.responseBody).toArray();for(var d=Array(b.length),e=0;e<b.length;e++)d[e]=String.fromCharCode(b…
10526 …age:mxResources.get("error")+" "+b.getStatus()})},p,this.timeout,function(){e&&null!=f&&f({code:Ap…
10527 e=null;null!=d&&0<d.length&&(e=d[0].getAttribute("href"));for(var l=1;l<f.length;l++)if(d=f[l].inde…
10528e=mxUtils.bind(this,function(){if(0==d){for(var b=[f[0]],e=1;e<f.length;e++){var l=f[e].indexOf(")…
10530 …]=c;d--;e()}),mxUtils.bind(this,function(b){d--;e()}),!0,null,"data:"+c+";charset=utf-8;base64,")}…
10531e=mxUtils.bind(this,function(){0==d&&this.embedCssFonts(f,b)}),l=0;l<c.length;l++)mxUtils.bind(thi…
10532 b+'";src: url("'+c+'")}'})(c[l].name,c[l].url);e()}else b()};Editor.prototype.addMathCss=function(b…
10534 return Math.min(f,Math.min(d/b,d/c))};Editor.prototype.exportToCanvas=function(b,c,f,d,e,l,m,g,p,k,… argument
10536 …,C));b<k;b+=C)for(var f=c;f<q;f+=C)y.drawImage(L,b/g,f/g);m()}catch(ya){null!=e&&e(ya)}};L.onerror=
10537e&&e(b)};L.src=A}else m()}catch(wa){null!=e&&e(wa)}});d.onerror=function(b){null!=e&&e(b)};k&&this…
10538 e&&e(ea)}}),f,q)}catch(ha){null!=e&&e(ha)}};Editor.crcTable=[];for(var g=0;256>g;g++)for(var k=g,n=… argument
10539 …3,10,26,10))null!=e&&e();else if(l(b,4),"IHDR"!=l(b,4))null!=e&&e();else{l(b,17);e=b.substring(0,p…
10540e+=g(f.length)+c+f+g(d^4294967295);e+=b.substring(p-8,b.length);break}e+=b.substring(p-8,p-4+k);l(…
10545e=this.createOption(mxResources.get("autosave"),function(){return c.editor.autosave},function(b){c…
10546e=this.createOption(mxResources.get("mathematicalTypesetting"),function(){return f.mathEnabled},fu…
10547 "relative";l.style.marginLeft="6px";l.style.top="2px";e.appendChild(l)}return b};mxCellRenderer.pro…
10569e in c){for(var l=!1,d=0;d<b.length;d++)if(b[d].name==e&&b[d].type==c[e].type){l=!0;break}l||delet…
10570e.shape.customProperties));b=b.getAttribute("customProperties");if(null!=b)try{d(JSON.parse(b))}ca…
10571 e);for(e=0;e<d.length;e++)this.findCommonProperties(d[e],c,0==f.length&&0==e);null!=Object.getOwnPr…
10573 …ties=function(b,c,f){function d(b,c,f,d){t.getModel().beginUpdate();try{var e=[],l=[];if(null!=f.i…
10574e.push(f.countProperty),l.push(m.length))}t.setCellStyles(b,c,t.getSelectionCells());e.push(b);l.p…
10575e,"values",l,"cells",t.getSelectionCells()))}finally{t.getModel().endUpdate()}}function e(c,f,d){v… function
10576e.style.margin="2px";e.style.border="1px solid black";e.style.background=c&&"none"!=c?c:"url('"+Di… argument
10577e,countProperty:l,parentRow:m,isDeletable:!0,flipBkg:g}));btn=mxUtils.button("+",mxUtils.bind(q,fu…
10578e,l,m){if(0<e){var g=Array(e);c=null!=c?c.split(","):[];for(var p=0;p<e;p++)g[p]=null!=c[p]?c[p]:n… argument
10580 …(B,"click",mxUtils.bind(q,function(){var l=document.createElement("select");e(B,l);for(var m=0;m<A…
10582 …("int"==u?parseInt(b):b)+"");d(c,b,k)}var m=document.createElement("input");e(B,m,!0);m.value=f;m.…
10585 …ldNodes.length-1;0<=d;d--)try{var e=b.childNodes[d],l=e.nodeName.toUpperCase();"INPUT"!=l&&"SELECT…
10589 ….style.paddingBottom="6px";b.style.position="relative";b.appendChild(d);var e="plain-gray plain-bl…
10591 …ength;l++){for(var m=f.getModel().getStyle(d[l]),g=0;g<e.length;g++)m=mxUtils.removeStylename(m,e[…
10604e=Graph.customFontElements[d];null!=e&&e.url!=c&&(e.elt.parentNode.removeChild(e.elt),e=null);null…
10605 e,c=document.getElementsByTagName("head")[0],null!=f&&("link"==e.elt.nodeName.toLowerCase()?(e.elt.…
10611 …pe.updateTextNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(b,c,f,d,e,l,m,g,p,k,q){z.apply… argument
10612 …gth;f++)m.isCellVisible(b[f])&&c.push(b[f]);m.setSelectionCells(c)}function e(b){m.hiddenTags=b?[]… function
10614 …k",function(c){var f=mxUtils.indexOf(m.hiddenTags,b);mxEvent.isShiftDown(c)?e(0<=mxUtils.indexOf(m…
10615 …wn(c)){e(!0);var f=m.getCellsForTags([b],null,null,!0);m.isEnabled()?m.setSelectionCells(f):m.high…
10620 …,function(c,f){if(b()){for(var d=m.getAllTags(),e=0;e<d.length;e++)0>mxUtils.indexOf(g,d[e])&&g.pu…
10625 function(b,c,f,d,e,l,m,g,p,k,q,t,n,y){var u=null,v=null,B=null;t||null==this.themes||"darkTheme"!=t… argument
10627 …entNode();if(null!=d){d=d.cloneNode(!0);if(d.getElementsByTagNameNS)for(var e=d.getElementsByTagNa…
10628 …");0<e.length;)e[0].parentNode.removeChild(e[0]);null!=d.innerHTML&&(e=b.text.value,b.text.value=d…
10632e=0,l=mxUtils.bind(this,function(){f||(f=!0,this.model.beginUpdate())}),m=mxUtils.bind(this,functi…
10637 …reateElement("div");d.innerHTML=this.sanitizeHtml(this.getLabel(c));for(var e=d.getElementsByTagNa…
10638 e.length;m++)f=e[m].getAttribute("href"),null!=f&&"data:action/json,"==f.substring(0,17)&&(e[m].set…
10639e;for(e in d)this.updateCustomLinkAction(b,d[e],"cells"),this.updateCustomLinkAction(b,d[e],"exclu…
10640e=0;e<f.length;e++)0>b.excludeCells.indexOf(f[e].id)&&d.push(f[e]);f=d}return f};Graph.prototype.g…
10641 …]))return!1;return!0};Graph.prototype.getCellsForTags=function(b,c,f,d){var e=[];if(null!=b){c=nul…
10642e.push(c[g])}}return e};Graph.prototype.getAllTags=function(){return this.getTagsForCells(this.mod…
10643e.length){for(var e=e.split(" "),l={},m=0;m<e.length;m++)if(null==c||null!=c[e[m]])l[e[m]]=!0,f.pu…
10644e=d.split(" "),l=!1,m=0;m<c.length;m++){var g=mxUtils.trim(c[m]);""!=g&&0>mxUtils.indexOf(e,g)&&(d…
10645 …m<c.length;m++){var g=mxUtils.indexOf(e,c[m]);0<=g&&(e.splice(g,1),l=!0)}l&&this.setAttributeForCe…
10646e=0;e<b.length;e++)this.highlightCell(b[e],c,f,d)};Graph.prototype.highlightCell=function(b,c,f,d)…
10647e=b.ownerDocument,l=null!=e.createElementNS?e.createElementNS(mxConstants.NS_SVG,"filter"):e.creat…
10648e.createElementNS?e.createElementNS(mxConstants.NS_SVG,"feOffset"):e.createElement("feOffset");m.s…
10649e.createElementNS?e.createElementNS(mxConstants.NS_SVG,"feComposite"):e.createElement("feComposite…
10650e=null!=e.createElementNS?e.createElementNS(mxConstants.NS_SVG,"defs"):e.createElement("defs"),nul…
10663 …eturn c};var M=mxMarker.createMarker;mxMarker.createMarker=function(b,c,f,d,e,l,m,g,p,k){if(null!=… argument
10667 …ss),f.writeln("</style>"));for(var d=c.getCustomFonts(),e=0;e<d.length;e++){var l=d[e].name,m=d[e]…
10668e,l,m){var g=mxClient.NO_FO;mxClient.NO_FO=this.graph.mathEnabled&&!b.editor.useForeignObjectForMa… argument
10669 e.refresh());f.open(null,null,l,!0);e.enableFlowAnimation=y;null!=n&&(e.stylesheet=n,e.refresh())}e…
10670 …);var d=.75*d,l=null;null!=e.themes&&"darkTheme"==e.defaultThemeName&&(l=e.stylesheet,e.stylesheet…
10671 …r v=u;v<=k;v++){var x=b.pages[v],m=x==b.currentPage?e:null;if(null==m){var m=b.createTemporaryGrap…
10673e&&m.container.parentNode.removeChild(m.container)}}else t=f(e);null==t?b.handleError({message:mxR…
10682 …hild(k);b.isOffline()||(u=mxUtils.button(mxResources.get("help"),function(){e.openLink("https://ww…
10691 …berSectionStyles:4,axisFormat:"%Y-%m-%d"}};EditorUi.logError=function(b,c,d,e,g,k,n){k=null!=k?k:0… argument
10693e?":colno:"+encodeURIComponent(e):"")+(null!=g&&null!=g.stack?"&stack="+encodeURIComponent(g.stack…
10695e(b){b=f(b,4);return b.charCodeAt(3)+(b.charCodeAt(2)<<8)+(b.charCodeAt(1)<<16)+(b.charCodeAt(0)<<… function
10699 …eElement("canvas");c.width=c.height=1;var e=c.toDataURL("image/jpeg");EditorUi.prototype.jpgSuppor…
10701 …ype.createSpinner=function(b,c,d){var f=null==b||null==c;d=null!=d?d:24;var e=new Spinner({lines:1…
10702 …"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,zIndex:2E9}),l=e.spin;e.spin=function(d,m…
10704e.status=g),this.pause=mxUtils.bind(this,function(){var b=function(){};this.active&&(b=mxUtils.bin…
10707 …less||this.editor.editable){var d=f.getFunction,e=this.editor.graph,g=this;f.getFunction=function(…
10709 …ents)}}return f};var e=EditorUi.prototype.extractGraphModelFromHtml;EditorUi.prototype.extractGrap…
10711e=d.length-1;0<=e;e--){var g=this.updatePageRoot(new DiagramPage(d[e]));null==g.getName()&&g.setNa…
10712 …t=this.editor.graph.model.root);if(null!=f)for(e=0;e<f.length;e++)c.model.execute(new ChangePage(t…
10713e,g,k,n,v,x,A,z){c=null!=c?c:this.editor.graph;g=null!=g?g:!1;x=null!=x?x:!0;var f,l=null;null==d|… argument
10716e=null),z=this.getEmbeddedSvg(z,c,e,null,v,x,l);return z};EditorUi.prototype.getXmlFileData=functi… argument
10718 …ate(l.viewState,g,null,e);EditorUi.removeChildNodes(m);mxUtils.setTextContent(m,Graph.compressNode…
10719 …ew mxGraphModel(l.root)),this.editor.graph.saveViewState(l.viewState,g,null,e),m=m.cloneNode(!1),m…
10720e=b.charAt(d);0<=EditorUi.ignoredAnonymizedChars.indexOf(e)?f.push(e):isNaN(parseInt(e))?e.toLower…
10721 …i.DIFF_UPDATE]){for(var d in b[EditorUi.DIFF_UPDATE]){var e=b[EditorUi.DIFF_UPDATE][d];null!=e.nam…
10722e.name=this.anonymizeString(e.name));null!=e.cells&&(c=mxUtils.bind(this,function(b){var c=e.cells…
10726 …c.handleFileError(b,!0)}))))};EditorUi.prototype.getFileData=function(b,c,d,e,g,k,n,v,x,A,z){g=nul… argument
10728 …ref,b,c,d,e,g,v,A);f!=this.editor.graph&&f.container.parentNode.removeChild(f.container);return b}… argument
10729e&&b.setAttribute("edit",e));null!=g&&(g=g.replace(/&/g,"&amp;"));b=null!=b?Graph.zapGremlins(mxUt…
10731 e+"</div>\n</div>\n"+(null==g?'<script type="text/javascript" src="'+l+'">\x3c/script>':'<a style="… argument
10736 …t);if(null!=urlParams["layer-ids"])try{var e=urlParams["layer-ids"].split(" ");b={};for(d=0;d<e.le…
10738e,g,k,n,v,x,A,z,B){try{e=null!=e?e:this.editor.graph.isSelectionEmpty();var f=this.getBaseFilename… argument
10739 …!=k&&(this.editor.graph.pageVisible=k);var l=this.createDownloadRequest(c,b,e,f,n,g,v,x,A,z,B);thi…
10740 …xConstants.NONE)q=null;var u=this.editor.graph.getSvg(q,null,null,null,null,e);d&&this.editor.grap…
10741 t(b)}),e)}}catch(I){this.handleError(I)}};EditorUi.prototype.createDownloadRequest=function(b,c,d,e argument
10742 …mlRequest(EXPORT_URL,"format="+c+m+p+"&bg="+(null!=k?k:mxConstants.NONE)+"&base64="+e+"&embedXml="+
10743e=mxUtils.bind(this,function(d){var e=null!=b.data?b.data:"";null!=d&&0<d.length&&(0<e.length&&(e+…
10744 …ash=function(){return f};this.fileLoaded(d);"csv"==b.format&&this.importCsv(e,mxUtils.bind(this,fu…
10745 …&&c()});null!=b.url&&0<b.url.length?this.editor.loadUrl(b.url,mxUtils.bind(this,function(b){e(b)}),
10746e("")};EditorUi.prototype.updateDiagram=function(b){function c(b){var c=new mxCellOverlay(b.image|…
10747e.setAttributeForCell(n,z[B].nodeName,0<z[B].nodeValue.length?z[B].nodeValue:null)}}catch(I){null!…
10748e.removeCellOverlays(n);null!=F&&e.addCellOverlay(n,c(F))}}catch(I){null!=window.console&&console.…
10749e.model.setGeometry(n,E)}}}catch(I){null!=window.console&&console.log("Error in icon for "+n.id+":…
10750 …itle():this.defaultFilename,d="",e=f.lastIndexOf(".");0<=e&&(d=f.substring(e),f=f.substring(0,e));…
10751e+"-"+g+"-"+k+"-"+n+"-"+A+"-"+l));return f=mxResources.get("copyOf",[f])+d};EditorUi.prototype.fil…
10756 …]):null!=f?this.fileLoaded(f):e()});c?l():this.handleError(u,mxResources.get("errorLoadingFile"),l…
10757e=new mxCodec;null!=c&&(c.byteCount=0,c.attrCount=0,c.eltCount=0,c.nodeCount=0);for(var l=0;l<b.le…
10759e=0;e<b.attributes.length;e++){var l=b.attributes[e].name,m=null!=c?c(b,l,b.attributes[e].value,!0…
10760 …restoreLibraries=function(){};EditorUi.prototype.saveLibrary=function(b,c,d,e,g,k,n){};EditorUi.pr… argument
10763 …eHint=function(b){return""};EditorUi.prototype.libraryLoaded=function(b,c,d,e){if(null!=this.sideb… argument
10765e?e:!0,mxUtils.bind(this,function(b){m(c,b)}));this.repositionLibrary(f);var k=g.parentNode.previo…
10769 …dingRight=18*p.childNodes.length+"px")}),E=mxUtils.bind(this,function(b,f,d,e){b=y.cloneCells(mxUt… argument
10770 …h,f.height,e||"",!0,!1,!1));b={xml:Graph.compress(mxUtils.getXml(this.editor.graph.encodeCells(b))…
10774 this.importFiles(b.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(f,d,e,k,p,n,… argument
10775e=Editor.extractGraphModelFromPdf(f);null!=e&&0<e.length&&(f=e)}if(null!=f)if(e=mxUtils.parseXml(f…
10778e=n.cloneNode(!1);e.setAttribute("src",Editor.plusImage);e.setAttribute("title",mxResources.get("a…
10779e=document.createElement("span"),e.setAttribute("title",mxResources.get("help")),e.style.cssText="…
10780 e=d.data;if(null!=e){var e=this.convertDataUri(e),l="shape=image;verticalLabelPosition=bottom;verti…
10784 …tTheme();EditorUi.prototype.showImageDialog=function(b,c,d,e,g){b=new ImageDialog(this,b,c,d,e,g);… argument
10785 …it()};EditorUi.prototype.showLibraryDialog=function(b,c,d,e,g){b=new LibraryDialog(this,b,c,d,e,g)… argument
10788 …));b.appendChild(c);return b};EditorUi.prototype.handleError=function(b,c,d,e,g,k,n){var f=null!=t… argument
10791e,g)}),p,mxResources.get("changeUser"),mxUtils.bind(this,function(){function b(){e.innerHTML="";fo…
10792e.appendChild(f)}f=document.createElement("option");mxUtils.write(f,mxResources.get("addAccount"))…
10793e.value,d=c.length!=f;d&&this.drive.setUser(c[f]);this.drive.authorize(d,mxUtils.bind(this,functio…
10795 …ies(l.ownerEmail))}));this.showError(c,n,m,d,p,null,null,k,t,null,null,null,e?d:null)}else null!=d…
10796e,g,k){var f=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},l=Math… argument
10798 …e("src",Dialog.prototype.closeImage);f.setAttribute("title",mxResources.get(e?"doNotShowAgain":"cl…
10799 …setAttribute("id","geDoNotShowAgainCheckbox");m.style.marginRight="6px";if(!e){c.appendChild(m);va…
10800 …l.parentNode&&(l.parentNode.removeChild(l),this.bannerShowing=!1,m.checked||e)&&(this["hideBanner"…
10802e){b=b.toDataURL("image/"+d);if(null!=b&&6<b.length)null!=c&&(b=Editor.writeGraphModelToPng(b,"tEX… argument
10803 c,d,g);this.saveData(e,f,b.substring(b.lastIndexOf(",")+1),"image/"+d,!0)};EditorUi.prototype.isLoc…
10804e,g,k){"text/xml"!=d||/(\.drawio)$/i.test(c)||/(\.xml)$/i.test(c)||/(\.svg)$/i.test(c)||/(\.html)$… argument
10805 …e/"!=d.substring(0,6)?this.showTextDialog(c+":",b):this.openInNewWindow(b,d,e);else{var f=document…
10806e?this.base64ToBlob(b,d):new Blob([b],{type:d}));k?f.download=c:f.setAttribute("target","_blank");… argument
10807e?"&binary=1":""))};EditorUi.prototype.base64ToBlob=function(b,c){c=c||"";for(var f=atob(b),d=f.le… argument
10808 …"_blank"==f)if(null!=d&&"image/"==d.substring(0,6))this.openInNewWindow(b,d,e);else if(null!=d&&"t…
10809e,null,v):null!=c&&0<c.length&&this.pickFolder(f,mxUtils.bind(this,function(l){try{this.exportFile…
10819 …dex;var e=new Spinner({lines:8,length:6,width:5,radius:6,rotate:0,color:"#fff",speed:1.5,trail:60,…
10820 function(b){e.stop();this.exportDialog.style.width="auto";this.exportDialog.style.height="auto";thi…
10821 …age,mxResources.get("export"))}};EditorUi.prototype.saveData=function(b,c,d,e,g){this.isLocalFileS… argument
10822e,g,c):this.saveRequest(b,c,mxUtils.bind(this,function(b,f){return this.createEchoRequest(d,b,e,g,… argument
10823 …on(d){k=null!=k?k:"pdf"==c?"application/pdf":"image/"+c;if(null!=e)try{this.exportFile(e,b,k,!0,f,…
10824e,k,g);f=this.isServices(f)?4<f?390:270:160;this.showDialog(b.container,420,f,!0,!0);b.init()};Edi… argument
10825e,g,k,n,v,x,A,z,B,y,C){if(this.spinner.spin(document.body,mxResources.get("export")))try{var f=thi… argument
10827 …addRadiobox=function(b,c,d,e,g,k,n){return this.addCheckbox(b,d,e,g,k,n,!0,c)};EditorUi.prototype.… argument
10828 …bute("name",v);d&&(f.setAttribute("checked","checked"),f.defaultChecked=!0);e&&f.setAttribute("dis…
10829 …ft="24px";var d=this.getCurrentFile(),e="";null!=d&&d.getMode()!=App.MODE_DEVICE&&d.getMode()!=App…
10830 …){if("custom"==l.value){var b=new FilenameDialog(this,e,mxResources.get("ok"),function(b){null!=b?
10831 …br(b);return{getLink:function(){return f.checked?"blank"===l.value?"_blank":e:null},getEditInput:f…
10832e=document.createElement("option");e.setAttribute("value","auto");mxUtils.write(e,mxResources.get(…
10833 e.setAttribute("value","self");mxUtils.write(e,mxResources.get("openInThisWindow"));d.appendChild(e
10834 …ocus()}}};EditorUi.prototype.createUrlParameters=function(b,c,d,e,g,k,n){n=null!=n?n:[];e&&("https… argument
10835 …currentPage.getId());return n};EditorUi.prototype.createLink=function(b,c,d,e,g,k,n,v,x,A){x=this.… argument
10836e,g,k,x);b=this.getCurrentFile();c=!0;null!=n?d="#U"+encodeURIComponent(n):(b=this.getCurrentFile(…
10837 …tml=function(b,c,d,e,g,k,n,v,x,A,z,B){this.getBasenames();var f={};""!=g&&g!=mxConstants.NONE&&(f.… argument
10839 …in.js")+'">\x3c/script>')};EditorUi.prototype.showHtmlDialog=function(b,c,d,e){var f=document.crea… argument
10844e(m.checked?d:null,B.checked,y.value,n.getTarget(),n.getColor(),C.checked,F.checked,G.checked,E.ch… argument
10847 ….container,300,80,!0,!1);b.init()}))}))}var q=null,t=null;if(null!=d||null!=e)b+=30,mxUtils.write(…
10848 …e.width="50px",t.style.marginLeft="6px",t.style.marginBottom="10px",t.value=e+"px",f.appendChild(t…
10851 …,null)):u.focus()};EditorUi.prototype.showRemoteExportDialog=function(b,c,d,e,g){var f=document.cr… argument
10853 …ctionEmpty()),n=e?null:this.addCheckbox(f,mxResources.get("includeCopyOfMyDiagram"),Editor.default…
10854 …his.showDialog(b.container,300,(g?25:0)+(e?125:210),!0,!0)};EditorUi.prototype.showExportDialog=fu… argument
10862e);this.showDialog(d.container,340,m,!0,!0,null,null,null,null,!0);q.focus();mxClient.IS_GC||mxCli… argument
10863 …fit"),!0),p=this.addCheckbox(f,mxResources.get("shadow"),l.shadowVisible&&e,!e),n=this.addCheckbox…
10865 …!0)};EditorUi.prototype.createEmbedImage=function(b,c,d,e,g,k,n,v){function f(c){var f=" ",p="";e&… argument
10866 …rtToCanvas())this.editor.exportToCanvas(mxUtils.bind(this,function(b){var c=e?this.getFileData(!0)…
10867 …height));var q=new mxXmlRequest(EXPORT_URL,"format=png&base64=1&embedXml="+(e?"1":"0")+p+"&xml="+e…
10868e,g,k,n){var f=this.editor.graph.getSvg(null,null,null,null,null,null,null,null,null,null,!d),l=f.… argument
10869 ….getFileData(!0));c&&this.editor.graph.addSvgShadow(f);if(d){var q=" ",t="";e&&(q="onclick=\"(func…
10870 …Uri(mxUtils.getXml(b))+'"'+(""!=t?' style="'+t+'"':"")+q+"/>")}))}else t="",e&&(c=this.getSelected…
10873 …,e=c.getGlobalVariable;c.getGlobalVariable=function(b){return"page"==b?f.getAttribute("name")||mxR…
10874 …}return{scale:c,border:f}};EditorUi.prototype.getEmbeddedPng=function(b,c,d,e,g){try{var f=this.ed… argument
10876 …,null,null,!1));var e=d.toDataURL("image/png"),e=Editor.writeGraphModelToPng(e,"tEXt","mxfile",enc…
10877 …l,null,e,null,f.shadowVisible,null,f,g,null,null,null,"diagram",null)}catch(z){null!=c&&c(z)}};Edi… argument
10878 (e?"":Graph.xmlDeclaration+"\n"+Graph.svgFileComment+"\n"+Graph.svgDoctype+"\n")+mxUtils.getXml(b);…
10879 …){c(b)}}))}catch(m){c(b)}}))};EditorUi.prototype.exportImage=function(b,c,d,e,g,k,n,v,x,A,z,B,y){x… argument
10880e,null,null,k,n,A,B,y)}catch(F){this.spinner.stop(),this.handleError(F)}}};EditorUi.prototype.isCo… argument
10882 …].getAttribute("id")]=this.pages[0].getId(),p=Editor.parseDiagramNode(q[0]),e=!1,u=1);for(;u<q.len…
10883 …(b,k)}}if(null!=p&&"mxGraphModel"===p.nodeName&&(f=l.importGraphModel(p,c,d,e),null!=f))for(u=0;u<…
10884e=d.getLinkForCell(c);null!=e&&d.setLinkForCell(c,this.updatePageLink(b,e));if(d.isHtmlLabel(c)){f…
10885 …ON.parse(c.substring(17));if(null!=d.actions){for(var e=0;e<d.actions.length;e++){var l=d.actions[
10886e,g){e=null!=e?e:b.name;d=null!=d?d:mxUtils.bind(this,function(b){this.handleError(b)});var f=mxUt… argument
10887e.lastIndexOf(".");if(0<=k&&k<e.length)l=e.substring(k+1).toUpperCase();else{var m=e.lastIndexOf("…
10888 p.open("POST",VSD_CONVERT_URL+(/(\.vss|\.vsx)$/.test(e)?"?stencil=1":""));p.responseType="blob";thi…
10889e)}catch(C){d(C)}else try{""==p.responseType||"text"==p.responseType?d({message:p.responseText}):(…
10893 …ensions.min.js",f))};EditorUi.prototype.generateMermaidImage=function(b,c,d,e){var f=this,l=functi… argument
10895 …i(Editor.createSvgDataUri(b)),l,g)}else e({message:mxResources.get("invalidInput")})}catch(B){e(B)… argument
10896 c,d,e){function f(b,c,f){c1=b>>2;c2=(b&3)<<4|c>>4;c3=(c&15)<<2|f>>6;c4=f&63;r="";r+=l(c1&63);r+=l(c…
10898e(D)}};c.src=f.result};f.onerror=function(b){e(b)}}else e(b)};g.onerror=function(b){e(b)};g.send()…
10899 !0)}finally{f.getModel().endUpdate()}return e};EditorUi.prototype.insertTextAt=function(b,c,d,e,g,k… argument
10901e){if("data:"==b.substring(0,5))this.resizeImage(e,b,mxUtils.bind(this,function(b,e,l){f.setSelect… argument
10902e.width,this.maxImageSize/e.height)),g=Math.round(e.width*l);e=Math.round(e.height*l);f.setSelecti…
10903 null,b,f.snap(c),f.snap(d),1,1,"text;"+(e?"html=1;":"")),f.updateCellSize(l),f.fireEvent(new mxEven…
10904 …getDefaultParent(),null,"",f.snap(c),f.snap(d),1,1,"text;whiteSpace=wrap;"+(e?"html=1;":""));f.fir…
11537e){if("1"==urlParams.openInSameWin||navigator.standalone)e();else{var c=null;try{c=window.open(b)}… argument
11544 App.loadScripts=function(b,e){for(var d=b.length,c=0;c<b.length;c++)mxscript(b[c],function(){0==--d… argument
11545e=document.cookie.split(";"),d=0;d<e.length;d++){var c=mxUtils.trim(e[d]);if("MODE="==c.substring(…
11550 …r.serviceWorker.getRegistrations().then(function(e){if(null!=e&&0<e.length){for(var d=0;d<e.length… argument
11551 …in=function(b,e){function d(c){mxUtils.getAll("1"!=urlParams.dev?[c]:[c,STYLE_PATH+"/default.xml"]… argument
11559 …_BASE,mxLanguage))}window.onerror=function(b,c,d,e,f){EditorUi.logError("Global: "+(null!=b?b:""),… argument
11578e){EditorUi.debug("Loading plugins",b);for(var d=0;d<b.length;d++)if(null!=b[d]&&0<b[d].length)try… argument
11584 (window.DrawOneDriveClientCallback=b)});b()}if("1"!=urlParams.embed||"1"==urlParams.tr){var e=mxUti…
11585 e)});e()}if("1"!=urlParams.embed||"1"==urlParams.gapi){var d=mxUtils.bind(this,function(){if("undef…
11594 …urrentFile();if(null!=b&&b.isModified()&&b.isAutosave()&&b.isOverdue()){var e={category:"WARN-FILE… class in AnonymousFunction9bd35d6b14fe00
11595 …ientId:"nosync"};b.constructor==DriveFile&&null!=b.desc&&null!=this.drive&&(e.label+=(null!=this.d…
11596e);e=mxResources.get("ensureDataSaved");null!=b.lastSaved&&(e=this.timeSince(b.lastSaved),null==e&…
11601e=document.createElement("img");e.setAttribute("src",Dialog.prototype.closeImage);e.setAttribute("…
11606 …ings.closeratingFooter=Date.now(),mxSettings.save()))});mxEvent.addListener(e,"click",mxUtils.bind…
11607 …933/draw-io-diagrams-for-confluence?hosting=datacenter&tab=reviews");n()}));e=mxUtils.bind(this,fu…
11608 …Utils.setPrefixedStyle(b.style,"transform","translate(-50%,0%)")}),500);window.setTimeout(e,6E4)}};
11609e=null!=b?b.email:null;if(!this.isOffline()&&!this.editor.chromeless&&null!=e&&null!=b.id){var d=e
11610 c)}}}catch(f){}}))}};App.prototype.handleLicense=function(b,e){null!=b&&null!=b.plugins&&App.loadPl… argument
11611e=this.getRecent();if(null==e)e=[];else for(var d=0;d<e.length;d++)e[d].id==b.id&&e.splice(d,1);nu…
11612 …nction(b){if(isLocalStorage&&null!=localStorage)try{localStorage.removeItem(".recent")}catch(e){}};
11614 …w()){var b=this.editor.appName,e=this.getCurrentFile();this.isOfflineApp()&&(b+=" app");null!=e&&(…
11615e){var d=!1;try{var c=!0,g=window.setTimeout(mxUtils.bind(this,function(){c=!1;e(null)}),this.time… argument
11621e,d){b.apply(this,arguments);null!=this.mode&&(Editor.useLocalStorage=this.mode==App.MODE_BROWSER)… argument
11622e==App.MODE_ONEDRIVE?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get(…
11623e=this.getCurrentFile(),d=null!=e?e.getMode():null;d==App.MODE_GOOGLE?null!=e&&null!=e.desc&&null!…
11624 e&&null!=e.meta&&null!=e.meta.webUrl?(d=e.meta.webUrl,e=encodeURIComponent(e.meta.name),d.substring…
11625e&&e.constructor==GitHubFile?this.openLink(e.meta.html_url):this.openLink("https://github.com/"):d…
11626 …tring(1));if(null!=b&&1<b.length&&"T"==b.charAt(0)){var e=b.indexOf("#");0<e&&(b=b.substring(0,e))…
11627e=mxUtils.parseXml(window.opener[b]);this.editor.setGraphXml(e.documentElement)}else null!=window.… argument
11628 …fileLoaded(mxClient.IS_IOS?new StorageFile(this,b,c):new LocalFile(this,b,c,e))}))}}catch(d){}};Ap…
11631 …ialog=function(b,e){if(!this.showingRefreshDialog&&(this.showingRefreshDialog=!0,this.showError(b|… argument
11633e=document.createElement("div");e.className="geAlert";e.style.zIndex=2E9;e.style.left="50%";e.styl…
11634e.appendChild(b);mxEvent.addListener(b,"click",function(b){null!=e.parentNode&&(e.parentNode.remov…
11636 …indow.onerror=function(c,d,e,g,m){"ResizeObserver loop limit exceeded"!=c&&(EditorUi.logError("Unc…
11639 …his.loadFile("U"+urlParams.url,!0);else if(null==this.getCurrentFile()){var e=mxUtils.bind(this,fu…
11641 e){e.source==c&&b(d)})))}}else if(null==this.dialog)if("1"==urlParams.demo)d=Editor.useLocalStorage…
11647 …ion.pathname+this.getSearch(["open"])),window.location.hash=urlParams.open),e())}}catch(k){this.ha…
11648e){this.createFile(this.defaultFilename,b,null,null,mxUtils.bind(this,function(){window.setTimeout… argument
11649 ….bind(this,function(e){for(var d=[],c=0;c<e.length;c++)try{var g=e[c].key;if(null!=g&&".draft_"==g… argument
11650 …?(e=new Date(d[0].modified),e=new DraftDialog(this,1<d.length?mxResources.get("selectDraft"):mxRes…
11651e.container,640,480,!0,!1,mxUtils.bind(this,function(b){"0"!=urlParams.splash?this.loadFile():this…
11652 this.getFileData(),null,null,null,null,null,!0)}))}),0)}catch(e){}};
11653 App.prototype.showSplash=function(b){if("1"!=urlParams.noFileMenu){var e=this.getServiceCount(!0),d…
11654 …lse{b=4==e?2:3;var c=new StorageDialog(this,mxUtils.bind(this,function(){this.hideDialog();d()}),b…
11655e){var d=null;if(null!=this.menus.get("language")){d=document.createElement("div");d.setAttribute(… argument
11656 …ction(){mxPopupMenu.prototype.hideMenu.apply(c,arguments);c.destroy()});var e=mxUtils.getOffset(d);
11657 c.popup(e.x,e.y+d.offsetHeight,null,b);this.setCurrentMenu(c)}));b.appendChild(d)}return d};
11658e,d){d=null!=d?d:mxUtils.bind(this,function(b){this.handleError(b)});try{b.getFile().then(mxUtils.… argument
11660e=[],d=null;if(null!=b){var c=b.lastIndexOf(".");0<c&&(d=b.substring(c+1))}for(c=0;c<this.editor.d…
11661e.splice(0,0,g):e.push(g)}return{types:e,fileName:b}};App.prototype.showSaveFilePicker=function(b, argument
11662 …File():this.openLink("https://drive.google.com");else{var e=this.getPeerForMode(b);if(null!=e)e.pi…
11665e=mxUtils.bind(this,function(){this.useCanvasForExport||".png"!=d.substring(d.length-4)||(d=d.subs…
11667e=b==App.MODE_GOOGLE?this.drive:b==App.MODE_ONEDRIVE?this.oneDrive:b==App.MODE_GITHUB?this.gitHub:…
11668 …ngFile"))}else this.spinner.spin(document.body,mxResources.get("loading"))&&e.getLibrary(b,mxUtils…
11672 …aveLibrary=function(b,e,d,c,g,k,n){try{c=null!=c?c:this.mode;g=null!=g?g:!1;k=null!=k?k:!1;var f=t… argument
11673e)}),l,this.drive.libraryMimeType):c==App.MODE_GITHUB&&null!=this.gitHub&&this.spinner.spin(docume…
11674e)}),l,d):c==App.MODE_NOTION&&null!=this.notion&&this.spinner.spin(document.body,mxResources.get("…
11675e)}),l,d):c==App.MODE_DROPBOX&&null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get…
11676 e)}),l,d):c==App.MODE_BROWSER?(d=mxUtils.bind(this,function(){var c=new StorageLibrary(this,f,b);c.…
11677 function(b){this.spinner.stop();this.hideDialog(!0);k||this.libraryLoaded(d,e);null!=n&&n()}),l)});…
11678e){var d=this.getCurrentFile();if(null!=d){var c=mxUtils.bind(this,function(){EditorUi.enableDraft… argument
11679e){d.invalidFileHandle=null;d.fileHandle=b;d.title=e.name;d.desc=e;this.save(e.name,c)}),null,this… argument
11680e==App.MODE_DEVICE?null!=d&&EditorUi.nativeFileSupport?this.showSaveFilePicker(mxUtils.bind(this,f… argument
11681e;this.setMode(App.MODE_DEVICE);this.save(e.name,c)}),mxUtils.bind(this,function(b){"AbortError"!=…
11682 …)$/i.test(b),/(\.svg)$/i.test(b),/(\.html)$/i.test(b)),null,e,c,null==this.mode,d)})):null!=e&&thi…
11683 App.prototype.loadTemplate=function(b,e,d,c,g){var k=!1,n=b;this.editor.isCorsEnabledForUrl(n)||(n=… argument
11684e(b)},d,f);else if(!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(l,f))th…
11685 ….png)($|\?)/i.test(f)||this.isPngData(l))l=this.extractGraphModelFromPng(c);e(l)}}catch(q){d(q)}})…
11687 …unction(b,e,d,c,g,k,n,f,l){c=f?null:null!=c?c:this.mode;if(null!=b&&this.spinner.spin(document.bod… argument
11688e,n,mxUtils.bind(this,function(b){m();this.fileCreated(b,d,k,g,l)}),p)):c==App.MODE_GITHUB&&null!=…
11689e,mxUtils.bind(this,function(b){m();this.fileCreated(b,d,k,g,l)}),p,!1,n):c==App.MODE_DROPBOX&&nul…
11690e,c.name,null,b,c);f.saveFile(c.name,!1,mxUtils.bind(this,function(){this.fileCreated(f,d,k,g,l)})…
11691 App.prototype.fileCreated=function(b,e,d,c,g){var k=window.location.pathname;null!=e&&0<e.length&&(… argument
11693 null!=e&&this.sidebar.showEntries(e);if(null!=g){for(var c=[],f=g.split(";"),k=0;k<f.length;k++)c.p…
11695 App.prototype.loadFile=function(b,e,d,c,g){if("1"==urlParams.openInSameWin||navigator.standalone)e=… argument
11699 …=this.drive){var b=k.substring(31,k.lastIndexOf("&ex"));this.loadFile("G"+b,e,null,mxUtils.bind(th…
11700 …Utils.bind(this,function(d){this.spinner.stop();if(null!=d&&0<d.length){var e=this.defaultFilename…
11701 …g||".png"===g||".drawio"===g)&&(e=f+g)}d=new LocalFile(this,d,null!=urlParams.title?decodeURICompo…
11703e=this.getCurrentFile();null==e?(window.location.hash="",this.showSplash()):this.editor.chromeless…
11705 …el"),mxResources.get("discardChanges"))});null==b||0==b.length?f():null==n||e?f():this.showDialog(…
11706e=b.getTitle();b.constructor!=LocalLibrary&&(e+="\n"+b.getHash());b.constructor==DriveLibrary?e+="…
11707 …ces.get("browser")+")":b.constructor==LocalLibrary&&(e+=" ("+mxResources.get("device")+")");return…
11708e){if(null!=this.sidebar){null==this.pendingLibraries&&(this.pendingLibraries={});var d=mxUtils.bi… argument
11709 …his,function(d){delete this.pendingLibraries[b];g[e]=d;c--;k()}),l=mxUtils.bind(this,function(e){d… argument
11719e){if(!this.fetchingNotif){b=b||"online";var d=null,c=mxUtils.bind(this,function(c){c=c.filter(fun… argument
11721 App.prototype.showNotification=function(b,e){function d(b){var c=document.querySelector(".geNotific… argument
11722 …ngth;d++)c[d].className="circle";isLocalStorage&&b[0]&&localStorage.setItem(e,b[0].timestamp)});if…
11727e=b.timeSince(new Date(c.timestamp));null==e&&(e=mxResources.get("lessThanAMinute"));d.innerHTML='…
11729e){var d=this.getCurrentFile();if(null!=d&&this.spinner.spin(document.body,mxResources.get("saving… argument
11730e,d,c,g){d=null!=d?d:!0;var k=this.spinner.pause();d&&b==App.MODE_GOOGLE&&null!=this.drive?this.dr… argument
11731 e(b))}),c):d&&b==App.MODE_GITHUB&&null!=this.gitHub?this.gitHub.pickFolder(mxUtils.bind(this,functi…
11732e,d,c,g,k){g==App.MODE_DROPBOX?null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get… argument
11733e,c?this.base64ToBlob(b,d):b,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,…
11734e,b,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,function(b){this.spinner.…
11735 …s,function(){localStorage.setItem(e,b)}),null==localStorage.getItem(e)?d():this.confirm(mxResource…
11736e=null!=b.getTitle()?b.getTitle():this.defaultFilename;mxUtils.write(this.fname,e);this.fname.setA…
11737 window.location.hash=e:0<window.location.hash.length&&(window.location.hash=""))}this.updateUi();nu…
11738e,d,c){var g=this.spinner.pause();this.showDialog((new AuthDialog(this,b,e,mxUtils.bind(this,funct… argument
11739e,d,c,g,k,n,f){var l=e;/\.svg$/i.test(l)||(l=l.substring(0,e.lastIndexOf("."))+c);var m=!1;null!=t… argument
11740e)}else null!=k&&k({message:mxResources.get("errorLoadingFile")})});p.onerror=k;p.send()}else{var …
11741e)?(d=this.extractGraphModelFromPng(c),null!=d?g(new LocalFile(this,d,l,!0)):g(new LocalFile(this,…
11742e)||/\.jpe?g$/i.test(e)||/\.pdf$/i.test(e)||null!=d&&"image/"==d.substring(0,6);m?mxUtils.get(b,mx…
11755e=mxUtils.bind(this,function(){this.toggleFormatElement.style.backgroundImage=0<this.formatWidth?"…
11769 if(null!=this.drive){var e=this.drive.getUsersList();if(0<e.length){var k=mxUtils.bind(this,functio…
11771 "ellipsis";mxUtils.write(d,b.displayName+(b.isCurrent&&1<e.length?" ("+mxResources.get("default")+"…
11773 0;f<e.length;f++)n.appendChild(d(e[f]));this.userPanel.appendChild(n);d=document.createElement("div…
11775 …endChild(n);this.userPanel.appendChild(d)}}d=mxUtils.bind(this,function(b,d,e,f){if(null!=b){c&&th… argument
11777 ….style.whiteSpace="nowrap";null!=e&&(e=mxUtils.button(mxResources.get("signOut"),e),e.className="g…
11790 …{null!=b&&b.firstChild.nextSibling.appendChild(this.createHelpLink(c))};var e=Menus.prototype.init;
11791 …is.previousExtFonts=this.extFonts=c;this.prevCustomFonts=this.customFonts=d}e.apply(this,arguments…
11794e=function(b){return{id:b.id,isExt:!0,url:b.downloadUrl,title:b.title,imgUrl:b.thumbnailLink,chang… argument
11795e(c.items[f]));b(d)},d)},function(b,d,f,g){c.drive.listFiles(b,null,g?!0:!1,function(b){for(var c=… argument
11801 …r d=null==c.pages||1>=c.pages.length,e=document.createElement("h3");mxUtils.write(e,mxResources.ge…
11802 b.appendChild(e);var f=c.addCheckbox(b,mxResources.get("selectionOnly"),!1,g.isSelectionEmpty()),k=…
11803 …t("url"),!0,null,null,function(b,d,e,f,g,k,l,m,n){l=[];n&&l.push("tags=%7B%7D");b=new EmbedDialog(… argument
11804e,f,g,k,l,m,n,p,q){c.createHtml(b,d,e,f,g,k,l,m,n,p,q,mxUtils.bind(this,function(b,d){var e=c.getB… argument
11805e=document.createElement("h3");mxUtils.write(e,mxResources.get("formatPdf"));e.style.cssText="widt…
11806 …ecked=!g.pageVisible):(x.setAttribute("disabled","disabled"),x.checked=!1)},e=200,k=1,l=null;if(c.…
11808 …nge",f);mxEvent.addListener(p,"change",f);mxEvent.addListener(v,"change",f);e+=64}else v=c.addChec…
11809 …iagram"),Editor.defaultIncludeDiagram),e+=30;f&&(A=c.addCheckbox(d,mxResources.get("transparentBac…
11810e=parseInt(u.value),d=n.checked||d==l&&e==l?null:{from:Math.max(0,Math.min(k-1,d-1)),to:Math.max(0…
11812 …d(this,function(b,d){c.spinner.stop();var e=new RevisionDialog(c,b,d);c.showDialog(e.container,640…
11816 g.getSelectionCells(),d=[],e=0;e<b.length;e++)g.getModel().isVertex(b[e])&&d.push(b[e]);0<d.length&…
11818e,f,g,k,l,m,n,p,q,t,u,v){b=parseInt(b);!isNaN(b)&&0<b&&c.exportSvg(b/100,d,e,f,g,k,l,!m,!1,p,t,u,v… argument
11819 …export"),null,mxUtils.bind(this,function(b,d,e,f,g){c.downloadFile(d?"xmlpng":"png",null,null,b,nu… argument
11820e,f,g,k,l,m,n,p,q,t,u){b=parseInt(b);!isNaN(b)&&0<b&&c.exportImage(b/100,!1,e,f,!1,l,!m,!1,"jpeg",… argument
11825 …dReplace...",mxUtils.bind(this,function(b,d){var e=g.isEnabled()&&(null==d||!mxEvent.isShiftDown(d…
11826 …this[k]){var l=e?"min"==uiTheme?330:300:240;this[k]=new FindWindow(c,document.body.offsetWidth-(l+…
11827e=document.createElement("h3");mxUtils.write(e,mxResources.get("formatVsdx"));e.style.cssText="wid…
11829 …try{var e=JSON.parse(d.value),f=window.location.protocol+"//"+window.location.host+"/"+c.getSearch…
11831e=mxUtils.bind(this,function(e){var f=""==e?mxResources.get("automatic"):mxLanguageMap[e],g=null;"… argument
11832 d),(e==mxLanguage||""==e&&null==mxLanguage)&&b.addCheckmark(g,Editor.checkmarkImage));return g});e(…
11833e=document.createElement("div");e.style.backgroundImage="url("+Editor.globeImage+")";e.style.backg…
11834 "19px";e.style.marginTop="2px";e.style.zIndex="1";d.appendChild(e);mxUtils.setOpacity(d,40);if("atl…
11836 …xOrgChartLayout.js",k)})})}):mxscript("js/extensions.min.js",k))}var d=null,e=20,f=20,g=!0,k=funct…
11837 typeof mxOrgChartLayout&&null!=d&&g){var b=c.editor.graph,k=new mxOrgChartLayout(b,d,e,f),l=b.getDe…
11839 …e="number";q.value=e;q.style.width="200px";q.style.boxSizing="border-box";l.appendChild(q);mxEvent…
11841 …out"],d);else{var e=b.addItem("Search:",null,null,d,null,null,!1);e.style.backgroundColor=Editor.i…
11843 b.keyCode&&(f.value="")}));e.firstChild.nextSibling.appendChild(f);mxEvent.addGestureListeners(f,fu…
11848e=f[b].pop();c(e)}delete f[b]}}else mxLog.debug(d+": Visited: "+b)}var d=b.parentNode.id,e=b.child…
11849e+" (see console)")):mxLog.debug(d+": Checked");var p={};null==g?mxLog.debug(d+": No root"):(c(g),…
11850 …("Error: ",H.message)}else mxLog.debug("No pages found for checksum");var k=e.getElementsByTagName…
11851e=JSON.parse(b);d.patch([e],null,!0);c.hideDialog()}catch(G){c.handleError(G)}},null,"Close",null,… argument
11853e=mxUtils.createXmlDocument(),f=e.createElement("output");e.appendChild(f);e=new mxXmlCanvas2D(f);
11856 …b,d,e,f,g,k,l,m,n,p,q){c.createHtml(b,d,e,f,g,k,l,m,n,p,q,mxUtils.bind(this,function(b,d){var e=ne… argument
11857e.document;if(null!=f){"CSS1Compat"===document.compatMode&&f.writeln("<!DOCTYPE html>");f.writeln(…
11858e.document.createElement("img");g.setAttribute("src",window.location.protocol+"//"+window.location…
11859 c.showDialog(e.container,450,240,!0,!0);e.init()}))})})}));c.actions.put("liveImage",new Action("Li…
11860 …wEmbedImageDialog(function(b,d,e,f,g,k){c.spinner.spin(document.body,mxResources.get("loading"))&&… argument
11861 …owEmbedImageDialog(function(b,d,e,f,g,k){c.spinner.spin(document.body,mxResources.get("loading"))&… argument
11862e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurre… argument
11863e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurre… argument
11864e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurre… argument
11867 …phXml());if("json"==urlParams.proto){var e=c.createLoadMessage("save");e.xml=d;b&&(e.exit=!0);d=JS…
11870 …)));this.put("importFrom",new Menu(mxUtils.bind(this,function(b,d){function e(b){b.pickFile(functi… function
11871 …rLoadingFile"):null)},b==c.drive)},!0)}var k=mxUtils.bind(this,function(b,d,e){var f=g.view,k=g.ge… argument
11872 …n,c.maxImageSize/p)):1;c.importFile(b,d,l,m,Math.round(n*f),Math.round(p*f),e,function(b){c.spinne…
11873 …or({message:mxResources.get("cannotOpenFile")})})):c.importFile(b,d,l,m,0,0,e,function(b){c.spinne…
11874e(c.drive)},d):n&&"function"===typeof window.DriveClient&&b.addItem(mxResources.get("googleDrive")…
11875e(c.dropbox)},d):f&&"function"===typeof window.DropboxClient&&b.addItem(mxResources.get("dropbox")…
11876 …notion")+"...",null,function(){e(c.notion)},d));null!=c.trello?b.addItem(mxResources.get("trello")…
11878e="1"==urlParams.sketch?"sketch":mxSettings.getUi(),f=b.addItem(mxResources.get("automatic"),null,…
11879e&&b.addCheckmark(f,Editor.checkmarkImage);f=b.addItem(mxResources.get("minimal"),null,function(){…
11880e||!mxClient.IS_IE&&!mxClient.IS_IE11)f=b.addItem(mxResources.get("dark"),null,function(){mxSettin…
11881 …veFilePicker(mxUtils.bind(c,function(d,e){b.invalidFileHandle=null;b.fileHandle=d;b.title=e.name;b… argument
11883 …eDialog(c,d,mxUtils.bind(this,function(d,e){"_blank"==e?c.editor.editAsNew(c.getFileData(),d):("do… argument
11884e==App.MODE_GOOGLE?c.spinner.spin(document.body,mxResources.get("saving"))&&b.saveAs(d,mxUtils.bin…
11885 …e()==App.MODE_GOOGLE&&null!=b.desc.parents)for(var e=0;e<b.desc.parents.length;e++)if(b.desc.paren…
11887 …his,function(b,d){var e=c.getCurrentFile();null==e||e.getMode()!=App.MODE_GOOGLE&&e.getMode()!=App…
11888e,f){("plantUml"!=f||EditorUi.enablePlantUml&&!c.isOffline())&&b.addItem(e,null,mxUtils.bind(this,… argument
11889 …Dialog(c,e,f),c.showDialog(b.container,620,420,!0,!1);b.init()}),d,null,k())};var A=function(b,d,e argument
11892 …bind(this,function(b,d,e){for(var f=0;f<e.length;f++)"-"==e[f]?b.addSeparator(d):c.addInsertItem(b… argument
11894e=c.getRecent();if(null!=e){for(var f=0;f<e.length;f++)(function(e){var f=e.mode;f==App.MODE_GOOGL…
11911 …MenuItems(b,["-","search"],d);if(isLocalStorage||mxClient.IS_CHROMEAPP){var e=this.addMenuItem(b,"…
11912 EditorUi.isElectronApp)&&this.addLinkToItem(e,"https://www.diagrams.net/doc/faq/scratchpad")}this.a…
11913 …Jax){var e=this.addMenuItem(b,"mathematicalTypesetting",d);(!c.isOffline()||mxClient.IS_CHROMEAPP|…
11915e,f){var g=new Date;g.setDate(g.getDate()-7);c.drive.listFiles(null,g,f?!0:!1,function(c){for(var argument
11916 e(d)},f)},function(b,d,e){c.drive.getFile(b.id,function(b){d(b.data)},e)},null,function(b){b({Test:… argument
11917 …t"],d))),"1"!=urlParams.noExitBtn&&this.addMenuItems(b,["exit"],d);else{var e=this.editorUi.getCur…
11918e&&e.constructor==DriveFile){e.isRestricted()&&this.addMenuItems(b,["exportOptionsDisabled"],d);th…
11919e||e.constructor==LocalFile&&null==e.fileHandle||(b.addSeparator(d),f=this.addMenuItem(b,"synchron…
11920 …s.addMenuItems(b,["upload"],d):(this.addMenuItems(b,["makeCopy"],d),null!=e&&e.constructor==OneDri…
11921 …ull!=e&&null!=c.fileNode&&"1"!=urlParams.embedInline&&(e=null!=e.getTitle()?e.getTitle():c.default…
11922 …s,d=0;null!=c&&d<c.length;d++){var e=document.getElementById("extFont_"+c[d].name);null!=e&&e.pare…
11923e){for(var f=mxUtils.bind(this,function(f,g,k,l,m){var n=c.editor.graph;l=this.styleChange(d,l||f,… argument
11925 …rCase()];for(var e=0;e<this.customFonts.length;e++)if(this.customFonts[e].name==f&&this.customFont…
11926e=0;e<k.length;e++)if(k[e].name==f){k.splice(e,1);break}for(var l=mxUtils.clone(this.customFonts),
11927e);if("1"!=urlParams["ext-fonts"]){for(var l=function(b){var c=encodeURIComponent(b.name)+(null==b…
11928e)}d.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){Graph.recentCustomFonts={}…
11929 …=this.customFonts[k].url,f(q,l,!0),this.editorUi.editor.graph.addExtFont(q,l,!0);d.addSeparator(e);
11930e);d.addSeparator(e)}}d.addItem(mxResources.get("custom")+"...",null,mxUtils.bind(this,function(){…
11931 e=Graph.getFontUrl(c,null),null!=e&&(Graph.isGoogleFontUrl(e)?(e=null,d="g"):d="w")))}else f=b.getV…
11932e&&e.substring(0,PROXY_URL.length)==PROXY_URL&&(e=decodeURIComponent(e.substr((PROXY_URL+"?url=").… argument
11933e&&(b.setCellStyles("FType",e),0==d.indexOf("http://")&&(d=PROXY_URL+"?url="+encodeURIComponent(d)…
11934 …ts?250:180,!0,!0);d.init()}),e,null,!0)})))}})();function DiagramPage(b,e){this.node=b;null!=e?thi… argument
11935 …name"):this.node.setAttribute("name",b)};function RenamePage(b,e,d){this.ui=b;this.page=e;this.pre… argument
11936 function MovePage(b,e,d){this.ui=b;this.oldIndex=e;this.newIndex=d}MovePage.prototype.execute=funct… argument
11937 …e(b,e,d){this.ui=b;this.previousPage=this.page=e;this.neverShown=!0;null!=e&&(this.neverShown=null… argument
11938 …if(null!=this.page&&0<=b){var b=this.ui.currentPage,e=this.ui.editor,d=e.graph,c=Graph.compressNod…
11939e.updateGraphComponents();d.view.validate();d.blockMathRender=!0;d.sizeDidChange();d.blockMathRend…
11940 function ChangePage(b,e,d,c,g){SelectPage.call(this,b,d);this.relatedPage=e;this.index=c;this.previ… argument
11942e=null;if(null!=this.pages&&null!=b)for(var d=0;d<this.pages.length;d++)if(this.pages[d]==b){e=d;b…
11943 …eLink=function(b,e,d){var c=b.indexOf(","),g=null;0<c&&(c=this.getPageById(b.substring(c+1)),null!… argument
11944e,d){d=null!=d?d:this.editor.graph;var c=d.getGlobalVariable,g=this.createTemporaryGraph(d.getStyl… argument
11946 …0),this.keyHandler.bindAction(34,!0,"nextPage",!0));var b=this.editor.graph,e=b.view.validateBackg…
11947 …tabContainerHeight+"px";c!=this.tabContainer.style.height&&this.refresh(!1)}e.apply(b.view,argumen…
11949 …{for(var e=d.getProperty("edit").changes,f=0;f<e.length;f++)if(e[f]instanceof SelectPage||e[f]inst…
11950e,d){b=null!=b?this.getPageById(b.getId()):null;var c=this.editor.graph;null!=b&&null!=this.curren… argument
11951 Graph.prototype.createViewState=function(b){var e=b.getAttribute("page"),d=parseFloat(b.getAttribut…
11952 …1"==b.getAttribute("shadow"),pageVisible:this.isLightboxView()?!1:null!=e?"0"!=e:this.defaultPageV…
11954e,d,c){d||(e.setAttribute("grid",null==b||b.gridEnabled?"1":"0"),e.setAttribute("gridSize",null!=b… argument
11955e.setAttribute("pageScale",null!=b&&null!=b.pageScale?b.pageScale:mxGraph.prototype.pageScale);d=n…
11956e.setAttribute("math",null!=b&&b.mathEnabled?"1":"0");e.setAttribute("shadow",null!=b&&b.shadowVis…
11959 Graph.prototype.setViewState=function(b,e){if(null!=b){this.lastPasteXml=b.lastPasteXml;this.pasteC… argument
11960 …hiddenTags=b.hiddenTags;var d=this.extFonts;this.extFonts=b.extFonts||[];if(e&&null!=d)for(var c=0…
11964e,d){if(b&&e){"1"!=urlParams["ext-fonts"]&&(Graph.recentCustomFonts[b.toLowerCase()]={name:b,url:e argument
11965 …s;c=!0;for(g=0;g<d.length;g++)if(d[g].name==b){c=!1;break}c&&this.extFonts.push({name:b,url:e})}}};
11966 …torUi.prototype.updatePageRoot=function(b,e){if(null==b.root){var d=this.editor.extractGraphModel(… argument
11968e,d){try{if(b!=this.currentPage){this.editor.graph.isEditing()&&this.editor.graph.stopEditing(!1); argument
11969e=this.currentPage;null!=e&&null!=this.pages&&(e=mxUtils.indexOf(this.pages,e),b?this.selectPage(t…
11970e){if(this.editor.graph.isEnabled()){this.editor.graph.isEditing()&&this.editor.graph.stopEditing(… argument
11971e){var d=new DiagramPage(this.fileNode.ownerDocument.createElement("diagram"),e);d.setName(null!=b… argument
11972e=this.editor.graph,d=mxUtils.indexOf(this.pages,b);if(e.isEnabled()&&0<=d){this.editor.graph.isEd…
11973e){var d=null;try{var c=this.editor.graph;if(c.isEnabled()){c.isEditing()&&c.stopEditing();var g=b… argument
11974e=new FilenameDialog(this,b.getName(),mxResources.get("rename"),mxUtils.bind(this,function(d){null…
11975 EditorUi.prototype.movePage=function(b,e){this.editor.graph.model.execute(new MovePage(this,b,e))};… argument
11976e=document.createElement("div");e.style.position="relative";e.style.display="inline-block";e.style…
11978e.appendChild(d)})(k,this.createTabForPage(this.pages[k],c,this.pages[k]!=this.currentPage,k+1));t…
11979 …ner.appendChild(c));if(e.clientWidth>this.tabContainer.clientWidth-d){null!=c&&(c.style.position="…
11980e.style.width=l+"px";mxEvent.addListener(n,"click",mxUtils.bind(this,function(b){e.scrollLeft-=Mat…
11981 e.scrollLeft<e.scrollWidth-e.clientWidth?100:50);mxEvent.addListener(f,"click",mxUtils.bind(this,fu…
11982e=document.createElement("div");e.style.display="inline-block";e.style.whiteSpace="nowrap";e.style…
11983e.style.cursor="move";e.style.color="gray";b&&(mxEvent.addListener(e,"mouseenter",mxUtils.bind(thi…
11984e,d){d=this.createTab(null!=d?d:!0);d.style.lineHeight=this.tabContainerHeight+"px";d.style.paddin… argument
11985 …tyle.left="1px";var e=b.getElementsByTagName("div")[0];e.style.display="inline-block";e.style.marg…
11986e=b.addItem(this.pages[d].getName(),null,mxUtils.bind(this,function(){this.selectPage(this.pages[d…
11987e=this.currentPage;null!=e&&(b.addSeparator(c),d=e.getName(),b.addItem(mxResources.get("removeIt",…
11988 …ply(c,arguments);c.destroy()});var d=mxEvent.getClientX(b),e=mxEvent.getClientY(b);c.popup(d,e,nul…
11989 …age();mxEvent.consume(b)}));var e=b.getElementsByTagName("div")[0];e.style.display="inline-block";
11990e,d,c){d=this.createTab(d);var g=b.getName()||mxResources.get("untitled"),k=b.getId();d.setAttribu… argument
11991e){mxEvent.disableContextMenu(e);var d=this.editor.graph;mxEvent.addListener(e,"dblclick",mxUtils.… argument
11992 …lientX(k),l=mxEvent.getClientY(k);n.popup(f,l,null,k);this.setCurrentMenu(n,e)}mxEvent.consume(k)}…
11993e,d){if(!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp){var c=this.getCurrentFile();if(null!=c&&c… argument
11995e){return mxUtils.bind(this,function(d,c){var g=this.editor.graph;d.addItem(mxResources.get("inser… argument
11996e,l,m,p){c=this.createUrlParameters(c,d,e,l,m,p);e||c.push("hide-pages=1");g.isSelectionEmpty()||( argument
11998 !0,!0))}),c))})};(function(){var b=EditorUi.prototype.refresh;EditorUi.prototype.refresh=function(e argument
12000e="defaultParent currentRoot scrollLeft scrollTop scale translate lastPasteXml pasteCounter".split…
12001e){e.ui=b.ui;e.relatedPage=e.ui.getPageById(c.getAttribute("relatedPage"));if(null==e.relatedPage)…
12002e.relatedPage.root=b.decodeCell(d,!1),e=d.nextSibling,d.parentNode.removeChild(d),d=e;null!=d;){e=… argument
12003e){var f=null!=e&&this.isTreeEdge(e);f&&c.push(e);b==d||null!=e&&!f||c.push(b);return(null==e||f)&… argument
12004e,n,f,l),mxUtils.bind(this,function(b){return this.isTreeEdge(b)}))};Graph.prototype.getIncomingTr…
12005 !1;null!=b&&(c="1"==v.getCurrentCellStyle(b).treeMoving);return c}function e(b){var c=!1;null!=b&&(… function
12006 …var d=v.model.getParent(b),e=v.getIncomingTreeEdges(b),g=v.cloneCells([e[0],b]);v.model.setTermina…
12008e[0],!0));if(null!=q){for(var t=k==mxConstants.DIRECTION_SOUTH||k==mxConstants.DIRECTION_NORTH,u=l…
12009e=0;for(u=0;u<q.length;u++)if(y=v.model.getTerminal(q[u],!1),k==f(y)&&(x=v.view.getState(y),y!=b&&…
12010e=v.cloneCells([d[0],b]);v.model.setTerminal(d[0],e[1],!1);v.model.setTerminal(e[0],e[1],!0);v.mod…
12011e,g)}finally{v.model.endUpdate()}}function p(b,c){v.model.beginUpdate();try{var d=v.model.getParen…
12012 …}}var e=v.getOutgoingTreeEdges(b),p=d.geometry,l=[];v.view.currentRoot==d&&(p=new mxRectangle);for…
12014e=[];if(null!=d&&null!=b){for(var f=0;f<b.length;f++){var g=v.view.getState(v.model.getTerminal(b[…
12015e}function t(b,c){var d=f(b),e=c==mxConstants.DIRECTION_EAST||c==mxConstants.DIRECTION_WEST;(d==mx…
12016e.length-1&&v.setSelectionCell(e[d].cell)))))}var u=this,v=u.editor.graph,x=v.getModel(),A=u.menus… argument
12017 …selectSiblings","selectParent"],null,e)):0<v.model.getEdgeCount(d)&&this.addMenuItems(c,["selectCo…
12019e=[];v.traverse(d,!0,function(b,d){var f=null!=d&&v.isTreeEdge(d);f&&e.push(d);null!=d&&!f||null!=…
12020 …s.addAllEdges(c)));for(var f=[],g=0;g<c.length;g++){var k=c[g];x.isEdge(k)&&e(k)&&(f.push(k),k=x.g…
12021e){return b(c.cell)?null:this.graph.view.getState(this.graph.getCellAt(d,e))};var B=v.duplicateCel… argument
12022 …this.model.endUpdate()}return l};var y=v.moveCells;v.moveCells=function(c,d,e,f,g,k,l){var m=null;… argument
12023 …v.view.getState(n);null!=x&&(d=(x.getCenterX()-u.getCenterX())/v.view.scale,e=(x.getCenterY()-u.ge…
12025 function(c,d,e,f){var g=v.model,k=null;g.beginUpdate();try{if(k=C.apply(this,arguments),b(c))for(va…
12027 …e(c);else if(mxEvent.isAltDown(c)&&mxEvent.isShiftDown(c)){var e=F[c.keyCode];null!=e&&(e.funct(c)…
12028e,g,k,n,q){var t=v.getIncomingTreeEdges(c);if(b(c)){var u=f(c),y=u==mxConstants.DIRECTION_EAST||u=… argument
12029 …eEdge(c);d&&0>mxUtils.indexOf(e,c)&&e.push(c);(null==c||d)&&0>mxUtils.indexOf(e,b)&&e.push(b);retu…
12032 …bar.prototype.createAdvancedShapes=function(){var b=d.apply(this,arguments),e=this.graph;return b.…
12034e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;elbow=vertical;startArrow=none;e…
12036e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArro…
12039 …ometry.relative=!0;v.edge=!0;c.insertEdge(v,!0);u.insertEdge(v,!1);b.insert(e);b.insert(p);b.inser…
12043 …yle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};');e.setAttributeForCell(…
12045 …yle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};');e.setAttributeForCell(…
12048e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;startArrow=none;endArrow=no…
12049e.edge=!0;d.insertEdge(e,!1);return sb.createVertexTemplateFromCells([c,e,b,d],220,60,"Sub Section…
12050 …ow.fit()}function e(b,d){var e=b.editor.graph;e.popupMenuHandler.hideMenu();new mxRectangle;if(nul… function
12051 e.container.clientHeight-30),function(c){function d(d,e){var g=b.menus.get(d),k=f.addMenu(e,mxUtils… argument
12052 e.className="geTitle";e.innerHTML='<span style="font-size:18px;margin-right:5px;">+</span>';mxUtils…
12053 e.className="geTitle";var g=document.createElement("span");g.style.cssText="position:relative;top:6…
12054e.appendChild(g);c.appendChild(e);mxEvent.addListener(e,"click",b.actions.get("openLibrary").funct…
12055 "6px",e.style.paddingLeft="6px",e.style.height="32px",e.style.left="50%";c.appendChild(b.sidebar.co…
12056 …ement.clientWidth||document.body.clientWidth}catch(y){}var c=function(b,c,d,e,f,g,k){var l=documen… argument
12057 new mxWindow(c,l,d,e,f,g,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.w…
12083 …s.editorUi.picker.offsetWidth+4;d.y+=b.offsetTop-c.height/2+16;return d}var e=q.apply(this,argumen…
12084 e.x+=d.x-16;e.y+=d.y;return e};var t=Menus.prototype.createPopupMenu;Menus.prototype.createPopupMen…
12085e.isSelectionEmpty()&&e.isEnabled()?(b.addSeparator(),this.addMenuItems(b,["editData"],null,d),b.a…
12093 …Resources.get("1"==urlParams.sketch?"moreShapes":"shapes")+"...",function(){e(c)},null,null,Editor…
12095e=d.getSelectionCell();g.call(this,b,e,null,c);this.addMenuItems(b,["editTooltip"],c);d.model.isVe… argument
12096 d){var e=c.getCurrentFile();c.menus.addSubmenu("extras",b,d,mxResources.get("preferences"));b.addSe…
12097 …rator(d),null!=e&&e.constructor==DriveFile&&c.menus.addMenuItems(b,["share"],d),mxClient.IS_CHROME…
12099e&&null!=c.fileNode&&"1"!=urlParams.embedInline&&(e=null!=e.getTitle()?e.getTitle():c.defaultFilen…
12100 …ronApp||null==e||e.constructor==LocalFile||c.menus.addMenuItems(b,["-","synchronize"],d);c.menus.a…
12101 e.isRevisionHistorySupported()&&c.menus.addMenuItems(b,["-","revisionHistory"],d)})));var k=this.ge…
12102e){m.funct(b,e);this.addMenuItems(b,["editDiagram"],e);"1"==urlParams.sketch&&(b.addSeparator(e),b… argument
12105e){"1"==urlParams.sketch?(c.menus.addMenuItems(b,["insertFreehand"],e),c.insertTemplateEnabled&&!c… argument
12106 function(){var b=new CreateGraphDialog(c,e,f);c.showDialog(b.container,620,420,!0,!1);b.init()}),d)…
12107 c.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(e,f){0<c.getSelectionCo… argument
12108 …=EditorUi.prototype.init;EditorUi.prototype.init=function(){function c(b,c,d){var e=m.menus.get(b),
12109e.funct.apply(this,arguments)}),q);f.className="1"==urlParams.sketch?"geToolbarButton":"geMenuItem…
12110 …ndRepeat="no-repeat",f.style.paddingRight="22px");return f}function f(b,c,d,e,f,g){var k=document.… argument
12112 …xEvent.consume(b)});null==d&&(k.style.marginRight="4px");null!=e&&k.setAttribute("title",e);null!=…
12113e=0;e<b.length;e++)null!=b[e]&&("1"==urlParams.sketch&&(b[e].style.padding="10px 8px",b[e].style.w…
12114 …=p.firstChild;null!=b;){var e=b.nextSibling;"geMenuItem"!=b.className&&"geItem"!=b.className||b.pa…
12115e=b?c("diagram",null,Editor.drawLogoImage):null;null!=e&&(k=e);g([k,f(mxResources.get("shapes"),m.…
12116 g([e,f(mxResources.get("delete"),m.actions.get("delete").funct,null,mxResources.get("delete"),m.act…
12117e=m.menus.get("language");null!=e&&!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp&&600<=d&&"1"!=u…
12118e.style.position="absolute",e.style.height="24px",e.style.width="24px",e.style.zIndex="1",e.style.…
12120 null!=urlParams["search-shapes"])e(this,!0),null!=this.sidebar&&null!=urlParams["search-shapes"]&&n…
12139 …bind(this,function(){O.innerHTML="";if(!R){var b=function(b,c,e){b=f("",b.funct,null,c,b,e);b.styl… argument
12143 …get("freehand"),Editor.freehandImage);var e=m.actions.get("toggleShapes");b(e,mxResources.get("sha…
12162e=EditorUi.initTheme;EditorUi.initTheme=function(){e.apply(this,arguments);"min"!=uiTheme||b||(thi… argument
12165e){var f=[],g;e?(e=I,g=0):(e=0,g=I);f.push(new mxPoint(b.x-e,b.y-g));f.push(new mxPoint(b.x+e,b.y+… argument
12170e,n),k&&!p?t.y=x.y:p&&!k&&(t.x=x.x),x.y!=t.y&&null!=this.guideY&&null!=this.guideY.node&&(this.gui…
12171e=this.guidesArrHor;if(null!=b){for(var k=0;k<b.length;k++)b[k].destroy();this.guidesArrVer=null}i… argument
12172 …ame||window.mozCancelAnimationFrame,l=this.RULER_THICKNESS,m=this;this.unit=e;var p=Editor.isDarkM…
12174 …var x=function(b,c,e,f,g){b=Math.round(b);c=Math.round(c);e=Math.round(e);f=Math.round(f);u.beginP… argument
12175 …eBounds(),e=v.view.translate,f=v.pageVisible,e=f?l+(d?c.y-v.container.scrollTop:c.x-v.container.sc…
12177e+(d?c.height:c.width),d?t.height:t.width):d?t.height:t.width;if(f)if(u.fillStyle=p.outBkgClr,d){v…
12178 …on(){null!=n?(null!=f&&f(z),z=n(A)):A()};this.drawRuler=B;this.sizeListener=e=k(function(){var b=v…
12179e);v.container.addEventListener("scroll",c);v.view.addListener("unitChanged",this.unitListener);b.… argument
12186e){var d=new mxPoint(mxRuler.prototype.RULER_THICKNESS,mxRuler.prototype.RULER_THICKNESS);this.edi… argument
12187e){if(b.editor.graph.isEnabled()&&!b.editor.graph.isMouseDown&&(mxEvent.isTouchEvent(e)||mxEvent.i… argument
12188 …roy()});var g=mxEvent.getClientX(e),k=mxEvent.getClientY(e);f.popup(g,k,null,e);b.setCurrentMenu(f…
12189 …unction mxFreehand(b){var e=null!=b.view&&null!=b.view.canvas?b.view.canvas.ownerSVGElement:null;i…
12190 …tion(b){if(c){var d=f.length,e=x&&0<n.length&&null!=f&&2>f.length;e||n.push.apply(n,f);f=[];n.push…
12191e=n[0].x,f=n[0].y,k=n[0].y,p=1;p<n.length;p++)null!=n[p]&&(d=Math.max(d,n[p].x),e=Math.min(e,n[p].…
12193 Graph.compress(v)+")");v=b.view.scale;x=b.view.translate;d=new mxCell("",new mxGeometry(e/v-x.x,k/v…
12194 e=c.getProperty("event");d==mxEvent.MOUSE_MOVE&&v&&(null!=e.sourceState&&e.sourceState.setCursor("c…
12196e.appendChild(c);g.consume()}}}),mouseMove:mxUtils.bind(this,function(d,e){if(c&&b.isEnabled()&&!b… argument
12197e){c&&b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&(z(e.getEvent()),e.consume())})});var … argument