Lines Matching refs:d
2 …d=document.createElement(a||"div");for(c in b)d[c]=b[c];return d}function b(a){for(var b=1,c=argum… argument
37 …var b=(""+b).replace(/\r\n?/g,"\n").match(v)||[],f=0,h=" ",d=0,y=b.length;d<y;++d){var l=X(b[d]),V…
38 …:\/|$)/g,"$1").replace(/\/{2,}/g,"/"),a=b,h;(h=d.replace(a,"$1"))!=d;d=h);return d}function E(d,h)… argument
39 …function e(d,a,h,f,b,g,k){this.j=d;this.n=a;this.k=h;this.h=f;this.g=b;this.l=g;this.o=k}function … argument
40 …d=[];s!==this.j&&d.push(this.j,":");s!==this.k&&(d.push("//"),s!==this.n&&d.push(this.n,"@"),d.pus… argument
41 …d){this.j=d?d:s};e.prototype.K=function(){return s!==this.j};e.prototype.da=function(d){this.n=d?d… argument
42 function(){return this.g&&decodeURIComponent(this.g)};e.prototype.G=function(d){d?(d=""+d,this.g=!t… argument
43 …d[g++],a.push(h,encodeURIComponent(f.toString())),h="&",b&&a.push("=",encodeURIComponent(b.toStrin… argument
44 …d.O(Q.replace(/[^?&=0-9A-Za-z_\-~.%]/g,M)):d.ba(Q));return d};e.N=E;e.ma=x;e.ha={ua:function(d){re… argument
45 …[a]}function M(a,d){return a?Y.ha.N(a,d):d}function x(h,d,f){if(!f)return s;var g=(""+h).match(b);…
50 f["+"]=f["~"]=f;ba=function(a,d,b){function g(i,r){function o(b,f,g){var y,e,i,l,o,m=n;y="";if(b<f)… argument
51 d.ia?(W=d.ia(y,H),"string"!==typeof W&&(m=C,W=H),m&&o!==+o&&(o=$.d.NONE)):(W=H,o!==+o&&(m=C));var p…
52 H||""===H||(m=C);break;case $.d.URI:case $.d.URI_FRAGMENT:""!==H&&(m=C);break;default:m=C}m&&(i+="[…
53 …d.na,v=d.L,x=d.Aa,N=[],u=0,i,q=0,B;for(i=0;i<a.length;++i)if(B=a[i],"("==B||"["==B?(++q,n):")"==B|… variable
54 …d.test(b)?"not all":a.test(b)?b:"not all , "+b}})();(function(){function a(b){var d=/^\s*[']([^']*…
57 …){var d=C,g=b.length;2<=g&&"!"===b[g-2]&&"important"===b[g-1].toLowerCase()&&(d=n,b.length-=2);aa(…
59 …d=a++;a<g&&"{"!==b[a]&&";"!==b[a];)++a;if(a<g&&(h||";"===b[a])){var h=d+1,e=a;h<g&&" "===b[h]&&++h…
60 …d=x(b,a,g,n);if(0>d)return d=~d,d===h?d+1:d;var y=b[d];if("{"!==y)return d===h?d+1:d;a=d+1;d>h&&" …
61 …d=x(b,a,g,C);if(0>d)d=~d;else{for(var e=[],l=0,w=a;w<d;++w)a=b[w]," "!==a&&(e[l++]=a);if(d<g){do{a…
62 …d:{NONE:0,URI:1,URI_FRAGMENT:11,SCRIPT:2,STYLE:3,HTML:12,ID:4,IDREF:5,IDREFS:6,GLOBAL_NAME:7,LOCAL… class in $
84 …d={z:b.z||b.cdata,A:b.A||b.comment,B:b.B||b.endDoc,t:b.t||b.endTag,e:b.e||b.pcdata,F:b.F||b.rcdata… argument
85 …d.length;p<i;){var o=d[p++],l=d[p];switch(o){case "&":I.test(l)?(a.e&&a.e("&"+l,t,A,b(a,d,p,e,t)),…
86 …d[p+1]){p+=2;j=h[1].toLowerCase();a.w&&a.w(j,[],t,A,b(a,d,p,e,t));var B=g.f[j];B&K&&(p=k(d,{name:j…
87 …d,p,e,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=… argument
88 …d.name]=RegExp("^"+d.name+"(?:[\\s\\/]|$)","i"));for(var i=T[d.name],k=d.next,l=d.next+1;l<z&&!("<…
89 …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){if(… argument
90 …k=j);if(j&g.c.OPTIONAL_ENDTAG){var l=d[d.length-1];l&&l.D===b&&(l.v!==i||b!==i)&&h.push("</",l.v,"…
91 …d.length;0<=--e;){var h=d[e].D;if(h===a)break;if(!(g.f[h]&g.c.OPTIONAL_ENDTAG))return}else for(e=d…
92 d.length&&(a=d[e].v);d.length=e;b.push("</",a,">")}}}},pcdata:b,rcdata:b,cdata:b,endDoc:function(a)… argument
93 …d){b=b+"::"+d;if(a.hasOwnProperty(b))return a[b];b="*::"+d;if(a.hasOwnProperty(b))return a[b]}func… argument
94 …d.ID:case g.d.IDREF:case g.d.IDREFS:case g.d.GLOBAL_NAME:case g.d.LOCAL_NAME:case g.d.CLASSES:i=e?…
95 …ea(a,b,d){return function(e,f){if(g.f[e]&g.c.UNSAFE)d&&y(d,e,c,c,c);else return{attribs:V(e,f,a,b,… 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…
104 var CryptoJS=CryptoJS||function(u,p){var d={},l=d.lib={},s=function(){},t=l.Base={extend:function(a… variable
106 …[],e=0;e<a;e+=4)c.push(4294967296*u.random()|0);return new r.init(c,a)}}),w=d.enc={},v=w.Hex={stri…
110 e)).finalize(b)}}});var n=d.algo={};return d}(Math);
111 …d){var l=d.words,p=d.sigBytes,t=this._map;d.clamp();d=[];for(var r=0;r<p;r+=3)for(var w=(l[r>>>2]>… argument
112 l;w++)if(w%4){var v=s.indexOf(d.charAt(w-1))<<2*(w%4),b=s.indexOf(d.charAt(w))>>>6-2*(w%4);t[r>>>2]…
113 (function(u){function p(b,n,a,c,e,j,k){b=b+(n&a|~n&c)+e+k;return(b<<j|b>>>32-j)+n}function d(b,n,a,…
115 …d(f,m,g,h,e,5,b[16]),h=d(h,f,m,g,t,9,b[17]),g=d(g,h,f,m,C,14,b[18]),m=d(m,g,h,f,c,20,b[19]),f=d(f,…
116 m,g,j,9,b[29]),g=d(g,h,f,m,w,14,b[30]),m=d(m,g,h,f,u,20,b[31]),f=l(f,m,g,h,r,4,b[32]),h=l(h,f,m,g,v…
119 …d=p.Base,l=p.WordArray,p=u.algo,s=p.EvpKDF=d.extend({cfg:d.extend({keySize:4,hasher:p.MD5,iteratio… argument
121 …r||function(u){var p=CryptoJS,d=p.lib,l=d.Base,s=d.WordArray,t=d.BufferedBlockAlgorithm,r=p.enc.Ba…
122 …d){return("string"==typeof k?c:a).encrypt(e,b,k,d)},decrypt:function(b,k,d){return("string"==typeo…
123 …d]},q=(d.BlockCipherMode=l.extend({createEncryptor:function(e,a){return this.Encryptor.create(e,a)…
124 …d}});b=b.CBC=q;q=(p.pad={}).Pkcs7={pad:function(a,b){for(var c=4*b,c=c-a.sigBytes%c,d=c<<24|c<<16|…
125 …ocess(!0)}else b=this._process(!0),a.unpad(b);return b},blockSize:4});var n=d.CipherParams=l.exten…
126 …d.SerializableCipher=l.extend({cfg:l.extend({format:b}),encrypt:function(a,b,c,d){d=this.cfg.exten… argument
127 …d){d=this.cfg.extend(d);b=this._parse(b,d.format);return a.createDecryptor(c,d).finalize(b.ciphert… argument
128 …d.iv;b=a.encrypt.call(this,b,c,d.key,l);b.mixIn(d);return b},decrypt:function(b,c,d,l){l=this.cfg.… argument
129 (function(){for(var u=CryptoJS,p=u.lib.BlockCipher,d=u.algo,l=[],s=[],t=[],r=[],w=[],v=[],b=[],x=[]…
130 …d=d.AES=p.extend({_doReset:function(){for(var a=this._key,c=a.words,d=a.sigBytes/4,a=4*((this._nRo…
131 …d=a[c+1];a[c+1]=a[c+3];a[c+3]=d;this._doCryptBlock(a,c,this._invKeySchedule,b,x,q,n,s);d=a[c+1];a[… 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…
134 …d=new Array(576);e(d);var _=new Array(60);e(_);var f=new Array(512);e(f);var u=new Array(256);e(u)…
135 …d(e){return p({},e)}function y(e){if("createEvent"in document){var t=document.createEvent("HTMLEve… function
136 …d,h,l){if(l.get||l.set)throw new TypeError("ES3 does not support getters and setters.");d!=Array.p… argument
137 …d,h,l,p){if(h){l=$jscomp.global;d=d.split(".");for(p=0;p<d.length-1;p++){var v=d[p];v in l||(l[v]=… argument
138 …d){return d?d:"object"!=typeof"".__proto__?null:function(d,l){d.__proto__=l;if(d.__proto__!==l)thr… argument
139 …d){return d?d:function(d,l,p){void 0===p&&(p=d);p=Object.create(p.prototype||Object.prototype);ret… argument
140 …d=$jscomp.global.Symbol.iterator;d||(d=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("itera… argument
141 …d){$jscomp.initSymbolIterator();d={next:d};d[$jscomp.global.Symbol.iterator]=function(){return thi… function
142 …d,h){return Object.prototype.hasOwnProperty.call(d,h)};$jscomp.polyfill("Object.assign",function(d… argument
143 …d){return d?d:function(d,l,p){var h=this.length||0;0>l&&(l=Math.max(0,h+l));if(null==p||p>h)p=h;p=… argument
144 …d,h){return null!=h&&"undefined"!==typeof Symbol&&h[Symbol.hasInstance]?!!h[Symbol.hasInstance](d)… argument
145 …d,h){_setPrototypeOf=Object.setPrototypeOf||function(d,h){d.__proto__=h;return d};return _setProto… argument
146 …d,h){return!h||"object"!==_typeof(h)&&"function"!==typeof h?_assertThisInitialized(d):h}function _… argument
147 …d){return!1}}function _getPrototypeOf(d){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototype… argument
148 …d,h){var l;if("undefined"===typeof Symbol||null==d[Symbol.iterator]){if(Array.isArray(d)||(l=_unsu… argument
149 …d[Symbol.iterator]()},n:function(){var d=l.next();z=d.done;return d},e:function(d){B=!0;C=d},f:fun… argument
150 …d,h,l){h&&_defineProperties(d.prototype,h);l&&_defineProperties(d,l);return d}function _typeof(d){… argument
151 …d){return _arrayWithoutHoles(d)||_iterableToArray(d)||_unsupportedIterableToArray(d)||_nonIterable… argument
152 …d){if(Array.isArray(d))return _arrayLikeToArray(d)}function _slicedToArray(d,h){return _arrayWithH… argument
153 …d,h){if(d){if("string"===typeof d)return _arrayLikeToArray(d,h);var l=Object.prototype.toString.ca… argument
154 …d,h){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(d)){var l=[],p=!0,v=!1,z=void 0;try… argument
155 …d(b,a,e){if(b&&b.length){a=_slicedToArray(a,2);var c=a[0],f=a[1];e*=Math.PI/180;var k=Math.cos(e),… function
156 d]:null}function p(b,a,e){var c=b.length;if(3>c)return!1;var f=[Number.MAX_SAFE_INTEGER,e];a=[a,e];…
157 …d!==g||!(0!==f||!v(b,e,a))||!(0!==k||!v(b,c,a))||!(0!==d||!v(e,b,c))||!(0!==g||!v(e,a,c))}function…
158 ymax:Math.max(g[1],d[1]),x:n===g[1]?g[0]:d[0],islope:(d[0]-g[0])/(d[1]-g[1])})}}if(b.sort(function(…
159 …turn f}(b,a);return c&&(d(b,e,-c),function(a,c,e){var f=[];a.forEach(function(a){return f.push.app…
160 …d=0,g=[];if("BOD"===c){if("M"!==k.text&&"m"!==k.text)return H("M0,0"+b);f++;d=K[k.text];c=k.text}e…
161 …ent: "+c);a.push({key:c,data:g});f+=d;k=e[f];"M"===c&&(c="L");"m"===c&&(c="l")}return a}function W…
162 …k;case "L":w.push({key:"L",data:_toConsumableArray(q)});k=q;d=_slicedToArray(k,2);g=d[0];n=d[1];k;…
164 …=m,n=x}}}catch(y){b.e(y)}finally{b.f()}return w}function X(b){var a,e,c,f,k,d,g=[],n="",m=0,x=0,w=…
165 …k;case "L":g.push({key:"L",data:_toConsumableArray(y)});k=y;d=_slicedToArray(k,2);m=d[0];x=d[1];k;…
167 …-a*Math.sin(e),b*Math.sin(e)+a*Math.cos(e)]}function Y(b,a,e,c,f,k,d,g,n,m){var r=(w=d,Math.PI*w/1…
169 …sin(g),e,c,f,k,d,0,n,[g,g,h,q]));d=Math.tan((g-t)/4);f=4/3*f*d;d*=4/3*k;k=[b,a];b=[b+f*Math.sin(t)…
172 …return{estimatedPoints:f,opset:{type:"path",ops:k}}}function ca(b,a,e,c,f,k,d,g,n){e=Math.abs(e/2)… argument
173 return d&&(g?r.push.apply(r,_toConsumableArray(D(b,a,b+e*Math.cos(f),a+c*Math.sin(f),n)).concat(_to…
175 …ill:f.disableMultiStroke,d=fa(b,a,e,c,f,!0,!1);if(k)return d;k=fa(b,a,e,c,f,!0,!0);return d.concat…
176 …rtices;return k&&(d?l.push({op:"move",data:[b+(v?0:q()),a+(v?0:q())]}):l.push({op:"move",data:[b+(…
177 …);return P(c,null,e)}function P(b,a,e){var c=b.length,f=[];if(3<c){var k=[],d=1-e.curveTightness;f…
178 …];k[1]=[n[0]+(d*b[g+1][0]-d*b[g-1][0])/6,n[1]+(d*b[g+1][1]-d*b[g-1][1])/6];k[2]=[b[g+1][0]+(d*b[g]…
179 …d,g){var n=[],m=[],r=u(.5,g)-Math.PI/2;m.push([u(k,g)+a+.9*c*Math.cos(r-b),u(k,g)+e+.9*f*Math.sin(…
180 …d),u(k,g)+e+.9*f*Math.sin(r+.5*d)]),[m,n]}function da(b,a,e,c,f,k,d,g,n){var m=k+u(.1,n);k=[];for(… argument
181 …d]:[f+u(m[l],g),d+u(m[l],g)],k.push({op:"bcurveTo",data:[b+u(m[l],g),a+u(m[l],g),e+u(m[l],g),c+u(m…
182 d=d*d,m=3*r[0]-2*g[0]-f[0],m=m*m,f=3*r[1]-2*g[1]-f[1];(f*=f,n<m&&(n=m),d<f&&(d=f),n+d)<e?(e=b[a+0],…
183 …d),f.push(r)),f}function ga(b){for(var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.1…
184 …(f.s();!(b=f.n()).done;){var d=b.value;c.push.apply(c,_toConsumableArray(this.helper.doubleLineOps…
185 …s",value:function(a,e){for(var c=Math.max(5,.1*h(e)),b=[],d=0;d<a.length;d++){var r=a[d],g=a[(d+1)…
186 …]:[];c=[e[0]].concat(_toConsumableArray(c),[e[1]]);b=[];for(d=0;d<c.length-1;d+=2)r=[c[d],c[d+1]],…
188 …=[],b=e.hachureGap;0>b&&(b=4*e.strokeWidth);var b=Math.max(b,.1),d=e.fillWeight;0>d&&(d=e.strokeWi…
189 …,e),y=this.helper.randOffsetWithRange(v-r,v+r,e),F=this.helper.ellipse(z,y,d,d,e);c.push.apply(c,_…
190 …t,d=0>e.dashGap?0>e.hachureGap?4*e.strokeWidth:e.hachureGap:e.dashGap,r=[];return a.forEach(functi…
191 g;l++){var t=l*(b+d),p=t+b,t=[k[0]+t*Math.cos(a)+f*Math.cos(a),k[1]+t*Math.sin(a)+f*Math.sin(a)],p=…
192 …d=[];return a.forEach(function(a){var f=h(a),f=Math.round(f/(2*e)),k=a[0],m=a[1];k[0]>m[0]&&(k=a[1…
193 …ncat(_toConsumableArray(b.helper.doubleLineOps(t[0],t[1],r[0],r[1],c))))}}),d}}]);return b}(),A={}…
194 …,e)},ellipse:function(b,a,e,c,d){e=aa(e,c,d);return T(b,a,d,e).opset},doubleLineOps:function(b,a,e… argument
195 …s}}},{key:"line",value:function(a,e,c,b,d){d=this._o(d);return this._d("line",[{type:"path",ops:D(… argument
196 …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+c,e],[… argument
197 …d)}},{key:"circle",value:function(a,e,c,b){a=this.ellipse(a,e,c,c,b);return a.shape="circle",a}},{… argument
198 …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*Math…
199 …d=1;d<a.length;d++)e.push(a[d]),d===a.length-1&&e.push(a[d]);d=[];c=1-c;b.push(_toConsumableArray(…
200 …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])/6];d[3]=[e[f+1][0],e[f…
201 …d=c.fill&&"transparent"!==c.fill&&"none"!==c.fill,h="none"!==c.stroke,g=!!(c.simplification&&1>c.s…
202 …)return d;l=[];for(m=0;m<d.length;m++)n=d[m],n=R(n,0,n.length,e),n.length&&l.push(n);return l}(a,1…
203 …(function(a){b.push(N(a,!1,c))}):b.push(function(a,c){var e=X(W(H(a))),b=[],d=[0,0],f=[0,0],e=_cre…
204 …d=[h[0],h[1]];return"break"}())break;case "L":b.push.apply(b,_toConsumableArray(D(f[0],f[1],h[0],h…
205 …ction(a,e){var c="",b=_createForOfIteratorHelper(a.ops),d;try{for(b.s();!(d=b.n()).done;){var h=d.…
206 …d=b.value,h=null;switch(d.type){case "path":h={d:this.opsToPath(d),stroke:e.stroke,strokeWidth:e.s… property in S.AnonymousFunction9bd35d6b11100.case
207 …d:this.opsToPath(a),stroke:e.fill||"none",strokeWidth:c,fill:"none"}}}],[{key:"newSeed",value:func…
208 e.n()).done;){var h=d.value;switch(h.type){case "path":b.save();b.strokeStyle="none"===c.stroke?"tr…
209 …";a.beginPath();var b=_createForOfIteratorHelper(e.ops),d;try{for(b.s();!(d=b.n()).done;){var h=d.…
210 …nction(a,b,c,d,k){a=this.gen.line(a,b,c,d,k);return this.draw(a),a}},{key:"rectangle",value:functi… argument
211 …d,k){a=this.gen.ellipse(a,b,c,d,k);return this.draw(a),a}},{key:"circle",value:function(a,b,c,d){a… argument
212 …ar b=a.sets||[],c=a.options||this.getDefaultOptions(),d=this.svg.ownerDocument||window.document,k=…
213 …r(b.s();!(g=b.n()).done;){var l=g.value,m=null;switch(l.type){case "path":m=d.createElementNS("htt…
214 …d.createElementNS("http://www.w3.org/2000/svg","path");m.setAttribute("d",this.opsToPath(l,h));m.s…
216 …d,h){a=this.gen.line(a,b,c,d,h);return this.draw(a)}},{key:"rectangle",value:function(a,b,c,d,h){a… argument
217 …(a,b);return this.draw(c)}},{key:"arc",value:function(a,b,c,d,h,l){var e=this.gen.arc(a,b,c,d,h,l,… argument
219 …d,e,f,g,k,l,m=0;for(null!=b&&b||(a=Base64._utf8_encode(a));m<a.length;)d=a.charCodeAt(m++),e=a.cha…
220 …d=this._keyStr.indexOf(a.charAt(l++)),e=this._keyStr.indexOf(a.charAt(l++)),g=this._keyStr.indexOf…
221 …d>>6|192):(b+=String.fromCharCode(d>>12|224),b+=String.fromCharCode(d>>6&63|128)),b+=String.fromCh…
227 …)){var c=a.indexOf("-");0<=c&&(a=a.substring(0,c));a=a.toLowerCase()}}catch(d){isLocalStorage=!1}r…
234 …ll!=a&&(b=JSON.parse(a).showStartScreen);0==b&&(urlParams.splash="0")}catch(d){}a=urlParams["expor…
243 …],isBrowserSupported:function(){return mxClient.IS_SVG},link:function(a,b,c,d){c=c||document;var e… argument
244 …/css");d&&e.setAttribute("id",d);c.getElementsByTagName("head")[0].appendChild(e)},loadResources:f…
248 …00%");b.setAttribute("height","100%");var c=document.createElement("tbody"),d=document.createEleme…
249 …d.appendChild(e);c.appendChild(d);d=document.createElement("tr");mxLog.td=document.createElement("…
251 …d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,d=window.innerWidth):(c=document.d…
256 …ry.prototype.put=function(a,b){var c=mxObjectIdentity.get(a),d=this.map[c];this.map[c]=b;return d};
259 …xClient.language.toLowerCase():mxConstants.NONE;if(b!=mxConstants.NONE){var d=mxResources.getDefau…
260 …d)if(c)mxUtils.get(d,function(a){mxResources.parse(a.getText());f()},function(){f()});else try{var…
261 …d]=c}}}},get:function(a,b,c){a=mxResources.resources[a];null==a&&(a=c);null!=a&&null!=b&&(a=mxReso…
262 ….clone(this)};function mxRectangle(a,b,c,d){mxPoint.call(this,a,b);this.width=null!=c?c:0;this.hei… argument
263 …ht=null;mxRectangle.prototype.setRect=function(a,b,c,d){this.x=a;this.y=b;this.width=c;this.height… argument
264 …d=Math.max(this.x+this.width,a.x+a.width);a=Math.max(this.y+this.height,a.y+a.height);this.x=b;thi…
267 …d=0,e=function(){for(var g=!1,k=0;k<b.length;k++){var l=b[k];if(l instanceof mxGeometryChange||l i…
268 …d?(m.x-=p,m.y-=q,m.width-=r,m.height-=n):(m.x+=p/10,m.y+=q/10,m.width+=r/10,m.height+=n/10);a.cell…
269 …d=a.getView().getState(b[e]),null!=d&&mxUtils.setOpacity(d.shape.node,c)},fadeOut:function(a,b,c,d…
271 …e&&(a="ms");return function(b,c,d){b[c]=d;null!=a&&0<c.length&&(c=a+c.substring(0,1).toUpperCase()… argument
272 …n b},findNode:function(a,b,c){if(a.nodeType==mxConstants.NODETYPE_ELEMENT){var d=a.getAttribute(b); variable in mxUtils
273 if(null!=d&&d==c)return a}for(a=a.firstChild;null!=a;){d=mxUtils.findNode(a,b,c);if(null!=d)return …
274 …d=mxUtils.indexOf(b,a);0<=d;)b.splice(d,1),c=a,d=mxUtils.indexOf(b,a);for(var e in b)b[e]==a&&(del…
275 …d=a.firstChild;null!=d;)d.nodeType==b&&c.push(d),d=d.nextSibling;return c},importNode:function(a,b…
276 …gth)for(e=0;e<b.childNodes.length;e++)d.appendChild(mxUtils.importNodeImplementation(a,b.childNode…
278 …YPE_TEXT;){var d=b?c.previousSibling:c.nextSibling,e=mxUtils.getTextContent(c);0==mxUtils.trim(e).… variable in mxUtils
279 …b||"
")},getPrettyXml:function(a,b,c,d,e){var f=[];if(null!=a)if(b=null!=b?b:" ",c=null!=c?c:…
280 …d,e));else if(a.nodeType==mxConstants.NODETYPE_DOCUMENT_FRAGMENT){var g=a.firstChild;if(null!=g)fo…
281 …d);else if(a.nodeType==mxConstants.NODETYPE_CDATA)a=mxUtils.getTextContent(a),0<a.length&&f.push(c…
282 …d.push("\n"):(3===g.nodeType||4===g.nodeType?0<g.nodeValue.length&&d.push(g.nodeValue):8!==g.nodeT…
283 d=[];b(a);return d.join("")},replaceTrailingNewlines:function(a,b){for(var c="";0<a.length&&"\n"==a… variable in mxUtils
284 …r c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.p…
285 ….createElement("br")));return c},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.…
286 …ale')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkIn…
287 …d](e)},f)},link:function(a,b,c,d){var e=document.createElement("span");e.style.color="blue";e.styl…
288 …d=parseInt(a.offsetWidth),e=mxUtils.getDocumentScrollOrigin(a.ownerDocument),f=e.x,e=e.y,g=f+b.wid… variable in mxUtils
289 …d&&a.setBinary(d);a.send(b,c,e,f);return a},getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=f…
290 …rn a},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor… variable in mxUtils
291 …D_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e])…
292 …d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}retu…
293 …d=mxUtils.getFunctionName(a[c].constructor),b=b+(c+" => ["+d+"]\n");else b+=c+" = "+a[c]+"\n"}catc…
294 …d*d,x=n/t+r/u;1<x?(c*=Math.sqrt(x),d*=Math.sqrt(x),f=0):(x=1,f===g&&(x=-1),f=x*Math.sqrt((t*u-t*r-…
295 …d;c*=q;d*=q;for(var y=Math.cos(f),B=Math.sin(f),r=-m*(n*B+d*y),t=-m*(c*B-p*y),q=[],A=0;A<g;++A){f+… variable
296 …d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedP… variable
297 …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,b,c,d){b=…
298 …d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;…
299 d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;c…
300 …d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.leng… variable
301 …d=null!=d?d:mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);e=null!=e?e:mxUtils.getValue(c,mxConsta…
302 …d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_…
303 d.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d…
304 …d=a.y,e=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);…
305 …d=d+k;return(e<l||e>g)&&(f<m||f>k)&&(c<g||c>l)&&(d<k||d>m)},intersectsHotspot:function(a,b,c,d,e,f… variable
306 …d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.docum…
307 …d+=e.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defaultView||a.parentWi…
308 …d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.s… variable
309 …unction(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-f)*(c-a)-(g-e)*(d-b)…
310 …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},ptSegDistSq:fun…
311 …b,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeO…
312 …d=c.get(a);null==d&&(d=mxCellPath.create(a).split(mxCellPath.PATH_SEPARATOR),c.put(a,d));var g=c.g…
313 …d=0,e=0;e<c.length;e++){if(c[e]==b)return d;d+=c[e].length+1}return-1},addStylename:function(a,b){…
314 …d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxU… variable
315 …d+", "+e+")"}return a},setCssText:function(a,b){if(null!=a&&null!=b)for(var c=b.split(";"),d=0;d<c… variable
316 …d&&(d=";"==a.charAt(a.length-1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,…
317 …d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=a.indexOf(b+"=");if(0>e)e=";"==a… variable
318 …);b==mxConstants.ALIGN_TOP?d=0:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,d)},getSiz…
319 …ity="hidden";f.style.display="inline-block";f.style.zoom="1";null!=d?(f.style.width=d+"px",f.style…
320 …t);document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e…
321 …d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{…
322 d=null!=d?d:0;var e=c.width-2*d;c=c.height-2*d;d=b.getGraphBounds().clone();b=b.getView().getScale(…
323 …d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&b.writeln('\x3c!…
324 …d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catc…
325 d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c])…
326 …d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appe…
327 …460px";var d=document.createElement("pre");d.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<… variable
328 …d=c.document.createElement("pre"),d.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").rep…
329 d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChi…
330 …,g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new m…
331 …=typeof b?b(a):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPre…
354 …s);for(var c=[b,a],d=0;d<this.eventListeners.length;d+=2){var e=this.eventListeners[d];null!=e&&e!…
355 …d){b.addEventListener(c,d,a?{passive:!1}:!1);null==b.mxListenerList&&(b.mxListenerList=[]);b.mxLis… argument
356 …d){if(null!=a.mxListenerList){c=a.mxListenerList.length;for(var b=0;b<c;b++)if(a.mxListenerList[b]…
357 …d){null!=b&&mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",b);null!=c&&mxEven…
358 …d&&mxEvent.removeListener(a,mxClient.IS_POINTER?"pointerup":"mouseup",d);!mxClient.IS_POINTER&&mxC…
359 function(a){null!=d?d(a):mxEvent.isConsumed(a)||b.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEven…
360 …d){}},addMouseWheelListener:function(a,b){if(null!=a){b=null!=b?b:window;if(mxClient.IS_SF&&!mxCli… variable in mxEvent
361 …d.push(a)}),mxUtils.bind(this,function(b){if(!mxEvent.isMouseEvent(b)&&2==d.length){for(var c=0;c<…
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
375 mxXmlRequest.prototype.send=function(a,b,c,d){this.request=this.create();null!=this.request&&(null!… argument
376 null!=c&&null!=d&&(this.request.timeout=c,this.request.ontimeout=d),this.request.send(this.params))…
377 …d=a.createElement("form");d.setAttribute("method",this.method);d.setAttribute("action",this.url);n…
378 …name",k);mxUtils.write(l,g);d.appendChild(l)}}a.body.appendChild(d);d.submit();null!=d.parentNode&…
380 …ls()),c=mxClipboard.insertCount*mxClipboard.STEPSIZE,d=a.getDefaultParent(),b=a.importCells(b,c,c,…
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
384 …d,e){e=null!=e?e:"mxWindow";this.div=document.createElement("div");this.div.className=e;this.div.s… argument
390 …e";var b=null,c=null,d=null,e=null;a=mxUtils.bind(this,function(a){this.activate();b=mxEvent.getCl…
391 …ll!=c){var f=mxEvent.getClientX(a)-b,g=mxEvent.getClientY(a)-c;this.setSize(d+f,e+g);this.fireEven…
400 …splay="none";this.buttons.appendChild(this.maximize);var a=!1,b=null,c=null,d=null,e=null,f=null,g…
401 …d;this.div.style.width=e;k=mxUtils.getCurrentStyle(this.contentWrapper);if("auto"==k.overflow||nul…
402 …splay="none";b=parseInt(this.div.style.left);c=parseInt(this.div.style.top);d=this.table.style.hei…
405 …ientY(a),d=this.getX(),e=this.getY(),f=mxUtils.bind(this,function(a){var f=mxEvent.getClientX(a)-b…
412 …d=document.createElement("td");c.appendChild(d);var d=document.createElement("td"),e=document.crea…
413 …d=document.createElement("input");d.setAttribute("type",c||"text");d.value=b;return this.addField(…
414 …d=document.createElement("select");null!=c&&d.setAttribute("size",c);b&&d.setAttribute("multiple",… argument
415 …d=document.createElement("td");mxUtils.write(d,a);c.appendChild(d);d=document.createElement("td");… argument
417 …d=parseInt(this.div.style.right),e=parseInt(this.div.style.top),f=parseInt(this.div.style.bottom);…
419 …umer=function(a,b){var c=b.getProperty("eventName"),d=b.getProperty("event");c!=mxEvent.MOUSE_DOWN…
422 …unction(a){return null};mxDragSource.prototype.getDropTarget=function(a,b,c,d){return a.getCellAt(… argument
427 …d=mxEvent.getClientY(b),e=mxUtils.getOffset(a.container),f=mxUtils.getScrollOrigin(),g=this.getEle…
429 …s.dragOffset.y);var d=mxUtils.getDocumentScrollOrigin(document);this.dragElement.style.left=b+d.x+…
434 …d=mxUtils.getScrollOrigin(a.container),e=mxEvent.getClientX(b)-c.x+d.x-a.panDx,c=mxEvent.getClient…
435 …d=this.isGridEnabled()&&a.isGridEnabledEvent(b),f=!0;if(null!=this.currentGuide&&this.currentGuide…
436 g=a.view.translate,k=a.gridSize/2,e=(a.snap(e/d-g.x-k)+g.x)*d,c=(a.snap(c/d-g.y-k)+g.y)*d;null!=thi…
437 mxDragSource.prototype.drop=function(a,b,c,d,e){this.dropHandler.apply(this,arguments);"hidden"!=a.… argument
438 …d,e,f){var g=document.createElement(null!=b?"img":"button"),k=e||(null!=f?"mxToolbarMode":"mxToolb… argument
439 mxUtils.bind(this,function(a){null!=d?g.setAttribute("src",d):g.style.backgroundColor="gray";if(nul…
441 …c){var d=document.createElement("option");mxUtils.writeln(d,b);"function"==typeof c?d.funct=c:d.se…
442 …b,c,d,e){var f=document.createElement("img");f.initialClassName=e||"mxToolbarMode";f.className=f.i… argument
444 …d,e,f){f=null!=f?f:!0;var g=document.createElement(null!=b?"img":"button");g.initialClassName=e||"… argument
461 …anslate.x;this.t0y=a.view.translate.y;this.active=!0};this.panTo=function(c,d,e,f){this.active||th… argument
462 …d+(null!=f?f:0)-g.scrollTop-g.clientHeight;this.dy=0>this.dy&&Math.abs(this.dy)<this.border?this.b…
463 …0,a.fireEvent(new mxEventObject(mxEvent.PAN));else{var b=a.panDx,d=a.panDy;if(0!=b||0!=d)a.panGrap…
464 this.t0y+d/a.view.scale)}};this.destroy=function(){a.removeMouseListener(this.mouseListener);mxEven…
468 …unction(a,b,c,d,e,f,g,k){d=d||this;this.itemCount++;d.willAddSeparator&&(d.containsItems&&this.add… argument
469 …d.div&&this.createSubmenu(d));d.tbody.appendChild(l);if(0!=g&&0!=f){var n=null;mxEvent.addGestureL…
470 …d),null!=l.div&&(this.showSubmenu(d,l),d.activeRow=l));null!=document.selection&&8==document.docum…
473 …d=parseInt(b.div.offsetWidth),e=mxUtils.getDocumentScrollOrigin(document),f=document.documentEleme…
475 …d=document.createElement("td");d.className="mxPopupMenuIcon";d.style.padding="0 0 0 0px";c.appendC…
476 …d){if(null!=this.div&&null!=this.tbody&&null!=this.factoryMethod){this.div.style.left=a+"px";for(t… argument
483 …t(new mxEventObject(mxEvent.DONE)))};function mxMorphing(a,b,c,d){mxAnimation.call(this,d);this.gr… argument
485 …d=this.graph.getView().getState(a),e=null;if(null!=d&&(e=this.getDelta(d),this.graph.getModel().is…
486 …raph.getView().getTranslate(),d=this.graph.getView().getScale();return new mxPoint((b.x-(a.x/d-c.x…
490 …(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++){var…
492 …ys=function(a,b){null!=a.overlays&&a.overlays.visit(function(a,d){d instanceof mxShape&&d.paint(b)… argument
497 …atePoint=function(a,b,c,d,e){c*=Math.PI/180;return mxUtils.getRotatedPoint(new mxPoint(a,b),Math.c… 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 …nction(a,b,c,d){this.addOp(this.quadOp,a,b,c,d)};mxAbstractCanvas2D.prototype.curveTo=function(a,b… argument
505 …d,e,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;… argument
510 …d,e){var f=this.createElement("rotate");if(0!=a||b||c)f.setAttribute("theta",this.format(a)),f.set… argument
514 …d,e,f,g,k,l){if(null!=a&&null!=b){mxAbstractCanvas2D.prototype.setGradient.apply(this,arguments);v… argument
530 …d){var e=this.createElement("rect");e.setAttribute("x",this.format(a));e.setAttribute("y",this.for… argument
531 …d,e,f){var g=this.createElement("roundrect");g.setAttribute("x",this.format(a));g.setAttribute("y"… argument
532 …d){var e=this.createElement("ellipse");e.setAttribute("x",this.format(a));e.setAttribute("y",this.… argument
533 …d,e,f,g,k){e=this.converter.convert(e);var l=this.createElement("image");l.setAttribute("x",this.f… argument
535 …d){var e=this.createElement("quad");e.setAttribute("x1",this.format(a));e.setAttribute("y1",this.f… argument
536 …d,e,f){var g=this.createElement("curve");g.setAttribute("x1",this.format(a));g.setAttribute("y1",t… argument
537 …d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e){mxUtils.isNode(e)&&(e=mxUtils.getOuterHtml(e));… argument
545 …xmlns",b);return c};mxSvgCanvas2D.prototype.getAlternateText=function(a,b,c,d,e,f,g,k,l,m,n,p,q){r… argument
546 …d,e,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!=… argument
547 d.fontFamily),g.setAttribute("font-size",Math.round(d.fontSize)+"px"),"start"!=e&&g.setAttribute("t…
549 …d,e){"#"==a.charAt(0)&&(a=a.substring(1));"#"==b.charAt(0)&&(b=b.substring(1));a=a.toLowerCase()+"… argument
550 …d,e){var f=this.createGradientId(a,b,c,d,e),g=this.gradients[f];if(null==g){var k=this.root.ownerS… argument
551 mxSvgCanvas2D.prototype.createSvgGradient=function(a,b,c,d,e){var f=this.createElement(e==mxConstan… argument
552 …p");e.setAttribute("offset","100%");e.style.stopColor=b;e.style.stopOpacity=d;f.appendChild(e);ret…
553 …d=this.state;if(null!=c){if("path"==c.nodeName)if(null!=this.path&&0<this.path.length)c.setAttribu…
554 …d.transform);this.pointerEvents?c.setAttribute("pointer-events",this.pointerEventsValue):this.poin…
560 … c=this.state.dashPattern.split(" ");if(0<c.length)for(var d=0;d<c.length;d++)b[d]=Number(c[d])*a}…
564 …d,e){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
565 d;f.rotationCy=e}};mxSvgCanvas2D.prototype.begin=function(){mxAbstractCanvas2D.prototype.begin.appl… argument
566 …d,e,f){this.rect(a,b,c,d);0<e&&this.node.setAttribute("rx",this.format(e*this.state.scale));0<f&&t… argument
567 …d,e,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.sta… argument
568 …ate.transform||"";if(g||k){var n=f=1,p=0,q=0;g&&(f=-1,p=-c-2*a);k&&(n=-1,q=-d-2*b);e+="scale("+f+"…
570 …ndChild(c);var d=document.createElement("div");d.innerHTML=a;for(a=d.firstChild;null!=a;)d=a.nextS…
572 …999/xhtml","div");if(mxUtils.isNode(a)){var c=document.createElement("div"),d=c.cloneNode(!1);this…
573 …d.appendChild(c);b.appendChild(d)}else b.innerHTML=a;return b};mxSvgCanvas2D.prototype.updateText=… argument
574 …d,e,f,g,k,l,m,n,p,q,r,t){q=this.createElement("g");var u=this.createElement("foreignObject");this.… argument
576 ….prototype.updateTextNodes=function(a,b,c,d,e,f,g,k,l,m,n){var p=this.state.scale;mxSvgCanvas2D.cr… argument
577 "center")+"; ",this.getTextCss(),p,mxUtils.bind(this,function(c,d,e,f,g){a+=this.state.dx;b+=this.s… argument
578 ….ceil(1/Math.min(1,p)*100)+"%");d=Math.round(b+d);0>d?k.setAttribute("y",d):(k.removeAttribute("y"…
580 …d,e,f,g,k,l,m,n,p,q){p="box-sizing: border-box; font-size: 0; text-align: "+(c==mxConstants.ALIGN_… argument
581 …"width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",c="",r=0,p+=t,"middle"==d&&(p+="max-height: "+…
585 …d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e)if(p=null!=p?p:0,this.foEnabled&&"html"==l){var … argument
586 …d){a=Math.round(a);b=Math.round(b);c=Math.round(c);d=Math.round(d);for(var e="mx-clip-"+a+"-"+b+"-… argument
587 …d,e,f,g,k,l,m,n,p){n=null!=n?n:0;k=this.state;var q=k.fontSize,r=this.createElement("g"),t=k.trans… argument
588 n-=d/2:g==mxConstants.ALIGN_BOTTOM&&(n-=d)),n=this.createClip(p*k.scale-2,n*k.scale-2,c*k.scale+4,d…
589 …;n=b+q-1;g==mxConstants.ALIGN_MIDDLE?"fill"==l?n-=d/2:(m=(this.matchHtmlAlignment&&m&&0<d?Math.min…
590 …d:(m=this.matchHtmlAlignment&&m&&0<d?Math.min(u,d):u,n-=m+1));for(m=0;m<t.length;m++)0<t[m].length…
593 …d,e,f,g,k,l){var m=this.state;if(null!=m.fontBackgroundColor||null!=m.fontBorderColor){var n=null;… argument
595 …T&&(c-=e),k==mxConstants.ALIGN_MIDDLE?d-=f/2:k==mxConstants.ALIGN_BOTTOM&&(d-=f),n=new mxRectangle…
599 …d){if(null!=this.states&&(this.horizontal||this.vertical)&&null!=a&&null!=b){d=function(c,d,e){var… argument
600 …d,e){var f=!1;e&&Math.abs(c-y)<r?(b.x=c-a.getCenterX(),r=Math.abs(c-y),f=!0):e||(Math.abs(c-u)<r?(… argument
601 …(),g,!1)),this.vertical&&(d.call(this,g.getCenterY(),g,!0),d.call(this,g.y,g,!1),d.call(this,g.y+g…
602 …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-thi…
603 …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-this…
604 …on(a,b,c,d,e){var f=this.graph.view.scale;if(this.rounded||null!=b&&null==b.cell)c=Math.round((a.x… argument
612 …idth,c.width=c.height,c.height=b);c=this.getLabelMargins(c);if(null!=c){var d="1"==mxUtils.getValu…
613 …c.height,c.height=c.width,c.width=c.y,c.y=b,b=d,d=e,e=b);return mxUtils.getDirectedBounds(a,c,this…
619 …tants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE){var c=this.fill,d=this.gradient,e="0",…
620 …(e="1",f=c,c=d,d=f):2==g?(f=c,c=d,d=f):3==g&&(e="1");b+="progid:DXImageTransform.Microsoft.gradien…
625 …troke=function(){b=!0;c.apply(this,arguments)};var d=a.fillAndStroke;a.fillAndStroke=function(){b=…
627 ….scale,d=Math.max(c,1),e=a[0];b.push(new mxPoint(e.x/c,e.y/c));for(var f=1;f<a.length;f++){var g=a…
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…
630 …d,e){return new mxRectangle(b,c,d,e)};mxShape.prototype.updateTransform=function(a,b,c,d,e){a.scal… argument
631 …xShape.prototype.paintBackground=function(a,b,c,d,e){};mxShape.prototype.paintForeground=function(… argument
633 …d,e,f){var g=Math.ceil(this.strokewidth/2);a.setGradient("#ffffff","#ffffff",b,c,d,.6*e,"south",.9… argument
634 …d,e,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 ….x;m=m.y-g.y;p=Math.max(1,Math.sqrt(n*n+m*m));n=g.x+n*Math.min(d,p/2)/p;m=g.y+m*Math.min(d,p/2)/p;…
646 …d){var e=document.createElementNS(mxConstants.NS_SVG,"rect");e.setAttribute("x",a);e.setAttribute(… argument
650 ….getAttribute("y")),d="1"==a.getAttribute("perimeter");a=a.getAttribute("name");return new mxConne…
652 …d,e,f){var g=a.states.slice(),k=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,null),k=this.… argument
653 …d,e,f,this.bgNode,k,!1,!0);this.drawChildren(a,b,c,d,e,f,this.fgNode,k,!0,!b.outline||null==b.styl… argument
654 …d,e,f){a=b;b=d/this.w0;var g=e/this.h0;if(f=f==mxConstants.DIRECTION_NORTH||f==mxConstants.DIRECTI… 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 …hild;null!=u;)u.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,u,d,e,f),u=u.nextSibling…
658 …etAttribute("arcsize")),0==b&&(b=100*mxConstants.RECTANGLE_ROUNDING_FACTOR),d=Number(c.getAttribut…
659 n,b=Number(b)/100,b=Math.min(d*b,f*b),a.roundrect(k+Number(c.getAttribute("x"))*m,l+Number(c.getAtt…
660 …d=this.evaluateTextAttribute(c,"str",b),f="1"==c.getAttribute("vertical")?-90:0,"0"==c.getAttribut…
661 …,l+=Number(c.getAttribute("y"))*n,d=Number(c.getAttribute("w"))*m,f=Number(c.getAttribute("h"))*n,…
664 …r.markers[a]=b},createMarker:function(a,b,c,d,e,f,g,k,l,m){var n=mxMarker.markers[c];return null!=… argument
665 …d,k,l,m,n,p,q,r){c=l*q*1.118;p=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=p;n=d!=mxConsta… argument
666 …d,k,l,m,n,p,q,r){c=l*q*1.118;d=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=d;k.x+=2*-c;k.y… argument
667 …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 …d=k*(m+p+1),e=l*(m+p+1);return function(){a.begin();a.moveTo(g.x-e/2,g.y+d/2);a.lineTo(g.x+e/2,g.y…
669 …d.y-l-k/2);a.close();a.moveTo(d.x-k,d.y-l);a.lineTo(d.x-2*k-.5*l,d.y+.5*k-2*l);a.lineTo(d.x-2*k+.5… argument
670 …d,e){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)… argument
671 …d,e){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,… argument
673 …d,e){if(this.isRounded){var f;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,… argument
674 …d,e){return!0};mxRectangleShape.prototype.paintForeground=function(a,b,c,d,e){this.glass&&!this.ou… argument
675 …d,e){a.ellipse(b,c,d,e);a.fillAndStroke()};function mxDoubleEllipse(a,b,c,d){mxShape.call(this);th… argument
676 …d,e){if(!this.outline){var f=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.… argument
677 …-2*b)};function mxRhombus(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this… argument
678 …d,e){var f=d/2,g=e/2,k=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCS… argument
680 …d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;a.begin();this…
681 function mxArrow(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;this.str… argument
682 …d=mxConstants.ARROW_WIDTH,e=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-…
683 …ction mxArrowConnector(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;t… argument
686 ….getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth)));var d=this.getStartArrowWi…
687 …mit(1.42);a.begin();r=x;t=A;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,A,n,d,f,m,!0);else{y=b[0].…
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+
689 x*f,g=I-C*f,k=F+B*f;D.push(function(){a.quadTo(b,c,d,e)});D.push(function(){a.lineTo(g,k)})}(z,y)):…
690 …d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.begin(),this.paintMarker(a,q.x,q.y,-x,-A,c,e,f,m,!0),a.str… argument
693 …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.bounds=b;this.color=null… argument
697 …d=this.bounds.x/c,e=this.bounds.y/c,f=this.bounds.width/c,c=this.bounds.height/c;this.updateTransf…
698 …ants.TEXT_DIRECTION_LTR&&m!=mxConstants.TEXT_DIRECTION_RTL&&(m=null);a.text(d,e,f,c,l,this.align,t…
708 …d=null!=this.style?mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstan…
709 …stChild.firstChild.nodeName)a=a.firstChild.firstChild.firstChild.firstChild,d=a.offsetHeight*this.…
710 …"DIV"==e.firstChild.nodeName&&(e=e.firstChild):(d=Math.round(this.bounds.width/this.scale),this.wr…
711 …d,c)),1<a.length&&(a[a.length-2].style.width=c+"px"))):a.style.whiteSpace="nowrap"),this.offsetWid…
714 mxText.prototype.configureCanvas=function(a,b,c,d,e){mxShape.prototype.configureCanvas.apply(this,a… argument
719 …ounds.x)+"px; top: "+Math.round(this.bounds.y)+"px; pointer-events: none; ",d=this.getTextCss();mx…
720 …d,this.scale,mxUtils.bind(this,function(a,c,d,k,l,m){a=this.getTextRotation();a=(1!=this.scale?"sc… argument
721 …"style",d);d=mxUtils.isNode(this.value)?this.value.outerHTML:this.getHtmlValue();null==this.node.f…
723 …d=this.margin.y;0!=a?(mxUtils.setPrefixedStyle(b,"transformOrigin",100*-c+"% "+100*-d+"%"),mxUtils…
724 …overflow&&"width"!=this.overflow?3:1)))+"px";b.top=Math.round(this.bounds.y-d*("fill"!=this.overfl…
726 …HtmlFilter=function(){var a=this.node.style,b=this.margin.x,c=this.margin.y,d=this.scale;mxUtils.s…
728 …d;g=this.bounds.height/d;"fill"==this.overflow?(f=g,e=l):"width"==this.overflow&&(f=k.scrollHeight…
729 …nd')",a.filter=null!=a.filter&&0<a.filter.length?a.filter+(" "+m):m);a.zoom=d;a.left=Math.round(th…
731 …d="";null!=b&&(d+="background-color:"+mxUtils.htmlEntities(b)+";");null!=c&&(d+="border:1px solid …
735 …d=Math.max(0,Math.round(this.bounds.height/this.scale)),e=a.style;this.clipped?(e.overflow="hidden…
736 …d=a;null!=d.firstChild&&"DIV"==d.firstChild.nodeName&&(d=d.firstChild,"break-word"==a.style.wordWr…
739 …n(a,b,c,d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;t… argument
740 …d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addP… argument
741 …d,e){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… argument
743 …tion="absolute";return a};mxImageShape.prototype.isRoundable=function(a,b,c,d,e){return!1};mxImage… argument
744 …d,e){null!=this.image?(null!=this.imageBackground&&(a.setFillColor(this.imageBackground),a.setStro… argument
747 …sparentBackgroundImage(this.node)};function mxLabel(a,b,c,d){mxRectangleShape.call(this,a,b,c,d)}m… argument
750 …d,e){this.paintImage(a,b,c,d,e);this.paintIndicator(a,b,c,d,e);mxRectangleShape.prototype.paintFor… argument
751 mxLabel.prototype.getImageBounds=function(a,b,c,d){var e=mxUtils.getValue(this.style,mxConstants.ST… argument
752 …d-k-l):b+(d-k)/2;return new mxRectangle(a,b,g,k)};mxLabel.prototype.paintIndicator=function(a,b,c,… argument
753 mxLabel.prototype.getIndicatorBounds=function(a,b,c,d){var e=mxUtils.getValue(this.style,mxConstant… argument
754 2:a+l;b=f==mxConstants.ALIGN_BOTTOM?b+(d-k-l):f==mxConstants.ALIGN_TOP?b+l:b+(d-k)/2;return new mxR…
756 …(a)}};function mxCylinder(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this… argument
757 …d,e){a.translate(b,c);a.begin();this.redrawPath(a,b,c,d,e,!1);a.fillAndStroke();this.outline&&null… argument
758 …d,e,f){b=this.getCylinderSize(b,c,d,e);if(f&&null!=this.fill||!f&&null==this.fill)a.moveTo(0,b),a.… argument
759 …d=this.createMarker(a,b,!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);a.setFillCol…
760 …d=null,e=b.length,f=mxUtils.getValue(this.style,c?mxConstants.STYLE_STARTARROW:mxConstants.STYLE_E…
761 mxConstants.STYLE_ENDFILL]);return d};
763 …d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils… argument
765 …d=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPH,0),e=1==mxUtils.getValue(this.style,mxCon…
766 …d||e)a.x+=a.width-b;a.width=b}else{b=Math.min(a.height,b*this.scale);if(d||e)a.y+=a.height-b;a.hei… argument
768 …d,e){var f=this.getTitleSize(),g=1==mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_LINE,1)… argument
769 …d,e,f,g);null!=this.image&&(e=this.getImageBounds(b,c,d,e),a.image(e.x-b,e.y-c,e.width,e.height,th…
770 …d,e,f,g,k){a.begin();var l=!0;null!=this.style&&(l="1"==mxUtils.getValue(this.style,mxConstants.ST… argument
771 …d&&(g!=mxConstants.NONE&&l||(a.pointerEvents=!1),g!=mxConstants.NONE&&a.setFillColor(g),a.begin(),…
772 …d,e,f,g,k,l){a.begin();var m=!0;null!=this.style&&(m="1"==mxUtils.getValue(this.style,mxConstants.… argument
773 …d-Math.min(d/2,g),e),a.quadTo(d,e,d,e-g),a.lineTo(d,f),k==mxConstants.NONE?a.stroke():a.fillAndStr…
774 …d,e,f,k==mxConstants.NONE)};mxSwimlane.prototype.paintDivider=function(a,b,c,d,e,f,g){g||a.setShad… argument
775 mxSwimlane.prototype.getImageBounds=function(a,b,c,d){return this.isHorizontal()?new mxRectangle(a+… argument
776 …n(){return this.graph};mxGraphLayout.prototype.getConstraint=function(a,b,c,d){return this.graph.g… argument
777 …d,e){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),n… argument
780 …);if(c.isAncestor(this.parent,a))for(var d=c.getGeometry(a);a!=this.parent;)b.x+=d.x,b.y+=d.y,a=c.…
781 …d=c.getGeometry(a);null==d?(d=new mxGeometry,d.setRelative(!0)):d=d.clone();if(null!=this.parent&&…
782 …d=this.graph.getModel(),e=d.getGeometry(a),f=null;if(null!=e){f=new mxRectangle(b,c,e.width,e.heig…
783 this.parent&&(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…
784 …d=this.graph.getView().scale,e=c.text.boundingBox,f=Math.max(c.x-e.x,0)/d,g=Math.max(c.y-e.y,0)/d,…
785 …raphLayout.prototype.arrangeGroups=function(a,b,c,d,e,f){return this.graph.updateGroupBounds(a,b,!… argument
786 …ion mxStackLayout(a,b,c,d,e,f){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.spacin… argument
789 …d=this.graph.getModel(),e=d.getParent(a),f=this.isHorizontal();if(null!=a&&null!=e){var g=0,k=d.ge…
791 …d=[],e=0;e<c;e++){var f=b.getChildAt(a,e);!this.isVertexIgnored(f)&&this.isVertexMovable(f)&&d.pus…
793 …e=function(a){if(null!=a){var b=this.getParentSize(a),c=this.isHorizontal(),d=this.graph.getModel(…
794 …k&&(e-=l);k?g+=l:f+=l}d.beginUpdate();try{for(var l=0,k=null,m=0,n=null,p=this.getLayoutCells(a),q…
796 …t=b.height-k.y-this.spacing-this.marginBottom,this.setChildGeometry(n,k))}finally{d.endUpdate()}}};
798 …otype.updateParentGeometry=function(a,b,c){var d=this.isHorizontal(),e=this.graph.getModel(),f=b.c…
799 …nction mxPartitionLayout(a,b,c,d){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.spa… argument
800 …d=c.getParent(a);if(null!=a&&null!=d){var e,f=0,g=c.getChildCount(d);for(e=0;e<g;e++){var k=c.getC…
801 …d=c.getGeometry(a);null!=this.graph.container&&(null==d&&c.isLayer(a)||a==this.graph.getView().cur…
802 d.height:d.width,n=n-2*this.border;a=this.graph.isSwimlane(a)?this.graph.getStartSize(a):new mxRect…
807 …d=this.graph.findTreeRoots(a,!0,this.invert);if(0<d.length)for(var e=0;e<d.length;e++)if(!this.isV…
808 …this.node);var g=this.graph.gridSize,d=g;if(!this.moveTree){var k=this.getVertexBounds(this.root);…
809 …lLayout(this.node,g,d):this.verticalLayout(this.node,null,g,d);if(null!=k){var l=e=0;0>k.x&&(e=Mat…
811 …d=b.getTerminal(b.getTerminal(!1)==a),g=c.get(d);null==g&&(g=mxCellPath.create(d).split(mxCellPath…
813 …,b){var c=mxCellPath.create(a),d=null;if(null!=a&&null==this.visited[c]&&!this.isVertexIgnored(a))…
814 …,m=this.dfs(l,b);null!=m&&null!=c.getGeometry(l)&&(null==e?d.child=m:e.next=m,e=m)}}}return d};mxC…
815 …d){a.x+=b+a.offsetX;a.y+=c+a.offsetY;d=this.apply(a,d);b=a.child;if(null!=b){d=this.horizontalLayo… argument
816 …d,e){a.x+=c+a.offsetY;a.y+=d+a.offsetX;e=this.apply(a,e);b=a.child;if(null!=b)for(e=this.verticalL… argument
817 …d=(b-a.width)/2-this.nodeDistance,e=d+a.width+2*this.nodeDistance-b;a.child.offsetX=c+a.height;a.c…
819 …c.contour;for(var d=c.width+b,e=d,c=c.next;null!=c;){var f=this.merge(a.contour,c.contour);c.offse…
820 …d=0,e=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),…
821 …d,e,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
823 …d=a.cell,e=c.getGeometry(d);null!=d&&null!=e&&(this.isVertexMovable(d)&&(e=this.setVertexLocation(…
824 mxCompactTreeLayout.prototype.createLine=function(a,b,c){var d={};d.dx=a;d.dy=b;d.next=c;return d};…
826 …d=0,e=[];null!=b;){d++;var f=b.x;this.horizontal&&(f=b.y);e.push(new WeightedCellSorter(b,f));b=b.…
827 …dth/2),n.push(new mxPoint(p,q)),this.setEdgePoints(l[r],n);k<d/2?f+=this.prefVertEdgeOff:k>d/2&&(f…
830 …ute.apply(this,arguments);var c=null,d=this.getVertexBounds(this.root);this.centerX=d.x+d.width/2;…
831 …d=f[e],f=this.getVertexBounds(d.cell),d.theta=(f.x+f.width/2-l)/m*Math.PI*2}for(c=this.row.length-…
832 d.theta&&e<f.length-1?d.theta=Math.min(g,f[e+1].theta-Math.PI/10):g<d.theta&&0<e&&(d.theta=Math.max…
833 …rowMaxCenX[b]=this.centerX;this.row[b]=[];for(var c=!1,d=0;d<a.length;d++)for(var e=null!=a[d]?a[d…
837 …or(var c=this.graph.getChildVertices(a),d=0;d<c.length;d++)this.isVertexIgnored(c[d])||this.vertex…
838 …d=0;d<this.vertexArray.length;d++){var g=this.vertexArray[d];this.cellLocation[d]=[];var k=mxObjec…
839 …d],a),c=this.graph.getOpposites(r,this.vertexArray[d]);this.neighbours[d]=[];for(m=0;m<c.length;m+…
840 …d=0;d<this.vertexArray.length;d++)g=this.vertexArray[d],this.isVertexMovable(g)&&(l=this.getVertex…
841 0)+1;null!=e&&(d+=e.x,g+=e.y);this.graph.moveCells(this.vertexArray,d,g)}finally{b.endUpdate()}};mx…
842 …d=this.cellLocation[a][0]-this.cellLocation[c][0],e=this.cellLocation[a][1]-this.cellLocation[c][1…
843 this.dispX[a]-=d;this.dispY[a]-=e;this.dispX[c]+=d;this.dispY[c]+=e}}};
844 …d=this.cellLocation[b][0]-this.cellLocation[c][0],e=this.cellLocation[b][1]-this.cellLocation[c][1…
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…
847 …d=null,e=null,f=[],g=b.getChildCount(a),k=0;k<g;k++){var l=b.getChildAt(a,k);if(this.isVertexIgnor…
848 …d=this.y0);this.circle(f,n,e,d)}finally{b.endUpdate()}};mxCircleLayout.prototype.getRadius=functio… argument
849 …=this.findParallels(a,b);this.graph.model.beginUpdate();try{for(var d in c){var e=c[d];1<e.length&…
850 …d=mxUtils.bind(this,function(a){if(!this.isEdgeIgnored(a)){var b=this.getEdgeId(a);null!=b&&(null=…
851 …d="";if(null!=c&&null!=b){c=mxObjectIdentity.get(c);b=mxObjectIdentity.get(b);if(this.checkOverlap…
852 …d=this.graph.getModel(),e=d.getGeometry(c.getVisibleTerminal(b,!0)),d=d.getGeometry(c.getVisibleTe…
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…
855 …d=[],e=[],f=c.getChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g),l=b.getState(k);null!=l&&(this…
856 …(a,b){var c=this.graph.getModel();c.beginUpdate();try{for(var d=0;d<b.length;d++){var e=b[d];if(nu…
857 …d=a.text.boundingBox;if(mxUtils.intersects(d,b)){var e=-d.y-d.height+b.y,f=-d.y+b.y+b.height,e=Mat…
870 …d,e){a.getGraph();this.tightenToSource=e;this.roots=c;this.parent=d;this.vertexMapper=new mxDictio… argument
871 …&c[d]!=l&&(g.target=l,0==l.connectsAsTarget.length&&(l.connectsAsTarget=[]),0>mxUtils.indexOf(l.co…
873 mxGraphHierarchyModel.prototype.createInternalCells=function(a,b,c){for(var d=a.getGraph(),e=0;e<b.…
874 new mxGraphHierarchyEdge(l),m=0;m<l.length;m++){var n=l[m];this.edgeMapper.put(n,k);d.resetEdge(n);…
875 …per.get(this.roots[b]);null!=c&&a.push(c)}for(var d=this.vertexMapper.getValues(),b=0;b<d.length;b…
876 …reak}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.c…
877 …d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.visit(function… argument
878 …d.x=[],d.y=[],b=d.minRank+1;b<d.maxRank;b++)a[b].push(d),d.setGeneralPurposeVariable(b,a[b].length… argument
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(),c… argument
880 …d,e,f,g,k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.le… argument
881 …d,e){a.getGraph();this.tightenToSource=e;this.roots=c;this.parent=d;this.vertexMapper=new mxDictio… argument
882 …&c[d]!=l&&(g.target=l,0==l.connectsAsTarget.length&&(l.connectsAsTarget=[]),0>mxUtils.indexOf(l.co…
884 …d=a.getGraph(),e=a.swimlanes,f=0;f<b.length;f++){c[f]=new mxGraphHierarchyNode(b[f]);this.vertexMa…
885 …aphHierarchyEdge(m),n=0;n<m.length;n++){var p=m[n];this.edgeMapper.put(p,l);d.resetEdge(p);a.disab…
886 …d=this.vertexMapper.get(this.roots[c]);this.maxChainDfs(null,d,null,b,0);null!=d&&a.push(d)}d=[];b…
887 …d.connectsAsTarget;f=d.connectsAsSource;for(var g=!0,k=b[0],c=0;c<e.length;c++){var l=e[c];if(5270…
888 …d,e){if(null!=b&&(a=mxCellPath.create(b.cell),null==d[a])){d[a]=b;a=b.swimlaneIndex;if(null==this.… argument
889 …d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.visit(function… argument
890 d.x=[],d.y=[],b=d.minRank+1;b<d.maxRank;b++)a[b].push(d),d.setGeneralPurposeVariable(b,a[b].length-… argument
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(),c… argument
892 …d,e,f,g,k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.le… argument
893 this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}else d(a,b,c,k,1)};function mxHierarchicalLayoutStage(…
895 …d=this.calculateCrossings(a),b=0;b<this.maxIterations&&c<this.maxNoImprovementIterations;b++){this…
896 …d)break}c=[];d=[];for(b=0;b<a.maxRank+1;b++)d[b]=[],c[b]=d[b];for(b=0;b<this.nestedBestRanks.lengt…
897 …d=b.ranks[a],e=b.ranks[a-1],f=[],g=0;g<d.length;g++){for(var k=d[g],l=k.getGeneralPurposeVariable(…
899 …gReduction.prototype.transpose=function(a,b){for(var c=!0,d=0;c&&10>d++;)for(var e=1==a%2&&1==d%2,…
901 …a,b){var c=0==a%2;if(c)for(var d=b.maxRank-1;0<=d;d--)this.medianRank(d,c);else for(d=1;d<b.maxRan…
902 …d=[],e=[],f=0;f<c;f++){var g=this.nestedBestRanks[a][f],k=new MedianCellSorter;k.cell=g;var l;l=b?…
903 …d=0,e=0;e<a.length;e++){var f=a[e];c[d++]=f.getGeneralPurposeVariable(b)}c.sort(function(a,b){retu…
905 …d={},e=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.len…
906 …te d[c.id]},d,!0,e)};function mxCoordinateAssignment(a,b,c,d,e,f){this.layout=a;this.intraCellSpac… argument
910 …gth;b++){mxLog.write("Rank ",b," : ");for(var c=a.ranks[b],d=0;d<c.length;d++)mxLog.write(c[d].get…
911 …d=0;d<a.ranks.length;d++)for(var e=a.ranks[d],f=0;f<e.length;f++){var g=e[f];g.setX(d,g.getGeneral…
912 a.ranks[d],f=0;f<e.length;f++)g=e[f],g.setGeneralPurposeVariable(d,g.getX(d));this.minPath(this.lay…
913 …(a){for(var b=[],c=new mxDictionary,d=[],e=0;e<=a.maxRank;e++){d[e]=a.ranks[e];for(var f=0;f<d[e].…
914 …d[l][m-1],x=m.getGeneralPurposeVariable(l),x=x+m.width/2+this.intraCellSpacing+e.width/2,x<y?(e.se…
916 …d=[],e={},f=0;f<b.length;f++){var g=b[f];d[f]=new WeightedCellSorter;d[f].cell=g;d[f].rankIndex=f;…
917 …d[f].rankIndex-1;0<=n;){var p=e[b[n].id];if(null!=p){var q=p.cell;p.visited?(k=q.getGeneralPurpose…
918 …elta+=l-q);d[f].visited=!0}};mxCoordinateAssignment.prototype.calculatedWeightedValue=function(a,b…
919 …d=0;d<a.length;d++)c[d]=a[d].getGeneralPurposeVariable(b);c.sort(function(a,b){return a-b});if(1==…
921 …d=!1,e=0;e<b.length;e++){var f=b[e];if(f.isVertex()){var g=this.layout.getVertexBounds(f.cell);nul…
922 …);f.setGeneralPurposeVariable(a,c);c+=f.width/2;c+=this.intraCellSpacing}1==d&&mxLog.warn("At leas…
923 …rototype.calculateWidestRank=function(a,b){var c=-this.interRankCellSpacing,d=0;this.rankWidths=[]…
924 …arn("At least one cell has no bounds");this.rankY[e]=c;k=f/2+d/2+this.interRankCellSpacing;d=f;c=t…
926 …type.minPath=function(a,b){for(var c=b.edgeMapper.getValues(),d=0;d<c.length;d++){var e=c[d];if(!(…
928 …d){a=a.ranks[c];for(var e=-1,f=0;f<a.length;f++)if(b==a[f]){e=f;break}if(0>e)return!1;f=b.getGener… argument
929 …d=b.vertexMapper.getValues(),c=0;c<d.length;c++)this.setVertexLocation(d[c]);this.layout.edgeStyle…
930 for(c=0;c<d.length;c++)this.setEdgePosition(d[c])};
931 …tion(a){for(var b=0;b<a.ranks.length;b++)for(var c=a.ranks[b],d=0;d<c.length;d++){var e=c[d];if(e.…
934 …unction(a){var b=0;if(101207!=a.temp[0]){var c=a.maxRank,d=a.minRank;c==d&&(c=a.source.maxRank,d=a…
935 2:0,u=r?l?this.rankBottomY[d]:this.rankTopY[d]:l?this.rankTopY[c]:this.rankBottomY[c],x=f[4*e+1+t];…
937 …?2:0,u=r?l?this.rankTopY[c]:this.rankBottomY[c]:l?this.rankBottomY[d]:this.rankTopY[d],x=f[4*e+3-t…
939 …d=a.y[0]-a.height/2;this.rankTopY[a.minRank]=Math.min(this.rankTopY[a.minRank],d);this.rankBottomY…
941 …d=a.roots,c=[],e=0;e<d.length;e++)c[e]=a.vertexMapper.get(d[e]);a.visit(function(a,c,d,e,m){e=null… argument
942 m&&(d.invert(),mxUtils.remove(d,a.connectsAsTarget),c.connectsAsTarget.push(d),a.connectsAsSource.p…
946 …ex(a)&&this.maintainParentLocation){var d=this.graph.getCellGeometry(a);null!=d&&(this.parentX=d.x…
947 …X&&null!=this.parentY&&(d=this.graph.getCellGeometry(a),null!=d&&(d=d.clone(),d.x=this.parentX,d.y…
948 …ction(a,b){var c=[];if(null!=a&&null!=b){var d=this.graph.model,e=null,f=-1E5,g;for(g in b){var k=…
949 …d=this.graph.isCellCollapsed(a),e=c.getChildCount(a),f=0;f<e;f++){var g=c.getChildAt(a,f);if(this.…
950 this.parent||this.isAncestor(this.parent,d,this.traverseAncestors))||d==a&&(null==this.parent||this…
951 …d=c.get(a);if(null!=d)return d;var d=this.graph.view.getState(a),e=null!=d?d.getVisibleTerminal(b)…
952 …d={};this.filterDescendants(a,d);this.roots=[];var e=!0,f;for(f in d)if(null!=d[f]){e=!1;break}for…
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 …ncestors||a==this.parent&&this.graph.isCellVisible(a))for(var d=c.getChildCount(a),e=0;e<d;e++){va…
955 …d=this.getEdges(a),e=[],f=0;f<d.length;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisib…
956 …ion(a,b,c,d,e,f,g){if(null!=a&&null!=d){var k=mxObjectIdentity.get(a);if(null==d[k]&&(null==g||nul… 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 …ex(a)&&this.maintainParentLocation){var d=this.graph.getCellGeometry(a);null!=d&&(this.parentX=d.x…
963 …X&&null!=this.parentY&&(d=this.graph.getCellGeometry(a),null!=d&&(d=d.clone(),d.x=this.parentX,d.y…
964 …d=b.edgeMapper[c],e=0;e<d.edges.length;e++)a.push(d.edges[e]);a=this.graph.getBoundingBoxFromGeome…
965 …d,0,c-d):(a.y=Math.min(a.y,d),a.height=Math.max(a.y+a.height,c)-a.y)}}for(e=0;e<this.swimlanes.len…
966 2;k.height=a.height+d.height+2*this.parentBorder;this.graph.model.setGeometry(f,k);this.graph.moveC…
967 …d=this.graph.model,e=null,f=-1E5,g;for(g in b){var k=b[g];if(null!=k&&d.isVertex(k)&&this.graph.is…
968 …d=this.graph.isCellCollapsed(a),e=c.getChildCount(a),f=0;f<e;f++){var g=c.getChildAt(a,f);if(this.…
969 this.graph.isValidAncestor(d,this.parent,this.traverseAncestors))||d==a&&(null==this.parent||this.g…
970 …d=c.get(a);if(null!=d)return d;var d=this.graph.view.getState(a),e=null!=d?d.getVisibleTerminal(b)…
971 …d={},e=0;e<this.swimlanes.length;e++)this.filterDescendants(this.swimlanes[e],d);this.roots=[];var…
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 …ncestors||a==this.parent&&this.graph.isCellVisible(a))for(var d=c.getChildCount(a),e=0;e<d;e++){va…
974 …d=this.getEdges(a),e=[],f=0;f<d.length;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisib…
975 …on(a,b,c,d,e,f,g,k){if(null!=a&&null!=d){var l=mxObjectIdentity.get(a);if(null==d[l]&&(null==g||nu… 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]…
979 …erCells=function(a,b){var c=null;if(null!=a)for(var c=[],d=0;d<a.length;d++)b(a[d])&&c.push(a[d]);…
980 … c=[];b=b||this.getRoot();(null==a||a(b))&&c.push(b);for(var d=this.getChildCount(b),e=0;e<d;e++)v…
982 …(c=this.getChildCount(a));var d=a!=this.getParent(b);this.execute(new mxChildChange(this,a,b,c));t…
984 …d=0;d<c;d++){var e=this.getChildAt(a,d);this.updateEdgeParents(e,b)}e=this.getEdgeCount(a);c=[];fo…
985 …d=this.getTerminal(a,!1);null!=c&&!this.isEdge(c)&&null!=c.geometry&&c.geometry.relative;)c=this.g…
986 …d=this.getGeometry(a);if(null!=d){var e=this.getOrigin(this.getParent(a)),f=this.getOrigin(c),g=f.…
987 …d=a,e=mxCellPath.create(d);if(c.length<e.length)var d=b,f=e,e=c,c=f;for(;null!=d;){f=this.getParen…
988 …d=this.getParent(a);null!=b?b==d&&d.getIndex(a)==c||b.insert(a,c):null!=d&&(c=d.getIndex(a),d.remo…
990 …lls=function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!1;for(var d=this.getChildCount(a),e=[],f=0;f<d;f++…
991 …minal=function(a,b,c){var d=b!=this.getTerminal(a,c);this.execute(new mxTerminalChange(this,a,b,c)…
992 …d=this.getTerminal(a,c);null!=b?b.insertEdge(a,c):null!=d&&d.removeEdge(a,c);return d};mxGraphMode…
994 …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++){v… argument
995 …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++){var k=t…
996 …d){c=null!=c?c:!0;d=null!=d?d:!0;var e=[];if(null!=a)for(var f=0;f<a.length;f++){var g=this.getTer… argument
997 …ction(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.put(a[d],!0);for(d=0;d<a.length;d++)…
1004 …d={};this.mergeChildrenImpl(a,b,c,d);for(var e in d){var f=d[e],g=this.getTerminal(f,!0);null!=g&&…
1005 …d){this.beginUpdate();try{for(var e=a.getChildCount(),f=0;f<e;f++){var g=a.getChildAt(f);if("funct… argument
1006 …ion(a){var b=[];if(null!=a)for(var c=new mxDictionary,d=0;d<a.length;d++){var e=this.getParent(a[d…
1007 …d=[],e=0;e<a.length;e++)null!=a[e]?d.push(this.cloneCellImpl(a[e],c,b)):d.push(null);for(e=0;e<d.l…
1008 …d=this.getTerminal(b,!0);null!=d&&(d=c[mxObjectIdentity.get(d)],null!=d&&d.insertEdge(a,!0));d=thi…
1009 …)};function mxChildChange(a,b,c,d){this.model=a;this.previous=this.parent=b;this.child=c;this.prev… argument
1011 …d=a.getTerminal(!1);null!=c&&(b?this.model.terminalForCellChanged(a,c,!0):this.model.terminalForCe…
1012 function mxTerminalChange(a,b,c,d){this.model=a;this.cell=b;this.previous=this.terminal=c;this.sour… argument
1025 …eType)||(a=a.cloneNode(!0)));return a};function mxGeometry(a,b,c,d){mxRectangle.call(this,a,b,c,d)} argument
1028 …d=Math.cos(c),c=Math.sin(c);if(!this.relative){var e=new mxPoint(this.getCenterX(),this.getCenterY…
1029 ….length;f++)null!=this.points[f]&&(e=mxUtils.getRotatedPoint(this.points[f],d,c,b),this.points[f].…
1032 …r(var d=0;d<this.points.length;d++)null!=this.points[d]&&(this.points[d].x=parseFloat(this.points[…
1036 …ion(a,b){var c=a;if(null!=b)for(var d=b.split(mxCellPath.PATH_SEPARATOR),e=0;e<d.length;e++)c=c.ge…
1037 …d=0,e=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=par… argument
1038 …d&&(c.x>=a.x&&c.x<=a.x+a.width?g.x=c.x:c.y>=a.y&&c.y<=a.y+a.height&&(g.y=c.y),c.x<a.x?g.x=a.x:c.x>… argument
1039 m+k*p/Math.abs(p));if(0==n&&0==p)return new mxPoint(b,c);if(d){if(c>=f&&c<=f+a.height)return a=c-m,…
1040 …d){b=a.x;var e=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 mxP… argument
1041 b,c,d){b=null!=b?b.style[mxConstants.STYLE_DIRECTION]:null;var e=b==mxConstants.DIRECTION_NORTH||b=…
1042 …NORTH||b==mxConstants.DIRECTION_WEST?r>-t&&r<t:r<-Math.PI+t||r>Math.PI-t)?c=d&&(e&&c.x>=n.x&&c.x<=…
1043 …d&&(d=new mxPoint(a,m),c.y>=g&&c.y<=g+l?(d.x=e?a:b==mxConstants.DIRECTION_WEST?f+k:f,d.y=c.y):c.x>…
1044 …int;var u=new mxPoint;if(m<e&&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){…
1048 …t(e+Math.floor(.5*g),f+Math.floor(1.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f)))}d=l;p=a;m>=e&&m<=
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.…
1053 function mxPrintPreview(a,b,c,d,e,f,g,k,l){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.bor… argument
1056 …w.prototype.appendGraph=function(a,b,c,d,e,f){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this… argument
1057 …d){var e=this.graph.cellRenderer.initializeOverlay,f=null;try{this.printOverlays&&(this.graph.cell… argument
1061 …||mxClient.IS_EDGE){var d=k.createElement("div");d.innerHTML=a.outerHTML;d=d.getElementsByTagName(…
1063 C.length-1);g&&!d&&(this.closeDocument(),y());this.wnd.focus()}catch(E){null!=f&&null!=f.parentNode…
1067 …eSelector=function(a,b){var c=this.wnd.document,d=c.createElement("table");d.className="mxPageSele…
1068 mxUtils.write(n,l,c);m.appendChild(n);g.appendChild(m)}e.appendChild(g)}d.appendChild(e);return d};
1069 …totype.renderPage=function(a,b,c,d,e,f){f=this.wnd.document;var g=document.createElement("div"),k=… argument
1070 "relative";m.style.marginLeft=c+"px";m.style.marginTop=d+"px";8==f.documentMode&&(l.style.position=…
1073 mxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.g… argument
1074 …,b,c){if(null!=a){var d=x.get(a.cell);if(null!=d&&(d=g.getBoundingBox(d,!1),null!=d&&0<d.width&&0<…
1076 …de.removeChild(g.overlayPane);this.graph.setEnabled(r);this.graph.container=d;this.graph.cellRende…
1078 …d=this.graph.backgroundImage;if(null!=d){var e=document.createElement("img");e.style.position="abs…
1083 …if(null!=a&&0<a.length)for(var d=a.split(";"),c=null!=c&&";"!=a.charAt(0)?mxUtils.clone(c):{},e=0;…
1097 …electableCell(a)]);for(var c=[],d=0;d<a.length;d++)!this.isSelected(a[d])&&this.graph.isCellSelect…
1098 …nge(this,a,b);c.execute();var d=new mxUndoableEdit(this,!1);d.add(c);this.fireEvent(new mxEventObj…
1112 …d=null;if(this.autoSize&&"fill"!=a.style[mxConstants.STYLE_OVERFLOW]){var e=mxUtils.getValue(a.sty…
1113 …t.y,0,0),null!=e&&(e=(parseFloat(e)+2)*c,this.bounds.width=e,this.bounds.x+=d.x*e);else{var b=mxRe…
1117 "width"==a.style[mxConstants.STYLE_OVERFLOW]){if(-.5==d.y||"width"==a.style[mxConstants.STYLE_OVERF…
1118 …d.x*(this.bounds.width-(a+1)*c)+a*(c-1)*0+2*(d.x+.5))/c))+"px",this.textarea.style.top=Math.max(0,…
1119 4)+(-1==d.y?3:0))+1)+"px")}else this.bounds=this.getEditorBounds(a),this.textarea.style.width=Math.…
1121 …is.textarea.style,"transform","scale("+c+","+c+")"+(null==d?"":" translate("+100*d.x+"%,"+100*d.y+…
1123 …var c=this.graph.getView().getState(a);if(null!=c){this.graph.getView();var d=mxUtils.getValue(c.s…
1125 …d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.backgroundColor=this.g…
1126 …d=this.textDirection=mxUtils.getValue(c.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT…
1133 …h.getModel().isEdge(a.cell),c=this.graph.getView().scale,d=this.getMinimumSize(a),e=d.width,d=d.he…
1134 …SpacingLeft)*c+f,c=new mxRectangle(a.x,a.y,Math.max(e,a.width-f-k),Math.max(d,a.height-g-l)),k=mxU…
1136 c.height=Math.max(d,a.text.boundingBox.height)):(c.width=Math.max(c.width,a.text.boundingBox.width)…
1147 …STYLE_GRADIENTCOLOR,mxConstants.STYLE_FONTCOLOR],d=0;d<c.length;d++)if(0<=mxUtils.indexOf(b,a.styl…
1148 …d=c==mxConstants.STYLE_FONTCOLOR?a.text:a.shape;if(null!=d){var e=a.view.graph,f=d[b],g=null;"inhe…
1149 …d[b]=a.style[mxConstants.STYLE_FILLCOLOR]:c!=mxConstants.STYLE_STROKECOLOR&&f==mxConstants.STYLE_S…
1150 …mxConstants.STYLE_FONTSIZE]||null==a.style[mxConstants.STYLE_FONTSIZE]){var d=c.isHtmlLabel(a.cell…
1152 …d?mxConstants.DIALECT_STRICTHTML:a.view.graph.dialect;a.text.style=a.style;a.text.state=a;this.ini…
1155 …d=0;d<b.length;d++){var e=null!=a.overlays?a.overlays.remove(b[d]):null;null==e&&(e=new mxImageSha…
1157 …d=a.view.graph;mxEvent.addListener(c.node,"click",function(c){d.isEditing()&&d.stopEditing(!d.isIn…
1158 …Enabled&&null!=c){if(null==a.control){var d=new mxRectangle(0,0,c.width,c.height);a.control=new mx…
1159 …){if(this.forceControlClickHandler||b.isEnabled()){var d=!b.isCellCollapsed(a.cell);b.foldCells(d,…
1160 …d){var e=a.view.graph;e.isHtmlLabel(a.cell)&&mxClient.NO_FO&&e.dialect==mxConstants.DIALECT_SVG?(b… argument
1161 …d&&mxClient.IS_IOS&&b.addEventListener("touchend",function(a){if(null!=f){var b=e.tolerance;Math.a…
1163 …d=a;if(b.dialect!=mxConstants.DIALECT_SVG&&"IMG"==mxEvent.getSource(c).nodeName||mxClient.IS_TOUCH…
1164 …d){this.isShapeEvent(a,d)&&b.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(d,c(d)))}),mxUtils… argument
1165 …d=this.getLabelValue(a),e=c.isWrapping(a.cell),f=c.isLabelClipped(a.cell),g=a.view.graph.isHtmlLab…
1166 d):null==a.text||null!=d&&0!=d.length||(a.text.destroy(),a.text=null);if(null!=a.text){b&&(null!=a.…
1167 …d,a.text.bounds=c,a.text.scale=l,a.text.wrap=e,a.text.clipped=f,a.text.overflow=k,d=a.text.node.st…
1171 … b=a.view.graph,c=a.view.scale,d=b.getModel().isEdge(a.cell),e=new mxRectangle(a.absoluteOffset.x,…
1172 …tyle,mxConstants.STYLE_LABEL_WIDTH,null);null!=b&&(e.width=parseFloat(b)*c);d||this.rotateLabelBou…
1173 …PACING])){var c=a.view.scale,d=a.text.getSpacing("1"==a.style[mxConstants.STYLE_BLOCK_SPACING]);b.…
1174 …d==mxConstants.ALIGN_CENTER&&null==f?a.text.spacingLeft*c+a.text.spacingRight*c:0));b.height=Math.…
1175 d)&&(e*=Math.PI/180,c=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(e),Math.sin(e),new mxPo…
1176 …le,mxConstants.STYLE_ROTATION,0),90),d=mxUtils.toRadians(c),e=Math.cos(d),f=Math.sin(d);a.overlays… argument
1178 …d=this.legacyControlPosition?mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0):a.shape.getTex…
1179 …ull!=a.control){var d=a.view.scale,e=a.getCenterX(),f=a.getCenterY();if(!a.view.graph.getModel().i…
1180 …).isEdge(a.cell),new mxRectangle(Math.round(e-b/2*d),Math.round(f-c/2*d),Math.round(b*d),Math.roun…
1181 …d=this.getShapesForState(a),e=0;e<d.length;e++)if(null!=d[e]&&null!=d[e].node){var f=d[e].node.par…
1182 …d[e].node&&d[e].node.parentNode.insertBefore(d[e].node,g.nextSibling):d[e].node.parentNode.appendC…
1184 …d=a.view.graph.model,e=!1;null!=a.shape&&null!=a.shape.style&&null!=a.style&&a.shape.style[mxConst…
1189 var mxEdgeStyle={EntityRelation:function(a,b,c,d,e){var f=a.view,g=f.graph;d=mxUtils.getValue(a.sty… argument
1191 …d:d),b),g=new mxPoint(l+(n?-d:d),c),k==n?(d=k?Math.min(a,l)-d:Math.max(a,l)+d,e.push(new mxPoint(d… 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 …d=c.x,m=Math.max(Math.abs(l-c.y),m)):a==mxConstants.DIRECTION_NORTH?l=b.y-2*k:a==mxConstants.DIREC… argument
1194 …EdgeStyle.SideToSide(a,b,c,d,e):mxEdgeStyle.TopToBottom(a,b,c,d,e)},SideToSide:function(a,b,c,d,e)… argument
1195 d[0]:null;var g=a.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));n…
1196 …d?mxUtils.contains(c,a,d.y)||mxUtils.contains(b,a,d.y)||e.push(new mxPoint(a,d.y)):(f=Math.max(b.y… argument
1197 …d&&d.x>=b.x&&d.x<=b.x+b.width&&(a=d.x),k=null!=d?d.y:Math.round(g+(k-g)/2),mxUtils.contains(c,a,k)…
1198 …d.x,k)):(f=Math.max(b.x,c.x),e.push(new mxPoint(f+(Math.min(b.x+b.width,c.x+c.width)-f)/2,k)))))},… argument
1199 …d.length;q++){var r=a.view.transformControlPoint(a,d[q],!0);null!=r&&p.push(r)}if(0==p.length)retu…
1200 …d.y||null==f[0]&&null!=b&&(d.y<b.y||d.y>b.y+b.height))?c.push(new mxPoint(m.x,d.y)):!l&&(null!=f[0…
1201 …d=p[q],l?m.y=d.y:m.x=d.x,c.push(m.clone())}else d=m,l=!0;m=f[n];null==m&&null!=g&&(m=new mxPoint(a…
1206 …ull!=a)for(var d=0;d<a.length;d++)if(null!=a[d]){var e=new mxPoint(Math.round(a[d].x/b*10)/10,Math…
1207 …ath.round(a.height/b*10)/10)):c=null;return c},OrthConnector:function(a,b,c,d,e){var f=a.view.grap…
1208 …C*C;if(v||mxEdgeStyle.orthPointsFallback&&null!=d&&0<d.length||g||k)mxEdgeStyle.SegmentConnector(a…
1218 …d){var e=a[0]==mxConstants.DIRECTION_MASK_EAST?3:a[0];a=a[1]==mxConstants.DIRECTION_MASK_EAST?3:a[…
1224 …ngth)for(var c=this.graph.getModel(),d=0;d<a.length;d++)if(c.isVertex(a[d])||c.isEdge(a[d])){var e…
1225 …d=this.scale,e=new mxPoint(this.translate.x,this.translate.y);if(this.scale!=a||this.translate.x!=…
1228 …d=this.graph.getModel();a=a||d.getRoot();b=null!=b?b:!1;c=null!=c?c:!0;this.removeState(a);if(c&&(…
1229 …d=this.graph.getModel();a=a||d.getRoot();b=null!=b?b:!0;c=null!=c?c:!0;var e=this.getState(a);null…
1234 …Box.clone()),b))for(var d=this.graph.getModel(),e=d.getChildCount(a.cell),f=0;f<e;f++){var g=this.…
1242 …),null==this.getState(a,b)||b)for(var c=this.graph.getModel(),d=c.getChildCount(a),e=0;e<d;e++)thi…
1243 …d=this.graph.getModel();if(c.invalid){c.invalid=!1;if(null==c.style||c.invalidStyle)c.style=this.g…
1244 …{null!=c.shape&&this.stateValidated(c);for(var e=d.getChildCount(a),f=0;f<e;f++)this.validateCellS…
1245 …d=this.graph.getChildOffsetForCell(a.cell);null!=d&&(a.origin.x+=d.x,a.origin.y+=d.y);var e=this.g…
1246 …d=this.getPoint(c,e),null!=d&&(a.origin.x+=d.x/this.scale-c.origin.x-this.translate.x,a.origin.y+=…
1248 …d=this.getState(c.getParent(a.cell));if(b.relative&&null!=d&&!c.isEdge(d.cell)){var e=mxUtils.toRa…
1249 …d=a.getVisibleTerminalState(!1);null!=this.graph.model.getTerminal(a.cell,!0)&&null==c||null==c&&n…
1252 ….ALIGN_CENTER),d=0;c==mxConstants.ALIGN_CENTER?d=.5:c==mxConstants.ALIGN_RIGHT&&(d=1);0!=d&&(a.abs…
1254 …ype.updateFixedTerminalPoint=function(a,b,c,d){a.setAbsoluteTerminalPoint(this.getFixedTerminalPoi… argument
1255 …d){var e=null;null!=d&&(e=this.graph.getConnectionPoint(b,d,!1));if(null==e&&null==b){b=this.scale… argument
1257 …d){if(null!=a){var e=[];e.push(a.absolutePoints[0]);var f=this.getEdgeStyle(a,b,c,d);if(null!=f){c… argument
1259 …d){var e=this.graph.getConnectionConstraint(a,c,!0),f=this.graph.getConnectionConstraint(a,d,!1);r… argument
1260 mxGraphView.prototype.getEdgeStyle=function(a,b,c,d){a=this.isLoopStyleEnabled(a,b,c,d)?mxUtils.get… argument
1261 …d=a.absolutePoints,e=d[0];null==d[d.length-1]&&null!=c&&this.updateFloatingTerminalPoint(a,c,b,!1)… argument
1262 …d){b=this.getTerminalPort(a,b,d);var e=this.getNextPoint(a,c,d),f=this.graph.isOrthogonal(a);c=mxU… argument
1264 …ction(a,b,c,d){var e=null;if(null!=a){var f=this.getPerimeterFunction(a);if(null!=f&&null!=b&&(d=t… argument
1265 0)||g),b&&(e.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=…
1267 …d=null;null!=a&&2<=a.length&&(d=a.length,d=a[c?Math.min(1,d-1):Math.max(0,d-2)]);null==d&&null!=b&…
1268 …etModel(),d=c.getTerminal(a,b),e=d;null!=d&&d!=this.currentRoot;){if(!this.graph.isCellVisible(e)|…
1269 …d=b[b.length-1];if(c.x!=d.x||c.y!=d.y){var e=d.x-c.x,f=d.y-c.y;a.terminalDistance=Math.sqrt(e*e+f*…
1271 …d=a.getCenterY();if(null==a.segments||null!=b&&!b.relative)null!=b&&(m=b.offset,null!=m&&(c+=m.x,d…
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…
1273 …unction(a,b,c){var d=this.graph.getModel().getGeometry(a.cell);if(null!=d){var e=a.absolutePoints.…
1274 …==mxUtils.relativeCcw(g.x,g.y,k.x,k.y,b,c)&&(e=-e);return new mxPoint((d/2-m-a)/d*-2,e/this.scale)…
1275 …d=this.getPoint(a,c);null!=d&&(a.absoluteOffset=d)}else{var d=b[0],e=b[b.length-1];if(null!=d&&nul…
1277 …)return this.states;for(var b=[],c=0;c<a.length;c++){var d=this.getState(a[c]);null!=d&&b.push(d)}…
1283 …d=function(c){var d=null;mxClient.IS_TOUCH&&(d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),c=mxU… function
1284 …Event.isConsumed(b)&&a.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,d(b)))});this.endHandl…
1293 …his.isUp)for(var c=this.view.currentRoot,d=this.view.graph.getModel();null!=c;){if(c==b){this.isUp…
1295 …d,e){this.mouseListeners=null;this.renderHint=c;this.dialect=mxClient.IS_SVG?mxConstants.DIALECT_S… argument
1312 …ctionary,d=[],e=mxUtils.bind(this,function(a){if(!c.get(a)&&this.model.contains(a))if(this.model.i…
1313 k&&e(k)}}return d};mxGraph.prototype.graphModelChanged=function(a){for(var b=0;b<a.length;b++)this.…
1314 …d=this.model.getParent(a[c]);null!=d&&d!=this.view.currentRoot;){if(this.isCellCollapsed(d)||!this…
1320 …ar b=this.model.getChildCount(a),c=0;c<b;c++){var d=this.model.getChildAt(a,c);this.clearCellOverl…
1321 …g=function(a,b,c,d){if(null!=b&&0<b.length)return c=null!=c?c:this.warningImage,b=new mxCellOverla… argument
1323 …y{var d=a.value;this.cellLabelChanged(a,b,this.isAutoSizeCell(a));this.fireEvent(new mxEventObject…
1325 …(),d=new mxEventObject(mxEvent.CLICK,"event",b,"cell",c);a.isConsumed()&&d.consume();this.fireEven…
1326 …d=c;for(a=[];null!=d;){var d=this.model.getParent(d),f=this.view.getState(d);this.isSwimlane(d)&&n…
1327 …ingSelected=function(a){for(var b=this.model,c=b.getParent(a),d=b.getChildCount(c),e=0;e<d;e++){va…
1330 …d){if(this.timerAutoScroll||!this.ignoreScrollbars&&!mxUtils.hasScrollbars(this.container))this.al… argument
1331 …d){if(a=e.scrollLeft,e.scrollLeft+=d-f,c&&a==e.scrollLeft){if(this.dialect==mxConstants.DIALECT_SV…
1332 …d-f):(b=Math.max(e.clientHeight,e.scrollHeight)+d-f,a=this.view.getCanvas()),a.style.height=b+"px"…
1334 …d=this.pageFormat,e=this.pageScale,d=new mxRectangle(0,0,Math.ceil(d.width*e),Math.ceil(d.height*e…
1335 …otype.fit=function(a,b,c,d,e,f,g){if(null!=this.container){a=null!=a?a:this.getBorder();b=null!=b?… argument
1336 …s.minFitScale));null!=this.maxFitScale&&(e=Math.min(e,this.maxFitScale));if(d)b?this.view.scale!=e…
1338 …|!mxClient.IS_IE&&this.pageVisible){var d=this.getPreferredPageSize(a,Math.max(1,c),Math.max(1,b))…
1339 …d.height*this.view.scale)}null!=this.minimumGraphSize&&(c=Math.max(c,this.minimumGraphSize.width*t…
1341 …d=this.pageFormat,e=b*this.pageScale,f=new mxRectangle(0,0,d.width*e,d.height*e),d=mxRectangle.fro…
1342 …d.height/f.height)+1:0,k=a?Math.ceil(d.width/f.width)+1:0,l=(k-1)*f.width,m=(g-1)*f.height;null==t…
1343 …d,a[c].redraw()):(d=new mxPolyline(d,this.pageBreakColor),d.dialect=this.dialect,d.pointerEvents=!…
1347 …Cells());var d=null;null!=c&&0<c.length&&(d=this.getCurrentCellStyle(c[0]),d=mxUtils.getValue(d,a,…
1348 …d){d=d||this.getEditableCells(this.getSelectionCells());null!=d&&0<d.length&&(null==c&&(c=this.get… argument
1349 …h){if(null==c)for(var d=0;d<b.length;d++){var e=this.getOriginForCell(b[d]),f=this.getCellGeometry…
1350 …odel.beginUpdate();try{for(d=0;d<b.length;d++)e=this.getOriginForCell(b[d]),f=this.getCellGeometry…
1351 …:a==mxConstants.ALIGN_BOTTOM?f.y=c-e.y-f.height:f.x=c-e.x,this.resizeCell(b[d],f));this.fireEvent(…
1355 …d=0;d<a.length;d++){var e=this.model.getParent(a[d]);b?c?this.model.add(e,a[d],Math.max(0,e.getInd…
1356 …roup(c);null==a&&(a=this.createGroupCell(c));var d=this.getBoundsForGroup(a,c,b);if(1<c.length&&nu…
1357 …d.x,-d.y,!1,!1,!1);this.cellsResized([a],[d],!1);this.fireEvent(new mxEventObject(mxEvent.GROUP_CE…
1359 …d=this.model.getChildren(a[c]);if(null!=d&&0<d.length){var d=d.slice(),e=this.model.getParent(a[c]…
1360 l.y=k.origin.y,l.relative=!1,this.model.setGeometry(d[g],l))}}}this.removeCellsAfterUngroup(a);this…
1362 …updateGroupBounds=function(a,b,c,d,e,f,g){null==a&&(a=this.getSelectionCells());b=null!=b?b:0;c=nu… argument
1363 …d));l.width=Math.round(n.width+2*b+p.x+g+e+p.width);l.height=Math.round(n.height+2*b+p.y+d+f+p.hei…
1364 …d=this.view.getBoundingBox(this.view.getState(a[c]),!0);null!=d&&(null==b?b=mxRectangle.fromRectan… argument
1365 mxGraph.prototype.cloneCells=function(a,b,c,d){b=null!=b?b:!0;var e=null;if(null!=a){for(var f=new … argument
1366 p=this.view.getState(this.model.getParent(a[g]));if(null!=n&&null!=p)if(c=d?0:p.origin.x,p=d?0:p.or…
1367 …d,e,f,g,k,l){b=this.createVertex(a,b,c,d,e,f,g,k,l);return this.addCell(b,a)};mxGraph.prototype.cr… argument
1368 …d,e,f){b=this.createEdge(a,b,c,d,e,f);return this.addEdge(b,a,d,e)};mxGraph.prototype.createEdge=f… argument
1369 …d,e,f){null==b&&(b=this.getDefaultParent());null==c&&(c=this.model.getChildCount(b));this.model.be… 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 …endParent(a[l]);(null==g||g)&&this.constrainChild(a[l]);null!=d&&this.cellConnected(a[l],d,!0);nul…
1372 d,"target",e,"absolute",f))}finally{this.model.endUpdate()}}};mxGraph.prototype.autoSizeCell=functi…
1373 …etAllEdges(a)),d=new mxDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<c.length;e++)null!=t…
1375 …d=new mxDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<a.length;e++){for(var f=this.getAll… argument
1376 …Y()/b-c.y),f)),this.model.setGeometry(d,g),this.model.setTerminal(d,null,f))}}),k=0;k<f.length;k++…
1377 …d,e,f,g,k){d=d||0;e=e||0;k=null!=k?k:this.model.getParent(a);f=this.model.getTerminal(a,!0);this.m… argument
1378 …d,e,!1,!1);this.cellsAdded(b,k,this.model.getChildCount(k),null,null,!0);this.cellsAdded([c],k,thi…
1380 …d,e){b=null!=b?b:!1;null==c&&(c=this.getFoldableCells(this.getSelectionCells(),a));this.stopEditin… argument
1381 …type.cellsFolded=function(a,b,c,d){if(null!=a&&0<a.length){this.model.beginUpdate();try{for(var e=… argument
1383 …d=b;this.collapseToPreferredSize&&(a=this.getPreferredSizeForCell(a),null!=a&&(d=a,a=mxUtils.getVa…
1384 …nterX(),d=b.alternateBounds.getCenterY()-b.getCenterY(),a=Math.cos(e),e=Math.sin(e),b.alternateBou…
1385 …r(var d=this.model.getEdgeCount(a[c]),e=0;e<d;e++)b.push(this.model.getEdgeAt(a[c],e));d=this.mode…
1386 …d=this.model.getGeometry(a);if(null!=c&&null!=d){var e=this.isCellCollapsed(a),d=d.clone();if(this…
1387 …d.width=c.width+8),d.height=c.height);this.model.setStyle(a,g)}else{var k=this.view.createState(a)…
1388 …d.height-c.height)/2));d.width=c.width;d.height=c.height}if(!b&&!e){var n=this.view.getBounds(this…
1389 …d=this.view.createState(a),e=d.style;if(!this.model.isEdge(a)){var f=e[mxConstants.STYLE_FONTSIZE]…
1390 …),k=this.getFoldingImage(d);null!=k&&(g+=k.width+8);k=this.cellRenderer.getLabelValue(d);null!=k&&…
1391 …d=f.width+g,c=f.height+c,mxUtils.getValue(e,mxConstants.STYLE_HORIZONTAL,!0)||(e=c,c=d,d=e),this.g…
1392 …inUpdate();try{var d=this.cellsResized(a,b,c);this.fireEvent(new mxEventObject(mxEvent.RESIZE_CELL…
1393 …d=[];if(null!=a&&null!=b&&a.length==b.length){this.model.beginUpdate();try{for(var e=0;e<a.length;…
1394 …d){var e=this.model.getGeometry(a);if(null!=e&&(e.x!=b.x||e.y!=b.y||e.width!=b.width||e.height!=b.… argument
1395 …,d=0!=c.width?b.width/c.width:1,c=0!=c.height?b.height/c.height:1,e=this.model.getChildCount(a),f=…
1396 mxGraph.prototype.scaleCell=function(a,b,c,d){var e=this.model.getGeometry(a);if(null!=e){var f=thi… argument
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 …h.prototype.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!=… argument
1400 …d&&(a=this.cloneCells(a,this.isCloneInvalidEdges(),g),null==e&&(e=this.getDefaultParent()));var t=…
1401 …d)for(m=0;m<a.length;m++)q=this.getCellGeometry(a[m]),r=this.model.getParent(k[m]),null!=q&&q.rela…
1402 …d,e,f){if(null!=a&&(0!=b||0!=c)){f=null!=f?f:!1;this.model.beginUpdate();try{d&&this.disconnectGra… argument
1403 …d=this.model.getGeometry(a);if(null!=d){b=parseFloat(b);c=parseFloat(c);d=d.clone();d.translate(b,…
1404 …d.offset?d.offset=new mxPoint(Math.round(b),Math.round(c)):(d.offset.x=Math.round(parseFloat(d.off…
1405 …b!=this.getDefaultParent()){var c=this.model.getGeometry(b);if(null!=c){var d=a=0,e=c.width,c=c.he…
1406 …||b==mxConstants.DIRECTION_SOUTH&&k)a=f.width,d=f.height;e-=f.width;c-=f.height}return new mxRecta…
1407 …d=this.model.getParent(a);this.getCellGeometry(d);var e=this.getMaximumGraphBounds();null!=e&&(d=t…
1408 …d.y-=d.height*f,d.width+=2*d.width*f,d.height+=2*d.height*f);null==e?e=d:(e=mxRectangle.fromRectan…
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|…
1410 …d=this.model.getEdges(a[c]);if(null!=d)for(var e=0;e<d.length;e++){var f=this.view.getState(d[e]),…
1412 …{c=this.view.getPerimeterBounds(b);var d=b.style[mxConstants.STYLE_DIRECTION];if(d==mxConstants.DI…
1413 …)||m,n=1==mxUtils.getValue(b.style,"stencilFlipV",0)||n);if(d==mxConstants.DIRECTION_NORTH||d==mxC…
1415 …d=a.style[c?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X];if(null!=d){var e=a.style[c?mxCons…
1416 …E_ENTRY_DY]),e=isFinite(e)?e:0,f=isFinite(f)?f:0);return new mxConnectionConstraint(b,d,null,e,f)};
1417 …totype.setConnectionConstraint=function(a,b,c,d){if(null!=d){this.model.beginUpdate();try{null==d|… argument
1418 …d.point&&(this.setCellStyles(c?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X,d.point.x,[a]),t…
1420 mxGraph.prototype.getConnectionPoint=function(a,b,c){c=null!=c?c:!0;var d=null;if(null!=a&&null!=b.…
1421 …d=this.view.scale,d=new mxPoint(e.x+b.point.x*e.width+b.dx*d,e.y+b.point.y*e.height+b.dy*d),l=a.st…
1422 …d.x=2*e.getCenterX()-d.x);b&&(d.y=2*e.getCenterY()-d.y)}0!=l&&null!=d&&(a=mxUtils.toRadians(l),e=M…
1423 …pe.connectCell=function(a,b,c,d){this.model.beginUpdate();try{var e=this.model.getTerminal(a,c);th… argument
1424 …d){if(null!=a){this.model.beginUpdate();try{var e=this.model.getTerminal(a,c);this.setConnectionCo… argument
1426 …te();try{for(var b=this.view.scale,c=this.view.translate,d=new mxDictionary,e=0;e<a.length;e++)d.p…
1427 …d.get(p);)p=this.model.getParent(p);null==p&&(f.setTerminalPoint(new mxPoint(n[0].x/b-c.x+l,n[0].y…
1430 …d=[a];b&&(d=d.concat(this.model.getEdges(a)));d=this.view.getBounds(d);if(c){c=this.model.getChild…
1431 …d=0;d<a.length;d++)if(b||this.model.isVertex(a[d])){var e=this.getCellGeometry(a[d]);if(null!=e){v…
1432 new mxRectangle(e[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])…
1433 (f.x+=e.offset.x,f.y+=e.offset.y),e=this.getCurrentCellStyle(a[d]),null!=f&&(e=mxUtils.getValue(e,m…
1434 …d,e){var f=this.view.translate,g=this.view.scale;!c&&this.gridEnabled?(c=this.gridSize*g*.5,d||(d=… argument
1435 …!=this.shiftPreview1){for(var d=this.shiftPreview1.firstChild;null!=d;){var e=d.nextSibling;this.c…
1436 …r.appendChild(c.parentNode);for(d=this.shiftPreview2.firstChild;null!=d;)e=d.nextSibling,this.cont…
1437 … f=this.shiftPreview1,d=this.container.firstChild;null!=d;)e=d.nextSibling,d!=c.parentNode?f.appen…
1440 mxGraph.prototype.center=function(a,b,c,d){a=null!=a?a:!0;b=null!=b?b:!0;c=null!=c?c:.5;d=null!=d?d… argument
1441 …f)/2):this.view.setTranslate(a?Math.floor(l.x-k.x/m+n*c/m):l.x,b?Math.floor(l.y-k.y/m+p*d/m):l.y)};
1442 …d=this.view.getState(this.getSelectionCell());a=c/this.view.scale;if(this.keepSelectionVisibleOnZo…
1443 …d=d*-f,e=e*-f;else f=(1/a-1)/(2*this.view.scale),d*=f,e*=f;this.view.scaleAndTranslate(c,this.view…
1445 …d=Math.min(this.container.scrollHeight,a.y+a.height);a.width=c-a.x;a.height=d-a.y;1>b?(b=a.height/…
1447 …d=-this.view.translate.y,e=this.view.getState(a);null!=e&&(c=new mxRectangle(c+e.x,d+e.y,e.width,e…
1448 d.x,this.view.translate.y=d.y,this.view.setTranslate(c.x,c.y)))};
1449 …d=this.container.offsetHeight,e=Math.min(c,a.width),f=Math.min(d,a.height);if(mxUtils.hasScrollbar…
1450 …d&&0==g||this.view.setTranslate(d,g)}else{var g=-this.view.translate.x,k=-this.view.translate.y,l=…
1455 …f(null!=b&&null!=c){var d="";if(!this.multigraph){var e=this.model.getEdgesBetween(b,c,!0);if(1<e.…
1456 …cities[g].check(this,a,b,c,e,f);null!=k&&(d+=k)}k=this.validateEdge(a,b,c);null!=k&&(d+=k);return …
1457 …d=this.model.getChildCount(a),e=0;e<d;e++){var f=this.model.getChildAt(a,e),g=b;this.isValidRoot(f…
1458 …d+(this.getCellValidationError(a)||"");e=this.validateCell(a,b);null!=e&&(d+=e);null==this.model.g…
1459 …d="";if(null!=this.multiplicities)for(var e=0;e<this.multiplicities.length;e++){var f=this.multipl…
1463 mxGraph.prototype.getTooltip=function(a,b,c,d){var e=null;null!=a&&(null==a.control||b!=a.control.n… argument
1465 …angle,d=this.getCurrentCellStyle(a,b),e=parseInt(mxUtils.getValue(d,mxConstants.STYLE_STARTSIZE,mx…
1466 …d=1==mxUtils.getValue(a,mxConstants.STYLE_FLIPV,0);a=mxUtils.getValue(a,mxConstants.STYLE_HORIZONT…
1467 …d=this.getCurrentCellStyle(a,b),e=parseInt(mxUtils.getValue(d,mxConstants.STYLE_STARTSIZE,mxConsta…
1495 mxGraph.prototype.getDropTarget=function(a,b,c,d){if(!this.isSwimlaneNesting())for(var e=0;e<a.leng… argument
1496 if(null==d||!d)for(var g=c;null!=g&&0>mxUtils.indexOf(a,g);)g=this.model.getParent(g);return this.m…
1497 …t(),null==c&&(c=this.model.getRoot()));if(null!=c)for(var d=this.model.getChildCount(c),e=0;e<d;e+…
1498 …d,e,f){d=null!=d?d:!0;e=null!=e?e:!0;null==c&&(c=this.getCurrentRoot(),null==c&&(c=this.getModel()… argument
1499 …d=a.absolutePoints;if(null!=d){a=this.tolerance*this.tolerance;for(var e=d[0],f=1;f<d.length;f++){…
1500 …nt=function(a,b,c){var d=this.getView().getState(a);a=this.getStartSize(a);if(null!=d){var e=this.…
1502 …d,e,f){c=null!=c?c:!0;d=null!=d?d:!0;e=null!=e?e:!0;f=null!=f?f:!1;for(var g=[],k=this.isCellColla… 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…
1504 …d){c=null!=c?c:!0;d=null!=d?d:!0;var e=[],f=new mxDictionary;if(null!=a)for(var g=0;g<a.length;g++… argument
1505 …d=this.getEdges(a),e=[],f=0;f<d.length;f++){var g=this.view.getState(d[f]),k=null!=g?g.getVisibleT…
1506 …Event.getClientY(a)),d=this.view.scale,e=this.view.translate,f=0!=b?this.gridSize/2:0;c.x=this.sna…
1507 ….prototype.getCells=function(a,b,c,d,e,f,g,k,l){f=null!=f?f:[];if(0<c||0<d||null!=g){var m=this.ge… argument
1508 …d,t,f,g,k,l)}}}return f};mxGraph.prototype.getCellsBeyond=function(a,b,c,d,e){var f=[];if(d||e)if(… argument
1509 …d=[];if(null!=a){for(var e=this.getModel(),f=e.getChildCount(a),g=null,k=0,l=0;l<f;l++){var m=e.ge…
1510 …d,e,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
1514 …d=this.selectionModel,e=0<d.cells.length?d.cells[0]:null;1<d.cells.length&&d.clear();var d=null!=e…
1515 …)):(b--,a=this.model.getChildAt(d,0>b?f-1:b)),this.setSelectionCell(a)):this.getCurrentRoot()!=d&&…
1516 …ctCells=function(a,b,c,d){c=c||this.getDefaultParent();var e=mxUtils.bind(this,function(c){return … argument
1518 …lState(!0),c=a.getVisibleTerminalState(!1),d=this.getCellGeometry(a.cell),b=this.view.getEdgeStyle…
1523 …d=mxEvent.isMouseEvent(b.getEvent()),e=!1;b.getEvent()==this.lastEvent?e=!0:this.lastEvent=b.getEv…
1525 …Trigger!=d||a==mxEvent.MOUSE_DOWN&&this.isMouseDown||a==mxEvent.MOUSE_UP&&!this.isMouseDown)&&(e=!…
1527 …d=null!=c.nodeName?c.nodeName.toLowerCase():"",e=!mxEvent.isMouseEvent(b.getEvent())||mxEvent.isLe…
1528 ….getEvent()))){var d=(new Date).getTime();if(a==mxEvent.MOUSE_DOWN)if(null!=this.lastTouchEvent&&t…
1529 …d=!1,a==mxEvent.MOUSE_UP?b.getCell()==this.lastTouchCell&&null!=this.lastTouchCell&&(this.lastTouc…
1530 …d,this.lastTouchEvent=b.getEvent(),this.doubleClickCounter=0}else if((this.isMouseDown||a==mxEvent…
1531 …his.lastTouchY-b.getY())<this.doubleTapTolerance?this.dblClick(b.getEvent(),d):mxEvent.consume(b.g…
1532 …d=this.view.scale,e=this.view.translate;this.view.setTranslate(e.x-this.container.scrollLeft/d,e.y…
1533 ….MOUSE_DOWN?f.mouseDown.apply(f,d):a==mxEvent.MOUSE_MOVE?f.mouseMove.apply(f,d):a==mxEvent.MOUSE_U…
1537 …function mxCellOverlay(a,b,c,d,e,f){this.image=a;this.tooltip=b;this.align=null!=c?c:this.align;th… argument
1539 …nds=function(a){var b=a.view.graph.getModel().isEdge(a.cell),c=a.view.scale,d=this.image.width,e=t…
1540 …mxRectangle(Math.round(b.x-(d*this.defaultOverlap-this.offset.x)*c),Math.round(b.y-(e*this.default…
1546 mxOutline.prototype.addGestureListeners=function(a){var b=null,c=0,d=0,e=1,f=mxUtils.bind(this,func…
1547 …t.addGestureListeners(document,null,g,k);c=this.source.container.scrollLeft;d=this.source.containe…
1548 …d+(mxEvent.getClientY(a)-b.y)*e):this.source.panGraph((b.x-mxEvent.getClientX(a))*e,(b.y-mxEvent.g…
1549 c,f.y-d);this.source.panGraph(0,0)}mxEvent.removeGestureListeners(document,null,g,k);mxEvent.consum…
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
1561 …d){b=a.model.getValue(c);d=a.model.getValue(d);c=!this.validNeighborsAllowed;for(var e=this.validN… argument
1562 …tiplicity.prototype.checkType=function(a,b,c,d,e){return null!=b?isNaN(b.nodeType)?b==c:mxUtils.is… argument
1568 …ent.getClientX(b),mxEvent.getClientY(b)),d=this.getGraph().getModel(),e=0;e<a.length;e++){var f=th…
1569 …d=this.getGraph().getModel(),e=0;e<a.length;e++){var f=this.getLayout(d.getParent(a[e]),mxEvent.RE…
1571 …hasLayout(a))for(var c=this.getGraph().getModel(),d=0;d<c.getChildCount(a);d++){var e=c.getChildAt…
1572 …odel();c.beginUpdate();try{for(var d=null,e=0;e<a.length;e++)a[e]!=c.getRoot()&&a[e]!=d&&(this.exe…
1574 …unction mxSwimlaneManager(a,b,c,d){this.horizontal=null!=b?b:!0;this.addEnabled=null!=c?c:!0;this.… argument
1579 …n(a){for(var b=this.getGraph().getModel(),c=b.getParent(a),d=b.getChildCount(c),e=null,f=0;f<d;f++…
1580 …+)if(!this.isSwimlaneIgnored(a[c])){var d=b.getGeometry(a[c]);if(null!=d){for(var e=new mxRectangl…
1582 …d){var e=this.getGraph().getModel();e.beginUpdate();try{var f=this.isCellHorizontal(a);if(!this.is… argument
1584 …d,e,f){b=null!=b?b:1;this.view=a;this.oldValidateCellState=a.validateCellState;this.oldBounds=a.ge… argument
1585 arguments);b.shape.paint=c});a.validateCellState=function(b,c){return null==b||null==d||d(b)?g.oldV…
1587 …,d,e){d=null!=d?d:!0;e=null!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f={point:new mxPoint(b,… argument
1589 …d=this.graph.getModel();if(d.isVertex(a.cell)){a.view.updateCellState(a);var e=d.getGeometry(a.cel…
1590 …d){if(null!=a){var e=this.graph.getModel();e.isEdge(a.cell)&&a.view.updateCellState(a);var f=this.… argument
1591 …d)}};mxCellStatePreview.prototype.addEdges=function(a){for(var b=this.graph.getModel(),c=b.getEdge… argument
1600 …d=this.graph.model.getParent(a);return b?(b=this.graph.model.isEdge(a)?null:this.graph.getCellGeom…
1601 …d=this.graph.view.getState(c.getParent(b.cell));null!=d&&!this.graph.isCellSelected(d.cell)&&(c.is…
1604 …d=c.getParent(a);null!=this.graph.view.getState(d)&&(c.isVertex(d)||c.isEdge(d)&&!this.graph.isTog…
1606 …getEvent());if(this.isMoveEnabled()){var d=this.graph.model,e=d.getGeometry(c);this.graph.isCellMo…
1607 null!=e.points&&0<e.points.length||null==d.getTerminal(c,!0)||null==d.getTerminal(c,!1)||this.graph…
1610 …h.getModel(),d=0;d<a.length;d++)if(c.isVertex(a[d])||c.isEdge(a[d])){var e=this.graph.view.getStat…
1612 …rototype.start=function(a,b,c,d){this.cell=a;this.first=mxUtils.convertPoint(this.graph.container,… argument
1614 …d=0;if(null!=c&&null==b.get(a)){b.put(a,c);d++;for(var c=this.graph.model.getChildCount(a),e=0;e<c…
1618 …==b.sourceState||c.isMouseDown||(d=c.getCursorForMouseEvent(b),null==d&&c.isEnabled()&&c.isCellMov…
1619 d&&null!=b.sourceState&&b.sourceState.setCursor(d));else if(mxEvent.isMultiTouchEvent(b.getEvent())…
1621 …d=this.guide.move(this.bounds,d,f,e),k=!1):d=this.graph.snapDelta(d,this.bounds,!f,!1,!1);null!=th…
1622 d.y=0:d.x=0);this.checkPreview();if(this.currentDx!=d.x||this.currentDy!=d.y)this.currentDx=d.x,thi…
1624 …ar c=[];null!=this.allCells&&this.allCells.visit(mxUtils.bind(this,function(d,e){var f=this.graph.… argument
1626 …d=this.graph.view.scale,e=0;e<c.length;e++){var f=c[e][0];if(this.graph.model.isEdge(f.cell)){var …
1631 …sible=b,c=0;c<a.length;c++){var d=this.graph.selectionCellsHandler.getHandler(a[c]);null!=d&&(d.se…
1632 …aph,d=b.getCell();if(this.connectOnDrop&&null==this.target&&null!=d&&c.getModel().isVertex(d)&&c.i…
1633 d,b.getEvent());else{var d=c.isCloneEvent(b.getEvent())&&c.isCellsCloneable()&&this.isCloneEnabled(…
1635 …d=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0);if(0!=d){b=Math.cos(-…
1636 …d,e,f){d&&(a=this.graph.getCloneableCells(a));var g=this.graph.getModel().getParent(this.cell);nul… argument
1637 …,d,e,f);b=[];for(l=0;l<g.length;l++)this.shouldRemoveParent(g[l])&&b.push(g[l]);this.graph.removeC…
1650 …var c=this.graph.getView().scale,d=this.graph.getView().translate;this.graph.panGraph(0,0);this.pa…
1657 …d=this.getCellForPopupEvent(b);this.graph.isEnabled()&&this.isSelectOnPopup(b)&&null!=d&&!this.gra…
1658 this.graph.tooltipHandler.hide();c(d);a&&b.consume()}this.inTolerance=this.popupTrigger=!1};mxPopup…
1659 …d){mxEventSource.call(this);null!=a&&(this.graph=a,this.validColor=null!=b?b:mxConstants.DEFAULT_V… argument
1662 …State=function(a,b,c){var d=null!=a?this.isValidState(a):!1;c=null!=c?c:this.getMarkerColor(b.getE…
1670 …ls(),!1),c=0;c<b.length;c++){var d=this.graph.view.getState(b[c]);if(null!=d){var e=a.remove(b[c])…
1671 …d=this.graph.view.getState(b[c]),null!=d&&(e=this.handlers.get(b[c]),null==e?(e=this.graph.createH…
1672 ….index,d=b.startX,e=b.startY;b.destroy();b=this.graph.createHandler(a);null!=b&&(this.handlers.put…
1678 …this.enabled=a};mxConnectionHandler.prototype.isInsertBefore=function(a,b,c,d,e){return this.inser… argument
1683 …llConnectable(c)){var d=this.graph.getModel().getParent(c);this.graph.getModel().isVertex(d)&&this…
1685 …dState.apply(a,arguments)});a.getMarkerColor=mxUtils.bind(this,function(b,c,d){return null==this.c… argument
1686 …onHandler.prototype.start=function(a,b,c,d){this.previous=a;this.first=new mxPoint(b,c);this.edgeS… argument
1688 …f(null!=b&&null!=a){this.iconState=a;var c=[],d=new mxRectangle(0,0,b.width,b.height),e=new mxImag…
1691 …d=b.getCenterX(),e=b.getCenterY();if(this.graph.isSwimlane(b.cell)){var f=this.graph.getStartSize(…
1696 …nt=function(a){var b=mxUtils.getOffset(this.graph.container),c=a.getEvent(),d=mxEvent.getClientX(c…
1697 …a.getEvent())&&null!=a.getState()||this.marker.highlight.isHighlightAt(d,c)||(f!=d||b!=c)&&null==a…
1704 …d=null!=this.sourceConstraint?this.first:new mxPoint(this.previous.getCenterX(),this.previous.getC…
1705 …d=c.scale,e=c.translate,c=new mxPoint(b.getGraphX(),b.getGraphY());this.error=null;this.graph.isGr…
1706 …ph.tolerance)&&this.updateCurrentState(b,c);if(null!=this.first){var f=null,d=c;null!=this.constra…
1707 d=this.constraintHandler.currentPoint.clone()):null!=this.previous&&mxEvent.isShiftDown(b.getEvent(…
1708 …g);this.selectedIcon.redraw()}null!=this.edgeState?(this.updateEdgeState(d,f),d=this.edgeState.abs…
1709 …d=g)),null==this.sourceConstraint&&null!=this.previous&&(g=this.getSourcePerimeterPoint(this.previ…
1710 …d.y-=4*g/k}else this.originalPoint=null;null==this.shape&&(f=Math.abs(b.getGraphX()-this.first.x),…
1712 …currentState&&null!=this.icons){c=!1;d=b.getSource();for(e=0;e<this.icons.length&&!c;e++)c=d==this…
1714 …;var c=null;if(null!=this.waypoints)for(var c=[],d=0;d<this.waypoints.length;d++){var e=this.waypo…
1715 this.convertWaypoint(e);c[d]=e}this.graph.view.updatePoints(this.edgeState,c,this.previous,this.cur…
1716 …d=a.view,e=d.getPerimeterFunction(a);if(null!=e){var f=null!=this.waypoints&&0<this.waypoints.leng…
1717 …d=a.view,e=d.getPerimeterFunction(a),f=new mxPoint(a.getCenterX(),a.getCenterY());if(null!=e){var …
1721 …{this.addWaypointForEvent(b);b.consume();return}var c=this.sourceConstraint,d=this.constraintHandl…
1722 null!=this.error||null!=e&&null!=f&&e==f&&!this.checkConstraints(c,d)?(null!=this.previous&&null!=t…
1726 …d){if(null!=b||this.isCreateTarget(c)||this.graph.allowDanglingEdges){var e=this.graph.getModel(),… argument
1727 l.x-=k.origin.x;l.y-=k.origin.y}}this.graph.addCell(b,d)}var m=this.graph.getDefaultParent();null!=…
1728 …is.edgeState.cell.geometry);m=e.getParent(a);if(this.isInsertBefore(g,a,b,c,d)){for(l=a;null!=l.pa…
1730 …(new mxEventObject(mxEvent.CONNECT,"cell",g,"terminal",b,"event",c,"target",d,"terminalInserted",f…
1731 …on(a,b,c,d,e,f){if(null==this.factoryMethod)return this.graph.insertEdge(a,b,c,d,e,f);b=this.creat… argument
1732 …arent(b),c=this.graph.getCellGeometry(b);var d=this.graph.cloneCell(b),c=this.graph.getModel().get…
1733 …x)<=g&&(c.x=Math.round(l));Math.abs(e-c.y)<=g&&(c.y=Math.round(e))}}}return d};mxConnectionHandler…
1734 …nction(a,b,c,d){var e=null;null!=this.factoryMethod&&(e=this.factoryMethod(b,c,d));null==e&&(e=new… argument
1742 …llConnectable(c)){var d=this.graph.getModel().getParent(c);this.graph.getModel().isVertex(d)&&this…
1743 …d){if(this.isEnabled()&&!this.isEventIgnored(a)){null==this.mouseleaveHandler&&null!=this.graph.co… argument
1744 d));this.isKeepFocusEvent(a)||null!=this.currentFocusArea&&null!=this.currentFocus&&null==k&&this.g…
1745 …getCenterY(),n=n*n+p*p;if((this.intersects(this.focusIcons[m],e,b,c)||null!=d&&this.intersects(thi…
1747 …ints[b]),d=this.getImageForConstraint(a,this.constraints[b],c),d=new mxRectangle(Math.round(c.x-d.…
1748 this.focusIcons[b].bounds=d;this.focusIcons[b].redraw();this.currentFocusArea.add(this.focusIcons[b…
1750 …d=this.graph.getConnectionPoint(b,this.constraints[c]),e=this.getImageForConstraint(b,this.constra…
1751 …urrentFocusArea.add(f.bounds);this.focusIcons.push(f);this.focusPoints.push(d)}this.currentFocusAr…
1752 …T_OPACITY;return a};mxConstraintHandler.prototype.intersects=function(a,b,c,d){return mxUtils.inte… argument
1757 …set(this.graph.container),d=mxUtils.getScrollOrigin(this.graph.container);d.x-=c.x;d.y-=c.y;this.s…
1758 …t(a);var b=mxUtils.convertPoint(d,a.getX(),a.getY());a.graphX=b.x;a.graphY=b.y;return a}this.first…
1759 …d=mxUtils.getOffset(this.graph.container);c.x-=d.x;c.y-=d.y;var d=b.getX()+c.x,c=b.getY()+c.y,e=th…
1765 …Handle(a,b,c,d){this.graph=a.view.graph;this.state=a;this.cursor=null!=b?b:this.cursor;this.image=… argument
1767 …d=-mxUtils.toRadians(this.getTotalRotation())-b,c=this.flipPoint(this.rotatePoint(this.snapPoint(t… variable
1788 …d){c=c||mxConstants.HANDLE_SIZE;c=new mxRectangle(0,0,c,c);d=this.createSizerShape(c,b,d);d.isHtml… argument
1789 …directMouseEvents(d.node,this.graph,this.state);this.graph.isEnabled()&&d.setCursor(a);this.isSize…
1792 …d=null!=b&&b.constructor!=mxImageShape&&this.allowHandleBoundsCheck?b.strokewidth+b.svgStrokeToler…
1793 d&&mxUtils.intersects(b.bounds,d)&&"none"!=b.node.style.display&&"hidden"!=b.node.style.visibility)…
1805 …te,d=this.graph.view.scale;this.graph.isGridEnabledEvent(a.getEvent())&&(b.x=(this.graph.snap(b.x/…
1806 …d=this.state.y+this.state.height/2-b.y;this.currentAlpha=0!=c?180*Math.atan(d/c)/Math.PI+90:0>d?18…
1808 …d=new mxPoint(a.getGraphX(),a.getGraphY()),e=this.graph.view.translate,f=this.graph.view.scale,g=M…
1809 …d=this.graph.getCellContainmentArea(this.state.cell),null!=d&&(l=this.graph.getOverlap(this.state.…
1810 l,d.height+=2*d.height*l),null==k?k=d:(k=mxRectangle.fromRectangle(k),k.intersect(d)))),null!=k&&(t…
1811 …ds.height-=this.unscaledBounds.y+this.unscaledBounds.height-k.y-k.height)));d=this.bounds;this.bou…
1813 …his.state.x-this.bounds.x+e,this.childOffsetY=this.state.y-this.bounds.y+g);d.equals(this.bounds)|…
1818 …d=this.index;this.index=null;null==this.ghostPreview&&(this.state.view.invalidate(this.state.cell,…
1819 d].execute(b);null!=this.customHandles&&null!=this.customHandles[mxEvent.CUSTOM_HANDLE-d]&&(this.st…
1820 …this.resizeCell(this.state.cell,this.roundLength(n/q),this.roundLength(p/q),d,g,this.isConstrained…
1821 …d=this.graph.getModel();if(d.isVertex(a)||d.isEdge(a)){if(!d.isEdge(a)){var e=(this.graph.getCurre…
1822 d.getChildCount(a),e=0;e<c;e++)this.rotateCell(d.getChildAt(a,e),b,a)}}}};
1826 …d,e,f,g){b=this.graph.model.getGeometry(a);null!=b&&(d==mxEvent.LABEL_HANDLE?(d=-mxUtils.toRadians… argument
1827 …d=this.graph.view.scale,0==this.childOffsetX&&0==this.childOffsetY||this.moveChildren(a,Math.round…
1828 …d,e,f,g,k,l){e=null!=e?e&&this.graph.gridEnabled:this.graph.gridEnabled;if(this.singleSizer)return… argument
1829 …d||5==d)p+=b,p=e?this.graph.snap(p/f)*f:Math.round(p/f)*f;else if(2==d||4==d||7==d)q+=b,q=e?this.g…
1830 …ath.max(0,this.x0*f-d.x)),d.height=Math.max(d.height,this.minBounds.y*f+this.minBounds.height*f+Ma…
1832 …th;c++){var d=this.customHandles[c].shape.node.style.display;this.customHandles[c].redraw();this.c…
1834 …+a.height;if(this.singleSizer)this.moveSizerTo(this.sizers[0],b,c);else{var d=a.x+a.width/2,e=a.y+…
1835 …zers[0],n.x,n.y);this.sizers[0].setCursor(f[mxUtils.mod(0+g,f.length)]);n.x=d;n.y=a.y;n=mxUtils.ge…
1837 …d;n.y=c;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[6],n.x,n.y);this.sizers[6]…
1838 this.state.width&&2<=this.state.height?this.moveSizerTo(this.sizers[0],d+this.state.absoluteOffset.…
1847 …it(),this.escapeHandler=mxUtils.bind(this,function(b,c){var d=null!=this.index;this.reset();d&&thi…
1861 …d=c==this.abspoints.length-1,e=0==c||d;(e||this.graph.isCellBendable(a))&&mxUtils.bind(this,functi…
1862 b.push(d);e||(this.points.push(new mxPoint(0,0)),d.node.style.visibility="hidden")})(c)}return b};m…
1863 …VisibleTerminalState(!1),d=this.graph.getCellGeometry(this.state.cell);return(null!=d?this.graph.v…
1867 …return f=c,!0}return!1},d=mxEvent.isMouseEvent(a.getEvent())?1:this.tolerance,e=this.allowHandleBo…
1868 d,a.getGraphY()-d,2*d,2*d):null,f=null;if(null!=this.customHandles&&this.isCustomHandleEvent(a))for…
1869 d)}return b};mxEdgeHandler.prototype.isAddVirtualBendEvent=function(a){return!0};mxEdgeHandler.prot…
1870 …null!=this.bends&&null!=this.bends[c]){var d=this.bends[c].bounds;this.snapPoint=new mxPoint(d.get…
1875 …d=new mxPoint(this.roundLength(a.getGraphX()/c)*c,this.roundLength(a.getGraphY()/c)*c),e=this.getS…
1876 …tEvent())&&(a=b.translate,f||(d.x=(this.graph.snap(d.x/c-a.x)+a.x)*c),g||(d.y=(this.graph.snap(d.y…
1880 …d=new mxPoint(a.x,a.y),e=null;if(this.isSource||this.isTarget)this.graph.resetEdgesOnConnect&&(c=n…
1882 …e(l-1,1),e=c)}}null==e&&this.index>mxEvent.VIRTUAL_HANDLE&&(c[this.index-1]=d)}return null!=e?e:c};
1883 …nt=function(a){var b=mxUtils.getOffset(this.graph.container),c=a.getEvent(),d=mxEvent.getClientX(c…
1884 …a.getEvent())&&null!=a.getState()||this.marker.highlight.isHighlightAt(d,c)||(f!=d||b!=c)&&null==a…
1885 …d,e){var f=this.isSource?c:this.state.getVisibleTerminalState(!0),g=this.isTarget?c:this.state.get… argument
1887 …r.highlight.shape.stroke=this.graph.isCellConnectable(d.getCell())&&this.marker.getValidState()!=d…
1892 …nt.clone();else if(this.outlineConnect){var d=this.isSource||this.isTarget?this.isOutlineConnectEv…
1893 …tPoint,null!=c?c.cell:null);this.updatePreviewState(e,this.currentPoint,c,b,d);this.setPreviewColo…
1895 …d=this.index;this.index=null;if(b.getX()!=this.startX||b.getY()!=this.startY){var e=!this.graph.is…
1896 d>mxEvent.VIRTUAL_HANDLE){if(null!=this.customHandles){var f=this.graph.getModel();f.beginUpdate();…
1897 …d&&this.marker.hasValidState()&&null!=this.marker.highlight&&null!=this.marker.highlight.shape&&"t…
1898 c=e}c=this.connect(c,d,this.isSource,e,b)}finally{f.endUpdate()}}else this.graph.isAllowDanglingEdg…
1902 …ale(),d=this.graph.getView().getTranslate();b&&(a.x=this.graph.snap(a.x),a.y=this.graph.snap(a.y))…
1903 mxEdgeHandler.prototype.moveLabel=function(a,b,c){var d=this.graph.getModel(),e=d.getGeometry(a.cel…
1904 …d.setGeometry(a.cell,e)}};mxEdgeHandler.prototype.connect=function(a,b,c,d,e){d=this.graph.getMode… argument
1905 …ler.prototype.changeTerminalPoint=function(a,b,c,d){var e=this.graph.getModel();e.beginUpdate();tr… argument
1906 …d=this.graph.getModel();d.beginUpdate();try{if(c){var e=d.getParent(a),f=d.getTerminal(a,!0),g=d.g…
1907 …er,mxEvent.getClientX(b),mxEvent.getClientY(b)),d=this.graph.isGridEnabledEvent(b);this.convertPoi…
1908 …d=this.graph.getCellGeometry(a.cell);b=new mxPoint(b,c);if(null!=d){var d=d.clone(),e=this.graph.v…
1910 …d=mxConstants.HANDLE_FILLCOLOR;null!=c&&!this.graph.isCellDisconnectable(b,c,a)||null==c&&!this.gr…
1913 …d=a.x,e=a.y,b=this.bends[0].bounds;this.bends[0].bounds=new mxRectangle(Math.floor(d-b.width/2),Ma…
1914 …ts[a+1]&&(d=this.abspoints[a+1],b=this.virtualBends[a],b.bounds=new mxRectangle(Math.floor(c.x+(d.…
1915 b.bounds.height),b.redraw(),mxUtils.setOpacity(b.node,this.virtualBendOpacity),c=d,this.manageLabel…
1918 …d=this.abspoints[c].x,e=this.abspoints[c].y,f=this.bends[c].bounds;this.bends[c].node.style.visibi…
1919 …h=mxConstants.HANDLE_SIZE+3,this.bends[c].bounds=new mxRectangle(Math.round(d-w/2),Math.round(e-h/…
1931 …d=this.graph.getView().getTranslate(),e=this.state.origin;b&&(a.x=this.graph.snap(a.x),a.y=this.gr…
1932 …d=this.state.absolutePoints,e=null;1<d.length?(a=d[1],b=d[d.length-2]):null!=c.points&&0<c.points.…
1933 d=d.height;c=new mxRectangle(Math.round(e.x-c/2),Math.round(e.y-d/2),c,d);this.manageLabelHandle?th…
1936 …d=[],e=1;e<b.length;e++){var f=this.convertPoint(b[e].clone(),!1);e==this.index&&(0==Math.round(c.…
1937 …w.getTranslate(),e=d[0].x*f+g.x,f=d[0].y*f+g.y;if(null!=b&&mxUtils.contains(b,e,f)||null!=c&&mxUti…
1938 mxEdgeSegmentHandler.prototype.updatePreviewState=function(a,b,c,d){mxEdgeHandler.prototype.updateP… argument
1941 mxEdgeSegmentHandler.prototype.connect=function(a,b,c,d,e){var f=this.graph.getModel(),g=f.getGeome… argument
1943 …d=0;d<c.length-1;d++){b=this.createVirtualBend();a.push(b);var e=0==Math.round(c[d].x-c[d+1].x);0=…
1945 …nts();if(null!=c&&1<c.length){var d=!1;if(4==c.length&&0==Math.round(c[1].x-c[2].x)&&0==Math.round…
1946 …raw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[e+1].bounds)}d&&(mxUtils.setOpacity…
1957 …bled()&&null!=c&&(null==this.div||"hidden"==this.div.style.visibility)){var d=a.getSource(),e=a.ge…
1958 this.graph.getTooltip(c,d,e,f);this.show(a,e,f);this.state=c;this.node=d;this.stateSource=g}}),this…
1959 … d=mxUtils.getScrollOrigin();this.div.style.zIndex=this.zIndex;this.div.style.left=b+d.x+"px";this…
1962 …d){null!=a&&(this.graph=a,this.highlightColor=null!=b?b:mxConstants.DEFAULT_VALID_COLOR,this.strok… argument
1969 …!=document.elementFromPoint)for(var d=document.elementFromPoint(a,b);null!=d;){if(d==this.shape.no…
1970 …ecs[b];if(null==b)try{b=new mxObjectCodec(new a),mxCodecRegistry.register(b)}catch(d){}}return b}};
1975 …d){}c=mxCodecRegistry.getCodec(c);null!=c?c=c.decode(this,a,b):(c=a.cloneNode(!0),c.removeAttribut…
1976 …if(!this.isCellCodec(c))for(var d=a.firstChild;null!=d&&!this.isCellCodec(c);)c=mxCodecRegistry.ge…
1977 …d=a.getTerminal(!1);a.setTerminal(null,!1);a.setTerminal(null,!0);a.parent=null;if(null!=b){if(b==…
1978 function mxObjectCodec(a,b,c,d){this.template=a;this.exclude=null!=b?b:[];this.idrefs=null!=c?c:[];… argument
1979 …;null!=b&&(a=b)}return a};mxObjectCodec.prototype.isExcluded=function(a,b,c,d){return b==mxObjectI… argument
1980 …d){return 0<=mxUtils.indexOf(this.idrefs,b)};mxObjectCodec.prototype.encode=function(a,b){var c=a.… argument
1981 …d,e){if(null!=d){if(this.isReference(b,c,d,!0)){var f=a.getId(d);if(null==f){mxLog.warn("mxObjectC… argument
1982 …d,e){d=this.convertAttributeToXml(a,b,c,d,e);null==c?(b=a.document.createElement("add"),"function"… argument
1983 …d,e){a=a.encode(d);null!=a?(null!=c&&a.setAttribute("as",c),e.appendChild(a)):mxLog.warn("mxObject… argument
1984 …romXml=function(a,b,c){var d=b.value;this.isNumericAttribute(a,b,c)&&(d=parseFloat(d),isNaN(d)||!i…
1985 ….decode=function(a,b,c){var d=b.getAttribute("id"),e=a.objects[d];null==e&&(e=c||this.cloneTemplat…
1986 …tes=function(a,b,c){b=b.attributes;if(null!=b)for(var d=0;d<b.length;d++)this.decodeAttribute(a,b[…
1987 …d=b.nodeName;b=this.convertAttributeFromXml(a,b,c);var e=this.getFieldName(d);if(this.isReference(…
1988 …Child;null!=b;){var d=b.nextSibling;b.nodeType!=mxConstants.NODETYPE_ELEMENT||this.processInclude(…
1989 …d=this.getFieldName(b.getAttribute("as"));if(null==d||!this.isExcluded(c,d,b,!1)){var e=this.getFi…
1990 …d){null!=c&&c!=d&&(null!=b&&0<b.length?a[b]=c:a.push(c))};mxObjectCodec.prototype.processInclude=f… argument
1992 …d){return"value"!==c.nodeName&&mxObjectCodec.prototype.isNumericAttribute.apply(this,arguments)};a… argument
1993 …d;d=mxUtils.importNode(a.document,c.value,!0);d.appendChild(b);a=b.getAttribute("id");d.setAttribu… argument
1994 …d.setId(c),d.value.removeAttribute("id"))):d.setId(c.getAttribute("id"));if(null!=b)for(c=0;c<this…
1995 …d){var b=a.document.createElement("root");a.encodeCell(c.getRoot(),b);d.appendChild(b)};a.decodeCh… argument
1996 …d){a.encodeCell(c.root,d);return d};a.beforeDecode=function(a,c,d){if(null!=c.firstChild&&c.firstC… argument
1997 d){d.previous=d.root;return d};return a}());
1998 …d,e){return"child"!=c||e&&!a.model.contains(a.previous)?0<=mxUtils.indexOf(this.idrefs,c):!0};a.is… argument
1999 …d);return d};a.beforeDecode=function(a,c,d){if(null!=c.firstChild&&c.firstChild.nodeType==mxConsta…
2000 …d){null!=d.child&&(null!=d.child.parent&&null!=d.previous&&d.child.parent!=d.previous&&(d.previous…
2003 …d){var b=c.graph.getModel(),f=c.getState(d),g=b.getParent(d);if(null==g||null!=f){var k=b.getChild… argument
2004 (n.setAttribute("label",c.graph.getLabel(d)),c.graph.isHtmlLabel(d)&&n.setAttribute("html",!0));if(…
2006 0;p<k;p++)f=this.encodeCell(a,c,b.getChildAt(d,p)),null!=f&&n.appendChild(f)}}return n};return a}()…
2008 …d){d=d||new this.template.constructor;var b=c.getAttribute("id");null!=b&&(a.objects[b]=d);for(c=c… argument
2009 …else"remove"==f.nodeName&&delete g[k]}f=f.nextSibling}d.putCellStyle(b,g)}c=c.nextSibling}return d…
2018 …+b])a["on"+b]()},getElementPos:function(a){var b=a,c=0,d=0;if(b.offsetParent){do c+=b.offsetLeft,d…
2019 "BODY"!==a.nodeName.toUpperCase();)c-=a.scrollLeft,d-=a.scrollTop;return[c,d]},getElementSize:funct…
2024 …ction c(a,b,c){if(null===a)return[c,c,c];var d=Math.floor(a),e=c*(1-b);a=c*(1-b*(d%2?a-d:1-(a-d)))…
2025 …d(b,c){if(!mxJSColor.picker){mxJSColor.picker={box:document.createElement("div"),boxB:document.cre… function
2026 0;d<mxJSColor.images.sld[1];d+=4){var k=document.createElement("div");k.style.height="4px";k.style.…
2028 …)};l.sldM.onmousedown=function(a){B=!0;n(a);p()};d=e(r);l.box.style.width=d[0]+"px";l.box.style.he…
2035 …sld.childNodes;switch(t){case 0:for(var b=c(r.hsv[0],r.hsv[1],1),d=0;d<a.length;d+=1)a[d].style.ba…
2036 …d/a.length)*100+"%,"+b[1]*(1-d/a.length)*100+"%,"+b[2]*(1-d/a.length)*100+"%)";break;case 1:var e,…
2040 …ViewPos(),mxJSColor.getViewSize(),e(this),this.pickerPosition.toLowerCase(),d(0,0))};this.importCo…
2042 …d,e){0>a&&(a=0);6<a&&(a=6);0>b&&(b=0);1<b&&(b=1);0>d&&(d=0);1<d&&(d=1);this.rgb=c(null===a?this.hs… argument
2043 d);this.exportColor(e)};this.fromRGB=function(a,b,c,d){0>a&&(a=0);1<a&&(a=1);0>b&&(b=0);1<b&&(b=1);… argument
2047 …tion(a,b,d,e,c){mxEventSource.call(this);this.chromeless=null!=a?a:this.chromeless;this.initStenci… argument
2048 …s.status};this.graphChangeListener=function(a,b){var d=null!=b?b.getProperty("edit"):null;null!=d&…
2084 …d=null!=b?"?title="+encodeURIComponent(b):"";null!=urlParams.ui&&(d+=(0<d.length?"&":"?")+"ui="+ur…
2085 …d)+"#R"+encodeURIComponent(a))};Editor.prototype.createGraph=function(a,b){var d=new Graph(null,b,…
2090 …tribute("pageWidth")),d=parseFloat(a.getAttribute("pageHeight"));isNaN(b)||isNaN(d)||(this.graph.p…
2091 …root"==a.nodeName){this.resetGraph();var d=b.document.createElement("mxGraphModel");d.appendChild(…
2097 …d){b.undoableEditHappened(d.getProperty("edit"))};var d=mxUtils.bind(this,function(a,b){this.undoL… method in AnonymousFunction9bd35d6b24100
2098 …sh(c[h]);a.setSelectionCells(e)}};b.addListener(mxEvent.UNDO,d);b.addListener(mxEvent.REDO,d);retu…
2100 …d,e,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?… argument
2102 …ateDiv(g?"geTransDialog":"geDialog");c=this.getPosition(w,x,d,e);w=c.x;x=c.y;z.style.width=d+"px";…
2103 …("close")),f.className="geDialogClose",f.style.top=x+14+"px",f.style.left=w+d+38-n+"px",f.style.zI…
2104 …d=c.w,q=e=c.h)}c=mxUtils.getDocumentSize();t=c.height;this.bg.style.height=t+"px";Editor.inlineFul…
2105 ….dialogImg&&(this.dialogImg.style.top=x+14+"px",this.dialogImg.style.left=w+d+38-n+"px")});mxEvent…
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 …d;n.appendChild(b);d=document.createElement("div");d.style.marginTop="12px";d.style.textAlign="cen…
2112 …d.appendChild(q);null!=k&&(e=mxUtils.button(k,function(){g&&a.hideDialog();null!=h&&h()}),e.classN…
2113 …d.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,f=1/d.pageScale;if(b){var g=h.checked?1:parseInt…
2114 b=!0;b=PrintDialog.createPrintPreview(d,f,e,0,g,k,b);b.open();a&&PrintDialog.printPreview(b)}var d=…
2119 ….wnd.focus();a.wnd.print();a.wnd.close()};mxClient.IS_GC?window.setTimeout(b,500):b()}}catch(d){}};
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 …Image+"')"):(l.style.backgroundColor=m,l.style.backgroundImage="")}function d(){var b=u;null!=b&&G… function
2125 "click",function(d){a.pickColor(m||"none",function(a){m=a;b()});mxEvent.consume(d)});f.appendChild(… argument
2127 …ialog(function(a,b){b||(u=a,d())},u);mxEvent.consume(b)};mxEvent.addListener(p,"click",v);mxEvent.…
2130 …d,e){function c(a,b,c){if(c||n!=document.activeElement&&p!=document.activeElement){a=!1;for(b=0;b<… argument
2131 d.height==c.format.height?(h.value=c.key,f.setAttribute("checked","checked"),f.defaultChecked=!0,f.…
2135 …d,E=function(a,b){var c=q[h.value];null!=c.format?(n.value=c.format.width/100,p.value=c.format.hei…
2137 …hange",function(a){x="custom"==h.value;E(a,!0)});E();return{set:function(a){d=a;c(null,null,!0)},g…
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 ….marginLeft="4px";t.style.width=null!=n?n+"px":"180px";var w=mxUtils.button(d,function(){if(null==…
2148 …d){var e=document.createElement("img");e.style.backgroundPosition="center bottom";e.style.backgrou… argument
2149 d[a].ext.length-1)=="."+d[a].ext){e.setAttribute("title",mxResources.get(d[a].title));break}};mxEve…
2151 …d){var e=document.createElement("select");for(a=0;a<d.length;a++){var c=document.createElement("op… argument
2152 …hange")});a=function(a){a=b.value.toLowerCase();for(var c=0,f=0;f<d.length;f++){var g=d[f].extensi…
2156 …d="none",e="";if(a.isGridEnabled()||a.gridVisible){e=10;mxClient.IS_SVG?(d=unescape(encodeURICompo…
2157 ….backgroundPosition=e,a.view.backgroundPageShape.node.style.backgroundImage=d,a.view.backgroundPag…
2158 …d)};mxGraphView.prototype.createSvgGrid=function(a){for(var b=this.graph.gridSize*this.scale;b<thi…
2159 …grid" width="'+c+'" height="'+c+'" patternUnits="userSpaceOnUse"><path d="'+d.join(" ")+'" fill="n…
2160 …d=this.view.canvas;null!=d.ownerSVGElement&&(d=d.ownerSVGElement);var e=this.gridSize*this.view.sc…
2161 …d*e.x,d*e.y,f.width*g,f.height*g),v=(a=a&&Math.min(h.width,h.height)>this.minPageBreakDist)?Math.c…
2162 …d,a[c].redraw()):(d=new mxPolyline(d,this.pageBreakColor),d.dialect=this.dialect,d.isDashed=this.p…
2163 …d){for(var e=0;e<c.length;e++){if(this.graph.isTableCell(c[e])||this.graph.isTableRow(c[e]))return… argument
2164 d.apply(this,arguments);a.intersects=mxUtils.bind(this,function(b,c){return this.isConnecting()?!0:…
2165 …d.width*e,d=d.height*e,e=Math.floor(Math.min(0,b)/f),p=Math.floor(Math.min(0,c)/d);return new mxRe…
2166 … c=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(a,b,d,e,f,n){var g=c.apply… argument
2167 …d,e=this.graph.model.getParent(a);if(b)d=this.graph.model.isEdge(a)?null:this.graph.getCellGeometr…
2168 …d};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(a){a=a.getCell();for(var b=this.grap… argument
2171 …te(a);if(null!=b){var c=a.clone();c.style="";var d=e.getCellStyle(c);a=[];var c=[],f;for(f in b.st…
2172 d[f]&&"none"==l&&(a.push(l),c.push(f))}}e.getModel().isEdge(b.cell)?e.currentEdgeStyle={}:e.current…
2173 …alAlign"],["opacity"],["html"]];for(b=0;b<m.length;b++)for(d=0;d<m[b].length;d++)f.push(m[b][d]);f…
2174 mxUtils.indexOf(f,k[b])&&f.push(k[b]);var n=function(a,b,c,d,g,k,l){d=null!=d?d:e.currentVertexStyl… argument
2175 …r x=mxUtils.indexOf(q,E[z]);0<=x&&q.splice(x,1)}}}}}var O=c.isEdge(p);l=O?g:d;for(var K=c.getStyle…
2183 …C)this.toolbar.createTextToolbar();else{for(var d=0;d<C.length;d++)this.toolbar.container.appendCh…
2187 d=!1,h=!1;if(0<c.length)for(var m=0;m<c.length&&(d=e.getModel().isVertex(c[m])||d,!(h=e.getModel().…
2188 e.currentVertexStyle[c[m]]=n[m]);else if(0<=mxUtils.indexOf(f,c[m])){if(d||p)null==n[m]?delete e.cu…
2193 …rty("cells"),d=b.getProperty("parent");null!=d&&e.getModel().isLayer(d)&&!e.isCellVisible(d)&&null…
2198 ….bind(this,function(){this.updateActionStates()}));var b=a.setDefaultParent,d=this;this.editor.gra…
2199 arguments);d.updateActionStates()};a.editLink=d.actions.get("editLink").funct;this.updateActionStat…
2200 …d=mxUtils.bind(this,function(){b.hideShapePicker(!0)});a.addListener("wheel",d);a.addListener(mxEv…
2201 d);var e=a.popupMenuHandler.isMenuShowing;a.popupMenuHandler.isMenuShowing=function(){return e.appl… argument
2202 …d);var f=this.hoverIcons.drag;this.hoverIcons.drag=function(){b.hideShapePicker();f.apply(this,arg… argument
2203 …d)}),30)}),mxUtils.bind(this,function(a){this.graph.selectCellsForConnectVertex(a,f,this)}))};var … argument
2204 …d.getProperty("arrow"),e=d.getProperty("direction"),f=d.getProperty("event"),c=c.getBoundingClient… argument
2206 …d,e,c){if(c==mxConstants.DIRECTION_EAST||c==mxConstants.DIRECTION_WEST)a.style.width="40px";var f=… argument
2207 …function(a,b,d,e,c,f){a=this.createShapePicker(a,b,d,e,c,mxUtils.bind(this,function(){this.hideSha… argument
2208 …d,e,c,f,k,h){var g=null;if(null!=k&&0<k.length){var l=this,m=this.editor.graph,g=document.createEl… argument
2209 …d=mxUtils.bind(this,function(c){var d=document.createElement("a");d.className="geItem";d.style.css…
2210 …d,null,!0,!1,c.geometry.width,c.geometry.height);mxEvent.addListener(d,"click",function(){var d=m.…
2211 …d);m.startEditingAtCell(d);null!=l.hoverIcons&&l.hoverIcons.update(m.view.getState(d))}null!=f&&f(…
2212 …d=mxUtils.bind(this,function(a,b,d,k){return this.editor.graph.createVertex(null,null,k||"",0,0,b|… argument
2213 d("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;"),d("sh…
2214 …d("shape=tape;whiteSpace=wrap;html=1;",120,100),d("ellipse;shape=cloud;whiteSpace=wrap;html=1;",12…
2216 …ng(!1):b.cellEditor.insertTab(b.cellEditor.isContentEditing()?null:4)}catch(d){}else mxEvent.isAlt…
2220 …d,e){return"flexArrow"==b?null!=d&&d!=mxConstants.NONE?"geSprite geSprite-"+a+"blocktrans":"geSpri… argument
2221 …d==mxConstants.ARROW_OPEN_THIN?"geSprite geSprite-"+a+"openthin":d==mxConstants.ARROW_BLOCK?"1"==e…
2222 d==mxConstants.ARROW_DIAMOND_THIN?"1"==e?"geSprite geSprite-"+a+"thindiamond":"geSprite geSprite-"+…
2223 d?"geSprite geSprite-"+a+"eronetoone":"ERmany"==d?"geSprite geSprite-"+a+"ermany":"ERoneToMany"==d?…
2224 …d=this.actions.get("pasteHere");b.setEnabled(this.editor.graph.cellEditor.isContentEditing()||(!mx…
2225 …=b.getExportableCells(b.model.getTopmostCells(c)),d={},e=b.createCellLookup(c),f=b.cloneCells(c,nu…
2226 …Links(b.createCellMapping(d,e),f);mxClipboard.insertCount=1;mxClipboard.setCells(f)}a.updatePasteA…
2227 …d.apply(this,arguments);a.updatePasteActionStates();return c};var e=this.editor.graph.cellEditor.s… argument
2230 …,d=this;if(this.editor.isChromelessView()){this.chromelessResize=b=mxUtils.bind(this,function(b,c,… argument
2232 …*b/h,a.container.scrollLeft=l*b/h;else if(0!=d||0!=e)f=a.view.translate,a.view.setTranslate(Math.f…
2235 …0,f=mxUtils.bind(this,function(a,b,c){k++;var d=document.createElement("span");d.style.paddingLeft…
2236 …d.style.cursor="pointer";mxEvent.addListener(d,"click",a);null!=c&&d.setAttribute("title",c);a=doc…
2249 …artX-c.getGraphX())<z&&Math.abs(this.startY-c.getGraphY())<z&&(0<parseFloat(d.chromelessToolbar.st…
2250 …ollbars(this.container)){var b=this.getPageLayout(),c=this.getPagePadding(),d=this.getPageSize(),e…
2251 …d.width),f=Math.ceil(2*c.y+b.height*d.height),g=a.minimumGraphSize;if(null==g||g.width!=e||g.heigh…
2252 d)*a.view.scale),this.autoTranslate=!1)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds"…
2254 …tiveZoomFactor);a.view.scale!=f&&(null!=L&&(g+=c.x-L.x,k+=c.y-L.y),null!=b&&d.chromelessResize(!1,…
2255 R);a.cumulativeZoomFactor=1;R=M=I=L=y=null}),null!=c?c:a.isFastZoomEnabled()?d.wheelZoomDelay:d.laz…
2259 …d.hoverIcons&&d.hoverIcons.reset()}K(e)}};mxEvent.addGestureListeners(a.container,function(a){null… argument
2260 …d&&a.isScrollWheelEvent(b))d=a.view.getTranslate(),e=40/a.view.scale,mxEvent.isShiftDown(b)?a.view…
2263 …ar b=urlParams.border,d=60;null!=b&&(d=parseInt(b));this.editor.graph.maxFitScale=this.lightboxMax…
2265 ….setConsumer(mxUtils.bind(this,function(a,b){try{var d=mxUtils.parseXml(a);this.editor.setGraphXml…
2266 …d,e){this.editor.graph.popupMenuHandler.hideMenu();var c=new mxPopupMenu(a);c.div.className+=" geM… argument
2268 …(a.stopEditing(!0),this.editor.undoManager.undo())}else this.editor.undoManager.undo()}catch(d){}};
2269 ….location.pathname;var b=0<a.indexOf("?")?1:0,d;for(d in urlParams)a=0==b?a+"?":a+"&",a+=d+"="+url…
2270 …function(a){var b=this.editor.graph,d=b.container.style.overflow;b.scrollbars=a;this.editor.update…
2272 …y+b.height-a.container.clientHeight,b.y-10)))}else{var b=a.getGraphBounds(),d=Math.max(b.width,a.s…
2273 …d)/2)))}else{var b=mxRectangle.fromRectangle(a.pageVisible?a.view.getBackgroundPageBounds():a.getG…
2274 …d=mxUtils.hasScrollbars(b.container),e=0,c=0;d&&(e=b.view.translate.x*b.view.scale-b.container.scr…
2276 function ChangePageSetup(a,b,d,e,c){this.ui=a;this.previousColor=this.color=b;this.previousImage=th… argument
2277 …d=this.previousImage;null!=d&&null!=d.src&&"data:page/id,"==d.src.substring(0,13)&&(d=this.ui.crea…
2279 …viousImage","previousFormat","previousPageScale"]);a.afterDecode=function(a,d,e){e.previousColor=e…
2283 …d=this.editor.undoManager,e=mxUtils.bind(this,function(){a.setEnabled(this.canUndo());b.setEnabled…
2285 …d=!1,e=!1,c=!1,f=[],k=a.getSelectionCells();if(null!=k)for(var h=0;h<k.length;h++){var g=k[h];a.is…
2287 …a.isContainer(a.getSelectionCell()));this.actions.get("ungroup").setEnabled(d);this.actions.get("r…
2288 …);d=1==a.getSelectionCount()&&a.isCellFoldable(a.getSelectionCell());this.actions.get("expand").se…
2291 …clientWidth,d=this.container.clientHeight;this.container==document.body&&(b=document.body.clientWi…
2292 …his.sidebarFooterContainer){var k=this.footerHeight+e,f=Math.max(0,Math.min(d-b-k,this.sidebarFoot…
2293 …d=null!=this.format?this.formatWidth:0;this.sidebarContainer.style.top=b+"px";this.sidebarContaine…
2295 …his.diagramContainer.style.top=b+k.y+"px",this.diagramContainer.style.right=d+"px",this.diagramCon…
2304 …d,e){function c(a){if(null!=k){var c=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a));e(Ma… argument
2305 …Utils.bind(this,function(a){if(!g&&this.hsplitClickEnabled){var b=null!=l?l-d:0;l=m();e(b);mxEvent…
2306 …d,e,c){a=null!=a&&null!=a.error?a.error:a;if(null!=a||null!=b){c=mxUtils.htmlEntities(mxResources.… argument
2307 …d,e,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.c… argument
2308 …,d){null!=this.dialogs&&0<this.dialogs.length&&(null==d||d==this.dialog.container.firstChild)&&(d=… argument
2309 …electionCells(),d=new mxDictionary,e=[],c=0;c<b.length;c++){var f=a.isTableCell(b[c])?a.model.getP…
2310 …d=this.editor.graph,e=d.cellEditor.saveSelection(),c=230+17*(Math.ceil(ColorDialog.prototype.prese…
2312 …a){var b=null;try{var d=a.indexOf("<mxGraphModel ");if(0<=d){var e=a.lastIndexOf("</mxGraphM…
2313 …e(mxUtils.bind(this,function(b){if(null!=b){var d=decodeURIComponent(b);this.isCompatibleString(d)…
2314 …d){if(null!=d&&0<d.length&&"html"==b&&0<=mxUtils.indexOf(d[0].types,"text/html"))d[0].getType("tex… argument
2315 …d.length-3&&(d=d.substring(0,e+3))}catch(m){}try{var g=c.getElementsByTagName("span"),l=null!=g&&0…
2317 …var b=null;if(null!=a&&0<a.length){var d="<meta "==a.substring(0,6),b=document.createElement("div"…
2318 …d=d&&null!=b.firstChild?b.firstChild.nextSibling:b.firstChild;null!=d&&null==d.nextSibling&&d.node…
2319 …d=this.extractGraphModelFromPng(a),null!=d&&0<d.length&&(a=d)),mxUtils.setTextContent(b,a),asHtml=…
2321 …d=null;null!=a&&(a=null!=a.dataTransfer?a.dataTransfer:a.clipboardData,null!=a&&(10==document.docu…
2322 (b=d);return b};EditorUi.prototype.isCompatibleString=function(a){return!1};EditorUi.prototype.save…
2324 …setModified(!1);this.editor.setFilename(a);this.updateDocumentTitle()}catch(d){this.editor.setStat…
2325 …d){var e=this.editor.graph;if(e.isEnabled()){e.getModel().beginUpdate();try{a()}catch(c){throw c;}… argument
2326 …d,e){e=this.editor.graph.cellEditor;var c=e.saveSelection(),f=mxUtils.prompt(a,b);e.restoreSelecti… argument
2328 …d=mxUtils.prompt(mxResources.get("backgroundImage"),null!=b?b.src:"");null!=d&&0<d.length?(b=new I…
2329 …geChanged"))};EditorUi.prototype.confirm=function(a,b,d){mxUtils.confirm(a)?null!=b&&b():null!=d&&… argument
2331 …d=e.getSelectionCells();for(c=0;c<d.length;c++)if(e.getModel().isVertex(d[c])&&e.isCellResizable(d…
2332 …d),g=e.getView().scale;c=null;1==e.getSelectionCount()&&e.model.isVertex(d)&&null!=e.layoutManager…
2333 d=-b:38==a?f=-b:39==a?d=b:40==a&&(f=b),h.currentDx+=d*g,h.currentDy+=f*g,h.checkPreview(),h.updateP…
2334 …xEvent.isConsumed(a)&&this.isGraphEvent(a)&&this.isEnabled()&&(null==d.dialogs||0==d.dialogs.lengt…
2335 ….isEnabled()){if(mxEvent.isShiftDown(a)&&mxEvent.isAltDown(a)){var c=d.actions.get(d.altShiftActio…
2336 …ell(b[b.length-1]),e.scrollCellToVisible(e.getSelectionCell()),null!=d.hoverIcons&&d.hoverIcons.up…
2337 …d,e){var f=this.actions.get(d);null!=f&&(d=function(){f.isEnabled()&&f.funct()},b?e?c.bindControlS… argument
2359 …d=b.height+2*this.tooltipBorder;return new mxPoint(this.container.offsetWidth+this.editorUi.splitS…
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 …;this.graph2.view.scale=!h&&(d>this.maxTooltipWidth||e>this.maxTooltipHeight)?Math.round(100*Math.…
2364 …t.NO_FO=f;m=this.graph2.getGraphBounds();h&&0<d&&0<e&&(m.width>d||m.height>e)?(d=Math.round(100*Ma…
2365 …d+")",this.graph2.view.getDrawPane().ownerSVGElement.style.transformOrigin="0 0",m.width*=d,m.heig…
2366 …mxUtils.write(this.tooltipTitle,c),h=Math.min(this.maxTooltipWidth,Math.max(d,this.tooltipTitle.sc…
2367 …d&&(this.tooltip.style.width=h+"px");this.tooltip.style.height=e+"px";c=-Math.round(m.x-this.toolt…
2368 …+","+d+")"):this.graph2.view.canvas.removeAttribute("transform"):(this.graph2.view.drawPane.style.…
2369 …d,e,c,f){if(this.enableTooltips&&this.showTooltips&&this.currentElt!=a){null!=this.thread&&(window… argument
2370 …dDataEntry=function(a,b,d,e,c){return this.addEntry(a,mxUtils.bind(this,function(){return this.cre… argument
2373 …d=a.toLowerCase().replace(/[\/\,\(\)]/g," ").split(" "),e=[],c={},f=0;f<d.length;f++){null==c[d[f]…
2374 …ction(a,b){if(null!=a&&1<a.length){var d=this.taglist[a];"object"!==typeof d&&(d={entries:[]},this…
2375 …d,e,c){if(null!=this.taglist&&null!=a){var f=a.toLowerCase().split(" ");c=new mxDictionary;var k=(… argument
2376 …d={},e=0;e<a.length;e++)null==d[a[e]]&&(d[a[e]]="1",b.push(a[e]));return b.join(" ")}return null};… argument
2377 …d=document.createElement("div");d.className="geSidebar";d.style.boxSizing="border-box";d.style.ove…
2379 …d="url('"+this.editorUi.editor.transparentImage+"')";var k;e.appendChild(f);d.appendChild(e);var h…
2380 ….appendChild(g);d.appendChild(h);var l="",m=!1,n=!1,p=0,q={},u=12,v=mxUtils.bind(this,function(){m…
2381 …(b,c,e,f){if(this.currentSearch==a){b=null!=b?b:[];m=!1;p++;this.insertSearchHint(d,l,u,p,b,c,e,f);
2382 …rHTML]?(q[b.innerHTML]=null!=a.parentLibraries?a.parentLibraries.slice():[],d.appendChild(b)):null…
2383 …TML=mxResources.get("reset"),g.style.display="none",n=!0);g.style.cursor="";d.appendChild(h)}}),mx…
2385 a.stopPropagation();a.cancelBubble=!0});a=document.createElement("div");a.appendChild(d);this.conta…
2386 …d,e,c,f,k,h){0==c.length&&1==e&&(d=document.createElement("div"),d.className="geTitle",d.style.css… argument
2387 …d=parseInt(this.editorUi.editor.graph.defaultVertexStyle.fontSize),d=isNaN(d)?"":"fontSize="+Math.…
2405 …;this.addPaletteFunctions("general",mxResources.get("general"),null!=a?a:!0,d);this.setCurrentSear…
2406 …ction(a){var b=this;this.setCurrentSearchEntryLibrary("general","misc");var d=[this.createVertexTe…
2429 …cal")];this.addPaletteFunctions("misc",mxResources.get("misc"),null!=a?a:!0,d);this.setCurrentSear…
2440 …d=new mxCell("List",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;hori…
2441 d.insert(a.cloneCell(b,"Item 3"));return a.createVertexTemplateFromCells([d],d.geometry.width,d.geo…
2449 …d=new mxCell("List",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;hori…
2450 d.insert(a.cloneCell(b,"Item 3"));return a.createVertexTemplateFromCells([d],d.geometry.width,d.geo…
2453 …d=new mxCell("+ field: type",new mxGeometry(0,0,100,26),"text;strokeColor=none;fillColor=none;alig…
2455 a.vertex=!0;a.insert(d.clone());a.insert(e.clone());a.insert(b.cloneCell(d,"+ method(type): type"))…
2456 …d.clone());a.insert(d.clone());a.insert(d.clone());return b.createVertexTemplateFromCells([a],a.ge…
2457 new mxGeometry(0,0,120,d.geometry.height),"label;fontStyle=0;strokeColor=none;fillColor=none;align=…
2475 …d=new mxCell("yes",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;vertic…
2481 …d=new mxCell("return",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;…
2482 c,d],10,80,"Synchronous Invocation")}),this.addEntry("uml sequence self call recursion delegation a…
2495 …d,e,c,f,k){this.graph.labelsVisible=null==f||f;f=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.or… argument
2496 …+"px";h.style.top=this.thumbBorder+"px";h.style.width=b+"px";h.style.height=d+"px";h.style.visibil…
2499 Sidebar.prototype.createItem=function(a,b,d,e,c,f,k,h){h=null!=h?h:!0;var g=document.createElement(… argument
2500 !0,!0);this.createThumb(l,this.thumbWidth,this.thumbHeight,g,b,d,e,c,f);var m=new mxRectangle(0,0,c…
2501 …(this,function(c){mxEvent.isMouseEvent(c)&&this.showTooltip(g,a,m.width,m.height,b,d)}));return g};
2502 …updateShapes=function(a,b){var d=this.editorUi.editor.graph,e=d.getCellStyle(a),c=[];d.model.begin…
2503 …d.getModel().isVertex(g)==d.getModel().isVertex(a)||d.getModel().isEdge(g)==d.getModel().isEdge(a)…
2504 …g]));for(m=0;m<k.length;m++){var n=l[k[m]];null!=n&&d.setCellStyles(k[m],n,[g])}c.push(g)}}}finall…
2505 Sidebar.prototype.createDropHandler=function(a,b,d,e){d=null!=d?d:!0;return mxUtils.bind(this,funct… argument
2506 ….translate,q=(h+p.x)*n,u=(g+p.y)*n,k=0;k<m.length;k++)t.moveCell(m[k],q,u)}!d||null!=f&&mxEvent.is…
2508 …ew=function(a,b){var d=document.createElement("div");d.className="geDragPreview";d.style.width=a+"…
2509 Sidebar.prototype.dropAndConnect=function(a,b,d,e,c){var f=this.getDropAndConnectGeometry(a,b[e],d,… argument
2511 0),f.y-(w?u:0),w?n:null);if(h.model.isEdge(a))h.model.setTerminal(a,b[e],d==mxConstants.DIRECTION_N…
2513 …d,e){var c=this.editorUi.editor.graph,f=c.view,k=1<e.length,h=c.getCellGeometry(a);e=c.getCellGeom… argument
2514 …erY(),e.width=1,e.height=1,d==mxConstants.DIRECTION_NORTH?(e.height=f,e.y=h.y-f,e.setTerminalPoint…
2515 …d==mxConstants.DIRECTION_SOUTH?(e.height=f,e.y=h.y+h.height,e.setTerminalPoint(new mxPoint(e.x,e.y…
2516 …d==mxConstants.DIRECTION_SOUTH?e.y=e.y+h.height/2+e.height/2+f:d==mxConstants.DIRECTION_WEST&&(e.x…
2517 …d==mxConstants.DIRECTION_WEST&&(e.x-=h.getCenterX()+h.width/2,e.y-=h.getCenterY()))))));return e};…
2519 …d,e,c){function f(a,b){var c;c=mxUtils.createImage(a.src);c.style.width=a.width+"px";c.style.heigh… argument
2520 …tyleEnabled(e,m),u=mxUtils.makeDraggable(a,g,mxUtils.bind(this,function(a,c,d,g,f){null!=this.upda… argument
2521 …s&&this.editorUi.hoverIcons.update(a.view.getState(a.getSelectionCell()))}),d,0,0,g.autoscroll,!0,…
2523 …ts);null!=this.currentGuide&&null!=K&&this.currentGuide.hide();if(null!=this.previewElement){var d=
2525 …d.translate.x*d.scale,v=d.translate.y*d.scale;null!=k&&!k.relative&&a.model.isVertex(p)&&p!=d.curr…
2526 …nt.style.left)-c.width*d.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.prev…
2527 …xUtils.bind(this,function(a,b,c,d){var g=mxEvent.isAltDown(d)||null==e?null:a.getCellAt(b,c,null,n… argument
2528 …=h,u.getDropTarget(a,b,c,d))},this.dropTargetDelay+10))):S=(new Date).getTime()-O;if(q&&2500>S&&nu…
2530 …,l,y)}}else null==x||!mxUtils.contains(x,b,c)||1500<S&&!mxEvent.isShiftDown(d)?(x=null,null!=I&&(y…
2531 this.refreshTarget.height),k(b,c,l,y));if(z&&null!=t&&!mxEvent.isAltDown(d)&&null==K){f=mxRectangle…
2539 …d)&&!mxEvent.isShiftDown(d)||null!=x&&K==y?null:mxDragSource.prototype.getDropTarget.apply(this,ar…
2541 …d,e){e=this.editorUi.editor.graph;e.container.focus();if(mxEvent.isAltDown(d)&&1==e.getSelectionCo… argument
2542 …d)),e.scrollCellToVisible(e.getSelectionCell()))}else mxEvent.isShiftDown(d)&&!e.isSelectionEmpty(…
2543 Sidebar.prototype.addClickHandler=function(a,b,d){var e=b.mouseDown,c=b.mouseMove,f=b.mouseUp,k=thi… argument
2544 …ll==this.dragElement||"none"!=this.dragElement.style.display||g.itemClicked(d,b,c,a),f.apply(b,arg…
2545 …d,e,c,f,k,h){null!=h&&null!=c&&(h+=" "+c);h=null!=h&&0<h.length?h:null!=c?c.toLowerCase():"";retur… argument
2546 …d,e,c,f,k,h){a=mxUtils.parseXml(Graph.decompress(a));var g=new mxCodec(a),l=new mxGraphModel;g.dec… argument
2547 …(a,b,d,e,c,f,k,h,g){k=null!=k&&0<k.length?k:c.toLowerCase();return this.addEntry(k,mxUtils.bind(th… argument
2548 …d,e,c,f,k,h){a=new mxCell(null!=e?e:"",new mxGeometry(0,0,b,d),a);a.geometry.setTerminalPoint(new … argument
2549 Sidebar.prototype.addPaletteFunctions=function(a,b,d,e){this.addPalette(a,b,d,mxUtils.bind(this,fun… argument
2550 …d,e){b=this.createTitle(b);this.container.appendChild(b);var c=document.createElement("div");c.cla… argument
2551 …d){var e=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==b.style.d… argument
2552 …ar c=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;d(b,a);mxClient.NO_FO=…
2554 …d,e,c,f,k){for(var h=[],g=0;g<c.length;g++)mxUtils.bind(this,function(a,b,c){if(null==c){c=a.lastI… argument
2555 …cil=function(a,b,d){a=a.split(".");for(var e=1;e<a.length;e++)a[e]=a[e].replace(/_/g," ");a.push(b… argument
2556 …d,e,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;… argument
2557 …d,mxUtils.bind(this,function(b,d,g,f,h){(null==c||0>mxUtils.indexOf(c,d))&&a.appendChild(this.crea… argument
2559 …xUtils.parseXml=function(d){for(var e=0;e<a.length;e++)d=d.replace(new RegExp("&"+a[e][0]+";","g")… argument
2561 …b=function(b){return"function"===typeof b||"[object Function]"===a.call(b)},d=Math.pow(2,53)-1;ret…
2562 …&&isFinite(h)?(0<h?1:-1)*Math.floor(Math.abs(h)):h;h=Math.min(Math.max(h,0),d);for(var g=b(this)?O…
2565 …oAltText="[Not supported by viewer]";mxShape.prototype.getConstraints=function(a,b,d){return null}; argument
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 …d=c.getState(),e=this.view.scale;if(!mxEvent.isAltDown(c.getEvent())&&null!=d)if(this.model.isEdge…
2569 d.text.boundingBox&&mxUtils.contains(d.text.boundingBox,c.getGraphX(),c.getGraphY()))l=mxEvent.LABE…
2570 …d.cell)&&!this.isCellSelected(d.cell)){var p=this.model.getParent(d.cell),f=this.model.getParent(p…
2571 …d.cell||mxUtils.intersects(n,new mxRectangle(d.x+q.width*e-2,d.y,2,q.height*e)))p=this.selectionCe…
2572 …d.x+(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…
2573 …d;for(d in c)if(null!=c[d].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxE…
2574 …d=l);if(n&&0!=d&&d!=e.bends.length-1&&d!=mxEvent.LABEL_HANDLE)!n||null==c.visibleSourceState&&null…
2575 …d.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(d,n[0].x,n[0].y)?d=0:mxUtils.…
2576 …le(c.cell)){e=null;if(this.model.isEdge(c.cell)){if(d=new mxRectangle(b.getGraphX(),b.getGraphY())…
2577 …d,n[0].x,n[0].y)||mxUtils.contains(d,n[n.length-1].x,n[n.length-1].y))e="pointer";else if(null!=c.…
2578 …d.grow(mxShape.prototype.svgStrokeTolerance/2);if(this.isTableCell(c.cell)&&(n=this.model.getParen…
2579 …tersects(d,new mxRectangle(n.x+(f.x-f.width-1)*p+(0==f.x?n.width*p:0),n.y,1,n.height))?e="col-resi…
2582 …d=this.graph.pageScale,e=c.width*d,c=c.height*d,d=this.graph.view.translate,f=this.graph.view.scal…
2583 …r.getCells=function(a){for(var b=p.apply(this,arguments),c=new mxDictionary,d=[],e=0;e<b.length;e+…
2584 …ull==f||c.get(f)||(c.put(f,!0),d.push(f))}return d};var q=this.graphHandler.start;this.graphHandle… argument
2591 …,"locked","0")},!0);if(this.isToggleEvent(b))for(var d=0;d<c.length;d++)this.selectCellForEvent(c[…
2592 …(!mxEvent.isMultiTouchEvent(b)){var c=b.getProperty("event"),d=b.getProperty("cell");null==d?(c=mx…
2593 …tionCells(L):1<this.getSelectionCount()&&this.isCellSelected(d)&&this.removeSelectionCell(d);L=nul…
2599 …d,e,c){d=unescape(encodeURIComponent(Graph.svgDoctype+'<svg xmlns="http://www.w3.org/2000/svg" xml… argument
2600 …d=[],e=0;e<a.length;e++){var c=a.charCodeAt(e);(32<=c||9==c||10==c||13==c)&&65535!=c&&65534!=c||(d…
2601 …d){return String.fromCharCode(parseInt(d,16))}))};Graph.base64DecodeUnicode=function(a){return dec… argument
2602 Graph.arrayBufferToString=function(a){var b="";a=new Uint8Array(a);for(var d=a.byteLength,e=0;e<d;e…
2603 …d){var e=b.charCodeAt(0),c=1,f=-1;for(d=d||0;d<a.byteLength;d++)if(a[d]==e){f=d;break}for(d=f+1;-1… argument
2604 …d){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=Graph.stringToArrayBuffer(atob(a)… argument
2605 …d,e,c){c=null!=c?c:1E3;Graph.setTransitionForNodes(a,null);Graph.setOpacityForNodes(a,b);window.se… argument
2606 Graph.setOpacityForNodes=function(a,b){for(var d=0;d<a.length;d++)a[d].style.opacity=b};Graph.remov…
2607 …d=a.getElementsByTagName("*"),e=0;e<d.length;e++)for(var c=0;c<d[e].attributes.length;c++){var f=d…
2608 …d=decodeURIComponent(escape(atob(a.substring(26)))),e=d.indexOf("<svg");if(0<=e){b.innerHTML=d.sub…
2609 …d=parseFloat(g[2])/f,e=parseFloat(g[3])/k)}var l=c[0].getBBox();0<l.width&&0<l.height&&(b.getEleme…
2611 …d=document.createElement("img");d.setAttribute("src",Dialog.prototype.clearImage);d.setAttribute("…
2616 …d=!0,e=null,h=mxUtils.bind(this,function(a){d=!0;e=new mxPoint(mxEvent.getClientX(a),mxEvent.getCl…
2619 …d){return a&&c.isVertex(d)||b&&c.isEdge(d)},c.getRoot())};Graph.prototype.getCommonStyle=function(… argument
2620 b,c){if(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&&…
2621 …d=this.model.getChildAt(a,c);if(this.isCellEditable(d)){a=d;break}}return a};Graph.prototype.copyS…
2622 …d=0;d<b.length;d++)for(var e=this.getCurrentCellStyle(b[d]),f=0;f<c.length;f++){var g=e[c[f]],k=a[…
2623 …d,e,f){this.useCssTransforms&&(a=a/this.currentScale-this.currentTranslate.x,b=b/this.currentScale… argument
2624 …t(c,g),h=this.getScaledCellAt(a,b,k,d,e,f);if(null!=h)return h;if(this.isCellVisible(k)&&(e&&this.…
2626 …d=0;d<b.length;d++)a(b[d])||c.push(b[d]);b=c}return b};var a=mxGraph.prototype.scrollRectToVisible…
2628 …aph.currentTranslate.x,this.translate.y=this.graph.currentTranslate.y)};var d=mxGraph.prototype.ge…
2629 Graph.prototype.getCellsForGroup=function(a){a=d.apply(this,arguments);for(var b=[],c=0;c<a.length;…
2631 …d=this.translate;a&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate…
2632 new mxPoint(0,0),this.useCssTransforms=!1);f.apply(this,arguments);d&&(this.view.scale=e,this.view.…
2633 …d){b=b.getAttribute("href");if(null!=b&&!this.isCustomLink(b)&&(mxEvent.isLeftMouseButton(d)&&!mxE… argument
2634 …d){var e=window;try{if("_self"==b&&window!=window.top)window.location.href=a;else if(a.substring(0… argument
2637 …d=this.graph.model.getParent(a);if(b!=mxEvent.BEGIN_UPDATE||this.hasLayout(d,b)){d=this.graph.getC…
2638 …d,"resizeParent","1");e.resizeLast="1"==mxUtils.getValue(d,"resizeLast","0");e.spacing=d.stackSpac…
2639 …d,"horizontalTree","1"),e.resizeParent="1"==mxUtils.getValue(d,"resizeParent","1"),e.groupPadding=…
2640 …d,"parentPadding",20),e.maintainParentLocation=!0,e.intraCellSpacing=mxUtils.getValue(d,"intraCell…
2641 …d.childLayout)return new mxCircleLayout(this.graph);if("organicLayout"==d.childLayout)return new m…
2642 …prototype.getNodesForCells=function(a){for(var b=[],d=0;d<a.length;d++){var e=this.view.getState(a…
2643 …d=[],e=0;e<a.length;e++){var c=this.view.getState(a[e]);null!=c&&null!=c.shape&&(this.model.isEdge…
2644 …d=a.absolutePoints.slice(),e=a.segments,c=a.length,f=d.length;return{execute:mxUtils.bind(this,fun…
2645 …city=l)}}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.points=d,a.shape.redraw(),nul…
2646 …d=new mxRectangle.fromRectangle(a.shape.bounds);return{execute:mxUtils.bind(this,function(e,c){if(…
2647 …d,e){d=null!=d?d:30;e=null!=e?e:30;var c=null,f=0,k=mxUtils.bind(this,function(){if(f==d||this.sto… argument
2649 …d=Math.floor(Math.ceil(b.x/this.view.scale-this.view.translate.x)/a.width),e=Math.floor(Math.ceil(…
2650 …a=!1,b;for(b in this.model.cells){var d=this.model.cells[b];this.isReplacePlaceholders(d)&&(this.v…
2652 …rototype.isSplitTarget=function(a,b,d){return!this.model.isEdge(b[0])&&!mxEvent.isAltDown(d)&&!mxE… argument
2656 Graph.prototype.formatDate=function(a,b,d){null==this.dateFormatCache&&(this.dateFormatCache={i18n:… argument
2658 …d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");…
2659 …/10):h),t:12>p?"a":"p",tt:12>p?"am":"pm",T:12>p?"A":"P",TT:12>p?"AM":"PM",Z:d?"UTC":(String(a).mat…
2660 …odel.isLayer(b);)b=this.model.getParent(b);for(var d=1;d<a.length;d++)if(!this.model.isAncestor(b,…
2661 Graph.prototype.createLayersDialog=function(a,b){var d=document.createElement("div");d.style.positi…
2662 …yle.filter="invert(100%)",m.style.top="-2px");k.appendChild(m);mxUtils.write(k,g);d.appendChild(k);
2663 …tion(){e.setVisible(c,!e.isVisible(c));f();null!=a&&a(c)});f()})(e.getChildAt(e.root,f));return d};
2664 Graph.prototype.replacePlaceholders=function(a,b,d,e){e=[];if(null!=b){for(var c=0;match=this.place… argument
2665 …d&&(k=d[h])}e.push(b.substring(c,match.index)+(null!=k?k:f));c=match.index+f.length}}e.push(b.subs…
2666 …d){2==a.length&&this.model.isVertex(a[1])?(this.setSelectionCell(a[1]),this.scrollCellToVisible(a[… argument
2667 …d,e,c,f,k,h){f=f?f:!1;if(a.geometry.relative&&this.model.isEdge(a.parent))return[];for(;a.geometry… argument
2668 …d):(m.x=b==mxConstants.DIRECTION_WEST?m.x-d:m.x+(l.geometry.width+d),m.y+=l.geometry.height/2);var…
2670 …;try{if(null==z&&w){var d=this.getAbsoluteParent(null!=c?c:a),d=g?a:this.getCompositeParent(d);z=n…
2673 …null!=h)h(x);else return x});if(null==k||null!=z||!w||null==u&&g)return c(z);k(l+m.x*d,p+m.y*d,c)};
2674 …d,e;for(e in this.model.cells)if(d=this.model.cells[e],this.model.isVertex(d)||this.model.isEdge(d…
2675 …d=null;if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder"))for(var b=a.getAttrib…
2676 null==d&&(d=b.getAttribute("label")||"");return d||""}return mxGraph.prototype.convertValueToString…
2677 …d=this.model.getParent(a);this.model.isVertex(d)&&this.isCellCollapsed(a)&&(d=this.layoutManager.g…
2678 Graph.prototype.updateAlternateBounds=function(a,b,d){if(null!=a&&null!=b&&null!=this.layoutManager… argument
2679 …d,e,c){b=null!=b?b:!1;null==d&&(d=this.getFoldableCells(this.getSelectionCells(),a));if(null!=d){t… argument
2680 …entStacks(m,n,g,l)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(d)}};
2681 …d,e){this.model.beginUpdate();try{var c=this.getCellsBeyond(a.x,a.y,b,!0,!0);for(b=0;b<c.length;b+… argument
2682 …d,e){if(null!=this.layoutManager&&null!=b&&b.constructor==mxStackLayout&&!b.resizeLast){this.model… argument
2684 …guments)};Graph.prototype.selectCells=function(a,b,d){d=d||this.getDefaultParent();this.isCellLock… argument
2685 Graph.prototype.getSwimlaneAt=function(a,b,d){var e=mxGraph.prototype.getSwimlaneAt.apply(this,argu… argument
2688 …d=this.container.clientWidth-b,e=this.container.clientHeight-b,c=Math.floor(20*Math.min(d/a.width,…
2689 …d=null;Graph.translateDiagram&&null!=Graph.diagramLanguage&&(d=a.value.getAttribute("tooltip_"+Gra…
2690 mxUtils.indexOf(d,a[c].nodeName)&&0<a[c].nodeValue.length&&e.push({name:a[c].nodeName,value:a[c].no…
2703 …reset();else if(!this.isActive()){var d=this.getState(e.getState());null==d&&mxEvent.isTouchEvent(…
2706 HoverIcons.prototype.createArrow=function(a,b,d){var e=null,e=mxUtils.createImage(a.src);e.style.wi… argument
2708 …d,"event",a)))}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this,function(a){mxEvent.isMouse…
2711 …,d){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);null!=this.currentState&&(th… argument
2712 …};HoverIcons.prototype.getStateAt=function(a,b,d){return this.graph.view.getState(this.graph.getCe… argument
2713 …d){var e=d.getEvent(),c=d.getGraphX(),f=d.getGraphY(),c=this.getStateAt(a,c,f);null==c||!this.grap… argument
2714 …d){d=d.getEvent();this.graph.selectCellsForConnectVertex(this.graph.connectVertex(a.cell,b,this.gr… argument
2716 …Handler.getHandler(this.graph.model.getParent(this.currentState.cell)));var d=null;null!=b&&(a.x-=…
2717 …d=b.rotationShape.boundingBox));b=mxUtils.bind(this,function(a,b,c){if(null!=d){var e=new mxRectan…
2724 HoverIcons.prototype.update=function(a,b,d){if(!this.graph.connectionArrowsEnabled||null!=a&&"0"==m… argument
2725 …d))}),this.updateDelay+10))):null!=this.startTime&&(e=(new Date).getTime()-this.startTime);this.se…
2726 b,d))&&(null!=a&&this.graph.isEnabled()?(this.removeNodes(),this.setCurrentState(a),this.repaint(),…
2727 …rentState=a};Graph.prototype.createParent=function(a,b,d,e,c){a=this.cloneCell(a);for(var f=0;f<d;… argument
2728 …d,e,c,f,k,h,g){d=null!=d?d:60;e=null!=e?e:40;f=null!=f?f:30;h=null!=h?h:"shape=partialRectangle;co… argument
2729 …d,e,h),this.createVertex(null,null,"",0,0,d,e,g),b,d,0),a,0,e)};Graph.prototype.setTableValues=fun… argument
2730 Graph.prototype.createCrossFunctionalSwimlane=function(a,b,d,e,c,f,k,h,g){d=null!=d?d:120;e=null!=e… argument
2731 …d,a*e,null!=f?f:"shape=table;childLayout=tableLayout;rowLines=0;columnLines=0;startSize="+l+";"+(n…
2732 ….createParent(c,this.createParent(k,this.createVertex(null,null,"",f,0,d,e,g),b,d,0),a-1,0,e)):c};…
2734 …d){d=null!=d?d:!0;var e=this.getModel();e.beginUpdate();try{var c=this.getCellGeometry(a);if(null!… argument
2736 Graph.prototype.setTableColumnWidth=function(a,b,d){d=null!=d?d:!1;var e=this.getModel(),c=e.getPar… argument
2737 n.x+=b,d||(n.width-=b,null!=n.alternateBounds&&(n.alternateBounds.width-=b)),e.setGeometry(m,n)))}i…
2738 …{for(var d=0,e=0;e<a.length;e++)if(!this.isVertexIgnored(a[e])){var c=this.graph.getCellGeometry(a…
2739 …d=this.graph.model.getChildCells(a,!0),e=this.graph.getActualStartSize(a,!0),c=this.getSize(d,!0),…
2740 …d,e,c){var f=this.graph.getModel(),k=f.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);v… argument
2743 …d=this.graph.getCellGeometry(a),e=this.graph.getCellStyle(a),c="1"==mxUtils.getValue(e,"resizeLast…
2744 …q,p.height,l,u));e&&g<n&&(d=d.clone(),d.height=v+b.height,k.setGeometry(a,d));f&&l<h+Graph.minTabl…
2745 b.x+Graph.minTableColumnWidth,k.setGeometry(a,d))}}finally{k.endUpdate()}}};
2746 …d=this.getState(a);null!=d&&c&&this.graph.model.isEdge(d.cell)&&null!=d.style&&1!=d.style[mxConsta…
2747 …d&&c&&this.graph.model.isEdge(d.cell)&&null!=d.style&&1!=d.style[mxConstants.STYLE_CURVED]&&this.v…
2749 …d=null;if(null!=b&&null!=this.validEdges&&"none"!==mxUtils.getValue(a.style,"jumpStyle","none")){f…
2750 b||f.x!=c||f.y!=e},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…
2752 …d;return c}return!1};var f=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=functio…
2754 …-n.x,G.y-n.y),C=new mxPoint(G.x+n.x,G.y+n.y),m.push(y),this.addPoints(a,m,c,d,!1,null,k),m=0>Math.…
2755 …s(a,m,c,d,!1,null,k);a.stroke()}};var k=mxGraphView.prototype.getFixedTerminalPoint;mxGraphView.pr… argument
2756 …d){if(null==b||null==a||"1"!=b.style.snapToPoint&&"1"!=a.style.snapToPoint)h.apply(this,arguments)… argument
2757 …d?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);e=thi… argument
2758 …d||k<d)c=g,d=k}}null!=c&&(e=c)}return e};var g=mxStencil.prototype.evaluateTextAttribute;mxStencil…
2759 …8))try{var c=b.substring(8,b.length-1),d=mxUtils.parseXml(Graph.decompress(c));return new mxShape(…
2761 …g){var d=mxStencilRegistry.getBasenameForStencil(a);if(null!=d){b=mxStencilRegistry.libraries[d];i…
2762 …getStencil:",a,d,b,c,k)}}mxStencilRegistry.packages[d]=1}}else d=d.replace("_-_","_"),mxStencilReg…
2763 …&(a=a.split("."),0<a.length&&"mxgraph"==a[0]))for(var b=a[1],d=2;d<a.length-1;d++)b+="/"+a[d];retu…
2764 mxStencilRegistry.loadStencilSet=function(a,b,d,e){var c=mxStencilRegistry.packages[a];if(null!=d&&… argument
2766 …d){if("stencils"==a.nodeName)for(var e=a.firstChild;null!=e;)"shapes"==e.nodeName&&mxStencilRegist… argument
2770 …xEvent.isAltDown(a)};var d=mxGraphLayout.prototype.isVertexIgnored;mxGraphLayout.prototype.isVerte…
2776 …d=0;d<c.length;d++)if(this.model.isVertex(c[d])||this.model.isEdge(c[d])){this.setCellStyles(a,nul…
2777 …d=a[c];b[mxObjectIdentity.get(d)]=d.getId();for(var e=this.model.getChildCount(d),f=0;f<e;f++)this…
2778 "")}return c};Graph.prototype.importGraphModel=function(a,b,c,d){b=null!=b?b:0;c=null!=c?c:0;var e=… argument
2779 …d())}if(null!=a&&(this.createCellMapping(e,h,g),this.updateCustomLinks(g,a),d)){this.isGridEnabled…
2780 …d=new mxDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(var f=new mxCodec,g=new mxGraphModel,k=g.…
2782 …d,e,f,k,h){null==h&&(h=this.model.getParent(a),this.isTable(h)||this.isTableRow(h))&&(h=this.getCe… argument
2784 …d=this.getSelectionCell(),e=null,f=[],g=mxUtils.bind(this,function(b){if(null!=this.view.getState(…
2785 …d&&0<f.length||null!=e&&a&&f.length>e||!a&&0<e)return;for(var c=0;c<this.model.getChildCount(b);c+…
2786 d=this.getCellGeometry(a[0]),null!=e&&null!=d)){c=e.clone();e=d.clone();e.x=c.x;e.y=c.y;c.x=d.x;c.y… argument
2787 …)&&k.push(J);if(null!=J&&null!=l&&this.isTable(J)&&this.isTable(e)&&(d||J!=e)){if(!d){var n=this.g…
2788 if(0<W.length){a[h]=d?this.cloneCell(a[h]):a[h];var p=this.model.getChildCells(a[h],!0),Y=this.mode…
2789 …d&&this.model.contains(k[h])&&0==this.model.getChildCount(k[h])&&this.model.remove(k[h]);d&&this.u…
2790 …d],"")}else{if(this.isTableRow(a[d])&&(f=this.model.getParent(a[d]),0>mxUtils.indexOf(a,f)&&0>mxUt…
2791 …d=0;d<b.length;d++)null!=b[d]&&c.updateCustomLinksForCell(a,b[d],c)};Graph.prototype.updateCustomL…
2792 …d.push(new mxConnectionConstraint(new mxPoint(f[0],f[1]),2<f.length?"0"!=f[2]:!0,null,3<f.length?f…
2793 …function(a){for(var b=this.model.getChildCount(a),c=0,d=0;d<b;d++){var e=this.model.getChildAt(a,d…
2794 …d=this.getCurrentCellStyle(a),e=!0,f=!0,g=0;g<b.length&&f;g++)e=e&&this.isTable(b[g]),f=f&&this.is…
2796 …));return b};Graph.prototype.turnShapes=function(a,b){var c=this.getModel(),d=[];c.beginUpdate();t…
2798 …),[f]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,u,[f])}d.push(f)}}else if(c.i…
2799 …tils.mod(mxUtils.indexOf(w,U)+(b?-1:1),w.length)],[f])}d.push(f)}}}finally{c.endUpdate()}return d}…
2802 …d=Array.prototype.slice.call(a.attributes);attr=d.pop();)c.setAttribute(attr.nodeName,attr.nodeVal…
2803 …d.innerHTML=f;for(var g=d.getElementsByTagName(null!=c?c:"*"),k=0;k<g.length;k++)b(g[k]);d.innerHT…
2804 …d)){this.setAttributeForCell(e,d,b);break}e=this.model.getParent(e)}var f=a.value.cloneNode(!0);Gr…
2805 …etParent(a[c]);null==e||b.get(e)||(b.put(e,!0),d.push(e))}for(c=0;c<d.length;c++)if(e=this.view.ge…
2807 …d;null!=a.value&&"object"==typeof a.value?d=a.value.cloneNode(!0):(d=mxUtils.createXmlDocument().c…
2808 Graph.prototype.getDropTarget=function(a,b,c,d){this.getModel();if(mxEvent.isAltDown(b))return null… argument
2809 …this.model.isVertex(b)){var d=this.model.isEdge(b)?this.view.getState(b):null,e=mxEvent.getSource(…
2810 …d&&null!=d.text&&null!=d.text.node&&null!=d.text.boundingBox&&(mxUtils.contains(d.text.boundingBox…
2811 …d=this.getPageLayout(),e=this.getPageSize(),b=Math.max(b,d.x*e.width),c=Math.max(c,d.y*e.height);r…
2812 …,(b.y+b.height)/a.scale-a.translate.y+2*this.gridSize)));return new mxPoint(d,a)};Graph.prototype.…
2813 …unction(a,b,c){var d=new mxCell;d.value="Text";d.geometry=new mxGeometry(0,0,0,0);d.vertex=!0;if(n…
2814 d.geometry.relative=!0;d.connectable=!1;var e=this.view.getRelativePoint(c,a,b);d.geometry.x=Math.r…
2815 …d.geometry.y=Math.round(b/this.view.scale)-e.y-(null!=c?c.origin.y:0),d.style+="autosize=1;";this.…
2816 …d&&(a[c].setAttribute("rel",this.linkRelation),a[c].setAttribute("href",d),null!=b&&mxEvent.addGes…
2818 …urrentLink){var c=Math.abs(this.startX-b.getGraphX()),d=Math.abs(this.startY-b.getGraphY());(c>f||…
2819 …d){for(var e=d.getSource(),k=d.getEvent();null!=e&&"a"!=e.nodeName.toLowerCase();)e=e.parentNode;n… argument
2820 …d.consume())):null!=c&&!d.isConsumed()&&Math.abs(this.scrollLeft-g.container.scrollLeft)<f&&Math.a…
2821 d.getGraphY())<f&&c(d.getEvent()));this.clear()},activate:function(a){this.currentLink=g.getAbsolut…
2822 …d=this.getModel(),e=this.gridSize,f=[];d.beginUpdate();try{for(var g={},k=this.createCellLookup(a)…
2823 …d.add(l,h[c]);else{var n=l.getIndex(a[c]);d.add(l,h[c],n+1)}if(this.isTable(l)){var J=this.getCell…
2824 …his.cellEditor.textarea){for(var d=this.cellEditor.textarea.getElementsByTagName("img"),e=[],f=0;f…
2825 …d=0;d<b.length;d++)c.push(b[d]);document.execCommand("createlink",!1,mxUtils.trim(a));b=this.cellE…
2826 …{null==b&&(b=this.getSelectionCells());if(null!=b&&1<b.length){for(var c=[],d=null,e=null,f=0;f<b.…
2827 …d=null!=d?Math.max(d,k):k,e=null!=e?Math.min(e,k):k;c.push(g)}}if(2<c.length){c.sort(function(b,c)…
2829 …d,e,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],… argument
2832 …createElement("div"),I=w.getAlternateText;w.getAlternateText=function(a,b,c,d,e,f,g,k,h,l,m,n,r){i… argument
2833 …=f,f=mxUtils.extractTextWithWhitespace(U.childNodes));for(var A=Math.ceil(2*d/this.state.fontSize)…
2834 …w.graph.getLinkTargetForCell(a.cell)};k.drawCellState=function(a,b){for(var c=a.view.graph,d=null!=
2835 …getParent(a.cell);!(f&&null==J||d)&&null!=e;)d=null!=J?J.get(e):c.isCellSelected(e),e=c.model.getP…
2836 …agName("foreignObject").length){var c=a.createElement("switch"),d=a.createElement("g");d.setAttrib…
2837 …d);e.appendChild(f);c.appendChild(e);b.appendChild(c)}};Graph.prototype.updateSvgLinks=function(a,…
2838 null==e&&(e=a[d].getAttribute("xlink:href"));null!=e&&(null!=b&&/^https?:\/\//.test(e)?a[d].setAttr…
2841 …d=0;d<a.length;d++){var e=this.model.getParent(a[d]);if(this.isTable(e)){var f=this.getCellGeometr…
2842 …d])}return c};Graph.prototype.insertTableColumn=function(a,b){var c=this.getModel();c.beginUpdate(…
2843 …d);null!=J&&(J=J.clone(),J.width+=k,c.setGeometry(d,J))}finally{c.endUpdate()}};Graph.prototype.de…
2844 …d=null,e=a;if("stackLayout"==this.getCurrentCellStyle(e).childLayout)var d=e,f=c.getChildCells(d,!…
2845 …d,!0),e=f[b?0:f.length-1];var g=c.getChildCells(e,!0),k=d.getIndex(e),e=c.cloneCell(e,!1);e.value=…
2846 …d=a;this.isTableCell(a)&&(d=b.getParent(a));this.isTableRow(d)&&(c=b.getParent(d));var e=b.getChil…
2847 …d=a;this.isTableCell(a)&&(a=d=b.getParent(a));this.isTableRow(a)&&(c=b.getParent(d));var e=b.getCh…
2848 …d=c.rows[0].cells,e=0,f=0;f<d.length;f++)var g=d[f].getAttribute("colspan"),e=e+(null!=g?parseInt(…
2849 …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.ro…
2850 …d;d=c.firstChild;)lastNode=a.appendChild(d);b.insertNode(a)}}else(b=document.selection)&&"Control"…
2851 …d.setAttribute("title",c(this.isCustomLink(a)?this.getLinkTitle(a):a,80));null!=this.linkTarget&&d…
2853 …d=!1,e=this.fireMouseEvent;this.fireMouseEvent=function(a,f,g){a==mxEvent.MOUSE_DOWN&&(f=this.upda…
2854 (this.popupMenuHandler.popupTrigger||!d&&!f&&(c&&null==e.getCell()&&this.isSelectionEmpty()||b&&thi…
2856 …d="\t";if(null!=a)for(d="";0<a;)d+=" ",a--;a=document.createElement("span");a.style.whiteSpace="pr…
2857 …d=!1});d&&this.graph.cellEditor.setAlign(a)}document.execCommand("justify"+a.toLowerCase(),!1,null…
2860 …c=this.graph.getModel().getParent(a),d=this.graph.getCellGeometry(a);if(this.graph.getModel().isEd…
2861 …d=c.firstChild;null!=a&&null!=d;)b(a,d),a=a.nextSibling,d=d.nextSibling;return c}function c(a,b){i… function
2862 …mxEvent.addListener(this.textarea,"paste",mxUtils.bind(this,function(a){var d=b(this.textarea,this…
2863 …")||0<=this.textarea.innerHTML.indexOf("\x3c!--[if !mso]>")?c(this.textarea,d):Graph.removePasteFo…
2864 …"<br/>"):h,!0);this.textarea.className="mxCellEditor geContentEditable";var d=mxUtils.getValue(a.s…
2865 …;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(d*mxConstants.LINE_HEI…
2866 "px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(d)+"px";this.textarea.style.te…
2867 …,"<br>"):h,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var d=mxConstants.DEFAULT_…
2868 Math.round(d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Mat…
2869 …){this.bounds.width=160*c;this.bounds.height=60*c;var d=null!=a.text?a.text.margin:null;null==d&&(…
2870 …ERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=d.x*this.bounds.width;this.bounds.y+=d.y*…
2877 …d=this.graph.view.translate,e=this.graph.view.scale;c=this.roundLength((this.bounds.x+this.current…
2878 ….childLayout){var d=this.graph.model.getParent(a),e=null!=d?this.graph.getCellGeometry(d):null;if(…
2879 …d),e=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.mod…
2880 this.graph.isTableRow(g)&&a(d.getParent(g));a(g)}return e};var G=mxVertexHandler.prototype.createPa…
2885 …guments);if(this.graph.isTable(this.state.cell)){var b=this.graph,c=b.model,d=this.state,e=this.se…
2886 …l==g&&(g=new mxCellState(b.view,k[c],b.getCellStyle(k[c])),g.x=d.x+h.x*b.view.scale,g.y=d.y+h.y*b.…
2887 …d.cell);this.shape.stroke=0==n?mxConstants.NONE:e.stroke;this.shape.bounds.x=this.state.x+(l.width…
2888 …f(!f.blockDelayedSelection){var c=b.getCellAt(a.getGraphX(),a.getGraphY())||d.cell;b.graphHandler.…
2890 …f(!f.blockDelayedSelection){var c=b.getCellAt(a.getGraphX(),a.getGraphY())||d.cell;b.graphHandler.…
2895 …(var d=0;d<this.customHandles.length;d++)if(null!=this.customHandles[d].shape&&null!=this.customHa…
2897 …cale;var d=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.width/c),d)+" x…
2899 …d){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var e=t… argument
2900 …()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(c.getGraphY(),d.y)+Editor.hintOffset…
2912 …display,d=null,e=null,f=null,g=null;null!=this.first&&null!=this.currentX&&null!=this.currentY&&(d…
2913 …(b)){this.graph.model.beginUpdate();try{for(var k=this.graph.getCellsBeyond(d,e,this.graph.getDefa…
2914 …his.graph.container),d=mxUtils.getOffset(this.graph.container);c.x-=d.x;c.y-=d.y;var d=b.getX()+c.…
2915 ….div=this.createShape()),mxUtils.clearSelection(),this.update(d,c),this.isSpaceEvent(b)?(d=this.x+…
2916 this.first.x&&(this.x=d-this.width),this.y<this.first.y&&(this.y=c-this.height)),this.div.style.bor…
2918 …pdatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(a,b,c,d){ja.apply(this,argum… argument
2919 …mxEdgeHandler.prototype.createHandleShape=function(a,b){var c=null!=a&&0==a,d=this.state.getVisibl…
2920 d,c):null,c=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(c),e):n…
2921 …r b=this.graph.getModel(),c=b.getParent(a[0]),d=this.graph.getCellGeometry(a[0]);if(b.isEdge(c)&&n…
2923 …d=this.graph.getCellGeometry(a.cell);return b.isEdge(c)&&null!=d&&d.relative&&2>a.width&&2>a.heigh…
2924 (this.getHandleForEvent(b)==mxEvent.ROTATION_HANDLE||!c.isEdge(d)||null==e||!e.relative||null==this…
2928 …d=mxUtils.bind(this,function(){null!=this.specialHandle&&(this.specialHandle.node.style.display=th…
2931 …d=document.createElement("img");d.setAttribute("src",Editor.editImage);d.setAttribute("title",mxRe…
2932 …d=0;d<c.length;d++){var e=document.createElement("div");e.style.marginTop=null!=b||0<d?"6px":"0px"…
2959 …d=a.getElementsByTagName("img");0<d.length&&(Editor.isDarkMode()&&(d[0].style.filter="invert(100%)…
2961 …d=b.graph;this.update=mxUtils.bind(this,function(a,b){this.clearSelectionState();this.refresh()});…
2963 …d=!0,e=0;e<a.length;e++){var c=this.editorUi.editor.graph.getCurrentCellStyle(a[e]);"0"!=mxUtils.g…
2965 …d,e){d=this.editorUi.editor.graph;a.cells.push(b);if(d.getModel().isVertex(b)){a.resizable=a.resiz… argument
2966 ….y?a.y=c:a.y!=c&&(a.y="")}}else d.getModel().isEdge(b)&&(a.edges.push(b),a.resizable=!1,a.rotatabl…
2967 …e,mxConstants.STYLE_SHAPE,null),a.containsImage=a.containsImage||"image"==f,d.mergeStyle(b.style,a…
2973 …=a.editor.graph,d=document.createElement("div");d.style.whiteSpace="nowrap";d.style.color="rgb(112…
2974 …d);mxEvent.addListener(e,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(… argument
2975 …mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));(e&&null==k||d==(f?this.labelIndex:…
2976 …d.appendChild(e);c=d.cloneNode(!1);this.panels.push(new DiagramFormatPanel(this,a,c));this.contain…
2977 "none";mxUtils.write(m,mxResources.get("style"));d.appendChild(m);this.panels.push(new DiagramStyle…
2978 …tions.get("formatPanel").funct()}),d.appendChild(m))}else if(b.isEditing())mxUtils.write(e,mxResou…
2979 …d));else{e.style.backgroundColor=Format.inactiveTabBackgroundColor;e.style.borderLeftWidth="1px";e…
2980 …d.appendChild(m);e=d.cloneNode(!1);e.style.display="none";this.panels.push(new TextFormatPanel(thi…
2981 "none";g(p,d,l++,!0)}}};BaseFormatPanel=function(a,b,d){this.format=a;this.editorUi=b;this.containe… argument
2982 …d,e,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=nu… argument
2983 n=!1);else if(q!=mxUtils.getValue(this.format.getSelectionState().style,b,d)){l.isEditing()&&l.stop…
2986 …aseFormatPanel.prototype.createStepper=function(a,b,d,e,c,f,k){d=null!=d?d:1;e=null!=e?e:9;var h=1… argument
2987 …t(a.value):parseInt(a.value);isNaN(e)||(a.value=e-(mxEvent.isShiftDown(c)?h:d),null!=b&&b(c));mxEv…
2988 h:d),null!=b&&b(c));mxEvent.consume(c)});if(c){var n=null;mxEvent.addGestureListeners(g,function(a)…
2989 BaseFormatPanel.prototype.createOption=function(a,b,d,e,c){var f=document.createElement("div");f.st… argument
2990 …veAttribute("checked"),k.defaultChecked=!1,k.checked=!1),l!=a&&(l=a,b()!=l&&d(l)),g=!1)};mxEvent.a…
2991 …d,e,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?… argument
2992 …"values",[a],"cells",d))}finally{m.getModel().endUpdate()}}},{install:function(a){this.listener=fu…
2993 BaseFormatPanel.prototype.createColorOption=function(a,b,d,e,c,f,k,h){var g=document.createElement(… argument
2995 …l.checked||k?"":"none";null!=f&&f("null"==a?null:a);c||(n=a,(g||k||b()!=n)&&d("null"==n?null:n,n))…
2998 …d,e,c,f){var k=this.editorUi,h=k.editor.graph,g=this;return this.createColorOption(a,function(){va… argument
2999 d||mxConstants.NONE,{install:function(a){this.listener=function(){var c=h.view.getState(g.format.ge…
3000 …d=document.createElement("div");d.style.display="inline-block";d.style.paddingRight="4px";d.style.…
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};
3003 …d,e,c,f,k,h,g){k=null!=k?k:0;b=document.createElement("input");b.style.position="absolute";b.style… argument
3004 …d,e,c){d=null!=d?d:52;var f=this.editorUi.editor.graph,k=this.createPanel();k.style.paddingTop="10… argument
3005 …d),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[c],"cells",d)));h… argument
3007 …el=function(a,b,d,e){e=null!=e?e:61;var c=document.createElement("div");mxUtils.write(c,b);c.style… argument
3010 ….destroy();this.listeners=null}};ArrangePanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);thi… argument
3013 ArrangePanel.prototype.addTable=function(a){var b=this.editorUi,d=b.editor.graph,e=this.format.getS…
3014 …d.isTable(e.vertices[0])||d.isTableRow(e.vertices[0])||d.isTableCell(e.vertices[0]),k=d.isStack(e.…
3015 …d.insertLane(e.vertices[0],!1):d.insertTableColumn(e.vertices[0],!1)}catch(l){b.handleError(l)}}),…
3016 …d.insertLane(e.vertices[0],!0):d.insertTableRow(e.vertices[0],!0)}catch(l){b.handleError(l)}}),c),…
3018 ArrangePanel.prototype.addLayerOps=function(a){var b=this.editorUi,d=b.editor.graph,e=mxUtils.butto…
3019 ")");e.style.width="104px";a.appendChild(e);1==d.getSelectionCount()&&(mxUtils.br(a),e=mxUtils.butt…
3021 …s.editorUi,d=b.editor.graph,e=this.format.getSelectionState(),c=e.cells[0],f=0,k=null;a.style.padd…
3022 d.getModel().isEdge(c)||d.isSwimlane(c)||d.isTable(c)||e.row||e.cell)&&0<d.getModel().getChildCount…
3024 …d.getSelectionCount()&&(0<f&&(mxUtils.br(a),f=0),k=mxUtils.button(mxResources.get("copyData"),func…
3026 …le.marginBottom="2px"));1==e.cells.length&&d.getModel().isVertex(c)&&!e.row&&!e.cell&&d.getModel()…
3029 …d=document.createElement("div");d.style.position="relative";d.style.whiteSpace="nowrap";d.style.pa…
3030 d),c=this.editorUi.toolbar.addButton("geSprite-aligncenter",mxResources.get("center"),function(){b.…
3031 d),g=this.editorUi.toolbar.addButton("geSprite-alignbottom",mxResources.get("bottom"),function(){b.…
3032 …d=document.createElement("div");d.style.marginTop="2px";d.style.marginBottom="8px";d.style.fontWei…
3033 …d);d=mxUtils.button(mxResources.get("vertical"),function(a){b.toggleCellStyles(mxConstants.STYLE_F…
3034 …d=mxUtils.button(mxResources.get("horizontal"),function(a){b.distributeCells(!0)});d.setAttribute(…
3035 mxResources.get("vertical"));d.style.width="104px";a.appendChild(d);return a};
3036 ArrangePanel.prototype.addAngle=function(a){var b=this.editorUi,d=b.editor.graph,e=this.format.getS…
3038 …,null,!0);this.addKeyHandler(f,g);d.getModel().addListener(mxEvent.CHANGE,g);this.listeners.push({…
3042 ArrangePanel.prototype.addGeometry=function(a){var b=this,d=this.editorUi,e=d.editor.graph,c=e.getM…
3044 …ction(){mxUtils.setOpacity(u,50)});mxEvent.addListener(u,"click",function(){d.actions.get("autosiz…
3045 …ler(q,E);g=this.addGeometryHandler(p,function(a,c,d){if(e.isTableCell(d))return e.setTableColumnWi… argument
3046 …eometryHandler(q,function(a,c,d){e.isTableCell(d)&&(d=e.model.getParent(d));if(e.isTableRow(d))ret… argument
3051 ArrangePanel.prototype.addGeometryHandler=function(a,b){function d(d){if(""!=a.value){var k=parseFl… argument
3052 …d)}var e=this.editorUi.editor.graph,c=null,f=this;mxEvent.addListener(a,"blur",d);mxEvent.addListe…
3053 …d(d){if(""!=a.value){var k=parseFloat(a.value);if(isNaN(k))a.value=c+" pt";else if(k!=c){e.getMode… function
3054 "blur",d);mxEvent.addListener(a,"change",d);mxEvent.addListener(a,"focus",function(){c=a.value});re…
3055 ArrangePanel.prototype.addEdgeGeometry=function(a){var b=this.editorUi,d=b.editor.graph,e=this.form…
3056 …xArrow.prototype.defaultWidth)){var f=this.format.getSelectionState().cells;d.setCellStyles("width…
3059 …style.display="none";1==e.cells.length&&d.model.isEdge(a)?(f=d.model.getGeometry(a),null!=f.source…
3060 …d.model.getTerminal(a,!1)?(t.value=f.targetPoint.x,w.value=f.targetPoint.y):v.style.display="none"…
3061 x()};TextFormatPanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(T… argument
3062 …97, 146) 100%)":"linear-gradient(#c5ecff 0px,#87d4fb 100%)":""}var d=this.editorUi,e=d.editor.grap…
3066 …ntentEditing()?function(a){e.cellEditor.alignText(mxConstants.ALIGN_LEFT,a);d.fireEvent(new mxEven…
3067 …entEditing()?function(a){e.cellEditor.alignText(mxConstants.ALIGN_CENTER,a);d.fireEvent(new mxEven…
3068 function(a){e.cellEditor.alignText(mxConstants.ALIGN_RIGHT,a);d.fireEvent(new mxEventObject("styleC…
3082 a+"px"?b.style.fontSize=a+"px":b.style.fontSize=""));d.fireEvent(new mxEventObject("styleChanged","…
3085 …a){document.execCommand("backcolor",!1,a!=mxConstants.NONE?a:"transparent");d.fireEvent(new mxEven…
3087 …});document.execCommand("forecolor",!1,a!=mxConstants.NONE?a:"transparent");d.fireEvent(new mxEven…
3088 …se document.execCommand("forecolor",!1,a!=mxConstants.NONE?a:"transparent"),d.fireEvent(new mxEven…
3091 …s.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,d.actions.get("formatt…
3100 …\s*\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toStrin…
3101 …\s*\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toStrin…
3102 …d,a,mxResources.get("apply"),mxUtils.bind(this,function(a){null!=a&&0<a.length?y.setAttribute("cel…
3104 …ts.STYLE_TEXT_OPACITY)),a.appendChild(h);var V=mxUtils.bind(this,function(a,d,e){c=this.format.get… argument
3106 …d=mxUtils.getValue(c.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);M.v…
3107 d==mxConstants.ALIGN_BOTTOM?"bottomLeft":a==mxConstants.ALIGN_CENTER&&d==mxConstants.ALIGN_BOTTOM?"…
3110 …w.setTimeout(function(){var a=e.getSelectedEditingElement();if(null!=a){var d=function(a,b){if(nul… function
3113 …d(m.textAlign,"justify")),b(q,d(m.textAlign,"left")),b(u,d(m.textAlign,"center")),b(v,d(m.textAlig…
3114 …,z=parseFloat(p),isNaN(z)?ia.value="100 %":ia.value=Math.round(100*z)+" %"),d=m.color.replace(/\br…
3115 …d,e){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+("0… argument
3116 "")}),null!=fa&&(ja="#"==d.charAt(0)?d:"#000000",fa(ja,!0)),null!=Q&&(U="#"==n.charAt(0)?n:null,Q(U…
3117 …function(){}});f()}return a};StyleFormatPanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);thi… argument
3120 …tation.createHTMLDocument(""),d=document.createElement("style");mxUtils.setTextContent(d,a);b.body…
3121 …ontWeight="bold";a.style.display="none";try{var d=b.style.editableCssRules;if(null!=d){var e=new R…
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 …var b=0;b<c.length;b++)a+=c[b].cssText+" ";e.textContent=a;a=mxUtils.getXml(d.documentElement);h.s…
3126 …d=null;1==b.cells.length&&(d=mxUtils.button(mxResources.get("editStyle"),mxUtils.bind(this,functio…
3127 …mxResources.get("editImage")),b.style.marginBottom="2px",null==d?b.style.width="210px":(d.style.wi…
3128 StyleFormatPanel.prototype.addFill=function(a){var b=this.editorUi,d=b.editor.graph,e=this.format.g…
3129 …d.stylesheet.getDefaultVertexStyle():d.stylesheet.getDefaultEdgeStyle(),h=this.createCellColorOpti…
3130 …d.getSelectionCells())}),g="image"==e.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:mxConstants.S…
3132 …stants.DIRECTION_SOUTH),d=mxUtils.getValue(e.style,"fillStyle","auto");""==b&&(b=mxConstants.DIREC…
3133 …d||"auto"==d?"":"none")});d.getModel().addListener(mxEvent.CHANGE,p);this.listeners.push({destroy:…
3136 …"values",[b],"cells",f.cells)));t.value=b+" pt";mxEvent.consume(a)}function d(a){var b=parseFloat(… function
3139 …d=["0",null];"rounded"==h.value?d=["1",null]:"curved"==h.value&&(d=[null,"1"]);for(var g=0;g<b.len…
3141 …d,e){a=this.editorUi.menus.styleChange(a,"",d,e,"geIcon",null);d=document.createElement("div");d.s… argument
3148 …d,1,9);x.style.display=w.style.display;x.style.marginTop="2px";w.style.position="absolute";x.style…
3185 ….bind(this,function(b,c,d){function g(a,b,c,d){c=c.getElementsByTagName("div")[0];null!=c&&(c.clas… argument
3186 …,null);if(d||document.activeElement!=t)b=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_STR…
3192 …d||document.activeElement!=Z)b=parseInt(mxUtils.getValue(f.style,mxConstants.STYLE_STARTSIZE,mxCon…
3193 …;if(d||document.activeElement!=X)b=parseInt(mxUtils.getValue(f.style,mxConstants.STYLE_TARGET_PERI…
3196 …tices.length&&b.lineJumps){a.style.padding="2px 0px 24px 14px";var d=this.editorUi,e=d.editor.grap…
3198 …d.fireEvent(new mxEventObject("styleChanged","keys",["jumpStyle"],"values",[f.value],"cells",b.cel… argument
3199 "jumpStyle","none");if(d||document.activeElement!=l)a=parseInt(mxUtils.getValue(b.style,"jumpSize",…
3200 StyleFormatPanel.prototype.addEffects=function(a){var b=this.editorUi.editor.graph,d=this.format.ge…
3201 …d=this.format.getSelectionState();k.innerHTML="";h.innerHTML="";g=k;d.rounded&&m(mxResources.get("…
3202 m(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);d.glass&&m(mxResources.get("glass"),mxConst…
3203 …;a.appendChild(b);return a};DiagramStylePanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);thi… argument
3205 …d=b.editor.graph,e=d.getModel();a.style.whiteSpace="normal";var c="1"==d.currentVertexStyle.sketch…
3206 …n c},function(a){(c=a)?(d.currentEdgeStyle.sketch="1",d.currentVertexStyle.sketch="1"):(delete d.c…
3207 d.updateCellStyles("sketch",a?"1":null,d.getVerticesAndEdges())},null,function(a){a.style.width="au…
3208 …d.currentEdgeStyle.curved="1":delete d.currentEdgeStyle.curved;d.updateCellStyles("curved",a?"1":n…
3209 …d.getCellStyle(c[f]);null!=g.labelBackgroundColor&&d.updateCellStyles("labelBackgroundColor",null!…
3210 …d<b.length;d++)if(null!=a[b[d]]&&a[b[d]]!=mxConstants.NONE||b[d]!=mxConstants.STYLE_FILLCOLOR&&b[d…
3211 …d.getVerticesAndEdges(!0,!0);if(0<a.length){e.beginUpdate();try{d.updateCellStyles("sketch",null,a…
3212 …h="100%";k.style.height="100%";g.appendChild(k);var h=new Graph(k,null,null,d.getStylesheet());h.r…
3213 l=d.stylesheet.getDefaultVertexStyle(),m=b;e.isEdge(g)&&(l=d.stylesheet.getDefaultEdgeStyle(),m=c);…
3215 …d.currentVertexStyle=mxUtils.clone(d.defaultVertexStyle);d.currentEdgeStyle=mxUtils.clone(d.defaul…
3216 …d.currentVertexStyle.sketch="1"):(d.currentEdgeStyle.sketch="0",d.currentVertexStyle.sketch="0");d…
3217 d.getCellStyle;b=d.background;var f=d.view.gridColor;d.background=null!=l?l.background:null;d.view.…
3218 "mouseleave",mxUtils.bind(this,function(a){d.refresh()})),mxClient.IS_IE||mxClient.IS_IE11||(this.f…
3223 …ModeChangedListener=null)};DiagramFormatPanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);thi… argument
3225 …d=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("view")));this.addGridOption(a);Di…
3226 …d.isEnabled()){var e=this.createColorOption(mxResources.get("background"),function(){return d.back…
3228 …d=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("options")));d.isEnabled()&&(a.app…
3229 …d.connectionHandler.isEnabled()},function(a){b.actions.get("connectionPoints").funct()},{install:f…
3230 {install:function(a){this.listener=function(){a(d.graphHandler.guidesEnabled)};b.addListener("guide…
3231 …d.isFloatUnit()?parseFloat(f.value):parseInt(f.value),b=d.fromUnit(Math.max(d.inUnit(1),isNaN(b)?d…
3236 …d=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("paperSize")));var e=PageSetupDial…
3237 …d.pageFormat)});var c=function(){e.set(d.pageFormat)};b.addListener("pageFormatChanged",c);this.li…
3239 …d(){mxCylinder.call(this)}function e(){mxActor.call(this)}function c(){mxCylinder.call(this)}funct… function
3245 …d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1;this.re… argument
3246 …elBounds.apply(this,arguments)};a.prototype.paintVertexShape=function(a,b,c,d,e){0==this.getTitleS… argument
3247 …d,e)};a.prototype.paintForeground=function(a,b,c,d,e){if(null!=this.state){var r=this.flipH,f=this… argument
3249 …x,c+k.y),B=0);a.lineTo(b+d-f.width,c+k.y);a.end();a.stroke()}}if(D)for(d=h[0].cells,A=1;A<d.length…
3250 ….darkOpacity2=0;b.prototype.paintVertexShape=function(a,b,c,d,e){var r=Math.max(0,Math.min(d,Math.… argument
3251 …d-r,0);a.lineTo(d,r);a.lineTo(d,e);a.lineTo(r,e);a.lineTo(0,e-r);a.lineTo(0,0);a.close();a.end();a…
3252 …,a.begin(),a.moveTo(r,e),a.lineTo(r,r),a.lineTo(0,0),a.moveTo(r,r),a.lineTo(d,r),a.end(),a.stroke(…
3253 …d,mxCylinder);d.prototype.size=6;d.prototype.paintVertexShape=function(a,b,c,d,e){a.setFillColor(t… argument
3254 …d,e,f){b=Math.min(d,e/(.5+Pa));f?(a.moveTo(0,.25*b),a.lineTo(.5*b,(.5-xa)*b),a.lineTo(b,.25*b),a.m… argument
3255 …d,e,f){b=Math.min(e/2,Math.round(e/8)+this.strokewidth-1);if(f&&null!=this.fill||!f&&null==this.fi… argument
3256 …d,-b/3,d,b),a.lineTo(d,e-b),a.curveTo(d,e+b/3,0,e+b/3,0,e-b),a.close())};f.prototype.getLabelMargi… argument
3257 …d-r,0);a.lineTo(d,r);a.lineTo(d,e);a.lineTo(0,e);a.lineTo(0,0);a.close();a.end();a.fillAndStroke()…
3258 …xShape);g.prototype.isoAngle=15;g.prototype.paintVertexShape=function(a,b,c,d,e){var r=Math.max(.0… argument
3259 …d*Math.tan(r),.5*e);a.translate(b,c);a.begin();a.moveTo(.5*d,0);a.lineTo(d,r);a.lineTo(d,e-r);a.li… argument
3260 …d,e),a.fillAndStroke()):(a.begin(),a.moveTo(0,r),a.arcTo(.5*d,r,0,0,1,.5*d,0),a.arcTo(.5*d,r,0,0,1…
3261 …d,e){var r=Math.max(0,Math.min(.5*e,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),f=… argument
3262 …d,r),a.arcTo(.5*d,r,0,0,1,.5*d,2*r),a.arcTo(.5*d,r,0,0,1,0,r),a.stroke()))};mxCellRenderer.registe… argument
3263 …d,e){a.translate(b,c);b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"tabWidth",th… argument
3264 …d,.5*(e-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)…
3265 …ue(this.style,"folderSymbol",null)&&(a.begin(),a.moveTo(d-30,c+20),a.lineTo(d-20,c+10),a.lineTo(d-…
3266 …d=mxUtils.getValue(this.style,"rounded",!1),e=mxUtils.getValue(this.style,"absoluteArcSize",!1),r=…
3267 …d,e){a.translate(b,c);var r=mxUtils.getValue(this.style,"rounded",!1),f=mxUtils.getValue(this.styl… argument
3268 …d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(r+b,e);a.arcTo(b,b…
3270 …d,e){b=Math.max(0,Math.min(d,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)))… argument
3271 …d/4,1.4*b,d/2,b/2);a.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-…
3272 d,new mxRectangle(a.x,a.y+b,c,d-2*b);b*=c;return new mxRectangle(a.x+b,a.y,c-2*b,d)}return a};mxCel… argument
3273 …d,0);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-b*(1-1.4),0,e-b/2);a.lineT… argument
3275 …d=mxUtils.getValue(this.style,"rounded",!1),e=mxUtils.getValue(this.style,"absoluteArcSize",!1),r=…
3277 …b,c,d,e){b="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(d,parseFloat(mxUt… argument
3278 …d,0),new mxPoint(d-b,e)],this.isRounded,c,!0);a.end()};mxCellRenderer.registerShape("parallelogram… argument
3279 d,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):d*Math.max(0,Math.min(.5,parseFl… argument
3280 …d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getV… 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 …d){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=d};H.prototype.curveTo… argument
3283 …d*d+e*e);if(2>r){this.originalLineTo.apply(this.canvas,arguments);this.lastX=a;this.lastY=b;return…
3286 …e.paintBackground;mxRectangleShape.prototype.paintBackground=function(a,b,c,d,e){if(null==a.handJi… argument
3287 …d/2,Math.min(e/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2…
3288 …d-r,c),a.quadTo(b+d,c,b+d,c+r),a.lineTo(b+d,c+e-r),a.quadTo(b+d,c+e,b+d-r,c+e),a.lineTo(b+r,c+e),a…
3289 …d=b*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRo…
3290 …d,e){var r=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),f=parseFloat(mxUtils.getValue(t… argument
3291 …ground=function(a,b,c,d,e){a.setFillColor(mxConstants.NONE);a.rect(b,c,d,e);a.fill()};G.prototype.… argument
3292 …d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;c=Math.ma… argument
3293 …d,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(a,[new mxPoint(0,0),n… argument
3294 …d,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):d*Math.max(0,Math.min(1,parseFl…
3295 …c,d,e){b="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*d,parseFloat(mxU… argument
3296 …d-b,0),new mxPoint(d,.5*e),new mxPoint(d-b,e),new mxPoint(b,e),new mxPoint(0,.5*e)],this.isRounded… argument
3297 …a.height-2*b)}return a};mxRhombus.prototype.paintVertexShape=function(a,b,c,d,e){Ua.apply(this,arg… argument
3298 …d-=2*f;e-=2*f;0<d&&0<e&&(a.setShadow(!1),Ua.apply(this,[a,b,c,d,e]))}};mxUtils.extend(R,mxRectangl… argument
3299 …th+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);b+=f;c+=f;d-=2*f;e-=2*f;0<d&&0<e&&mxRect…
3300 …etArcSize(d+this.strokewidth,e+this.strokewidth),D+=m,l+=m);var m=b,B=c,m=g==mxConstants.ALIGN_CEN…
3301 …d,e,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.li… argument
3302 …d/2,2*e/3);a.lineTo(d,e);a.end();a.stroke()};mxCellRenderer.registerShape("umlActor",P);mxUtils.ex… argument
3303 …d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(b+d/8,c+e);a.li… argument
3304 …d,e){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.ell… argument
3305 … mxRectangle(a.x,a.y,a.width,b)};Q.prototype.paintBackground=function(a,b,c,d,e){var f=Math.max(0,… argument
3306 …d,f):(r=this.state.view.graph.cellRenderer.getShape(r),null!=r&&r!=Q&&(r=new r,r.apply(this.state)… argument
3307 …)*this.scale))};U.prototype.paintBackground=function(a,b,c,d,e){var f=this.corner,r=Math.min(d,Mat… argument
3308 …d,e),a.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConst…
3309 …d,c);a.lineTo(b+d,c+e);a.lineTo(b,c+e);a.lineTo(b,c+g);a.stroke()};mxCellRenderer.registerShape("u… argument
3310 …d){d=Q.prototype.size;null!=b&&(d=mxUtils.getValue(b.style,"size",d)*b.view.scale);b=parseFloat(b.… argument
3311 …d){d=parseFloat(b.style[mxConstants.STYLE_STROKEWIDTH]||1)*b.view.scale/2-1;null!=b.style.backbone… argument
3312 …d)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.Callou… argument
3313 b,c,d){var e="0"!=mxUtils.getValue(b.style,"fixedSize","0"),f=e?w.prototype.fixedSize:w.prototype.s…
3314 …d&&(c.x<r||c.x>r+k?a.y=c.y:a.x=c.x);return mxUtils.getPerimeterPoint(g,a,c)};mxStyleRegistry.putVa… argument
3317 …d&&(c.x<r||c.x>r+k?a.y=c.y:a.x=c.x);return mxUtils.getPerimeterPoint(g,a,c)};mxStyleRegistry.putVa… argument
3320 …d&&(c.x<r||c.x>r+k?l.y=c.y:l.x=c.x);return mxUtils.getPerimeterPoint(g,l,c)};mxStyleRegistry.putVa… argument
3322 …d&&(c.x<r||c.x>r+k?l.y=c.y:l.x=c.x);return mxUtils.getPerimeterPoint(g,l,c)};mxStyleRegistry.putVa… argument
3323 …d,e){var f=parseFloat(mxUtils.getValue(this.style,"size",this.size)),g=parseFloat(mxUtils.getValue… argument
3324 …d,e){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.stro… argument
3325 …d/2,e);a.end();a.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",na);mxUtils.ex… argument
3326 …d,0),a.lineTo(d,e),a.lineTo(c,e),a.lineTo(c,k+b),a.lineTo(0,k+b),a.lineTo(0,k),a.lineTo(c,k),a.lin… argument
3327 …lineTo(g,k),a.lineTo(g,k+b),a.lineTo(c,k+b)):(a.moveTo(c,0),a.lineTo(d,0),a.lineTo(d,e),a.lineTo(c…
3328 …d,e){var f=d/2,g=e/2,r=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCS… 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…
3331 …d,e){b=Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)));c=mxUtils.getValue(th… argument
3332 …d,e)],this.isRounded,c,!0);a.end()};mxCellRenderer.registerShape("manualInput",ha);mxUtils.extend(… argument
3333 …d,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));f=Math.max(f,Math.min(e,parseFloat(mxUti… argument
3334 …nts.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(d,0),new mxPoint(d,c),new mxPoi… argument
3335 d,e){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.line… argument
3336 …d,0),new mxPoint(d,c),new mxPoint((d+b)/2,c),new mxPoint((d+b)/2,e),new mxPoint((d-b)/2,e),new mxP… argument
3337 …d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));c=(e… argument
3338 …d,e){var f=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",V.prototype…
3339 …d,e){b="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(d,parseFloat(mxUtils.… argument
3340 …d,e){a.moveTo(0,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,0,e);a.close();a.end()};mxCellRenderer.registe… argument
3341 …d,e){b=Math.min(d/2,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUti… argument
3342 …d,e){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUti… argument
3343 …d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(b+d/2,c+e);a.li… argument
3344 …d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo… argument
3345 …d,c+e/2);a.end();a.stroke()};mxCellRenderer.registerShape("sortShape",Ma);mxUtils.extend(Na,mxElli… argument
3346 …d,e){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… argument
3347 …d,e);a.fill();a.pointerEvents=f;a.setStrokeColor(this.stroke);a.begin();a.moveTo(b,c);this.outline…
3348 …d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();"vertica… argument
3349 …d,e){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.lin… argument
3350 …d,b);a.lineTo(d,c);a.lineTo(f,c);a.lineTo(f,e);a.lineTo(g,e);a.lineTo(g,c);a.lineTo(0,c);a.close()… argument
3356 …d,e){a.translate(b,c);this.strictDrawShape(a,0,0,d,e)};N.prototype.strictDrawShape=function(a,b,c,… argument
3357 this.rectOutline),l=f&&f.indent?f.indent:Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.sty…
3360 …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)/100)…
3361 …d,e,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.s…
3362 …d,e,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…
3363 …d,e,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…
3364 …d,e,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,…
3365 …d,e,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?…
3366 …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,v,h,l,q),f.paintBottomInne…
3367 …d,e,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.p…
3368 …d,e,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.clos…
3369 …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,A),f.lineNEInner(a,b,c,d,e,g,…
3370 …d,e,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…
3371 …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,B),f.paintLeft(a,b,c,d,e,g…
3372 …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,h,D),f.paintNW(a,b,c,d,e,g,u,h…
3373 …d,e,g,F,h,B),"double"==r&&(f.moveSEInner(a,b,c,d,e,g,F,h,l,B),f.paintRightInner(a,b,c,d,e,g,t,h,l,…
3374 …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),f.paintTop(a,b,c,d,e,g,t,…
3375 …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),f.paintTop(a,b,c,d,e,g,t,…
3376 …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),f.paintBottom(a,b,c,d,e,…
3377 …d,e,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…
3378 d,e,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,…
3379 …d,e,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,…
3380 …d,e,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.paintLeftI…
3381 …d,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.pa…
3382 …d,e,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…
3383 …d,e,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
3384 …d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.moveTo(0,e):a.moveTo(h,e)};N.prototype.p… argument
3385 …d,0):a.lineTo(d-h,0)};N.prototype.paintNE=function(a,b,c,d,e,f,g,h,k){if(k)if("rounded"==g||"defau… argument
3386 …d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.lineTo(0,0):a.lineTo(0,h)};N.prototype.p… argument
3387 …d,e,f,g,h,k){if(k)if("rounded"==g||"default"==g&&"rounded"==f||"invRound"==g||"default"==g&&"invRo… argument
3388 …a.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?… argument
3389 …d,e,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);e… argument
3390 …d,k):l?"square"==g||"default"==g&&"square"==f?a.lineTo(d-k,k):"rounded"==g||"default"==g&&"rounded… argument
3391 …d,e,f,g,h,k){if("rounded"==g||"default"==g&&"rounded"==f)a.arcTo(h-.5*k,h-.5*k,0,0,0,d-k,e-h-.5*k)… argument
3392 …d-k,e):"square"==g||"default"==g&&"square"==f||!l?a.lineTo(d-k,e-k):"rounded"==g||"default"==g&&"r… argument
3393 …lineTo(k+h,e-h-k),a.lineTo(k+h,e-k)};N.prototype.moveSWInner=function(a,b,c,d,e,f,g,h,k,l){l?"squa… argument
3394 …d,e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f?a.lineTo(k,e-k):"rounded"==g||"default"==g… argument
3395 …d-k,e-h-k):a.moveTo(d-k,e)};N.prototype.lineSEInner=function(a,b,c,d,e,f,g,h,k,l){l?"square"==g||"… argument
3396 d,e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f||l?a.moveTo(d-k,k):"rounded"==g||"default"=… argument
3397 …old"==g||"default"==g&&"fold"==f)&&a.lineTo(d-k,h+k):a.lineTo(d,k)};N.prototype.moveNWInner=functi… argument
3398 …d,e,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"=… argument
3399 …p&&(a.moveTo(d-m,0),a.lineTo(d-m,m),a.lineTo(d,m)),("fold"==k||"default"==k&&"fold"==f)&&q&&p&&(a.…
3400 …d=[],e=0;e<b.length;e++)d.push(mxUtils.clone(b[e]));var e=a.state.dashed,f=a.state.fixDash;wa.prot… argument
3401 …d,e,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/… argument
3402 …d.x+m/2,p=d.y+r/2;d.x-=m;d.y-=r;return function(){a.begin();a.moveTo(n-m/2-r/2,p-r/2+m/2);a.lineTo… argument
3403 …d,e,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
3404 …d.x-r,d.y+m,d.x,d.y);a.quadTo(d.x+r,d.y-m,n.x+r,n.y-m);a.stroke()}});mxMarker.addMarker("async",fu… argument
3405 …dth"],b,function(b,d,e,f,g){g=a.shape.getEdgeWidth()*a.view.scale+c;return new mxPoint(f.x+d*b/4+e… argument
3406 …d,e){return T(a,b,function(b){var e=a.absolutePoints,f=e.length-1;b=a.view.translate;var g=a.view.… argument
3407 ….arrowWidth))),d=Math.max(0,Math.min(a,mxUtils.getValue(this.state.style,"arrowSize",V.prototype.a…
3408 …d){var e=[T(d,["size"],function(c){var d=Math.max(0,Math.min(c.width,Math.min(c.height,parseFloat(… argument
3409 …d.style,mxConstants.STYLE_ROUNDED,!1)&&e.push(ra(d));return e}},Ia=function(a,b,c,d,e){c=null!=c?c… argument
3410 …d)];b&&mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&g.push(ra(f));return g}},Ta=functio… argument
3411 …d){var e=null!=c&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?d.x-b.x:Math.max(0,Math.…
3412 …d)}e=Math.max(0,parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECT… argument
3413 …d,e,f,g){var h=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);h.execute=funct… argument
3414 …dth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getE… argument
3415 …d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)},function(c,d,e,f,g,h,k){c=Math.sqrt(mxUti… argument
3416 …dth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getS… argument
3417 …d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)},function(c,d,e,f,g,h,k){c=Math.sqrt(mxUti… argument
3419 …d,e,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,m… argument
3420 Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*c)/a.view.sca…
3421 …d,e,f){b=(a.shape.getEndArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.sty… argument
3425 d=b.model.getParent(a.cell),d=b.model.getChildCells(d,!0),e=[],f=0;f<d.length;f++)d[f]!=a.cell&&b.i…
3434 …n))),d=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"base",y.prototype.base)));re…
3447 …on(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?d[0]:null;var g=a.absolutePoints,h=g[0],g=g[g.len… argument
3448 …d=b-p.y;b=(n*a-m*d)/(k*n-l*m);a=(l*a-k*d)/(l*m-k*n);r?(c&&(p=new mxPoint(p.x+k*b,p.y+l*b),e.push(p…
3449 …d=Math.tan(mxUtils.toRadians(30)),e=(.5-d)/2,d=Math.min(b,c/(.5+d));b=(b-d)/2;c=(c-d)/2;a.push(new…
3450 …d,c+.25*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b+d,c+.75*d));a.push(new mx…
3451 …d));a.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));a.push(new mxConnectionConstraint(new…
3452 mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var d=Math.max(0,Math.min(c,parseFloat(mxUtils.…
3453 …d)));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,c-d));a.push(new mxConnectionCon…
3457 …d=Math.max(0,Math.min(b,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));a.…
3458 …d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,.5*(c+d)));a.push(new mxConnectio…
3459 …d),0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,0));a.push(new mxConnectionCon…
3460 …d&&a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return a};b.prototype.getConstraints=f…
3461 …d,0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-.5*d,.5*d));a.push(new mxConnec…
3462 0),!1,null,0,c-d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(c-d)));return a…
3464 …ll,0,.29*-b));return a};p.prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(…
3465 …d,0)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,0)),a.push(new mxConnectionCons…
3466 …d,0)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-d,0)),a.push(new mxConnectionCo…
3469 …d=Math.min(b,c/2),e=Math.min(b-d,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.siz…
3470 …d,c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(e+b-d),c));a.push(new mxConne…
3472 …d.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,b));c>8*a&&d.push(new mxConnectionCon…
3485 …otype.constraints=null;ia.prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(…
3486 …d,e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b+d),e));a.push(new mxConnect…
3487 …d),c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-d),.5*(c+e)));a.push(new m…
3488 …null,b,e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b+d),e));a.push(new mxCo…
3489 …d,e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,.5*(c+e)));a.push(new mxConnect…
3490 …t(new mxPoint(1,1),!1)];V.prototype.getConstraints=function(a,b,c){a=[];var d=c*Math.max(0,Math.mi…
3491 …d=(c-d)/2;a.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));a.push(new mxConnectionConstrai…
3492 …d));return a};qa.prototype.getConstraints=function(a,b,c){a=[];var d=c*Math.max(0,Math.min(1,parse…
3493 …d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,c));return a};ya.prototype.getCon…
3494 …d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,g,0));a.push(new mxConnectionConstr…
3495 …d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,f));a.push(new mxConnectionConstr…
3496 …d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,d));a.push(new mxConnectionConstr…
3499 …d=this.editorUi,e=d.editor,c=e.graph,f=function(){return Action.prototype.isEnabled.apply(this,arg…
3500 …d.openFile()});this.addAction("smartFit",function(){c.popupMenuHandler.hideMenu();var a=c.view.sca…
3501 …d.hideDialog()}));window.openFile.setConsumer(mxUtils.bind(this,function(a,b){try{var c=mxUtils.pa…
3502 …d.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=f;this.addAction("saveAs...",function(){d…
3503 …d.showDialog((new PrintDialog(d)).container,300,180,!0,!0)},null,"sprite-print",Editor.ctrlKey+"+P…
3504 …d.copyXml()}catch(g){}try{mxClipboard.copy(c)}catch(g){d.handleError(g)}},null,"sprite-copy",Edito…
3505 …d=0;d<a.length&&b;d++)b=b&&c.model.isEdge(a[d]);var e=c.view.translate,d=c.view.scale,f=e.x,g=e.y,…
3506 d-g)),c.cellsMoved(a,b-e.x,d-e.y))}}function e(){c.getModel().beginUpdate();try{b(mxClipboard.paste…
3507 …d.copiedSize=new mxRectangle(a.x,a.y,a.width,a.height)))},null,null,"Alt+Shift+X");this.addAction(…
3508 …d.copiedValue=a))},null,null,"Alt+Shift+B");this.addAction("pasteData",function(a,b){function e(b,… argument
3509 …d)}a=null!=b?b:a;var f=c.getModel();if(c.isEnabled()&&!c.isSelectionEmpty()&&null!=d.copiedValue){… argument
3510 …ls(c.duplicateCells()),c.scrollCellToVisible(c.getSelectionCell())}catch(g){d.handleError(g)}},nul…
3512 …d=1==mxUtils.getValue(b,mxConstants.STYLE_EDITABLE,1)?0:1;c.setCellStyles(mxConstants.STYLE_MOVABL…
3513 d,a);c.setCellStyles(mxConstants.STYLE_EDITABLE,d,a);c.setCellStyles("connectable",d,a)}finally{c.g…
3515 … d=0;d<a.length;d++)c.model.contains(a[d])&&(0==c.model.getChildCount(a[d])&&c.model.isVertex(a[d]…
3516 …d=0;d<a.length;d++)c.isTableRow(a[d])||c.isTableCell(a[d])||b.push(a[d]);c.removeCellsFromParent(b…
3517 …=e&&(e=a.value.getAttribute("tooltip"));null!=e&&(b=e)}b=new TextareaDialog(d,mxResources.get("edi…
3518 …d.showDialog(b.container,320,200,!0,!0);b.init()}},null,null,"Alt+Shift+T");this.addAction("openLi… argument
3519 …d.actions.get("image").funct())})).isEnabled=f;this.put("insertLink",new Action(mxResources.get("l… argument
3520 …!0));b.geometry.x=e.x;b.geometry.y=e.y;c.setAttributeForCell(b,"linkTarget",d);c.setLinkForCell(b,…
3522 …etAttribute("href")||"",c.selectNode(b));var k=c.cellEditor.saveSelection();d.showLinkDialog(e,mxR…
3523 …{for(var b=0;b<a.length;b++){var d=a[b];0<c.getModel().getChildCount(d)?c.updateGroupBounds([d],0,…
3525 …abelChanged(state.cell,c.sanitizeHtml(h)),c.setCellStyles("html",a,[b[e]]))}d.fireEvent(new mxEven…
3526 …d,a,mxResources.get("apply"),function(a){null!=a&&0<a.length&&c.setCellStyles(mxConstants.STYLE_RO…
3527 …d.buttonZoomDelay):c.zoomIn()},null,null,Editor.ctrlKey+" + (Numpad) / Alt+Mousewheel");this.addAc…
3528 …mage.width,c.backgroundImage.height)));0==a.width||0==a.height?(c.zoomTo(1),d.resetScrollbars()):(…
3532 ….bind(this,function(a){a=parseInt(a);!isNaN(a)&&0<a&&(a=new ChangePageSetup(d,null,null,null,a/100…
3533 …d.fireEvent(new mxEventObject("gridEnabledChanged"))},null,null,Editor.ctrlKey+"+Shift+G");k.setTo…
3534 …d.fireEvent(new mxEventObject("tooltipsEnabledChanged"))});k.setToggleAction(!0);k.setSelectedCall…
3535 …d.setScrollbars(!d.hasScrollbars())});k.setToggleAction(!0);k.setSelectedCallback(function(){retur…
3536 …ectionPoints",function(){c.setConnectable(!c.connectionHandler.isEnabled());d.fireEvent(new mxEven…
3537 d.fireEvent(new mxEventObject("copyConnectChanged"))});k.setToggleAction(!0);k.setSelectedCallback(…
3538 …d.showDialog((new AboutDialog(d)).container,320,280,!0,!0,function(){h=!1}),h=!0)}));k=mxUtils.bin… argument
3540 …ne",!1,null)},Editor.ctrlKey+"+U");this.addAction("fontColor...",function(){d.menus.pickColor(mxCo…
3541 …d.menus.pickColor(mxConstants.STYLE_STROKECOLOR)});this.addAction("fillColor...",function(){d.menu…
3542 …d.menus.toggleStyle(mxConstants.STYLE_SHADOW)});this.addAction("solid",function(){c.getModel().beg…
3543 …d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DA…
3544 …xConstants.STYLE_ROUNDED,"0"),c.setCellStyles(mxConstants.STYLE_CURVED,"0"),d.fireEvent(new mxEven…
3545 …xConstants.STYLE_ROUNDED,"1"),c.setCellStyles(mxConstants.STYLE_CURVED,"0"),d.fireEvent(new mxEven…
3546 …mxConstants.STYLE_ROUNDED,e);c.setCellStyles(mxConstants.STYLE_CURVED,null);d.fireEvent(new mxEven…
3547 …d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_C…
3548 …Action("setAsDefaultStyle",function(){c.isEnabled()&&!c.isSelectionEmpty()&&d.setDefaultStyle(c.ge…
3549 …d.clearDefaultStyle()},null,null,Editor.ctrlKey+"+Shift+R");this.addAction("addWaypoint",function(…
3550 …d));b.addPointAt(b.state,h,f)}}});this.addAction("removeWaypoint",function(){var a=d.actions.get("…
3551 d[e];if(c.getModel().isEdge(f)){var g=c.getCellGeometry(f);mxEvent.isShiftDown(a)?(c.setCellStyles(…
3553 …d.showImageDialog(a,e,function(a,b,d){if(c.cellEditor.isContentEditing())c.cellEditor.restoreSelec… argument
3554 …mxConstants.STYLE_SHAPE,null,e);if(1==c.getSelectionCount()&&null!=b&&null!=d){var l=e[0],m=c.getM…
3555 …d,c.getModel().setGeometry(l,m))}}finally{c.getModel().endUpdate()}null!=g&&(c.setSelectionCells(g…
3556 …dow.addListener("hide",function(){d.fireEvent(new mxEventObject("layers"))}),this.layersWindow.win…
3557 …d.toggleFormatPanel()}),null,null,Editor.ctrlKey+"+Shift+P");k.setToggleAction(!0);k.setSelectedCa…
3558 function(){d.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.setVisible(!0),d.f…
3559 …d,e,c){var f;"..."==a.substring(a.length-3)?(a=a.substring(0,a.length-3),f=mxResources.get(a)+"...… argument
3561 …d=mxUtils.bind(b,b.isEnabled);this.customFonts=[];this.customFontSizes=[];this.put("fontFamily",ne… argument
3562 …d.addSeparator(c);if(0<this.customFonts.length){for(k=0;k<this.customFonts.length;k++)e(this.custo…
3563 …"formatBlock",new Menu(mxUtils.bind(this,function(a,c){function d(d,e){return a.addItem(d,null,mxU… function
3564 …d(mxResources.get("normal"),"p");d("","h1").firstChild.nextSibling.innerHTML='<h1 style="margin:0p…
3565 …d("","h6").firstChild.nextSibling.innerHTML='<h6 style="margin:0px;">'+mxResources.get("heading")+… argument
3566 …for(var d=b.cellEditor.textarea.getElementsByTagName("font"),e=0;e<d.length;e++)if("3"==d[e].getAt…
3567 …d,a,[mxConstants.STYLE_FONTSIZE],[a],null,c,function(){k(a)})}),g=0;g<e.length;g++)h(e[g]);d.addSe…
3568 null;this.promptChange(d,mxResources.get("custom")+"...","("+mxResources.get("points")+")",this.def…
3571 …s,function(a,c){var d=b.view.getState(b.getSelectionCell());null!=d&&(d=mxUtils.getValue(d.style,m…
3574 …tric",c,!0).setAttribute("title",mxResources.get("isometric")),"connector"==d&&this.edgeStyleChang…
3577 …rrow")))})));this.put("layout",new Menu(mxUtils.bind(this,function(a,c){var d=mxUtils.bind(this,fu…
3579 …=a){var e=new mxCompactTreeLayout(b,!0);e.edgeRouting=!1;e.levelDistance=30;d(e.levelDistance,mxUt…
3580 …=a){var e=new mxCompactTreeLayout(b,!1);e.edgeRouting=!1;e.levelDistance=30;d(e.levelDistance,mxUt…
3581 …l!=a){var e=new mxRadialTreeLayout(b,!1);e.levelDistance=80;e.autoRadius=!0;d(e.levelDistance,mxUt…
3582 null,mxUtils.bind(this,function(){var a=new mxFastOrganicLayout(b);d(a.forceConstant,mxUtils.bind(t…
3584 …roup removeFromGroup - clearWaypoints autosize".split(" "),b)}))).isEnabled=d;this.put("insert",ne…
3585 …wZoom",new Menu(mxUtils.bind(this,function(a,c){this.addMenuItems(a,["resetView","-"],c);for(var d=
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…
3588 …d,e){var c=this.get(a);null!=c&&(c=c.isEnabled(),b.showDisabled||c)&&(d=b.addItem(e||mxResources.g… argument
3589 …d=this.editorUi.editor.graph,e=d.getSelectionCell(),c=d.getCurrentCellStyle(e),f=d.isTable(e)||d.i…
3590 …d.createTable(b,c,null,null,e||mxEvent.isShiftDown(a)?"Table":null);a=mxEvent.isAltDown(a)?d.getFr…
3591 …d.insertLane(e,!0):d.insertTableColumn(e,!0)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon…
3592 …d.deleteLane(e):d.deleteTableColumn(e)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon geSpr…
3593 …d.insertLane(e,!1):d.insertTableRow(e,!1)}catch(l){this.editorUi.handleError(l)}}),null,"geIcon ge…
3595 …d,e){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
3596 …d.rows.length;f++)for(l=d.rows[f],m=l.cells.length;m<c;m++)l.insertCell(-1);q.innerHTML=g.cellInde… argument
3597 …d));b=e.cellEditor.textarea.getElementsByTagName("table");if(b.length==a.length+1)for(g=b.length-1…
3598 …d,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";a.firstChild…
3599 …this,function(a){mxEvent.consume(a)}));e&&(a.firstChild.appendChild(l),a.firstChild.appendChild(d),
3600 …derStyle="solid";c.setAttribute("cellPadding","8");for(var d=0;d<a;d++)for(var e=c.insertRow(d),f=…
3602 …d,e,c,f,k,h){return this.showIconOnly(a.addItem(b,h,mxUtils.bind(this,function(){var a=this.editor… 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
3605 Menus.prototype.createStyleChangeFunction=function(a,b){return mxUtils.bind(this,function(d){var e=… argument
3606 e.autoSizeCell(c[f],!1);null!=d&&d();this.editorUi.fireEvent(new mxEventObject("styleChanged","keys…
3607 Menus.prototype.promptChange=function(a,b,d,e,c,f,k,h,g,l){return a.addItem(b,null,mxUtils.bind(thi… argument
3608 (0<d.length?" "+d:""),null,null,null,null,function(){null!=h&&null!=l&&h(null)});this.editorUi.show…
3609 …d){var e=this.editorUi,c=e.editor.graph,f=226+17*(Math.ceil(ColorDialog.prototype.presetColors.len… class in popupMenuHandler.AnonymousFunction9bd35d6b92600.AnonymousFunction9bd35d6b92700
3610 …d&&e.fireEvent(new mxEventObject("styleChanged","keys",[d],"values",[a],"cells",[c.cellEditor.getE…
3611 …var d=this.editorUi.editor.graph,e=d.toggleCellStyles(a,b);this.editorUi.fireEvent(new mxEventObje…
3612 …d,e,c,f){var k=this.editorUi.actions.get(b);return null!=k&&(a.showDisabled||k.isEnabled())&&k.vis… argument
3613 …d=a.firstChild.nextSibling.nextSibling,e=document.createElement("span");e.style.color="gray";mxUti… argument
3614 …d){a.smartSeparators=!0;this.addPopupMenuHistoryItems(a,b,d);this.addPopupMenuEditItems(a,b,d);thi… argument
3615 …d){this.editorUi.editor.graph.isSelectionEmpty()?this.addMenuItems(a,["pasteHere"],null,d):this.ad… argument
3616 …d){var e=this.editorUi.editor.graph;0<e.getEditableCells(e.getSelectionCells()).length&&(this.addM… argument
3617 null,d)};
3618 Menus.prototype.addPopupMenuCellItems=function(a,b,d){var e=this.editorUi.editor.graph,c=e.view.get… argument
3619 …d))),0<f&&f<c.bends.length-1&&(null==c.bends[f]||null==c.bends[f].node||""==c.bends[f].node.style.…
3620 …ms(a,["-","clearWaypoints"],null,d);1==e.getSelectionCount()&&e.isCellEditable(b)&&this.addPopupMe…
3621 …d,e){var c=this.editorUi.editor.graph.view.getState(b);this.addMenuItems(a,["-","editStyle","editD… argument
3622 …d){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","selectVertices","selec… argument
3623 …d){null!=b&&(d=null!=d?d:"geItem",a.addListener("stateChanged",function(){(b.enabled=a.enabled)?(b… argument
3624 …n(a,b,d){var e=document.createElement("a");e.className="geItem";mxUtils.write(e,a);this.addMenuHan… argument
3625 ….prototype.addMenuHandler=function(a,b){if(null!=b){var d=!0,e=mxUtils.bind(this,function(c){if(d&…
3626 …bind(this,function(b){d=this.currentElt!=a;b.preventDefault()}));mxEvent.addListener(a,"click",mxU…
3630 …d=this.addMenu("",mxResources.get("zoom")+" (Alt+Mousewheel)",!0,"viewZoom",null,!0);d.showDisable…
3631 …is,function(){d.innerHTML=Math.round(100*this.editorUi.editor.graph.view.scale)+"%";this.appendDro…
3632 "1px",d.getElementsByTagName("img")[0].style.top="5px")});this.editorUi.editor.graph.view.addListen…
3644 Toolbar.prototype.addDropDownArrow=function(a,b,d,e,c,f,k,h){c=EditorUi.compactUi?c:h;a.style.white… argument
3645 d-10+"px")};Toolbar.prototype.setFontName=function(a){if(null!=this.fontMenu){this.fontMenu.innerHT…
3647 …d=this.addMenu("",mxResources.get("style"),!0,"formatBlock");d.style.position="relative";d.style.w…
3649 …ementsByTagName("img")[0].style.top="5px");d=this.addItems("- undo redo - bold italic underline".s…
3650 …d[2].setAttribute("title",mxResources.get("redo")+" ("+a.actions.get("redo").shortcut+")");d[4].se… argument
3651 d.addItem("",null,mxUtils.bind(this,function(c){b.cellEditor.alignText(mxConstants.ALIGN_LEFT,c);a.…
3652 …prite geSprite-center");c.setAttribute("title",mxResources.get("center"));c=d.addItem("",null,mxUt…
3653 …d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyfull",!1,null)}),null,…
3654 …d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}),null,"geI…
3655 …30px";e.innerHTML="";d=document.createElement("div");d.className="geSprite geSprite-left";d.style.…
3657 …den";e.style.width="30px";e.innerHTML="";d=document.createElement("div");d.className="geSprite geS…
3658 "-2px";e.appendChild(d);this.appendDropDownImageHtml(e);EditorUi.compactUi&&(e.getElementsByTagName…
3660 …rHTML="";d=document.createElement("div");d.className="geSprite geSprite-plus";d.style.marginLeft="…
3661 …d=b.getParentByNames(c,["TD","TH"],b.cellEditor.text2),e=b.getParentByName(c,"TR",b.cellEditor.tex…
3662 …d?d.cellIndex+1:-1))}catch(m){this.editorUi.handleError(m)}}),null,"geIcon geSprite geSprite-inser…
3664 …\s*\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toStrin… argument
3665 …r.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(a,b,c,d){return"#"+("0"+Numb… argument
3666 ("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});this.editorUi.pic…
3668 …30px";c.innerHTML="";d=document.createElement("div");d.className="geSprite geSprite-table";d.style…
3669 …;Toolbar.prototype.addMenu=function(a,b,d,e,c,f,k){var h=this.editorUi.menus.get(e),g=this.addMenu… argument
3670 …d,e,c,f){return this.addMenuFunctionInContainer(null!=c?c:this.container,a,b,d,e,f)};Toolbar.proto… argument
3671 …d){for(var e=[],c=0;c<a.length;c++){var f=a[c];"-"==f?e.push(this.addSeparator(b)):e.push(this.add… argument
3672 …d,e){a=this.createButton(a);e=null!=e?e:this.container;this.initElement(a,b);this.addClickHandler(… argument
3673 …d){a.enabled&&b(d);mxEvent.consume(d)}),mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"m… argument
3674 …totype.createLabel=function(a,b){var d=document.createElement("a");d.className="geLabel";mxUtils.w…
3675 …d,e){if(null!=d){var c=this.editorUi.editor.graph,f=null,k=!0;mxEvent.addListener(a,"click",mxUtil… argument
3677 …;a.setAttribute("src",OPEN_FORM);this.container=a},ColorDialog=function(a,b,d,e){function c(){var … argument
3678 …IS_IE&&(k.style.marginTop="10px",document.body.appendChild(k));var h=null!=d?d:this.createApplyFun…
3679 …d=document.createElement("div");mxJSColor.picker.box.style.position="relative";mxJSColor.picker.bo… argument
3680 ….style.padding="0px";b.style.width="16px";b.style.height="16px";null==a&&(a=d);if("none"==a)b.styl…
3682 …entColors();h.parentNode.replaceChild(f(),h)}));l.appendChild(h);return h});d.appendChild(k);if(mx…
3683 …d.style.whiteSpace="nowrap";d.appendChild(n);d.appendChild(mxUtils.button("...",function(){documen…
3684 …fffff"),k.value="none"):g.fromString(b));d.appendChild(p);this.picker=g;this.colorInput=k;mxEvent.…
3685 b.keyCode&&(a.hideDialog(),null!=e&&e(),mxEvent.consume(b))});this.container=d};ColorDialog.prototy…
3688 …d=document.createElement("h3");mxUtils.write(d,mxResources.get("about")+" GraphEditor");b.appendCh…
3689 …d.setAttribute("target","_blank");mxUtils.write(d,"www.jgraph.com");b.appendChild(d);mxUtils.br(b)… argument
3690 …autocomplete","off");x.setAttribute("autocapitalize","off");mxUtils.write(x,d||"");x.style.resize=…
3692 …nction(a){var b=document.createElement("div");b.style.textAlign="right";var d=document.createEleme…
3693 d.setAttribute("wrap","off");d.setAttribute("spellcheck","false");d.setAttribute("autocorrect","off…
3694 …d.addEventListener("drop",function(b){b.stopPropagation();b.preventDefault();if(0<b.dataTransfer.f…
3696 f=mxUtils.button(mxResources.get("ok"),function(){var b=Graph.zapGremlins(mxUtils.trim(d.value)),e=…
3699 …bute("disabled","disabled"),t.setAttribute("disabled","disabled"))}function d(){q.style.background… function
3710 …d()});mxEvent.addListener(q,"change",function(){var a=parseInt(q.value)/k;0<a?(p.value=parseFloat(…
3711 …d()});c=document.createElement("tr");g=document.createElement("td");g.setAttribute("align","right"…
3712 …)g="#ffffff";ExportDialog.lastBorderValue=f;ExportDialog.exportFile(a,b,c,g,d,f,h,z.checked)}}));H…
3714 …d,e,c,f,k,h){h=a.editor.graph;if("xml"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.get… argument
3715 …T_SIZE&&l*c<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+d+"&filename="+encodeU…
3716 …ion(a,b,d,e){b.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRequest(SAVE_URL,"xml="+encodeURI… argument
3717 var EditDataDialog=function(a,b){function d(){0<z.value.length?E.removeAttribute("disabled"):E.setA… function
3718 …d=document.createElement("a"),e=mxUtils.createImage(Dialog.prototype.closeImage);e.style.height="9…
3719 …d.style.position="absolute";d.style.top="4px";d.style.right="0px";d.style.margin="0px";d.style.wid…
3721 …d){mxEvent.isShiftDown(d)&&(d=new FilenameDialog(a,u,mxResources.get("apply"),mxUtils.bind(this,fu… argument
3722 80,!0,!0),d.init())});m.setAttribute("title","Shift+Double Click to Edit ID")}for(w=0;w<g.length;w+…
3725 …d=!1,e=0;e<n.length;e++)null==p[e]?f.removeAttribute(n[e]):(f.setAttribute(n[e],p[e].value),d=d||"…
3726 k.className="geBtn gePrimaryBtn";mxEvent.addListener(z,"keyup",d);mxEvent.addListener(z,"change",d)…
3729 ….getDisplayIdForCell=function(a,b){var d=null;null!=a.editor.graph.getModel().getParent(b)&&(d=b.g…
3730 var LinkDialog=function(a,b,d,e){var c=document.createElement("div");mxUtils.write(c,mxResources.ge… argument
3733 …d=mxUtils.button(d,function(){a.hideDialog();e(k.value)});d.className="geBtn gePrimaryBtn";f.appen… argument
3736 …or(var c=!1,d=mxEvent.getSource(a);null!=d;){if(d==h.svg){c=!0;break}d=d.parentNode}c&&(b?g.funct(… argument
3737 …ll!=G.parentNode&&G.parentNode.removeChild(G)}function h(){function a(a,b,c,d){var e=document.crea… argument
3746 …xEvent.addListener(e,"click",function(a){g.isEnabled()&&(g.setDefaultParent(d),g.view.setCurrentRo…
3752 …d=a.addItem(g.convertValueToString(c)||mxResources.get("background"),null,mxUtils.bind(this,functi…
3756 …ame="geButton";k()});this.window=new mxWindow(mxResources.get("layers"),l,b,d,e,c,!0,!0);this.wind…
3775 ….prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(c,b,d,e,l,m,p,n){if(null!=… argument
3778 …d=0;d<c.length;d++)this.showPalette(a+c[d],b)};Sidebar.prototype.showPalette=function(a,c){var b=t…
3779 …tomEntries.length;c++)for(var b=this.customEntries[c],d=0;d<b.entries.length;d++){var e=b.entries[…
3780 …d=0;d<b.entries.length;d++){var e=b.entries[d];if(e.id==a){if(null!=e.libs&&0<e.libs.length&&(b=th…
3781 …d.push(mxSettings.getLibraries()):d.push(this.defaultEntries)));c=d.join(";").split(";");d={};for(…
3782 …(var f=[],g=0;g<e.libs.length;g++)f.push(e.id+"."+g);this.showPalettes("",f,d[e.id])}}};Sidebar.pr…
3791 …arams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(a,c,b){var d=!1;if(!mxClient.IS_I…
3794 …sources.get("cancel"))}))}else{if("none"==c.style.display){if(d)a.appendChild(e);else if(d=!0,null…
3796 …rototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(a,c,d){var e=b.apply(this,… argument
3797 …d=b[0].toLowerCase().replace(" ","_"),b=mxUtils.trim(b.slice(1,b.length).join(" ").toLowerCase());… argument
3798 …d){this.showPalettes(d.prefix||"",d.libs||[d.id],!0);var e=this.showPalette(c[a].lib||c[a].id,!0);…
3799 …d){var e=d.lastIndexOf(".");if(0<e){var f=d.substring(0,e),d=d.substring(e+1,d.length),e=this.getT…
3800 …d=this.rack,e=this.pids,m=this.cisco,p=this.sysml;"1"==urlParams.createindex&&(this.createdSearchI…
3801 …d&&null!=e&&(null!=b?(d.style.display="block",e.innerHTML="",mxUtils.write(e,this.editorUi.getReso…
3802 …v,this.editorUi.getResource(a.title),!1,mxUtils.bind(this,function(c,b){var d=mxUtils.bind(this,fu…
3803 …ement.nodeName){var h=JSON.parse(mxUtils.getTextContent(g.documentElement));d(h)}else f(mxResource…
3804 …d=a;e=c;g()})),null!=a.data)this.setCurrentSearchEntryLibrary(t.id,t.id+"."+v),this.addEntries(a.d…
3814 …ette();this.addNetworkPalette();this.addOfficePalette();this.addRackPalette(d,c);this.addVeeamPale…
3815 …totype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(a,c,b,d,l,m,p,n,q,r){e.apply… argument
3816 …d,w:Math.round(f*p),h:Math.round(g*p)},b=null!=n?n[b]:null,null!=b&&(c.tags=b),null!=r&&(c.id=r,c.…
3817 …=fixed;image="+b,a,a,"")}))})(f,d)}};var c=Sidebar.prototype.searchEntries;Sidebar.prototype.searc… argument
3818 …d-Math.ceil((e-b/4)/b),mxUtils.get(ICONSEARCH_PATH+"?q="+encodeURIComponent(a)+"&p="+g+"&c="+b,mxU…
3819 …}))):f(c,e,g||!this.editorUi.isOffline(),h)}));c.apply(this,arguments)};var d=Sidebar.prototype.it…
3821 e.setSelectionCell(g);f=!0}}f||d.apply(this,arguments)}})();(function(){Sidebar.prototype.addActive…
3856 …ontainerType=tree;");c.vertex=!0;var d=new mxCell("Start",new mxGeometry(20,20,100,40),"whiteSpace…
3857 …d);var f=new mxCell("Task",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");f.vertex=!0;c.i…
3858 d.vertex=!0;c.insert(d);g=g.clone();f.insertEdge(g,!0);d.insertEdge(g,!1);c.insert(g);g=g.clone();h…
3867 …type.addAlliedTelesisBuildingsPalette=function(a,b,e,c){c+="buildings/";var d=[this.createVertexTe…
3870 …<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisComputerTerminalsPalett…
3875 …=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisMediaConvertersPale…
3877 …ia Converters",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
3878 "security/";var d=[this.createVertexTemplateEntry(c+"DVS_Surveillance_Monitor.svg;",.7*a,1*a,"","DV…
3880 …or(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisStoragePale…
3883 …for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisSwitchPale…
3889 …r(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisWirelessPale…
3890 …is / Wireless",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
3891 this.setCurrentSearchEntryLibrary("android");var d=[this.createVertexTemplateEntry(b+"phone2;stroke…
3900 …d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inher…
3901 …d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inher…
3902 …d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inher…
3903 …d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inher…
3904 ….insert(b);var d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;grad…
3905 …d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientCol…
3906 d.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor…
3907 d.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"shape=ellipse;strokeColor=inh…
3908 d.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor…
3959 …get("android"),!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
4099 …;");c.vertex=!0;var d=new mxCell("",new mxGeometry(117,13,6,6),"shape=ellipse;fillColor=#596780;st…
4100 …;html=1;sketch=0;");f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],133,33,"Button (c…
4115 …d=new mxCell("Want more information?",new mxGeometry(30,0,200,20),"fillColor=none;strokeColor=none…
4155 …ft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;var d=new mxCell("<b>Not g…
4156 …;spacingLeft=15;spacingRight=15;spacingTop=10");d.vertex=!0;return a.createVertexTemplateFromCells…
4173 …ft=5;strokeColor=#FFAB00;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;var d=new mxCell("",new mx…
4174 d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,-10);d.vertex=!0;c.insert(d);return a.crea…
4175 …d=new mxCell("",new mxGeometry(1,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;stro…
4478 …d=new mxCell("",new mxGeometry(70,80,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=…
4535 …").join(" "))])};Sidebar.prototype.addAWS4AnalyticsPalette=function(a,b,e,c,d,f,g){b="sketch=0;out… argument
4536 …d+".analytics;",c,c,"","Analytics",null,null,this.getTagsForStencil(d,"analytics","aws amazon web …
4537 …d+".cloudsearch2;",c,c,"","CloudSearch",null,null,this.getTagsForStencil(d,"cloudsearch","aws amaz…
4538 …d+".finspace;",c,c,"","FinSpace",null,null,this.getTagsForStencil(d,"finspace","aws amazon web ser…
4539 …d,"kinesis data analytics","aws amazon web service analytics ").join(" ")),this.createVertexTempla…
4540 …d+".kinesis_video_streams;",c,c,"","Kinesis Video Streams",null,null,this.getTagsForStencil(d,"kin…
4541 …d+".redshift;",c,c,"","Redshift",null,null,this.getTagsForStencil(d,"redshift","aws amazon web ser…
4542 …d+".glue;",c,c,"","Glue",null,null,this.getTagsForStencil(d,"glue","aws amazon web service analyti…
4543 d+".glue_elastic_views;",c,c,"","Glue Elastic Views",null,null,this.getTagsForStencil(d,"glue elast…
4544 …d+".sql_workbench;",c,c,"","SQL Workbench",null,null,this.getTagsForStencil(d,"sql workbench","aws…
4545 …d,"hdfs cluster","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+…
4546 …d,"emr engine mapr m3","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEn…
4547 …d,"cluster","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"dens…
4548 …d,"redshift ra3","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+…
4549 …d,"glue data catalog","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEnt… argument
4550 d,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#B0084D;strokeColo…
4551 …d+".application_integration;",c,c,"","Application Integration",null,null,this.getTagsForStencil(d,…
4552 …d+".mq;",c,c,"","MQ",null,null,this.getTagsForStencil(d,"mq","aws amazon web service application i…
4553 …d+".sqs;",c,c,"","Simple Queue Service",null,null,this.getTagsForStencil(d,"sqs simple queue servi…
4554 …d+".managed_workflows_for_apache_airflow;",c,c,"","Managed Workflows for Apache Airflow",null,null…
4555 …d+".mobile_application;",c,c,"","Console Mobile Application",null,null,this.getTagsForStencil(d,"c…
4556 …d+".appflow;",c,c,"","AppFlow",null,null,this.getTagsForStencil(d,"appflow","aws amazon web servic…
4557 …d,"email notification","aws amazon web service application integration ").join(" ")),this.createVe…
4558 …d,"eventbridge default event bus resource","aws amazon web service application integration ").join…
4559 …d,"event resource","aws amazon web service application integration ").join(" ")),this.createVertex…
4560 …d,"message","aws amazon web service application integration ").join(" ")),this.createVertexTemplat…
4561 Sidebar.prototype.addAWS4ARVRPalette=function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0],[0.25,0,0],[… argument
4562 …d+".ar_vr;",c,c,"","AR & VR",null,null,this.getTagsForStencil(d,"ar vr augmented virtual reality",… 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],[…
4564 …d+".cost_management;",c,c,"","Cost Management",null,null,this.getTagsForStencil(d,"cost management…
4565 …d+".budgets_2;",c,c,"","Budgets",null,null,this.getTagsForStencil(d,"budgets","aws amazon web serv…
4566 …d+".custom_billing_manager;",c,c,"","Custom Billing Manager",null,null,this.getTagsForStencil(d,"c…
4567 …d+".savings_plans;",c,c,"","Savings Plans",null,null,this.getTagsForStencil(d,"savings plans","aws… argument
4569 …d+".blockchain;",c,c,"","Blockchain",null,null,this.getTagsForStencil(d,"blockchain","aws amazon w…
4570 …d,"quantum ledger database","aws amazon web service cost management ").join(" ")),this.createVerte… argument
4572 …d+".business_application;",c,c,"","Business Application",null,null,this.getTagsForStencil(d,"busin…
4573 …d+".chime;",c,c,"","Chime",null,null,this.getTagsForStencil(d,"chime","aws amazon web service busi…
4574 …d+".connect;",c,c,"","Connect",null,null,this.getTagsForStencil(d,"connect","aws amazon web servic…
4575 …d+".pinpoint;",c,c,"","Pinpoint",null,null,this.getTagsForStencil(d,"pinpoint","aws amazon web ser…
4576 …d,"simple email service","aws amazon web service business applications ").join(" ")),this.createVe…
4577 …d+".workmail;",c,c,"","WorkMail",null,null,this.getTagsForStencil(d,"workmail","aws amazon web ser…
4578 …s ").join(" "))])};Sidebar.prototype.addAWS4ComputePalette=function(a,b,e,c,d,f){b="sketch=0;outli… argument
4579 …d+".compute;",c,c,"","Compute",null,null,this.getTagsForStencil(d,"compute","aws amazon web servic…
4580 d+".auto_scaling2;",c,c,"","EC2 Auto Scaling",null,null,this.getTagsForStencil(d,"ec2 auto scaling"…
4581 …d+".lightsail;",c,c,"","Lightsail",null,null,this.getTagsForStencil(d,"lightsail","aws amazon web …
4582 …d+".compute_optimizer;",c,c,"","Compute Optimizer",null,null,this.getTagsForStencil(d,"compute opt…
4583 …d+".elastic_fabric_adapter;",c,c,"","Elastic Fabric Adapter",null,null,this.getTagsForStencil(d,"e…
4584 …d+".lambda;",c,c,"","Lambda",null,null,this.getTagsForStencil(d,"lambda","aws amazon web service c…
4585 …d,"nice dcv","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resou…
4586 …d+".outposts_1u_and_2u_servers;",c,c,"","Outposts 1u and 2u Servers",null,null,this.getTagsForSten…
4587 …d,"serverless application repository","aws amazon web service compute ").join(" ")),this.createVer…
4588 …d+".thinkbox_frost;",c,c,"","Thinkbox Frost",null,null,this.getTagsForStencil(d,"thinkbox frost","…
4589 …d+".thinkbox_sequoia;",c,c,"","Thinkbox Sequoia",null,null,this.getTagsForStencil(d,"thinkbox sequ…
4590 …d+".elastic_load_balancing;",c,c,"","Elastic Load Balancing",null,null,this.getTagsForStencil(d,"e…
4591 …d+".wavelength;",c,c,"","Wavelength",null,null,this.getTagsForStencil(d,"wavelength","aws amazon w…
4592 …d,"autoscaling auto scaling","aws amazon web service compute ").join(" ")),this.createVertexTempla…
4593 …d,"c5a","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"c5ad;",48*…
4594 …d,"c5n","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"c6gd;",48*…
4595 …d,"d2","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"d3en_instan…
4596 …d,"db on database","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+…
4597 …d,"elastic beanstalk deployment","aws amazon web service compute ").join(" ")),this.createVertexTe…
4598 …d,"g3","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"g4ad_instan…
4599 …d,"h1","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"habana_gaud…
4600 …d,"i2","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"i3en;",48*a…
4601 …d,"inf1","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"inferenti…
4602 …d,"","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"instance_with…
4603 …d,"m4","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"m5a_instanc…
4604 …d,"m5dn","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"m5_instan…
4605 …d,"m5zn","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"m6gd_inst…
4606 …d,"mac","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"optimized_…
4607 …d,"p3dn","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"p3_instan…
4608 …d,"p4","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"r4_instance…
4609 …d,"r5a","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"r5b_instan…
4610 …d,"r5","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"r5n_instanc…
4611 …d,"rdn","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"spot_insta…
4612 …d,"t3a","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"t3_instanc…
4613 …d,"t4g","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"trainium_i…
4614 …d,"x1","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"z1d_instanc… argument
4616 …d+".containers;",c,c,"","Containers",null,null,this.getTagsForStencil(d,"","aws amazon web service…
4617 …d,"eks cloud","aws amazon web service container containers ").join(" ")),this.createVertexTemplate…
4618 …d+".ecr;",c,c,"","Elastic Container Registry",null,null,this.getTagsForStencil(d,"elastic containe…
4619 …d+".fargate;",c,c,"","Fargate",null,null,this.getTagsForStencil(d,"fargate","aws amazon web servic…
4620 …d,"ecs copilot cli","aws amazon web service container containers ").join(" ")),this.createVertexTe…
4621 …d,"ecs elastic container service","aws amazon web service container containers ").join(" ")),this.…
4622 …d,"ecs anywhere","aws amazon web service container containers ").join(" ")),this.createVertexTempl…
4623 … "))])};Sidebar.prototype.addAWS4CustomerEnablementPalette=function(a,b,e,c,d,f){a="sketch=0;point… argument
4624 …d+".customer_enablement;",c,c,"","Customer Enablement",null,null,this.getTagsForStencil(d,"custome…
4625 …d+".iq;",c,c,"","IQ",null,null,this.getTagsForStencil(d,"iq","aws amazon web service customer enab…
4626 …d,"professional services","aws amazon web service customer enablement ").join(" ")),this.createVer…
4627 Sidebar.prototype.addAWS4CustomerEngagementPalette=function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0… argument
4628 …d+".customer_engagement;",c,c,"","Customer Engagement",null,null,this.getTagsForStencil(d,"custome…
4629 …d+".pinpoint;",c,c,"","Pinpoint",null,null,this.getTagsForStencil(d,"pinpoint","aws amazon web ser… argument
4631 …d+".database;",c,c,"","Database",null,null,this.getTagsForStencil(d,"database","aws amazon web ser…
4632 …d,"documentdb with mongodb compatibility","aws amazon web service db database ").join(" ")),this.c…
4633 …d+".managed_apache_cassandra_service;",c,c,"","Managed Apache Cassandra Service",null,null,this.ge…
4634 …d,"quantum ledger database db","aws amazon web service db database ").join(" ")),this.createVertex…
4635 …d+".redshift;",c,c,"","Redshift",null,null,this.getTagsForStencil(d,"redshift","aws amazon web ser…
4636 …d,"database migration service","aws amazon web service db database ").join(" ")),this.createVertex…
4637 …d,"dynamodb dynamo db database attributes","aws amazon web service db database ").join(" ")),this.…
4638 …d,"rds instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(…
4639 …d,"mariadb maria db instance","aws amazon web service db database ").join(" ")),this.createVertexT…
4640 …d,"mysql instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntr…
4641 …d,"piop","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_p…
4642 …d,"rds proxy","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"…
4643 …d,"sql server instance","aws amazon web service db database ").join(" ")),this.createVertexTemplat…
4644 …d,"global secondary index","aws amazon web service db database ").join(" ")),this.createVertexTemp…
4645 …d,"table","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"cach…
4646 …d,"elasticache for redis","aws amazon web service db database ").join(" ")),this.createVertexTempl…
4647 …d,"database migration workflow job","aws amazon web service db database ").join(" "))])};Sidebar.p… argument
4649 …d+".developer_tools;",c,c,"","Developer Tools",null,null,this.getTagsForStencil(d,"developer tools…
4650 …d,"cloud development kit","aws amazon web service dev developer tools ").join(" ")),this.createVer…
4651 …d+".codebuild;",c,c,"","CodeBuild",null,null,this.getTagsForStencil(d,"codebuild","aws amazon web …
4652 …d,"codedeploy","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplate…
4653 …d+".command_line_interface;",c,c,"","Command Line Interface",null,null,this.getTagsForStencil(d,"c…
4654 …d,"tools and sdks software development kit","aws amazon web service dev developer tools ").join(" … 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],[…
4656 …d+".desktop_and_app_streaming;",c,c,"","End User Computing",null,null,this.getTagsForStencil(d,"de…
4657 d+".workspaces;",c,c,"","WorkSpaces",null,null,this.getTagsForStencil(d,"workspaces","aws amazon we…
4658 Sidebar.prototype.addAWS4FrontEndWebMobilePalette=function(a,b,e,c,d,f){b="sketch=0;outlineConnect=… argument
4659 …d+".mobile;",c,c,"","Mobile",null,null,this.getTagsForStencil(d,"mobile","aws amazon web service m…
4660 …d+".device_farm;",c,c,"","Device Farm",null,null,this.getTagsForStencil(d,"device farm","aws amazo…
4661 …d,"location service map","aws amazon web service mobile ").join(" ")),this.createVertexTemplateEnt…
4662 …rStencil(d,"location service track","aws amazon web service mobile ").join(" "))])};Sidebar.protot… argument
4663 …d+".game_tech2;",c,c,"","Game Tech",null,null,this.getTagsForStencil(d,"game tech","aws amazon web…
4664 …d+".lumberyard;",c,c,"","Lumberyard",null,null,this.getTagsForStencil(d,"lumberyard","aws amazon w… argument
4666 …d+".internet_of_things;",c,c,"","Internet of Things",null,null,this.getTagsForStencil(d,"","aws am…
4667 …d,"1click","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateE…
4668 …d+".iot_core;",c,c,"","Core",null,null,this.getTagsForStencil(d,"core","aws amazon web service int…
4669 …d,"device management","aws amazon web service internet of things iot ").join(" ")),this.createVert…
4670 …d+".iot_sitewise;",c,c,"","SiteWise",null,null,this.getTagsForStencil(d,"sitewise","aws amazon web…
4671 …d,"iot sailboat","aws amazon web service internet of things iot ").join(" ")),this.createVertexTem…
4672 …d,"data set","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplat…
4673 …d,"notebook","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplat…
4674 …d,"actuator","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplat…
4675 …d,"alexa enabled device","aws amazon web service internet of things iot ").join(" ")),this.createV…
4676 …d,"bycicle","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplate…
4677 …d,"certificate manager","aws amazon web service internet of things iot ").join(" ")),this.createVe…
4678 …d,"desired state","aws amazon web service internet of things iot ").join(" ")),this.createVertexTe…
4679 …d,"door lock","aws amazon web service internet of things iot ").join(" ")),this.createVertexTempla…
4680 …d,"fire tv","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplate…
4681 …d,"hardware board","aws amazon web service internet of things iot ").join(" ")),this.createVertexT…
4682 …d,"http protocol","aws amazon web service internet of things iot ").join(" ")),this.createVertexTe…
4683 …d,"medical emergency","aws amazon web service internet of things iot ").join(" ")),this.createVert…
4684 …d,"over the air update","aws amazon web service internet of things iot ").join(" ")),this.createVe…
4685 …d,"reported state","aws amazon web service internet of things iot ").join(" ")),this.createVertexT…
4686 …d,"servo","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEn…
4687 …d,"thermostat","aws amazon web service internet of things iot ").join(" ")),this.createVertexTempl…
4688 …d,"utility","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplate… argument
4690 …d+".machine_learning;",c,c,"","Machine Learning",null,null,this.getTagsForStencil(d,"machine learn…
4691 d+".codeguru_2;",c,c,"","CodeGuru",null,null,this.getTagsForStencil(d,"codeguru","aws amazon web se…
4692 …d+".devops_guru;",c,c,"","DevOps Guru",null,null,this.getTagsForStencil(d,"devops guru","aws amazo…
4693 …d,"forecast","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry…
4694 …d+".kendra;",c,c,"","Kendra",null,null,this.getTagsForStencil(d,"kendra","aws amazon web service m…
4695 …d,"panorama","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry…
4696 …d+".lookout_for_metrics;",c,c,"","Lookout for Metrics",null,null,this.getTagsForStencil(d,"lookout…
4697 d+".monitron;",c,c,"","Monitron",null,null,this.getTagsForStencil(d,"monitron","aws amazon web serv…
4698 …d+".rekognition_2;",c,c,"","Rekognition",null,null,this.getTagsForStencil(d,"rekognition","aws ama…
4699 …d,"sagemaker ground truth","aws amazon web service machine learning ").join(" ")),this.createVerte…
4700 …d+".translate;",c,c,"","Translate",null,null,this.getTagsForStencil(d,"translate","aws amazon web …
4701 …d,"deep learning amis","aws amazon web service machine learning ").join(" ")),this.createVertexTem…
4702 …d+".tensorflow_on_aws;",c,c,"","TensorFlow on AWS",null,null,this.getTagsForStencil(d,"tensorflow …
4703 …d,"deep learning containers","aws amazon web service machine learning ").join(" ")),this.createVer…
4704 …d,"rekognition video","aws amazon web service machine learning ").join(" ")),this.createVertexTemp…
4705 …l(d,"sagemaker train","aws amazon web service machine learning ").join(" "))])};Sidebar.prototype.… argument
4707 …d+".management_and_governance;",c,c,"","Management & Governance",null,null,this.getTagsForStencil(…
4708 …d+".managed_service_for_grafana;",c,c,"","Managed Service for Grafana",null,null,this.getTagsForSt…
4709 …d+".app_config;",c,c,"","App Config",null,null,this.getTagsForStencil(d,"app config","aws amazon w…
4710 d+".application_auto_scaling;",c,c,"","Application Auto Scaling",null,null,this.getTagsForStencil(d…
4711 …d,"backint agent","aws amazon web service management governance ").join(" ")),this.createVertexTem…
4712 …d+".cloudtrail;",c,c,"","CloudTrail",null,null,this.getTagsForStencil(d,"cloudtrail","aws amazon w…
4713 …d,"command line interface","aws amazon web service management governance ").join(" ")),this.create…
4714 …d+".control_tower;",c,c,"","Control Tower",null,null,this.getTagsForStencil(d,"control tower","aws…
4715 d+".fault_injection_simulator;",c,c,"","Fault Injection Simulator",null,null,this.getTagsForStencil…
4716 …d,"managed services","aws amazon web service management governance ").join(" ")),this.createVertex…
4717 …d+".organizations;",c,c,"","Organizations",null,null,this.getTagsForStencil(d,"organizations","aws…
4718 d+".proton;",c,c,"","Proton",null,null,this.getTagsForStencil(d,"proton","aws amazon web service ma…
4719 …d+".systems_manager_incident_manager;",c,c,"","Systems Manager - Incident Manager",null,null,this.…
4720 …d+".well_architect_tool;",c,c,"","Well-Architected Tool",null,null,this.getTagsForStencil(d,"well …
4721 …d,"cloudwatch event based","aws amazon web service management governance ").join(" ")),this.create…
4722 …d,"cloudwatch rule","aws amazon web service management governance ").join(" ")),this.createVertexT…
4723 …d,"cloudformation stack","aws amazon web service management governance ").join(" ")),this.createVe…
4724 …d,"license manager license blending","aws amazon web service management governance ").join(" ")),t…
4725 …d,"opsworks apps applications","aws amazon web service management governance ").join(" ")),this.cr…
4726 …d,"opsworks layers","aws amazon web service management governance ").join(" ")),this.createVertexT…
4727 …d,"opsworks permissions","aws amazon web service management governance ").join(" ")),this.createVe…
4728 …d,"organizations account","aws amazon web service management governance ").join(" ")),this.createV…
4729 …d,"organizations management account","aws amazon web service management governance ").join(" ")),t…
4730 …d,"shield advanced","aws amazon web service management governance ").join(" ")),this.createVertexT…
4731 …d,"systems manager documents","aws amazon web service management governance ").join(" ")),this.cre…
4732 …d,"systems manager parameter store","aws amazon web service management governance ").join(" ")),th…
4733 …d,"systems manager run command","aws amazon web service management governance ").join(" ")),this.c…
4734 …d,"trusted advisor checklist cost","aws amazon web service management governance ").join(" ")),thi…
4735 …d,"trusted advisor checklist performance","aws amazon web service management governance ").join(" …
4736 …oin(" "))])};Sidebar.prototype.addAWS4MediaServicesPalette=function(a,b,e,c,d,f){a="sketch=0;point… argument
4737 …d+".media_services;",c,c,"","Media Services",null,null,this.getTagsForStencil(d,"media services","…
4738 …d+".kinesis_video_streams;",c,c,"","Kinesis Video Streams",null,null,this.getTagsForStencil(d,"kin…
4739 …d,"elemental appliances software","aws amazon web service media services ").join(" ")),this.create…
4740 …d,"elemental mediaconvert","aws amazon web service media services ").join(" ")),this.createVertexT…
4741 …d+".elemental_mediastore;",c,c,"","Elemental MediaStore",null,null,this.getTagsForStencil(d,"eleme…
4742 …d+".elemental;",c,c,"","Elemental Conductor",null,null,this.getTagsForStencil(d,"elemental conduct…
4743 …d,"elemental live","aws amazon web service media services ").join(" ")),this.createVertexTemplateE…
4744 …d+".elemental_link;",c,c,"","Elemental Link",null,null,this.getTagsForStencil(d,"elemental link","… argument
4746 …d+".migration_and_transfer;",c,c,"","Migration & Transfer",null,null,this.getTagsForStencil(d,"mig…
4747 …d+".database_migration_service;",c,c,"","Database Migration Service",null,null,this.getTagsForSten…
4748 …d,"migration evaluator","aws amazon web service migration transfer ").join(" ")),this.createVertex…
4749 …d,"server migration service","aws amazon web service migration transfer ").join(" ")),this.createV…
4750 …d+".snowmobile;",c,c,"","Snowmobile",null,null,this.getTagsForStencil(d,"snowmobile","aws amazon w…
4751 …d,"transfer family","aws amazon web service migration transfer ").join(" ")),this.createVertexTemp…
4752 …d,"transfer for ftp resource","aws amazon web service migration transfer ").join(" ")),this.create…
4753 …])};Sidebar.prototype.addAWS4NetworkContentDeliveryPalette=function(a,b,e,c,d,f){b="sketch=0;outli… argument
4754 …d+".networking_and_content_delivery;",c,c,"","Networking and Content Delivery",null,null,this.getT…
4755 …d,"api application programming interface gateway","aws amazon web service netowrk content delivery…
4756 …d+".route_53;",c,c,"","Route 53",null,null,this.getTagsForStencil(d,"route 53","aws amazon web ser…
4757 …d+".vpc;",c,c,"","VPC",null,null,this.getTagsForStencil(d,"vpc virtual private cloud","aws amazon …
4758 …d+".site_to_site_vpn;",c,c,"","Site-to-Site VPN",null,null,this.getTagsForStencil(d,"site to site …
4759 …d+".cloud_map;",c,c,"","Cloud Map",null,null,this.getTagsForStencil(d,"cloud map","aws amazon web …
4760 …d+".global_accelerator;",c,c,"","Global Accelerator",null,null,this.getTagsForStencil(d,"global ac…
4761 …d,"endpoint","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTempl…
4762 …d,"edge location","aws amazon web service netowrk content delivery ").join(" ")),this.createVertex…
4763 …d,"route 53 resolver","aws amazon web service netowrk content delivery ").join(" ")),this.createVe…
4764 …d,"route 53 resolver query logging","aws amazon web service netowrk content delivery ").join(" "))…
4765 …d,"vpc virtual private cloud customer gateway","aws amazon web service netowrk content delivery ")…
4766 …d,"vpc virtual private cloud elastic network interface","aws amazon web service netowrk content de…
4767 …d,"gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTempla…
4768 …d,"vpc virtual private cloud nat gateway","aws amazon web service netowrk content delivery ").join…
4769 …d,"vpc virtual private cloud network access control list","aws amazon web service netowrk content …
4770 …d,"vpc reachability analyzer","aws amazon web service netowrk content delivery ").join(" ")),this.…
4771 …d,"application load balancer","aws amazon web service netowrk content delivery ").join(" ")),this.…
4772 …d,"gateway load balancer","aws amazon web service netowrk content delivery ").join(" ")),this.crea…
4773 …d,"virtual node","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexT…
4774 …d,"vpc virtual private cloud vpn network connection","aws amazon web service netowrk content deliv…
4775 …d,"vpc virtual private cloud traffic mirroring","aws amazon web service netowrk content delivery "… argument
4777 …d+".quantum_technologies;",c,c,"","Quantum Technologies",null,null,this.getTagsForStencil(d,"quant…
4778 …d,"braket chandelier","aws amazon web service quantum technologies ").join(" ")),this.createVertex…
4779 …d,"braket simulator","aws amazon web service quantum technologies ").join(" ")),this.createVertexT…
4780 …d,"braket simulator","aws amazon web service quantum technologies ").join(" ")),this.createVertexT…
4781 …d,"braket state vector","aws amazon web service quantum technologies ").join(" ")),this.createVert… argument
4783 …d+".robotics;",c,c,"","Robotics",null,null,this.getTagsForStencil(d,"robotics","aws amazon web ser…
4784 …d,"fleet management","aws amazon web service robotics ").join(" ")),this.createVertexTemplateEntry…
4785 …rStencil(d,"cloud extension ros","aws amazon web service robotics ").join(" "))])};Sidebar.prototy… argument
4786 …d+".satellite;",c,c,"","Satellite",null,null,this.getTagsForStencil(d,"satellite","aws amazon web … argument
4787 function(a,b,e,c,d,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#…
4788 …d+".security_identity_and_compliance;",c,c,"","Security Identity and Compliance",null,null,this.ge…
4789 …d,"cloud directory","aws amazon web service security identity compliance ").join(" ")),this.create…
4790 …d+".guardduty;",c,c,"","GuardDuty",null,null,this.getTagsForStencil(d,"guardduty guard duty","aws …
4791 …d,"macie","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemp…
4792 …d+".certificate_manager_3;",c,c,"","Certificate Manager",null,null,this.getTagsForStencil(d,"certi…
4793 d+".directory_service;",c,c,"","Directory Service",null,null,this.getTagsForStencil(d,"directory se…
4794 …d,"identity and access management","aws amazon web service security identity compliance ").join(" …
4795 …d,"network firewall","aws amazon web service security identity compliance ").join(" ")),this.creat…
4796 …d+".secrets_manager;",c,c,"","Secrets Manager",null,null,this.getTagsForStencil(d,"secrets manager…
4797 …d+".shield;",c,c,"","Shield",null,null,this.getTagsForStencil(d,"shield","aws amazon web service s…
4798 …d,"single sign on","aws amazon web service security identity compliance ").join(" ")),this.createV…
4799 …d,"ad connector","aws amazon web service security identity compliance ").join(" ")),this.createVer…
4800 …d,"identity and access management iam addon add on","aws amazon web service security identity comp…
4801 …d,"identity and access management iam sts","aws amazon web service security identity compliance ")…
4802 …d,"identity and access management iam encrypted data","aws amazon web service security identity co…
4803 …d,"identity and access management iam mfa token","aws amazon web service security identity complia…
4804 …d,"identity and access management iam temporary security credential","aws amazon web service secur…
4805 …d,"managed ms ad","aws amazon web service security identity compliance ").join(" ")),this.createVe…
4806 …d,"organizations organizational unit","aws amazon web service security identity compliance ").join…
4807 …d,"shield advanced","aws amazon web service security identity compliance ").join(" ")),this.create…
4808 …d,"waf bot control","aws amazon web service security identity compliance ").join(" ")),this.create…
4809 …d,"waf rule","aws amazon web service security identity compliance ").join(" ")),this.createVertexT…
4810 Sidebar.prototype.addAWS4ServerlessPalette=function(a,b,e,c,d,f){this.addPaletteFunctions("aws4Serv… argument
4811 …d+".serverless;",c,c,"","Serverless",null,null,this.getTagsForStencil(d,"serverless","aws amazon w… argument
4813 …d+".storage;",c,c,"","Storage",null,null,this.getTagsForStencil(d,"storage","aws amazon web servic…
4814 …d,"elastic file system","aws amazon web service storage ").join(" ")),this.createVertexTemplateEnt…
4815 …d+".fsx_for_windows_file_server;",c,c,"","FSx for Windows File Server",null,null,this.getTagsForSt…
4816 …d,"infrequent access storage class","aws amazon web service storage ").join(" ")),this.createVerte…
4817 …d+".backup;",c,c,"","Backup",null,null,this.getTagsForStencil(d,"backup","aws amazon web service s…
4818 …d,"snowball edge","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"…
4819 …d+".cloudendure_disaster_recovery;",c,c,"","CloudEndure Disaster Recovery",null,null,this.getTagsF…
4820 d+".efs_standard;",c,c,"","EFS Standard",null,null,this.getTagsForStencil(d,"efs standard","aws ama…
4821 …d,"volume","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"elastic…
4822 …d,"fsx file gateway","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(…
4823 …d,"elastic file system one zone","aws amazon web service storage ").join(" ")),this.createVertexTe…
4824 …d,"efs elastic file system one zone infrequent access","aws amazon web service storage ").join(" "…
4825 …d,"access points","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"…
4826 …d,"backup restore","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+…
4827 …d,"backup recovery point objective","aws amazon web service storage ").join(" ")),this.createVerte…
4828 …d,"s3 simple storage service glacier vault","aws amazon web service storage ").join(" ")),this.cre…
4829 …d,"s3 object lambda","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(…
4830 …d,"s3 on outposts","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+…
4831 …d,"one zone ia","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"gl…
4832 …d,"s3 simple storage service bucket with objects","aws amazon web service storage ").join(" ")),th…
4833 …d,"s3 simple storage service object","aws amazon web service storage ").join(" ")),this.createVert…
4834 …d,"tape gateway","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"v…
4835 …d,"storage gateway non cached volume","aws amazon web service storage ").join(" ")),this.createVer…
4836 …_points;",53*a,78*a,"","VPC Access Points",null,null,this.getTagsForStencil(d,"vpc virtual private…
4849 …" "))])};Sidebar.prototype.addAWS4bGeneralResourcesPalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4850 …d+"resourceIcon;resIcon="+f+".aws_cloud;",e,e,"AWS Cloud",null,null,null,this.getTagsForStencil(f,…
4851 …d+"resourceIcon;resIcon="+f+".disk;",e,e,"Disk",null,null,null,this.getTagsForStencil(f,"disk","aw…
4852 …d+"resourceIcon;resIcon="+f+".generic_database;",e,e,"Generic\ndatabase",null,null,null,this.getTa…
4853 …d+"resourceIcon;resIcon="+f+".internet_alt2;",e,e,"Internet alt2",null,null,null,this.getTagsForSt…
4854 …d+"resourceIcon;resIcon="+f+".multimedia;",e,e,"Multimedia",null,null,null,this.getTagsForStencil(…
4855 …d+"resourceIcon;resIcon="+f+".ssl_padlock;",e,e,"SSL padlock",null,null,null,this.getTagsForStenci…
4856 …d+"resourceIcon;resIcon="+f+".traditional_server;",e,e,"Traditional\nserver",null,null,null,this.g…
4857 … web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIco…
4875 …).join(" "))])};Sidebar.prototype.addAWS4bAnalyticsPalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4881 …d+"resourceIcon;resIcon="+f+".search_documents;",e,e,"Search\ndocuments",null,null,null,this.getTa…
4882 …d+"resourceIcon;resIcon="+f+".emr_engine;",e,e,"EMR engine",null,null,null,this.getTagsForStencil(…
4883 …d+"resourceIcon;resIcon="+f+".emr_engine_mapr_m5;",e,e,"EMR engine\nMapR M5",null,null,null,this.g…
4884 …d+"resourceIcon;resIcon="+f+".dense_compute_node;",e,e,"Dense\ncompute Node",null,null,null,this.g… argument
4885 b,e,c,d,f,g){this.addPaletteFunctions("aws4bApplication Integration","AWS18 / Application Integrati…
4887 …d+"resourceIcon;resIcon="+f+".email_notification;",e,e,"Email\nnotification",null,null,null,this.g…
4888 …d+"resourceIcon;resIcon="+f+".topic;",e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic",…
4889 …d,f,g){this.addPaletteFunctions("aws4bAR VR","AWS18 / AR & VR",!1,[this.createVertexTemplateEntry(… argument
4891 …)])};Sidebar.prototype.addAWS4bBusinessProductivityPalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4892 … ").join(" "))])};Sidebar.prototype.addAWS4bComputePalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4898 …d+"resourceIcon;resIcon="+f+".ami;",e,e,"AMI",null,null,null,this.getTagsForStencil(f,"ami","aws a…
4899 …d+"resourceIcon;resIcon="+f+".db_on_instance;",e,e,"DB on\nInstance",null,null,null,this.getTagsFo…
4900 …d+"resourceIcon;resIcon="+f+".instance_with_cloudwatch;",e,e,"Instance with\nCloudWatch",null,null…
4901 …d+"resourceIcon;resIcon="+f+".instances;",e,e,"Instances",null,null,null,this.getTagsForStencil(f,…
4902 …d+"resourceIcon;resIcon="+f+".spot_instance;",e,e,"Spot Instance",null,null,null,this.getTagsForSt…
4903 …d+"resourceIcon;resIcon="+f+".container_1;",e,e,"Container 1",null,null,null,this.getTagsForStenci…
4904 …d+"resourceIcon;resIcon="+f+".container_3;",e,e,"Container 3",null,null,null,this.getTagsForStenci…
4905 …d+"resourceIcon;resIcon="+f+".lambda_function;",e,e,"Lambda\nFunction",null,null,null,this.getTags… argument
4907 …d+"resourceIcon;resIcon="+f+".email;",e,e,"Email",null,null,null,this.getTagsForStencil(f,"email",… argument
4911 …d+"resourceIcon;resIcon="+f+".attribute;",e,e,"Attribute",null,null,null,this.getTagsForStencil(f,…
4912 …d+"resourceIcon;resIcon="+f+".item;",e,e,"Item",null,null,null,this.getTagsForStencil(f,"item","aw…
4913 …d+"resourceIcon;resIcon="+f+".table;",e,e,"Table",null,null,null,this.getTagsForStencil(f,"table",…
4914 …d+"resourceIcon;resIcon="+f+".db_instance;",e,e,"DB instance",null,null,null,this.getTagsForStenci…
4915 …d+"resourceIcon;resIcon="+f+".piop;",e,e,"PIOP",null,null,null,this.getTagsForStencil(f,"piop","aw…
4916 …d+"resourceIcon;resIcon="+f+".ms_sql_instance_alternate;",e,e,"MS SQL\ninstance\nalternate",null,n…
4917 …d+"resourceIcon;resIcon="+f+".oracle_db_instance;",e,e,"Oracle DB \ninstance",null,null,null,this.…
4918 …d+"resourceIcon;resIcon="+f+".sql_primary;",e,e,"SQL primary",null,null,null,this.getTagsForStenci…
4919 …d+"resourceIcon;resIcon="+f+".postgresql_instance;",e,e,"PostgreSQL\ninstance",null,null,null,this…
4920 …amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIco… argument
4921 …d,f,g){this.addPaletteFunctions("aws4bDesktop App Streaming","AWS18 / Desktop & App Streaming",!1,… argument
4925 …(" "))])};Sidebar.prototype.addAWS4bGameDevelopmentPalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4926 …" "))])};Sidebar.prototype.addAWS4bInternetOfThingsPalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4930 …d,f,g){this.addPaletteFunctions("aws4bIoT Things","AWS18 / IoT Things",!1,[this.createVertexTempla… argument
4931 …d+"resourceIcon;resIcon="+f+".camera;",e,e,"Camera",null,null,null,this.getTagsForStencil(f,"camer…
4932 …d+"resourceIcon;resIcon="+f+".coffee_pot;",e,e,"Coffee Pot",null,null,null,this.getTagsForStencil(…
4933 …d+"resourceIcon;resIcon="+f+".factory;",e,e,"Factory",null,null,null,this.getTagsForStencil(f,"fac…
4934 …d+"resourceIcon;resIcon="+f+".lightbulb;",e,e,"Lightbulb",null,null,null,this.getTagsForStencil(f,…
4935 …d+"resourceIcon;resIcon="+f+".thermostat;",e,e,"Thermostat",null,null,null,this.getTagsForStencil(…
4936 …d+"resourceIcon;resIcon="+f+".utility;",e,e,"Utility",null,null,null,this.getTagsForStencil(f,"uti… argument
4937 …d,f,g){this.addPaletteFunctions("aws4bIoT Resources","AWS18 / IoT Resources",!1,[this.createVertex…
4938 …d+"resourceIcon;resIcon="+f+".alexa_enabled_device;",e,e,"Alexa enabled\ndevice",null,null,null,th…
4939 …d+"resourceIcon;resIcon="+f+".alexa_voice_service;",e,e,"Alexa voice\nservice",null,null,null,this…
4940 …d+"resourceIcon;resIcon="+f+".desired_state;",e,e,"Desired state",null,null,null,this.getTagsForSt…
4941 …d+"resourceIcon;resIcon="+f+".firetv_stick;",e,e,"FireTV stick",null,null,null,this.getTagsForSten…
4942 …d+"resourceIcon;resIcon="+f+".hardware_board;",e,e,"Hardware\nboard",null,null,null,this.getTagsFo…
4943 …d+"resourceIcon;resIcon="+f+".lambda_function;",e,e,"Lambda Function",null,null,null,this.getTagsF…
4944 …d+"resourceIcon;resIcon="+f+".policy;",e,e,"Policy",null,null,null,this.getTagsForStencil(f,"polic…
4945 …d+"resourceIcon;resIcon="+f+".rule;",e,e,"Rule",null,null,null,this.getTagsForStencil(f,"rule","aw…
4946 …d+"resourceIcon;resIcon="+f+".shadow;",e,e,"Shadow",null,null,null,this.getTagsForStencil(f,"shado…
4947 …(" "))])};Sidebar.prototype.addAWS4bMachineLearningPalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4952 …(" "))])};Sidebar.prototype.addAWS4bManagementToolsPalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4958 …d+"resourceIcon;resIcon="+f+".alarm;",e,e,"Alarm",null,null,null,this.getTagsForStencil(f,"alarm",…
4959 …d+"resourceIcon;resIcon="+f+".event_time_based;",e,e,"Event (time-\nbased)",null,null,null,this.ge…
4960 …d+"resourceIcon;resIcon="+f+".stack;",e,e,"Stack",null,null,null,this.getTagsForStencil(f,"stack",…
4961 …d+"resourceIcon;resIcon="+f+".deployments;",e,e,"Deployments",null,null,null,this.getTagsForStenci…
4962 …d+"resourceIcon;resIcon="+f+".layers;",e,e,"Layers",null,null,null,this.getTagsForStencil(f,"layer…
4963 …d+"resourceIcon;resIcon="+f+".resources;",e,e,"Resources",null,null,null,this.getTagsForStencil(f,…
4964 …d+"resourceIcon;resIcon="+f+".documents;",e,e,"Documents",null,null,null,this.getTagsForStencil(f,…
4965 …d+"resourceIcon;resIcon="+f+".maintenance_windows;",e,e,"Maintenance\nwindows",null,null,null,this…
4966 …d+"resourceIcon;resIcon="+f+".patch_manager;",e,e,"Patch\nmanager",null,null,null,this.getTagsForS…
4967 …d+"resourceIcon;resIcon="+f+".state_manager;",e,e,"State\nmanager",null,null,null,this.getTagsForS…
4968 …d+"resourceIcon;resIcon="+f+".checklist_performance;",e,e,"Checklist\nperformance",null,null,null,…
4969 …d+"resourceIcon;resIcon="+f+".checklist;",e,e,"Checklist",null,null,null,this.getTagsForStencil(f,… argument
4973 …).join(" "))])};Sidebar.prototype.addAWS4bMigrationPalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4976 …n(" "))])};Sidebar.prototype.addAWS4bMobileServicesPalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4978 …)};Sidebar.prototype.addAWS4bNetworkContentDeliveryPalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4981 …rvice netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIco…
4982 …d+"resourceIcon;resIcon="+f+".elastic_network_adapter;",e,e,"Elastic\nnetwork\nadapter",null,null,…
4983 …d+"resourceIcon;resIcon="+f+".endpoints;",e,e,"Endpoints",null,null,null,this.getTagsForStencil(f,…
4984 …d+"resourceIcon;resIcon="+f+".nat_gateway;",e,e,"NAT gateway",null,null,null,this.getTagsForStenci…
4985 …d+"resourceIcon;resIcon="+f+".peering;",e,e,"Peering",null,null,null,this.getTagsForStencil(f,"pee…
4986 …d+"resourceIcon;resIcon="+f+".vpn_connection;",e,e,"VPN\nConnection",null,null,null,this.getTagsFo…
4987 …d+"resourceIcon;resIcon="+f+".edge_location;",e,e,"Edge location",null,null,null,this.getTagsForSt…
4988 …d+"resourceIcon;resIcon="+f+".hosted_zone;",e,e,"Hosted zone",null,null,null,this.getTagsForStenci…
4989 …idebar.prototype.addAWS4bSecurityIdentityCompliancePalette=function(a,b,e,c,d,f,g){this.addPalette… argument
4995 …e security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIco…
4996 …d+"resourceIcon;resIcon="+f+".sts;",e,e,"AWS STS",null,null,null,this.getTagsForStencil(f,"sts","a…
4997 …d+"resourceIcon;resIcon="+f+".encrypted_data;",e,e,"Encrypted\ndata",null,null,null,this.getTagsFo…
4998 …d+"resourceIcon;resIcon="+f+".mfa_token;",e,e,"MFA Token",null,null,null,this.getTagsForStencil(f,…
4999 …d+"resourceIcon;resIcon="+f+".role;",e,e,"Role",null,null,null,this.getTagsForStencil(f,"role","aw…
5000 …d+"resourceIcon;resIcon="+f+".certificate_manager_2;",e,e,"Certificate\nmanager",null,null,null,th…
5001 … ").join(" "))])};Sidebar.prototype.addAWS4bStoragePalette=function(a,b,e,c,d,f,g){this.addPalette… argument
5004 …d+"resourceIcon;resIcon="+f+".bucket;",e,e,"Bucket",null,null,null,this.getTagsForStencil(f,"bucke…
5005 …d+"resourceIcon;resIcon="+f+".bucket_with_objects;",e,e,"Bucket with\nobjects",null,null,null,this…
5006 …d+"resourceIcon;resIcon="+f+".object;",e,e,"Object",null,null,null,this.getTagsForStencil(f,"objec…
5007 …d+"resourceIcon;resIcon="+f+".import_export;",e,e,"Import/Export",null,null,null,this.getTagsForSt…
5008 …aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIco…
5047 …};Sidebar.prototype.addAzure2AIMachineLearningPalette=function(a,b,e,c){var d=[this.createVertexTe…
5050 …ction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2Analytic…
5054 …tion(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2AppServic…
5058 …tion(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2AzureStac…
5061 d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2AzureVMwareSolutionPalette=funct…
5063 … / Blockchain",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
5064 function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App S…
5072 …ure / Compute",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
5073 function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App S…
5075 …function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2CXPPa…
5076 …ction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2Database…
5084 …e / Databases",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
5085 b,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Insights.svg;",.11*b,.1575*b,"","Applic…
5086 …nction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2General…
5115 …ure / General",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
5116 Sidebar.prototype.addAzure2IdentityPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(…
5120 …tion(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2Integrati…
5125 …n(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2InternetOfTh…
5126 …nction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2IntuneP…
5129 …function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2IOTPa…
5133 …,"Azure / IoT",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
5134 function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Activity_Log.svg;",.14*b,.1675*b,"","Act…
5143 …nction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2Migrate…
5145 …ion(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2MixedReali…
5146 …d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2MonitorPalette=function(a,b,e,c…
5147 function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Gateways.svg;",.16*b,.16*b,"…
5159 …unction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2OtherP…
5164 …nction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2Preview…
5167 …ction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2Security…
5170 …nction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2Storage…
5176 …function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2WebPa…
5177 …,"Azure / Web",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
5235 …relative=!0;c.geometry.offset=new mxPoint(60,0);c.vertex=!0;b.insert(c);var d=new mxCell("4",new m…
5236 d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);d=new mxCell(""…
5237 …d.insert(c);c=new mxCell("6",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;grad…
5238 …d.insert(c);c=new mxCell("8",new mxGeometry(230,0,30,30),"html=1;shadow=0;dashed=0;shape=mxgraph.b…
5241 …d=new mxCell("Input Group Example",new mxGeometry(130,0,200,30),"html=1;shadow=0;dashed=0;shape=mx…
5242 c.geometry.relative=!0;c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b,d],230,30,…
5244 …d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;stroke…
5256 …d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;stroke…
5257 …d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;stroke…
5283 …d=new mxCell("Go somewhere",new mxGeometry(0,1,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.boo…
5284 new mxPoint(20,-60);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],800,190,"T…
5324 …ize=14;spacingTop=160;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("Image ca…
5325 d.geometry.relative=!0;d.vertex=!0;c.insert(d);c=new mxCell('<b><font style="font-size: 20px">Card …
5326 …d=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;perimeter=none;whit…
5327 …y.relative=!0;c.geometry.offset=new mxPoint(-260,0);c.vertex=!0;b.insert(c);d=new mxCell("Image ca…
5328 d.geometry.relative=!0;d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometr…
5329 …ize=14;spacingTop=160;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("Image ca…
5330 d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Last updated 3 mins ago",new mxGeometr…
5331 …d=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;perimeter=none;whit…
5332 …d.vertex=!0;c.insert(d);d=new mxCell("Last updated 3 mins ago",new mxGeometry(0,1,260,50),"html=1;…
5333 …y.relative=!0;c.geometry.offset=new mxPoint(-260,0);c.vertex=!0;b.insert(c);d=new mxCell("Image ca…
5334 d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Last updated 3 mins ago",new mxGeometr…
5337 …ft;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");c.vertex=!0;var d=new mxCell("Image ca…
5338 d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell('<b><font style="font-size: 20px">Card …
5339 d.vertex=!0;var f=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shap…
5342 …ft;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");c.vertex=!0;var d=new mxCell("Image ca…
5343 d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Last updated 3 mins ago",new mxGeometr…
5344 …ign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");d.vertex=!0;var f=new …
5345 …d.insert(f);f=new mxCell("Last updated 3 mins ago",new mxGeometry(0,1,260,50),"html=1;shadow=0;das…
5348 …d=new mxCell("Image cap",new mxGeometry(0,0,370,160),"html=1;shadow=0;dashed=0;shape=mxgraph.boots…
5349 d.vertex=!0;var f=new mxCell("Image cap",new mxGeometry(0,0,370,160),"html=1;shadow=0;dashed=0;shap…
5351 g.geometry.relative=!0;g.vertex=!0;f.insert(g);return a.createVertexTemplateFromCells([b,c,d,f],760…
5353 …left;spacing=30;spacingBottom=0;fontSize=14;spacingTop=0;");c.vertex=!0;var d=new mxCell('<b><font…
5354 …ign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");d.vertex=!0;var f=new …
5355 f.geometry.relative=!0;f.vertex=!0;d.insert(f);f=new mxCell('<font style="font-size: 18px">Lorem ip…
5359 …=14;spacingTop=0;");l.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l],980,600,"…
5370 …trap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",…
5371 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("An…
5373 …d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spaci…
5374 …d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("S…
5375 …d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxG…
5376 …trap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",…
5377 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("An…
5378 d=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWid…
5380 …d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spaci…
5381 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("So…
5382 …ign=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.v…
5383 …trap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",…
5384 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("An…
5385 d=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWid…
5387 …d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spaci…
5388 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("So…
5389 …ign=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.v…
5390 …trap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",…
5391 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("An…
5392 d=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWid…
5395 …d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spaci…
5396 …d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("S…
5397 …d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxG…
5399 …trap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",…
5400 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("An…
5401 d=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWid…
5404 …;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;…
5405 …d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,170,30),"fillColor=none;s…
5406 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("S…
5411 …trap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",…
5412 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("An…
5424 …d=new mxCell("We'll never share your email with anyone else.",new mxGeometry(0,0,260,30),"fillColo…
5426 …=new mxPoint(0,220);k.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k],800,500,"Fo…
5427 …);c.vertex=!0;var d=new mxCell("Example select",new mxGeometry(0,0,260,40),"fillColor=none;strokeC…
5428 !0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;var f=new mxCell("1",new mxGeometry(0,0,800,30),…
5433 …=new mxPoint(0,350);l.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l],800,500,"…
5434 …d=new mxCell("No file chosen",new mxGeometry(90,40,100,30),"fillColor=none;strokeColor=none;align=…
5440 …d=new mxCell("Password",new mxGeometry(0,50,150,40),"strokeColor=none;fillColor=none;fontColor=#77…
5441 c,d,f],800,90,"Readonly plain text")}),this.addEntry("bootstrap readonly plain text",function(){var…
5442 …d=new mxCell("Confirm identity",new mxGeometry(360,0,125,40),"html=1;shadow=0;dashed=0;shape=mxgra…
5446 …d=new mxCell("Disabled radio",new mxGeometry(0,40,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.b…
5448 …d=new mxCell("(disabled)",new mxGeometry(100,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.boot…
5450 …d=new mxCell("(disabled)",new mxGeometry(100,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.boot…
5453 …d=new mxCell("Another label",new mxGeometry(0,0,260,40),"fillColor=none;strokeColor=none;align=lef…
5454 …=new mxPoint(0,120);f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],800,150,"Form gro…
5455 …9999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");c.vertex=!0;var d=new mxCell("Password…
5456 …fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");d.vertex=!0;var f=new …
5461 …ontColor=#FFFFFF;");v.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l,m,p,n,q,r,…
5462 …tex=!0;var d=new mxCell("Password",new mxGeometry(0,40,200,30),"fillColor=none;strokeColor=none;al…
5466 …#FFFFFF;sketch=0;");n.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l,m,p,n],800…
5467 …ertex=!0;var d=new mxCell("Email",new mxGeometry(0,35,200,30),"fillColor=none;strokeColor=none;ali…
5468 …ontColor=#6C767D;");h.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h],800,110,"Hori…
5469 …;align=left;spacingLeft=50;fontSize=14;fontColor=#6C767D;");c.vertex=!0;var d=new mxCell("@",new m…
5470 …fillColor=#f0f0f0;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d)…
5471 d.vertex=!0;var f=new mxCell("Submit",new mxGeometry(530,0,60,30),"html=1;shadow=0;dashed=0;shape=m…
5473 …ed=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");c.vertex=!0;var d=new mxCell("Submit",…
5474 d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],340,30,"Inline form")}),this.addEntry("b…
5475 …left;spacing=2;fontSize=12;fontColor=#999999;");d.vertex=!0;return a.createVertexTemplateFromCells…
5476 …d=new mxCell("Must be 8-20 characters long.",new mxGeometry(290,0,170,40),"fillColor=none;strokeCo…
5477 …vertex=!0;var d=new mxCell("Disabled select menu",new mxGeometry(0,80,100,30),"fillColor=none;stro…
5479 …d,f,g,h],800,240,"Help text")}),this.addEntry("bootstrap custom styles",function(){var b=new mxCel…
5480 new mxGeometry(270,0,100,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;");d.vertex=!0…
5485 …ontColor=#ffffff;");u.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l,m,p,n,q,r,…
5489 …d=new mxCell("",new mxGeometry(0,0,16,45),"fillColor=#C1C1C1;strokeColor=none;");d.geometry.relati…
5490 d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,7.5);d.vertex=!0;c.insert(d);d=new mxCell(""…
5496 …d=new mxCell("@example.com",new mxGeometry(1,0,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.boo…
5497 d.vertex=!0;var f=new mxCell("",new mxGeometry(0,140,800,40),"html=1;shadow=0;dashed=0;shape=mxgrap…
5500 …e=14;");k.vertex=!0;h.insert(k);return a.createVertexTemplateFromCells([b,c,d,f,g,h],800,330,"Basi…
5501 …e;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.vertex=!0;b.insert(c);var d=new mxCell("",new mx…
5502 d.geometry.relative=!0;d.geometry.offset=new mxPoint(-5,-5);d.vertex=!0;c.insert(d);return a.create…
5503 …e;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.vertex=!0;b.insert(c);var d=new mxCell("",new mx…
5504 d.geometry.relative=!0;d.geometry.offset=new mxPoint(-5,-5);d.vertex=!0;c.insert(d);return a.create…
5517 …d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#6C767D;stroke…
5518 …lative=!0;c.geometry.offset=new mxPoint(-120,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mx…
5519 d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-2.5);d.vertex=!0;c.insert(d);return a.cre…
5521 …d=new mxCell("",new mxGeometry(.5,.5,10,5),"shape=triangle;direction=south;fillColor=#6C767D;strok…
5522 …elative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mx…
5523 d.geometry.relative=!0;d.geometry.offset=new mxPoint(-5,-2.5);d.vertex=!0;c.insert(d);c=new mxCell(…
5555 …d=new mxCell("Morbi leo risus",new mxGeometry(0,60,200,30),"shape=partialRectangle;whiteSpace=wrap…
5556 …=left;spacing=10;");g.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g],200,150,"List g…
5565 …align=left;spacing=10;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("14",new …
5566 d.geometry.relative=!0;d.geometry.offset=new mxPoint(-40,-8);d.vertex=!0;c.insert(d);c=new mxCell("…
5567 d.geometry.relative=!0;d.geometry.offset=new mxPoint(-38,-8);d.vertex=!0;c.insert(d);c=new mxCell("…
5568 …ntColor=#ffffff;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-38,-8);d.…
5570 …d=new mxCell("3 days ago",new mxGeometry(1,0,90,40),"strokeColor=none;fillColor=none;fontColor=#ff…
5571 …d=new mxCell("3 days ago",new mxGeometry(1,0,90,40),"strokeColor=none;fillColor=none;fontColor=#6C…
5572 …t(c);d=new mxCell("3 days ago",new mxGeometry(1,0,90,40),"strokeColor=none;fillColor=none;fontColo…
5573 new mxPoint(-90,0);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.wi…
5578 …tex=!0;var d=new mxCell("64x64",new mxGeometry(74,90,64,64),"strokeColor=none;html=1;whiteSpace=wr…
5579 …Align=top;html=1;");f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],800,180,"Nested m…
5584 …tex=!0;var d=new mxCell("64x64",new mxGeometry(0,100,64,64),"strokeColor=none;html=1;whiteSpace=wr…
5586 …Align=top;html=1;");h.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h],800,290,"Medi…
5605 …d=new mxCell("Link",new mxGeometry(140,0,60,30),"fillColor=none;strokeColor=none;fontSize=14;fontC…
5606 …=!0;var d=new mxCell("Link",new mxGeometry(0,80,80,30),"fillColor=none;strokeColor=none;fontSize=1…
5607 c,d,f],80,150,"Vertical navigation")}),this.addEntry("bootstrap tabs",function(){var b=new mxCell("…
5608 …d=new mxCell("Link",new mxGeometry(145,0,50,40),"strokeColor=none;fillColor=none;rSize=5;perimeter…
5609 …d,f,g],780,45,"Tabs")}),this.addEntry("bootstrap navigation pills",function(){var b=new mxCell("Ac…
5610 …d.vertex=!0;var f=new mxCell("Disabled",new mxGeometry(190,0,80,40),"fillColor=none;strokeColor=no…
5611 …d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#0085FC;stroke…
5612 …wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;");d.vertex=!0;var f=new …
5613 c,d,f,g],780,45,"Tabs with dropdown")}),this.addEntry("bootstrap navigation pills with dropdown",fu…
5614 …d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#0085FC;stroke…
5615 c,d,f],280,40,"Navigation pills with dropdown")}),this.addEntry("bootstrap tabs with description",f…
5616 …d=new mxCell("Contact",new mxGeometry(145,0,50,40),"strokeColor=none;fillColor=none;rSize=5;perime…
5617 …=top;fontSize=14;");g.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g],780,135,"Tabs w…
5618 …;c.vertex=!0;var d=new mxCell("Contact",new mxGeometry(130,0,60,40),"fillColor=none;strokeColor=no…
5619 …=top;fontSize=14;");f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],780,135,"Navigati…
5620 …0;var d=new mxCell("Messages",new mxGeometry(0,80,220,40),"fillColor=none;strokeColor=none;fontSiz…
5621 …=top;fontSize=14;");g.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g],800,160,"Vertic…
5623 …d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#7C7C7D;stroke…
5631 …d=new mxCell("@",new mxGeometry(0,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftB…
5679 …d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#0085FC;stroke…
5680 …d=new mxCell("",new mxGeometry(1,0,20,200),"html=1;shadow=0;dashed=0;fillColor=#F1F1F1;strokeColor…
5681 …d.insert(f);f=new mxCell("",new mxGeometry(0,0,10,5),"shape=triangle;direction=north;fillColor=#C1…
5687 …d=new mxCell("",new mxGeometry(1,0,20,330),"html=1;shadow=0;dashed=0;fillColor=#F1F1F1;strokeColor…
5688 …d.insert(f);f=new mxCell("",new mxGeometry(0,0,10,5),"shape=triangle;direction=north;fillColor=#C1…
5692 …d=new mxCell("",new mxGeometry(1,0,20,160),"html=1;shadow=0;dashed=0;fillColor=#F1F1F1;strokeColor…
5693 …d.insert(f);f=new mxCell("",new mxGeometry(0,0,10,5),"shape=triangle;direction=north;fillColor=#C1…
5703 …#ffffff;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("Bootstra…
5704 d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,-10);d.vertex=!0;c.insert(d);d=new mxCell("…
6389 …!0;var d=new mxCell("C",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=…
6390 !0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([e,a,d],2…
6391 …!0;var d=new mxCell("D",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=…
6392 …d.insertEdge(e,!0);return b.createVertexTemplateFromCells([e,a,d],28,30,"Document Message")}),this…
6393 d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;ex…
6421 …rtex=!0;var d=new mxCell("",new mxGeometry(85,25,40,40),"strokeWidth=1;dashed=0;align=center;fontS…
6422 …ertex=!0;var d=new mxCell("",new mxGeometry(25,25,40,40),"strokeWidth=1;dashed=0;align=center;font…
6425 …=!0;var d=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=…
6426 …ry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCe…
6427 …d=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;outlineConnect=0;dashed=0;align=center;…
6428 …d.insertEdge(e,!0);return b.createVertexTemplateFromCells([e,a,d],28,30,"Message")}),this.addEntry…
6429 d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;ex…
6435 …,c="pointerEvents=1;fillColor=strokeColor;"+a+"=mxgraph.electrical.diodes.",d="pointerEvents=1;"+a…
6464 …d+"inductor_3;",100,8,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrica…
6465 …d+"variable_inductor;",100,60,"","Variable",null,null,this.getTagsForStencil("mxgraph.electrical.i…
6466 …d+"iron_core;",64,4,"","Iron Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors"…
6467 …d+"transformer_2;",64,60,"","Transformer (Iron Core)",null,null,this.getTagsForStencil("mxgraph.el…
6468 …d+"transformer;direction=north;",64,64,"","Transformer",null,null,this.getTagsForStencil("mxgraph.…
6469 …riometer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"coaxial_choke;",300…
6470 …d+"transductor;",200,100,"","Transductor",null,null,this.getTagsForStencil("mxgraph.electrical.ind…
6471 …nsformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"pot_trans_3_winding…
6472 …d+"adjustable_transformer;",46,60,"","Adjustable Transformer",null,null,this.getTagsForStencil("mx…
6473 …d+"triplex_induction_volt_reg;",100,100,"","Triplex Induction Voltage Regulator",null,null,this.ge…
6474 …d+"current_transformer_1;",12,75,"","Current Transformer",null,null,this.getTagsForStencil("mxgrap…
6475 …d+"potential_transformer;",100,50,"","Potential Transformer",null,null,this.getTagsForStencil("mxg…
6476 "outdoor metering device","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"line…
6655 …x=!0;var d=new mxCell("",new mxGeometry(20,68,40,52),a+"chair;shadow=0;rotation=180;");d.vertex=!0…
6656 …d=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=…
6657 …d=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=…
6658 …+"chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;…
6659 …d,f,g,h,k,b],200,140,"Large kitchen table")}),this.addEntry("floorplan kitchen table large",functi…
6660 new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=new…
6661 d,f,g,h,k,b],200,140,"Large kitchen table")}),this.addEntry("floorplan office table",function(){var…
6662 …air;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow…
6663 d,f,g,b],140,140,"Office table")}),this.addEntry("floorplan office table large",function(){var b=ne…
6664 …=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,b],200,140,"…
6665 …air;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow…
6666 …d,f,g,h,k,b],200,140,"Large office table")}),this.addEntry("floorplan office table large",function…
6668 …=0;direction=west;");n.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,l,m,p,n,b],3…
6669 …air;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow…
6672 …=0;direction=west;");w.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,l,m,p,n,q,r,…
6866 …F6;");c.vertex=!0;var d=new mxCell("Logical Grouping of Services / Instances",new mxGeometry(0,0,2…
6867 …d.geometry.offset=new mxPoint(10,50);d.vertex=!0;c.insert(d);var e=new mxCell("Zone",new mxGeometr…
6868 …d=new mxCell("pod",new mxGeometry(0,0,210,60),b+"fillColor=#E8F5E9;");d.geometry.relative=!0;d.geo…
6869 …d=new mxCell("Zone",new mxGeometry(0,0,230,250),b+"fillColor=#FFF3E0;");d.geometry.relative=!0;d.g…
6870 …,0,190,60),b+"fillColor=#E0F7FA;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,120);d.…
6874 …ll("1",new mxGeometry(0,0,20,20),b);c.vertex=!0;var d=new mxCell("2",new mxGeometry(40,0,20,20),b)…
6875 …tyle=0;fontSize=11;");m.vertex=!0;return a.createVertexTemplateFromCells([c,d,e,g,h,k,l,m],260,50,…
7054 ….appendChild(b[c](a))}))};Sidebar.prototype.addGCP2CardSet=function(a,b,e,c,d,f){var g=this,h="ske… argument
7055 …d,function(){var c=new mxCell("",new mxGeometry(0,0,e,60),"strokeColor=#dddddd;shadow=1;strokeWidt…
7056 …d,function(){var a=new mxCell("",new mxGeometry(0,0,c,60),"strokeColor=#dddddd;shadow=1;strokeWidt…
7057 …d);return g.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,k)}));f.push(this…
7058 …d.geometry.offset=new mxPoint(5,-19.5);d.vertex=!0;a.insert(d);return g.createVertexTemplateFromCe… argument
7060 …d=new mxCell('<font color="#000000">Name</font><br>'+m,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;…
7061 …d=new mxCell('<font color="#000000">Name</font><br>'+m,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;… argument
7062 …ntry(d,function(){var d=new mxCell("",new mxGeometry(0,0,e,c),"strokeColor=#dddddd;shadow=1;stroke…
7063 d.insert(f);return g.createVertexTemplateFromCells([d],e,c,k)}))};Sidebar.prototype.addGCP2Expanded… argument
7064 ….createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,h)}));d.push(this.addEntry(c…
7066 …d,f,g,h,k,l,m,p,n,q){var r=this,u="sketch=0;dashed=0;connectable=0;html=1;fillColor=#757575;stroke… argument
7070 …=2;");a.vertex=!0;var l=new mxCell('<font color="#000000">'+t+"</font><hr>"+d,new mxGeometry(0,0,p…
7073 …etry.height,t)}))};Sidebar.prototype.addGCP2UserDeviceCard=function(a,b,e,c,d,f,g){var h=this,k="s… argument
7074 0,70,85+d),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;labelP…
7204 …d=new mxCell("",new mxGeometry(20,20,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.plus;strokeColor=#…
7205 …d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.edit;strokeColor=n…
7206 …d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.star;strokeColor=n…
7207 …d=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.heart;strokeColor=…
7208 …d=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.reply;strokeColor=…
7209 …d=new mxCell("",new mxGeometry(18,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.users;strokeColor=…
7210 …d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.gps;strokeColor=#7…
7211 …d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.share2;strokeColor…
7212 …d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.navigate;strokeCol…
7213 …d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.chat;strokeColor=#…
7214 …d=new mxCell("",new mxGeometry(22,18,12,20),"dashed=0;html=1;shape=mxgraph.gmdl.voice;strokeColor=…
7215 …d=new mxCell("",new mxGeometry(20,16,16,24),"dashed=0;html=1;shape=mxgraph.gmdl.google;strokeColor…
7216 …d=new mxCell("",new mxGeometry(16,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.video;strokeColor=…
7217 …d=new mxCell("",new mxGeometry(16,17,24,22),"dashed=0;html=1;shape=mxgraph.gmdl.gallery;strokeColo…
7218 …d=new mxCell("",new mxGeometry(16,17,24,22),"dashed=0;html=1;shape=mxgraph.gmdl.birthday;strokeCol…
7219 …d=new mxCell("",new mxGeometry(16,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.cloud;strokeColor=…
7220 …d=new mxCell("",new mxGeometry(20,20,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.x;strokeColor=#737…
7221 …d=new mxCell("",new mxGeometry(22,18,12,20),"dashed=0;html=1;shape=mxgraph.gmdl.bookmark;strokeCol…
7222 …d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.calendar;strokeCol…
7223 …d=new mxCell("",new mxGeometry(17,20,22,16),"dashed=0;html=1;shape=mxgraph.gmdl.attractions;stroke…
7224 …d=new mxCell("",new mxGeometry(20,18,16,20),"dashed=0;html=1;shape=mxgraph.gmdl.dining;strokeColor…
7225 …ar d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.education;strok…
7226 …d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmd…
7227 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}…
7228 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}…
7229 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}…
7230 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}…
7231 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}…
7232 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}…
7233 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}…
7234 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}…
7235 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],40,40,"Floating Action Button (M…
7245 …d=new mxCell("Greyhound divisively hello couldly wonderfully marginally far upon excluding.",new m…
7266 …d=new mxCell("A",new mxGeometry(0,0,32,32),"shape=ellipse;strokeColor=none;fillColor=#009587;fontC…
7339 …d=new mxCell("UNDO",new mxGeometry(1,0,88,48),"text;verticalAlign=middle;align=center;fontColor=#E…
7353 …t;strokeColor=none;fillColor=#009587;opacity=10;sketch=0;");a.vertex=!0;var d=new mxCell("",new mx…
7354 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, focused or …
7355 …d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph…
7357 …d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph…
7359 …d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph…
7360 …t;strokeColor=none;fillColor=#B0B0B0;opacity=10;sketch=0;");a.vertex=!0;var d=new mxCell("",new mx…
7361 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, disabled, f…
7362 …d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph…
7364 …d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph…
7366 …d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph…
7367 …t;strokeColor=none;fillColor=#B0B0B0;opacity=10;sketch=0;");a.vertex=!0;var d=new mxCell("",new mx…
7368 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (on, disable…
7369 …d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph…
7371 …d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph…
7373 …d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph…
7374 …t;strokeColor=none;fillColor=#666666;opacity=10;sketch=0;");a.vertex=!0;var d=new mxCell("",new mx…
7375 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, focuse…
7376 …d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph…
7423 …d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeCol…
7424 …d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeCol…
7425 …d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeCol…
7426 …d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeCol…
7427 …d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeCol…
7428 …d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeCol…
7429 …d=new mxCell("",new mxGeometry(0,25,346,10),"shape=line;strokeWidth=1;noLabel=1;strokeColor=#B3B3B…
7430 …d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeCol…
7431 …d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeCol…
7432 …d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeCol…
7439 …d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeCol…
7440 …rtex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontSize=16;verticalAlign=…
7441 …d,e],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design li…
7442 d.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLa…
7443 …d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#999999;fontSize=16;vertical…
7444 …ar d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#ffffff;fontSize=16;verti…
7445 d,e],346,55,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design libr…
7446 …trokeColor=#999999;");e.vertex=!0;return b.createVertexTemplateFromCells([a,d,e],346,55,"Single-li…
7457 …ebar.prototype.addIBMAnalyticsPalette=function(a,b,e,c){c+="analytics/";var d=[this.createVertexTe…
7458 …M / Analytics",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
7459 Sidebar.prototype.addIBMApplicationsPalette=function(a,b,e,c){c+="applications/";var d=[this.create…
7465 …{for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMBlockchainPalette=f…
7472 …ion(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMDataPalette=f…
7476 …","IBM / Data",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
7477 function(a,b,e,c){c+="devops/";var d=[this.createVertexTemplateEntry(c+"artifact_management.svg;",a…
7480 …(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMInfrastructurePalette=f…
7486 …{for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMManagementPalette=f…
7491 … / Management",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
7492 Sidebar.prototype.addIBMMiscPalette=function(a,b,e,c){c+="miscellaneous/";var d=[this.createVertexT…
7496 …a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMSecurityPalette=f…
7501 …n(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMSocialPalette=f…
7503 …on(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMUsersPalette=f…
7505 …tion(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMVPCPalette=f…
7513 …C","IBM / VPC",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
7514 Sidebar.prototype.addIBMBoxesPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry("shape…
7521 …nction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMConnectors…
7526 0;c<d.length;c++)a.appendChild(d[c](a))}))}})();(function(){Sidebar.prototype.addInfographicPalette…
7569 …r d=new mxCell("",new mxGeometry(210,90,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0.75;…
7575 t.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h,k,l,m,p,n,q,r,u,t],540,300,"Roadma…
7576 …d=new mxCell("",new mxGeometry(295,105,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.5;ar…
7582 t.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h,k,l,m,p,n,q,r,u,t],710,330,"Roadma…
7639 …d=new mxCell("",new mxGeometry(40,40,180,180),b+"partConcEllipse;fillColor=#AE4132;strokeColor=#ff…
7640 …1;strokeWidth=3;");h.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h],200,200,"Arc …
7641 …r=#444444;");c.vertex=!0;var d=new mxCell("",new mxGeometry(40,40,170,170),"ellipse;fillColor=none…
7643 …p=8;fontStyle=1;");n.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h,k,l,m,p,n],200…
7680 …d=new mxCell("Label",new mxGeometry(100,10,40,90),a+"shadedCube;isoAngle=15;fillColor=#AE4132;stro…
7681 …ize=12;shadow=0;");g.vertex=!0;return sb.createVertexTemplateFromCells([b,c,d,f,g],240,100,"Bar Gr…
7682 …d=new mxCell("Label",new mxGeometry(50,20,40,100),a+"shadedCube;isoAngle=15;fillColor=#F2931E;stro…
7685 …n=left;opacity=70;");p.vertex=!0;return sb.createVertexTemplateFromCells([b,d,g,k,m,c,f,h,l,p],240…
7686 …);c.vertex=!0;var d=new mxCell("",new mxGeometry(50,4,40,90),a+"shadedCube;isoAngle=15;fillColor=#…
7687 g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,d,c,b],140,100,"Bar Graph")}),this.addEntr…
7688 …d=new mxCell("Label",new mxGeometry(50,20,40,100),a+"cylinder;isoAngle=15;fillColor=#F2931E;stroke…
7691 …n=left;opacity=70;");p.vertex=!0;return sb.createVertexTemplateFromCells([b,d,g,k,m,c,f,h,l,p],240…
7822 d=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=…
7852 …y.width,c.geometry.height,"Action Dialog")}),this.createVertexTemplateEntry(d+"iKeybLett;sketch=0;…
7853 …d+"iKeybNumb;sketch=0;",174,100,"","iPhone Keyboard (numbers)",null,null,this.getTagsForStencil("m…
7854 …d+"iKeybNumb;sketch=0;",332,144,"","iPad 7'' Keyboard (numbers)",null,null,this.getTagsForStencil(…
7855 …d+"iKeybNumb;sketch=0;",442,192,"","iPad 10'' Keyboard (numbers)",null,null,this.getTagsForStencil…
7856 …d+"iKeybLett;sketch=0;",200*2.53,400*.55,"","iPad 13''Keyboard (letters)",null,null,this.getTagsFo…
7926 …SHAPE+"=mxgraph.mockup.",e=mxConstants.STYLE_STROKECOLOR+"=#666666;",c=this,d=[this.createVertexTe…
7927 …d=new mxCell("Group 1",new mxGeometry(0,0,100,26),"strokeColor=inherit;fillColor=inherit;gradientC…
7928 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,26);d.vertex=!0;a.insert(d);d=new mxCell("Gr…
7929 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-26);d.vertex=!0;a.insert(d);return c.create…
7930 d.vertex=!0;a.insert(d);d=new mxCell("https://www.draw.io",new mxGeometry(130,60,250,26),b+"contain…
7933 …d=new mxCell("Tab 1",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColo…
7934 d.geometry.relative=!0;d.geometry.offset=new mxPoint(75,0);d.vertex=!0;a.insert(d);d=new mxCell("Ta…
7935 d.vertex=!0;d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,25);a.insert(d);return c.createV…
7936 d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;a.insert(d);d=new mxCell("Ta…
7937 …d.geometry.offset=new mxPoint(0,70);d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(0,0,7,2…
7939 …up Containers",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
7940 e=mxConstants.STYLE_STROKECOLOR+"=#999999;",c=this,d=[this.createVertexTemplateEntry(b+"forms.rrect…
7944 …d=new mxCell("File",new mxGeometry(0,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor…
7945 …d.vertex=!0;a.insert(d);d=new mxCell("Tools",new mxGeometry(249,0,83,30),"strokeColor=inherit;fill…
7946 …nherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");d.vertex=!0;a.insert(d);return c.…
7949 …lor=#666666;align=left;spacingLeft=5;strokeColor=#666666;");a.vertex=!0;var d=new mxCell("Tab 2",n…
7950 d.vertex=!0;var e=new mxCell("Tab 3",new mxGeometry(160,0,70,30),b+"forms.uRect;fontSize=17;fontCol…
7955 …"Mockup Forms",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
7956 mxConstants.STYLE_STROKECOLOR+"=none;",c=this,d=[this.createVertexTemplateEntry(a+"graphics.barChar…
7960 …0,600,300),b+"graphics.rrect;rSize=0;strokeColor=#999999;");a.vertex=!0;var d=new mxCell("#",new m…
7961 …d.vertex=!0;a.insert(d);d=new mxCell("Task",new mxGeometry(20,0,40,40),"strokeColor=inherit;fillCo…
7962 d=new mxCell("Effort",new mxGeometry(190,0,50,40),"strokeColor=inherit;fillColor=inherit;gradientCo…
7963 d.vertex=!0;a.insert(d);d=new mxCell("M",new mxGeometry(240,20,30,20),"strokeColor=inherit;fillColo…
7964 d.vertex=!0;a.insert(d);d=new mxCell("T",new mxGeometry(330,20,30,20),"strokeColor=inherit;fillColo…
7965 d.vertex=!0;a.insert(d);d=new mxCell("S",new mxGeometry(420,20,30,20),"strokeColor=inherit;fillColo…
7966 d.vertex=!0;a.insert(d);d=new mxCell("W",new mxGeometry(510,20,30,20),"strokeColor=inherit;fillColo…
7967 d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(0,40,240,260),"strokeColor=inherit;fillColor…
7968 d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(360,40,60,260),"strokeColor=inherit;fillColo…
7969 d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(540,40,60,260),"strokeColor=inherit;fillColo…
7970 d.vertex=!0;a.insert(d);d=new mxCell("40h",new mxGeometry(190,40,50,20),b+"graphics.anchor;fontColo…
7971 …d.vertex=!0;a.insert(d);d=new mxCell("3",new mxGeometry(0,80,20,20),b+"graphics.anchor;fontColor=#…
7972 d.vertex=!0;a.insert(d);d=new mxCell("4",new mxGeometry(0,100,20,20),b+"graphics.anchor;fontColor=#…
7973 …d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(250,65,40,10),b+"graphics.rrect;rSize=0;str…
7974 …d);return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Gantt Chart")}),…
7979 ….STYLE_SHAPE+"=mxgraph.mockup.",c=mxConstants.STYLE_STROKECOLOR+"=#999999;",d=mxConstants.STYLE_ST…
7980 … ")),this.createVertexTemplateEntry(a+"misc.progressBar;fillColor=#cccccc;"+d+"fillColor2=#99ddff;…
8001 …YLE_STROKECOLOR+"=#666666;",e=mxConstants.STYLE_STROKECOLOR+"=none;",c=this,d=[this.createVertexTe…
8002 …d=new mxCell("Button 2",new mxGeometry(125,0,125,25),"strokeColor=inherit;fillColor=inherit;gradie…
8003 …d.vertex=!0;b.insert(d);d=new mxCell("Button 4",new mxGeometry(375,0,125,25),"strokeColor=inherit;…
8011 …,"Mockup Text",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
8022 function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Cache_Redis_Product.svg;",.5*b,.42*b,"",…
8027 …E / Companies",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
8138 …)}))};Sidebar.prototype.addMSCAEAIandMLServicePalette=function(a,b,e,c){var d=[this.createVertexTe…
8142 …on(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEAnalyticsSer…
8147 …ion(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEComputeServ…
8152 0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEComputeServiceVMPalette=funct…
8156 …n(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEContainerServ…
8158 …on(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEDatabasesSer…
8167 …ion(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEDevOpsServi…
8170 …evOps Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
8171 Sidebar.prototype.addMSCAEGeneralServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateE…
8180 …on(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEIdentityServ…
8186 …ntity Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
8187 Sidebar.prototype.addMSCAEIntegrationServicePalette=function(a,b,e,c){var d=[this.createVertexTempl…
8195 …){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEInternetOfThings…
8200 0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEIntuneServicePalette=function…
8205 …for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEManagementGovernan…
8213 …r(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEManagementGovernance…
8215 …rvice - Media",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
8216 Sidebar.prototype.addMSCAEMigrateServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateE…
8217 …(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEMixedRealitySe…
8218 …ion(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEMobileServi…
8220 …n(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAENetworkingSer…
8232 …(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEOtherCategoryS…
8237 …on(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAESecurityServ…
8239 …ion(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEStorageServ…
8247 …ction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEWebServic…
8251 …/ Web Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
8982 …ingLeft=10;overflow=fill;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("\nSubpac…
8983 d.vertex=!0;a.insert(d);var e=new mxCell("\nSubpackage2",new mxGeometry(190,20,100,50),"strokeColor…
8984 …d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);return b.createVertexTemplateFromCells([a],300,1…
8985 …Height=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");d.vertex=!0;a.insert(d);var e=new…
8986 …lBackgroundColor=none;endSize=12;html=1;");g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);e.i…
8994 …d=new mxCell("Block1",new mxGeometry(15,30,100,50),"strokeColor=inherit;fillColor=inherit;gradient…
8996 …ze=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.i…
9004 …d=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradient…
9005 …ze=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.i…
9007 …d=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradient…
9009 …ze=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.i…
9015 …low=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell('<p style…
9016 …olor=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;");d.vertex=!0;a.insert(d);d=new mxCe…
9017 d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],200,180,"Instance Specification"…
9031 …rtex=!0;var d=new mxCell("Block1",new mxGeometry(350,0,50,20),"shape=rect;html=1;strokeWidth=1;fon…
9033 …verticalAlign=bottom;");g.geometry.relative=!0;g.edge=!0;a.insertEdge(g,!0);d.insertEdge(g,!1);var…
9036 d,e,g,h],400,260,"Participant Property")}),this.addDataEntry("sysml block participant property",400…
9040 …d=new mxCell("p1:\nType1",new mxGeometry(20,100,80,40),"strokeColor=inherit;fillColor=inherit;grad…
9041 …d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);d=new mxCell("1",new mxGeometry(1,0,0,0),"spacin…
9042 d.vertex=!0;g.insert(d);d=new mxCell("e1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=righ…
9043 …;endArrow=none;");g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(…
9044 d.geometry.relative=!0;d.setConnectable(!1);d.vertex=!0;g.insert(d);d=new mxCell("e1",new mxGeometr…
9045 …w=none;dashed=1;");d.geometry.setTerminalPoint(new mxPoint(200,180),!1);d.geometry.relative=!0;d.e…
9046 …low=fill;whiteSpace=wrap;strokeWidth=0;recursiveResize=0;");a.vertex=!0;var d=new mxCell("p1:\nTyp…
9047 …it;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var e=new…
9048 …ze=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.i…
9049 …eWidth=2;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell('<p style…
9050 d.vertex=!0;a.insert(d);d=new mxCell("r1: Type2",new mxGeometry(180,30,100,50),"strokeColor=inherit…
9052 …low=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell('<p style…
9053 …Color=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;");d.vertex=!0;a.insert(d);return b.…
9060 …hiteSpace=wrap;align=center;points=[[0,0.5,0],[1,0.5,0]];");a.vertex=!0;var d=new mxCell("p1",new …
9061 d.geometry.relative=!1;d.vertex=!0;a.insert(d);d=new mxCell("p2",new mxGeometry(140,20,20,20),"stro…
9062 …d=new mxCell("p1 : ~T1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradient…
9063 d.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometr…
9066 …aph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<…
9067 d.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometr…
9068 d.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometr…
9074 …d=new mxCell("trns: Translation",new mxGeometry(260,0,140,60),"html=1;shape=mxgraph.sysml.itemFlow…
9076 …eometry.x=1;g.setConnectable(!1);g.vertex=!0;e.insert(g);a.insertEdge(e,!0);d.insertEdge(e,!1);g=n…
9083 …0);l.insertEdge(m,!1);g.insert(m);return b.createVertexTemplateFromCells([a,d,e,g,h],470,370,"Item…
9086 …d=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=…
9087 d.geometry.setTerminalPoint(new mxPoint(0,0),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0;a.…
9088 …d=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=…
9089 d.geometry.setTerminalPoint(new mxPoint(0,0),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0;a.…
9091 …low=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("C1: Cons…
9092 …d.vertex=!0;a.insert(d);var e=new mxCell("x:",new mxGeometry(0,25,0,0),"html=1;resizable=0;align=l…
9093 …t=22;fontStyle=1;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;d.insert(e);var g=new …
9094 …tX=0;entryY=0.5;entryX=1;");h.geometry.relative=!0;h.geometry.x=1;h.edge=!0;d.insertEdge(h,!0);g.i…
9095 g.geometry.relative=!0;g.geometry.x=1;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);r…
9108 …d=new mxCell("{stream}",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=to…
9112 …ape=mxgraph.sysml.isControl;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("pin name…
9113 …abelBackgroundColor=none;spacingRight=5;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0…
9114 …d=new mxCell("<<optional>>",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;…
9115 !0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Optio…
9121 …pacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;");a.vertex=!0;var d=new mxCell("{ rate =…
9122 d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFr…
9123 …d=new mxCell("",new mxGeometry(100,0,60,40),"shape=rect;html=1;rounded=1;whiteSpace=wrap;");d.vert…
9124 d,e],160,60,"Control Flow")}),this.addDataEntry("sysml activity control flow",160,60,"Control Flow"…
9126 …d=new mxCell("",new mxGeometry(140,0,60,40),"html=1;shape=mxgraph.sysml.objFlowL;strokeWidth=2;whi…
9127 return b.createVertexTemplateFromCells([a,d,e],200,60,"Object Flow")}),this.createVertexTemplateEnt…
9132 …d=new mxCell("<<activity>>\nactivity name",new mxGeometry(30,40,120,60),"strokeColor=i…
9133 …");g.geometry.relative=!0;g.geometry.x=1;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(…
9134 d.vertex=!0;a.insert(d);e=new mxCell("<<block>>\nblock name",new mxGeometry(180,160,120…
9135 !0;g.geometry.x=1;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);return b.createVertex…
9136 …=top;dashed=1;strokeWidth=2;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("",new mx…
9137 d.geometry.setTerminalPoint(new mxPoint(250,30),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0…
9139 …d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;dashed=1;endArrow=none;align=center…
9140 a.insertEdge(d,!0);return b.createVertexTemplateFromCells([a,d],160,150,"Lifeline")}),this.addDataE…
9142 …d=new mxCell("ref",new mxGeometry(0,0,0,0),"html=1;align=left;verticalAlign=top;labelPosition=left…
9143 …100;html=1;overflow=fill;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("b1: Bloc…
9144 d.vertex=!0;a.insert(d);var e=new mxCell("b2: Block2",new mxGeometry(140,40,80,30),"strokeColor=inh…
9145 …d.insertEdge(h,!0);a.insert(h);d=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillCo…
9146 !0;d.edge=!0;a.insert(d);e.insertEdge(d,!0);e=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=in…
9158 …d=new mxCell("",new mxGeometry(20,50,20,20),"shape=ellipse;html=1;fillColor=#000000;verticalLabelP…
9160 …d.insertEdge(h,!0);e.insertEdge(h,!1);a.insert(h);d=new mxCell("",new mxGeometry(0,0,0,0),"strokeC…
9168 …d=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable=0;html=1;verticalAlign=top;align=left…
9169 …ape=mxgraph.sysml.submState;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("aborted"…
9170 d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFr…
9172 …d=new mxCell("UseCaseName",new mxGeometry(80,17,0,0),"resizable=0;html=1;verticalAlign=middle;alig…
9179 …ce=wrap;align=center;verticalAlign=top;recursiveResize=0;");a.vertex=!0;var d=new mxCell('<p style…
9180 …ml=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);return b.…
9181 …flow=fill;whiteSpace=wrap;align=center;verticalAlign=top;");a.vertex=!0;var d=new mxCell("ActionNa…
9182 …d.vertex=!0;return b.createVertexTemplateFromCells([a,d],250,160,"Allocation Activity Partition")}…
9183 …try.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromC…
9187 …ex=!0;var d=new mxCell("<<requirement>>\nMaster",new mxGeometry(240,0,120,60),"shape=r…
9188 …d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Copy Dependency")}),this…
9189 …d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Master Callout")}),this.…
9190 …d.vertex=!0;var e=new mxCell("<<deriveReq>>",new mxGeometry(0,0,0,0),"endArrow=open;ht…
9191 …d=new mxCell("Derived\n<<requirement>> ReqB",new mxGeometry(200,0,160,60),"shape=note;…
9192 …d=new mxCell("<<requirement>>\nReqB",new mxGeometry(240,0,120,60),"shape=rect;html=1;w…
9193 …d,e],360,60,"Derive Callout")}),this.addEntry("sysml requirement satisfy dependency",function(){va…
9194 …d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Satisfy Dependency")}),t…
9195 d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html…
9196 …d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;htm…
9197 …d=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html…
9198 …d=new mxCell("Verifies\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note…
9199 d,e],360,60,"Verify Callout")}),this.addEntry("sysml requirement verify callout",function(){var a=n…
9200 …d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Verify Callout")}),this.…
9201 …d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Refine Dependency")}),th…
9202 d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html…
9203 …d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;htm…
9204 …d=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html…
9205 …d=new mxCell("TracedFrom\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=no…
9206 …tex=!0;var d=new mxCell("<<requirement>>\nReqA",new mxGeometry(240,0,120,60),"shape=re…
9207 !0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Trace Callout")})];th…
9209 …!0;var d=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,120,120,60),"sha…
9210 …try.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromC…
9211 …d=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,120,120,60),"shape=rect…
9233 …d=new mxCell("attributes",new mxGeometry(0,0,140,20),"text;html=1;strokeColor=none;fillColor=none;…
9234 d.vertex=!0;c.insert(d);d=new mxCell("inherited attribute2",new mxGeometry(0,0,140,20),"text;html=1…
9235 d.vertex=!0;c.insert(d);c.insert(b.clone());d=new mxCell("operations",new mxGeometry(0,0,140,20),"t…
9236 d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.heig…
9240 …d=new mxCell("slot1",new mxGeometry(0,0,140,30),"html=1;strokeColor=none;fillColor=none;align=left…
9241 d=new mxCell("",new mxGeometry(0,0,140,50),"swimlane;fontStyle=1;align=center;verticalAlign=top;hor…
9250 …d=new mxCell("Component",new mxGeometry(0,0,140,40),"html=1;align=left;spacingLeft=4;verticalAlign…
9251 d.vertex=!0;c.insert(d);d=new mxCell("Interface1",new mxGeometry(0,0,140,25),"html=1;align=left;spa…
9252 d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.heig…
9263 …d=new mxCell("",new mxGeometry(0,0,140,50),"fillColor=none;strokeColor=none;container=1;collapsibl…
9264 d=new mxCell("transition1",new mxGeometry(0,0,140,25),"fillColor=none;strokeColor=none;align=left;v…
9309 …d=new mxCell("UseCase1",new mxGeometry(0,0,160,30),"html=1;align=left;spacingLeft=4;verticalAlign=…
9310 …d.insert(e);c.insert(b.clone());d=new mxCell("extension points",new mxGeometry(0,0,160,25),"html=1…
9331 …d=new mxCell("end1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=bottom;l…
9332 d.geometry.relative=!0;d.setConnectable(!1);d.vertex=!0;b.insert(d);d=new mxCell("{modifier1}",new …
9333 …d=new mxCell("end1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=bottom;l…
9334 …d);d=new mxCell("0..1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;l…
9336 …d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=halfCircle;html=1;rounded=0;align=center;vertica…
9337 …d.edge=!0;b.insertEdge(d,!0);return a.createEdgeTemplateFromCells([b,d],120,30,"Usage")}),this.add…
9338 !0;e.edge=!0;b.insertEdge(e,!0);d.insertEdge(e,!1);return a.createEdgeTemplateFromCells([b,d,e],100…
9340 …d=new mxCell("(via connectionPoint1)",new mxGeometry(0,0,0,0),"resizable=0;html=1;align=center;ver…
9341 …d=new mxCell("Edge1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=bottom;…
9342 …ze=10;");b.vertex=!0;var d=new mxCell("Action2",new mxGeometry(180,5,100,30),"html=1;rounded=1;abs…
9343 …d.insertEdge(e,!1);var g=new mxCell("",new mxGeometry(132,0,16,16),"html=1;");g.vertex=!0;return a…
9344 d.geometry.setTerminalPoint(new mxPoint(0,15),!0);d.geometry.relative=!0;d.edge=!0;b.insertEdge(d,!…
9345 …d.edge=!0;b.insertEdge(d,!1);return a.createEdgeTemplateFromCells([b,d],70,30,"Activity")}),this.a…
9346 d],70,30,"Activity")}),this.createEdgeTemplateEntry("shape=mxgraph.lean_mapping.electronic_info_flo…
9347 …d.geometry.setTerminalPoint(new mxPoint(60,0),!0);d.geometry.setTerminalPoint(new mxPoint(100,20),…
9349 …d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign…
9350 …d.geometry.setTerminalPoint(new mxPoint(164,2),!1);d.geometry.relative=!0;d.edge=!0;b.insertEdge(d…
9351 …d.vertex=!0;b.insert(d);var e=new mxCell("",new mxGeometry(75,60,10,60),"rounded=0;dashed=0;");e.v…
9352 d.geometry.relative=!0;d.edge=!0;e.insertEdge(d,!1);e=new mxCell("",new mxGeometry(0,0,0,0),"html=1…
9353 …d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign…
9354 …;");d.geometry.setTerminalPoint(new mxPoint(120,15),!1);d.geometry.relative=!0;d.edge=!0;b.insertE…
9979 …d,c){null!=d&&d()||(this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=e&&e():this.getLate… argument
9980 DrawioFile.prototype.mergeFile=function(b,e,d,c){var g=!0;try{this.stats.fileMerged++;var k=null!=t… argument
9981 …urrentEtag()),v=this.ui.hashValue(this.getCurrentEtag());this.checksumError(d,f,"Shadow Details: "…
9983 null!=d&&d(z);try{if(g)if(this.errorReportsEnabled)this.sendErrorReport("Error in mergeFile",null,z…
9984 …d=e.document.createElement("mxfile");if(null!=b)for(var c=0;c<b.length;c++){var g=e.encode(new mxG…
9985 …e.prototype.compressReportData=function(b,e,d){e=null!=e?e:1E4;null!=d&&null!=b&&b.length>d?b=b.su… argument
9986 DrawioFile.prototype.checksumError=function(b,e,d,c,g){this.stats.checksumErrors++;this.invalidChec… argument
9987 25E3):"n/a";this.sendErrorReport("Checksum Error in "+g+" "+this.getHash(),(null!=d?d:"")+"\n\nPatc…
9989 …d,c){try{var g=this.compressReportData(this.getAnonymizedXmlForPages(this.shadowPages),25E3),k=thi… argument
9991 "")+(null!=d?"\n\nError: "+d.message:"")+"\n\nStack:\n"+q+"\n\nShadow:\n"+g+"\n\nData:\n"+k,c)}catc…
9992 …d=mxUtils.bind(this,function(){this.stats.fileReloaded++;var c=this.ui.editor.graph.getViewState()…
9993 …dleFileSuccess("manual"==DrawioFile.SYNC)}),d,mxResources.get("cancel"),mxResources.get("discardCh…
9994 …File.prototype.ignorePatches=function(b){for(var e=!0,d=0;d<b.length&&e;d++)e=e&&0==Object.keys(b[…
9995 …d){var c=this.ui.editor.undoManager,g=c.history.slice(),k=c.indexOfNextAdd,n=this.ui.editor.graph;… argument
9996 …"";n.model.endUpdate();n.cellRenderer.redraw=p;this.changeListenerEnabled=f;d||(c.history=g,c.inde…
9998 …d,c,g,k){try{if(this.isEditable())if(!g&&this.invalidChecksum)if(null!=d)d({message:mxResources.ge… argument
9999 …mpressXml};DrawioFile.prototype.saveAs=function(b,e,d){};DrawioFile.prototype.saveFile=function(b,… argument
10001 …e,d){};DrawioFile.prototype.isMovable=function(){return!1};DrawioFile.prototype.isTrashed=function… argument
10003 …r(var c=0;null!=b&&c<b.length;c++){var d=b[c];null!=d.id&&0==d.id.indexOf("extFont_")&&d.parentNod…
10004 …hDescriptor=function(b,e){this.loadDescriptor(mxUtils.bind(this,function(d){b(d)}),e)};DrawioFile.… argument
10008 …bind(this,function(b,e){var d=null!=e?e.getProperty("edit"):null;!this.changeListenerEnabled||!thi…
10014 …rMessage(b);if(null==e&&null!=this.lastSaved){var d=this.ui.timeSince(new Date(this.lastSaved));nu…
10015 mxResources.get("lastSaved",[d]))}null!=e&&60<e.length&&(e=e.substring(0,60)+"...");e=mxUtils.htmlE…
10017 …d=null!=this.ui.statusContainer?this.ui.statusContainer.getElementsByTagName("div"):null;null!=d&&…
10019 …d){null==d&&(d=mxResources.get("checksum"));this.ui.editor.isChromelessView()&&!this.ui.editor.edi… argument
10021 …d){this.invalidChecksum=this.inConflictState=!1;this.addUnsavedStatus();this.ui.showError(mxResour… argument
10023 …d=window.location.protocol+"//"+window.location.host+"/"+this.ui.getSearch("create title mode url …
10024 window.location.href=d});null==b&&this.isModified()?this.ui.confirm(mxResources.get("allChangesLost…
10026 …avingFile"):null);else if(!this.isModified()){var d=this.getErrorMessage(b);null!=d&&60<d.length&&…
10027 d?" ("+mxUtils.htmlEntities(d)+")":"")+"</div>")}};
10028 …d=mxUtils.bind(this,function(){this.handleFileSuccess(!0)}),c=mxUtils.bind(this,function(b){this.h…
10029 …d,c,null,null,this.constructor!=GitHubFile&&this.constructor!=GitLabFile||null==b?null:b.commitMes…
10030 …ils.htmlEntities(mxResources.get("updatingDocument")));this.synchronizeFile(d,c)}),this.getErrorMe…
10033 …ptimisticSync()?b(e):this.sync.createToken(e,mxUtils.bind(this,function(d){b(e,d)}),mxUtils.bind(t… argument
10035 …d,c,g){this.lastSaved=new Date;this.ageStart=null;try{this.stats.saved++,this.invalidChecksum=this… argument
10037 …d,c){null==this.lastAutosave&&(this.lastAutosave=Date.now());b=Date.now()-this.lastAutosave<e?b:0;… argument
10038 function(b){null!=c&&c(b)}))}else this.isModified()||this.ui.editor.setStatus(""),null!=d&&d(null)}…
10040 …,e){if(null!=b&&null!=e){var d=b.lastIndexOf("."),c=0<d?b.substring(d):"",d=e.lastIndexOf(".");ret…
10042 …d){e(Date.now())};DrawioFile.prototype.canReplyToReplies=function(){return!0};DrawioFile.prototype… argument
10043 …d){this.saveAs(this.title,e,d)};LocalFile.prototype.saveAs=function(b,e,d){this.saveFile(b,!1,e,d)… argument
10045 …d,c,g){b!=this.title&&(this.desc=this.fileHandle=null);this.title=b;g||this.updateFileData();var k… argument
10046 …is.desc.lastModified==c.lastModified?b.write(k?this.ui.base64ToBlob(d,"image/png"):d).then(mxUtils…
10047 …d,b,k?"image/png":"text/xml",k);else if(d.length<MAX_REQUEST_SIZE){var l=b.lastIndexOf("."),l=0<l?…
10048 …d)}));f()}});k?(e=this.ui.getPngFileProperties(this.ui.fileNode),this.ui.getEmbeddedPng(mxUtils.bi… argument
10049 …d){LocalFile.call(this,b,e,d)};mxUtils.extend(LocalLibrary,LocalFile);LocalLibrary.prototype.getHa… argument
10050 …d){this.saveAs(this.getTitle(),e,d)};StorageFile.prototype.saveAs=function(b,e,d){DrawioFile.proto… argument
10051 …d,c,g){var k=mxUtils.bind(this,function(k){var f=function(){var f=new StorageFile(b,d,e);f.saveFil… argument
10052 …nfo=function(b,e,d,c){b.getDatabaseItem(e,function(b){d(b)},mxUtils.bind(this,function(){null==b.d… argument
10053 …d,c){if(this.isEditable()){var g=mxUtils.bind(this,function(){this.isRenamable()&&(this.title=b);t… argument
10054 …is,function(d){this.isRenamable()&&this.getTitle()!=b&&null!=d?this.ui.confirm(mxResources.get("re… argument
10055 …d){var c=this.getTitle();c!=b?StorageFile.getFileInfo(this.ui,b,mxUtils.bind(this,function(g){var … argument
10056 …getFileContent(this.ui,this.title,mxUtils.bind(this,function(d){b(new StorageFile(this.ui,d,this.t… argument
10057 …e.listLocalStorageFiles=function(b){for(var e=[],d=0;d<localStorage.length;d++){var c=localStorage…
10058 …d=b.transaction(["files","filesInfo"],"readwrite");b=d.objectStore("files");for(var d=d.objectStor…
10059 …d,c){b.getDatabaseItems(function(b){var c=[];if(null!=b)for(var g=0;g<b.length;g++)"."==b[g].title… argument
10060 …d){return".scratchpad"!=this.title};StorageLibrary.prototype.open=function(){};RemoteFile=function… argument
10061 …d){};RemoteLibrary.prototype.updateFileData=function(){};RemoteLibrary.prototype.open=function(){}… argument
10063 var StorageDialog=function(b,e,d){function c(c,g,k,p,x,A){function q(){mxEvent.addListener(t,"click… argument
10064 (b.setMode(k,!0),e()):window.location.hostname=DriveClient.prototype.newAppHostname})}f++;++n>d&&(m…
10067 ….parentNode&&m.parentNode.removeChild(m))}))}else q();l.appendChild(t)}d=null!=d?d:2;var g=documen…
10073 …d=b.addLanguageMenu(e,!0);null!=d&&(d.style.bottom="19px")}b.getServiceCount();var c=document.crea…
10074 …d=mxResources.get("dropbox")):b.mode==App.MODE_ONEDRIVE?(c.src=IMAGE_PATH+"/onedrive-logo.svg",d=m…
10075 …d=mxResources.get("browser")):b.mode==App.MODE_TRELLO?(c.src=IMAGE_PATH+"/trello-logo.svg",d=mxRes…
10076 …ize="22px";c.style.paddingBottom="6px";c.style.color="gray";mxUtils.write(c,d);p.style.textAlign="…
10077 …d=document.createElement("span");d.style.cssText="position:absolute;cursor:pointer;bottom:27px;col…
10079 …ources.get("browser");if(!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp)if(d=function(c){k.style.…
10081 …d=0;d<q.length;d++)n=document.createElement("option"),mxUtils.write(n,q[d].displayName),n.value=d,…
10082 …else d(function(){b.drive.logout()})}else b.mode!=App.MODE_ONEDRIVE||null==b.oneDrive||b.oneDrive.…
10083 …d(function(){b.gitLab.logout();b.openLink(DRAWIO_GITLAB_URL+"/users/sign_out")}):b.mode==App.MODE_… 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(…
10087 …d||0<d)&&window.setTimeout(mxUtils.bind(this,function(){try{null!=f&&null!=f.location.href&&f.loca…
10093 var GoogleSitesDialog=function(b,e){function d(){var b=null!=G&&null!=G.getTitle()?G.getTitle():thi… function
10101 …d);mxEvent.addListener(x,"change",d);mxEvent.addListener(B,"change",d);mxEvent.addListener(y,"chan…
10102 …dChild(n);c.appendChild(k);this.container=c},CreateGraphDialog=function(b,e,d){var c=document.crea… argument
10105 …mage,"Add outgoing");c.cursor="hand";c.addListener(mxEvent.CLICK,function(c,d){k.connectionHandler… argument
10106 …d=c.getProperty("state");k.popupMenuHandler.hideMenu();k.stopEditing(!1);var e=mxUtils.convertPoin…
10107 …d?(p=new mxCompactTreeLayout(k),p.edgeRouting=!1,p.levelDistance=30,n="edgeStyle=elbowEdgeStyle;el…
10108 d?p=new mxHierarchicalLayout(k,mxConstants.DIRECTION_WEST):"organic"==d?(p=new mxFastOrganicLayout(… argument
10109 function(b,c,f,d,e){t.apply(this,arguments);q()};k.resizeCell=function(){mxGraph.prototype.resizeCe…
10110 …c.y);c=b.editor.graph.view;var d=c.getBounds(f);d.x-=c.translate.x;d.y-=c.translate.y;b.editor.gra…
10114 …d){var c=document.createElement("div");c.style.whiteSpace="nowrap";var g=document.createElement("h… argument
10115 …text");l.style.marginBottom="8px";l.style.width="320px";l.value=k||null==d?"":d.src;var m=document…
10116 …d&&d.originalSrc==q.getAttribute("value")&&(q.setAttribute("selected","selected"),g=!0);m.appendCh… argument
10117 …d&&d("")):(l.value=mxUtils.trim(l.value),b.loadImage(l.value,function(b){x.value=b.width;A.value=b…
10118 …d=c.parentNode,e=null;mxEvent.addListener(d,"dragleave",function(b){null!=e&&(e.parentNode.removeC…
10119 …h)b.importFiles(c.dataTransfer.files,0,0,b.maxBackgroundSize,function(b,c,f,d,e,m){l.value=b;v()},… argument
10120 …60px";x.style.marginLeft="8px";x.style.marginRight="16px";x.value=null==d||k?"":d.width;c.appendCh…
10121 …60px";A.style.marginLeft="8px";A.style.marginRight="16px";A.value=null==d||k?"":d.height;c.appendC…
10122 …ode||z.selected||z.parentNode.removeChild(z)})}d=document.createElement("div");d.style.marginTop="…
10123 …h="100";d.appendChild(g);g=mxUtils.button(mxResources.get("cancel"),function(){t=!0;b.hideDialog()…
10124 …d.appendChild(applyBtn);b.editor.cancelFirst||d.appendChild(g);c.appendChild(d);this.container=c},… argument
10127 …d,e){b.spinner.stop();l(c,g,f,d,e)},function(c){b.handleError(c)})}}else if("mermaid"==f)b.spinner… argument
10131 …));p.insert(H,v?0:null);p.geometry.height+=30}0<q.length&&(m=b.editor.graph,k=mxEvent.isAltDown(d)?
10134 ….height+=t.geometry.height,H.insert(t)));if(0<q.length){k=mxEvent.isAltDown(d)?k:m.getCenterInsert…
10137 …();try{q=m.getModel().getChildren(m.getDefaultParent()),k=mxEvent.isAltDown(d)?k:b.editor.graph.ge…
10140 …d||"mermaid"==d)f.style.display="none";var l=document.createElement("option");l.setAttribute("valu…
10141 …d&&"fromText"!=d||l.setAttribute("selected","selected");l=document.createElement("option");l.setAt…
10142 …d&&f.appendChild(l);l=document.createElement("option");l.setAttribute("value","plantUmlSvg");mxUti…
10143 …)");EditorUi.enablePlantUml&&Graph.fileSupport&&!b.isOffline()&&"plantUml"==d&&(f.appendChild(l),f…
10144 …});b.isOffline()||"mermaid"!=d&&"plantUml"!=d||(l=mxUtils.button(mxResources.get("help"),function(…
10145 …d){b.hideDialog();c(n.value,f.value,d)});e.appendChild(m);m.className="geBtn gePrimaryBtn";b.edito… argument
10146 …libs);b&&c.click();b=!1}}function y(){if(pa&&null!=u)d||b.hideDialog(),u(pa,ca,M.value);else if(c)…
10147 …d,e,m,g,p){null!=na&&(na.style.backgroundColor="transparent",na.style.border="1px solid transparen… argument
10149 …d?mxResources.get(d,null,d):null,!0,new mxPoint(e,l),!0,function(){X=null!=b.sidebar.tooltip&&"non… argument
10150 …isDarkMode()&&(v.style.filter="invert(100%)");null!=d?v.setAttribute("title",mxResources.get(d,nul…
10152 …ckgroundPosition="center center";v.style.backgroundRepeat="no-repeat";null!=d&&(v.innerHTML='<tabl…
10153 (ra-34)+'px;">'+mxUtils.htmlEntities(mxResources.get(d,null,d))+"</span></td></tr></table>");mxEven…
10154 (ra-34)+'px;">'+mxUtils.htmlEntities(mxResources.get(d,null,d))+"</span></td></tr></table>",l&&C(v)…
10157 …sources.get("custom"));ha.appendChild(f);for(var d in ja){var e=document.createElement("div"),l=d,…
10158 …d,e)}f=document.createElement("div");f.style.cssText="font-weight: bold;background: #f9f9f9;paddin…
10159 …ateElement("li"),K=b(t,l[t]);y.setAttribute("title",K);mxUtils.write(y,K);c(d,y,t);p.appendChild(y…
10160 ….appendChild(e);null==S&&0<f.length&&(S=e,S.style.backgroundColor=n,ma=f);c(d,g)}B(!1)}var E=500>(…
10161 …d=null!=d?d:!0;g=null!=g?g:!1;n=null!=n?n:"#ebf2f9";f=null!=f?f:Editor.isDarkMode()?"#a2a2a2":"#e6…
10163 …H+"/osa_database.png":IMAGE_PATH+"/osa_drive-harddisk.png";e||E||!d||H.appendChild(I);d&&mxUtils.w…
10164 …e.marginLeft="10px";M.style.width=e||E?"144px":"244px";this.init=function(){d&&(M.focus(),mxClient…
10165 …entNode,mxUtils.bind(this,function(c){b.sidebar.hideTooltip()}),null,null)};d&&(H.appendChild(M),z…
10168 …d=0,e;for(e in f)d+=f[e].length;if(c)R.innerHTML=c;else if(0==b.length&&0==d)R.innerHTML=mxUtils.h…
10170 …3";R.style.position="absolute";R.style.left="160px";R.style.right="34px";x=(d?72:40)+(H?30:0);R.st…
10172 …lick(),da=null);else{if(null==NewDialog.tagsList[p]){var f={},d;for(d in ea)for(var e=ea[d],l=0;l<…
10173 …d in ja)for(e=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+…
10174 …esources.get(0==d.length?"noResultsFor":"resultsFor",[c]));R.appendChild(f);null!=S&&null==da&&(S.…
10176 …d=b.getElementsByTagName("add"),e=[],l=0;l<d.length;l++)e.push(encodeURIComponent(mxUtils.getTextC…
10177 …d]=l);e=b.getAttribute("clibs");null!=c[e]&&(e=c[e]);e={url:b.getAttribute("url"),libs:b.getAttrib…
10178 …e.left="40px";A.style.bottom="24px";A.style.right="40px";e||b.isOffline()||!d||null!=c||g||(x=mxUt…
10182 …Dialog=function(b,e,d,c,g,k,n,f,l,m,p,q,t,u,v,x,A){function z(c,f,d,l){function m(){mxEvent.addLis… argument
10183 …c==App.MODE_DEVICE&&(m=".drawio");0<=l&&(f=f.substring(0,l));C.value=f+m}}B(d)})}var g=document.cr…
10185 …nction B(c){var f=C.value;if(null==c||null!=f&&0<f.length)A&&b.hideDialog(),d(f,c,C)}p="1"==urlPar…
10198 var PopupDialog=function(b,e,d,c,g){g=null!=g?g:!0;var k=document.createElement("div");k.style.text… argument
10199 …d&&d();b.openLink(e,null,!0)});f.className="geBtn gePrimaryBtn";f.style.width=n.style.width;k.appe… argument
10200 …ngRight="20px";var l=document.createElement("input");l.setAttribute("value",d);l.setAttribute("typ…
10201 …d=document.createElement("div");d.setAttribute("title",mxResources.get("reset"));d.style.position=… argument
10202 …,function(m){b.spinner.stop();b.hideDialog();var g=!1===l?1:null!=d&&null!=e?Math.max(d/m.width,e/…
10203 …d=null==d?120:d,e=null==e?100:e,b.hideDialog(),c(f,d,e))},p=function(f,d){if(null!=f){var e=g?null… argument
10204 …d&&(!mxClient.IS_IE||10<document.documentMode)&&(d=b.highlightElement(c));f.stopPropagation();f.pr… argument
10205 …c.stopPropagation();c.preventDefault()}),!1)}};d=document.createElement("div");d.style.marginTop="…
10206 "geBtn";b.editor.cancelFirst&&d.appendChild(e);ImageDialog.filePicked=function(b){b.action==google.… argument
10207 …d,e,l){p(b)},function(){},function(b){return"image/"==b.type.substring(0,6)},function(b){for(var c…
10208 …d.appendChild(t));mxEvent.addListener(l,"keypress",function(b){13==b.keyCode&&p(l.value)});t=mxUti…
10209 …t("dragImagesHere")),f.appendChild(e));f.appendChild(d);this.container=f},LinkDialog=function(b,e,… argument
10215 …,e),m.appendChild(p),m.appendChild(q);l.appendChild(m);var z=mxUtils.button(d,function(){b.hideDia…
10217 …tils.bind(this,function(d){null==f&&(!mxClient.IS_IE||10<document.documentMode)&&(f=b.highlightEle… argument
10218 …d=mxUtils.button(mxResources.get("help"),function(){b.openLink("https://www.diagrams.net/doc/faq/c…
10219 …d.style.display="none");d=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});d.s…
10222 …d=b[2];b=b.slice(3,b.length).join("/");p.value="https://github.com/"+c+"/"+f+"/blob/"+d+"/"+b;p.fo…
10223 …d+"/"+b;p.focus()}})});mxEvent.addListener(p,"keypress",function(f){13==f.keyCode&&(b.hideDialog()… argument
10224 k=document.createElement("div");mxUtils.write(k,mxResources.get("yourEmailAddress")+(d?"":" ("+mxRe…
10226 …rces.get("errorSendingFeedback"))}))});f.className="geBtn gePrimaryBtn";if(!d){f.setAttribute("dis…
10227 …ribute("checked","checked");m.defaultChecked=!0;d=document.createElement("p");d.style.marginTop="1…
10228 …d.appendChild(k);mxEvent.addListener(k,"click",function(b){m.checked=!m.checked;mxEvent.consume(b)…
10229 …d.style.textAlign="right";k=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});k…
10230 var RevisionDialog=function(b,e,d){var c=document.createElement("div"),g=document.createElement("h3… argument
10232 …itor.MathJaxRender&&f.addListener(mxEvent.SIZE,mxUtils.bind(this,function(c,d){b.editor.graph.math… argument
10240 …,!0,!0),c.init()):b.confirm(mxResources.get("areYouSure"),function(){null!=d?d(C):b.spinner.spin(d…
10242 …d&&(J.style.display="none");var N=mxUtils.button(mxResources.get("show"),function(){null!=B&&b.ope…
10244 …age));for(t=e.length-1;0<=t;t--){var ba=function(c){var d=new Date(c.modifiedDate),g=null;if(0<=d.…
10246 …,20)+"...");L.innerHTML="";mxUtils.write(L,(null!=e?e+" ":"")+d.toLocaleDateString()+" "+d.toLocal…
10248 ….write(t,mxResources.get("current")):d.toDateString()===aa?mxUtils.write(t,d.toLocaleTimeString())…
10249 " "+d.toLocaleTimeString());g.appendChild(t);g.setAttribute("title",d.toLocaleDateString()+" "+d.to…
10254 function(b,e,d,c,g,k,n,f,l){var m=document.createElement("div"),p=document.createElement("div");p.s… argument
10255 …q.appendChild(u)}p.appendChild(q);mxEvent.addListener(q,"change",t)}null==d&&(d=l[0].data);var A=d…
10256 ….minFitScale=null;z.maxFitScale=null;z.centerZoom=!0;var B=mxUtils.parseXml(d),y=b.editor.extractG…
10257 …d=mxUtils.button("",function(){z.zoomIn()});d.className="geSprite geSprite-zoomin";d.setAttribute(…
10261 …==y.nodeName){var f=y.getElementsByTagName("diagram");F=[];for(var d=0;d<f.length;d++)F.push(f[d]);
10262 …d=0;d<F.length;d++)f=document.createElement("option"),mxUtils.write(f,F[d].getAttribute("name")||m…
10263 …d),null!=f&&v.appendChild(f),v.appendChild(n),v.appendChild(k)):(v.appendChild(k),v.appendChild(n)… argument
10264 …d&&0<=l.indexOf(f)||!d&&l.substring(0,f.length)===f)||null!=b&&b.test(l))return!0}}return!1}functi… argument
10265 …pdatePageRoot(m),p.model.setRoot(m.root),c=(c+1)%b.pages.length;while(!l(!0,d,e)&&c!=J);t&&(t=null…
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 …J)}B=B||J==t}}if(null!=y){if(X==m.length&&E.checked)return t=null,v=!0,l(!0,d,e);t=y;p.scrollCellT…
10268 E.checked)return v=!0,l(!0,d,e);p.isEnabled()&&!e&&p.clearSelection()}u=null!=y;k&&!c&&f();return 0…
10273 …if(k){var L=function(b,c,f,d,e){if(null==e||"1"!=e.html)return d=b.toLowerCase().indexOf(c,d),0>d?… argument
10274 …d=b.toLowerCase().indexOf(c,d);if(0>d)return l;l=d+c.length;f=mxUtils.htmlEntities(f);b=b.substr(0…
10277 …itor.graph.rendering=!1;p.getModel().beginUpdate();try{for(var d=0,e={};l(!1,!0,!0)&&100>d;){var m…
10278 …tCellStyle(m))),d++)}c!=b.currentPage&&b.editor.graph.model.execute(new SelectPage(b,c));mxUtils.w…
10281 this.window=new mxWindow(mxResources.get("find")+(k?"/"+mxResources.get("replace"):""),B,e,d,c,g,!0…
10283 …ener(window,"resize",X);this.window.destroy()}},FreehandWindow=function(b,e,d,c,g){var k=b.editor.… argument
10284 …";b.appendChild(n);this.window=new mxWindow(mxResources.get("freehand"),b,e,d,c,g,!0,!0);this.wind…
10287 …d,c,g){var k=b.editor.graph,n=b.editor.graph.createTagsDialog(mxUtils.bind(this,function(){return … argument
10288 …d[l]);""!=m&&0>mxUtils.indexOf(c,m)&&e.push(m)}0<e.length&&(k.isSelectionEmpty()?f(c.concat(e)):k.…
10290 …Listener(window,"resize",l);this.window.destroy()}},AuthDialog=function(b,e,d,c){var g=document.cr… argument
10293 …d&&(d=document.createElement("p"),d.style.marginTop="20px",d.appendChild(l),k=document.createEleme…
10294 …d){d=null!=d?d:b.sidebar.entries;var c=document.createElement("div"),g=[];if(null!=b.sidebar.custo… argument
10295 …d[k].title,entries:[]};for(l=0;l<d[k].entries.length;l++)0<=mxUtils.indexOf(b.sidebar.enabledLibra…
10296 …d.style.cursor="pointer";d.style.padding="4px 0px 4px 20px";d.style.whiteSpace="nowrap";d.style.ov…
10298 …=d;t.style.backgroundColor=Editor.isDarkMode()?"#000000":"#ebf2f9";null!=b&&mxEvent.consume(b)}};m…
10300 …d);c.style.padding="30px";c.appendChild(l);c.appendChild(p);c.appendChild(q);d=document.createElem…
10301 …d.appendChild(k);k=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});k.classNam…
10302 …d&&c.push(d)}b.sidebar.showEntries(c.join(";"),x.checked,!0)});l.className="geBtn gePrimaryBtn"}el… argument
10303 …d);var l=document.createElement("span");mxUtils.write(l,f);f=document.createElement("div");f.style…
10304 …d.length;k++)(function(b){for(var c=0;c<b.entries.length;c++){var f=b.entries[c];u.push(z(y[Math.f…
10305 …d);k=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});k.className="geBtn";l=mx…
10306 d.style.textAlign="right"}b.editor.cancelFirst?(d.appendChild(k),d.appendChild(l)):(d.appendChild(l… argument
10307 …ion(){b.confirm(mxResources.get("delete")+' "'+n[f]+'"?',function(){null!=d&&d(n[f]);n.splice(f,1)…
10308 …d=document.createElement("span");d.style.marginTop="6px";mxUtils.write(d,mxResources.get("builtinP…
10309 …d=mxUtils.button(mxResources.get("custom")+"...",function(){var f=new FilenameDialog(b,"",mxResour…
10310 …nRegistry[e.value];0>mxUtils.indexOf(n,b)&&(n.push(b),c())}),null,null,null,d);b.showDialog(f.cont…
10311 …ndChild(l));g.appendChild(p);this.container=g},CropImageDialog=function(b,e,d){function c(b){null!= argument
10314 …ply"),function(){n.result({type:"base64",size:"original"}).then(function(c){d(c);b.hideDialog()})}…
10315 …d(m);this.container=g},EditGeometryDialog=function(b,e){var d=b.editor.graph,c=1==e.length?d.getCe…
10321 …d.getCellStyle(e[0]),mxConstants.STYLE_ROTATION,0):"";m.appendChild(z);f.appendChild(l);f.appendCh…
10322 …))),d.isCellResizable(e[c])&&(0<mxUtils.trim(x.value).length&&(f.width=Number(x.value)),0<mxUtils.…
10323 d.setCellStyles(mxConstants.STYLE_ROTATION,Number(z.value),[e[c]])}}finally{d.getModel().endUpdate(… argument
10324 …=b;)f=f.nextSibling,c++;return c}function f(c,d,e,l,m,g,k,q,t){try{if(b.spinner.stop(),null==d||"i… argument
10327 …xEvent.consume(b)});(function(b,c,f){mxEvent.addListener(F,"click",function(d){x[c]=null;for(var e… argument
10328 …="url('"+IMAGE_PATH+"/droptarget.png')",v.style.display="");mxEvent.consume(d)});mxEvent.addListen…
10335 …d=decodeURIComponent(c.dataTransfer.getData("text/uri-list"));(/(\.jpg)($|\?)/i.test(d)||/(\.png)(…
10336 d.style.height="100%";var q=document.createElement("div");q.style.whiteSpace="nowrap";q.style.heigh…
10338 …;v.style.color="#a0c3ff";mxUtils.write(v,mxResources.get("dragImagesHere"));d.appendChild(v);var x…
10339 ….preventDefault();break}c=c.parentNode}});var F=function(c){return function(d,e,l,m,g,k,p,q,t){nul… argument
10340 …d,t.name)?b.parseFile(t,mxUtils.bind(this,function(d){4==d.readyState&&(b.spinner.stop(),200<=d.st… argument
10341 …rop",m);mxEvent.addListener(v,"dragover",l);mxEvent.addListener(v,"drop",m);d.appendChild(u);c=doc…
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
10346 …d){C=!1;if(null!=b){if("data:image/"==b.substring(0,11)){var e=b.indexOf(",");0<e&&(b=b.substring(… argument
10347 …d.appendChild(c);this.container=d},EditShapeDialog=function(b,e,d,c,g){c=null!=c?c:300;g=null!=g?g… argument
10348 …d=document.createElement("div");d.style.position="relative";d.style.border="1px solid gray";d.styl…
10349 d.style.marginBottom="16px";mxEvent.disableContextMenu(d);n.appendChild(d);var p=new Graph(d);p.set…
10350 …className="geBtn";b.editor.cancelFirst&&n.appendChild(g);var u=function(c,f,d){var e=m.value,l=mxU… argument
10351 …tainsValidationErrors"),mxResources.get("ok"));else if(d&&b.hideDialog(),l=!c.model.contains(f),!d…
10352 …d=mxUtils.button(mxResources.get("preview"),function(){u(p,q,!1)});d.className="geBtn";n.appendChi… argument
10354 d){var c=d();if("string"===typeof c){b.showError(mxResources.get("error"),c);return}}m&&b.hideDialo… argument
10355 …d,e,l,m){if(-1<b.className.indexOf("geTempDlgRadioBtnActive"))return!1;b.className+=" geTempDlgRad… argument
10356 …d)?PROXY_URL+"?url="+encodeURIComponent(d):TEMPLATE_PATH+"/"+d;mxUtils.get(d,mxUtils.bind(this,fun… argument
10357 m.decode(d,g);d=g.root.getChildAt(0).children||[];b.sidebar.createTooltip(f,d,Math.min((window.inne…
10358 …(e),mxEvent.getClientY(e));da=!1;d.src="/images/icon-search.svg"};b.sidebar.hideTooltip();b.sideba…
10359 …d.src="/images/icon-search.svg"}):m(c.url,k)}}function y(b,c,f){if(null!=W){for(var d=W.className.… function
10360 …d){v||b.hideDialog(!0);e(c,d,t,f)},p=function(){x(mxResources.get("cannotLoad"));k()},k=function()… argument
10361 …defaultFilename+".drawio",mxResources.get("ok"),d,n,function(b){var c=null!=b&&0<b.length;return c…
10362 ….length;f++)c[f].style.display=b}function G(c,f,d,e,l){l||(ia.innerHTML="",y(),na=c,pa=e);var m=nu…
10364 …ATH+"/"+k.substring(0,k.length-4)+".png");k=d?50:15;null!=p&&p.length>k&&(p=p.substring(0,k)+"&hel…
10365 …d){mxEvent.addListener(u,"click",function(){W!=c&&(F(f),y(c,"geTempDlgDiagramsListGridActive",b))}…
10367 …ibute("title",mxResources.get("preview"));l||A.appendChild(v);(function(b,c,d){mxEvent.addListener…
10368 …d,f)})})(c[g],A,v);ia.appendChild(A)}}for(var x in e)c=e[x],0<c.length&&(l=document.createElement(…
10371 …}function D(b,c,f){function d(b,c){var f=mxResources.get(b);null==f&&(f=b.substring(0,1).toUpperCa… function
10372 …d,lblOnly:e}}function e(f,d,e,l,m){mxEvent.addListener(e,"click",function(){N!=e&&(null!=N?(N.styl… argument
10373 …appendChild(f);for(var m in c){f=document.createElement("div");var g=c[m],g=d(m,g);f.className="ge…
10374 …)}for(m in b){var p=qa[m],k=f=document.createElement(p?"ul":"div"),g=b[m],g=d(m,g);if(null!=p){var…
10375 …d(y,p[y]);u.setAttribute("title",v.fullLbl);u.innerHTML=v.lbl;u.className="geTemplateCatLink";u.st…
10376 …eof b.getAttribute)if("clibs"==b.nodeName){for(var f=b.getAttribute("name"),d=b.getElementsByTagNa…
10377 …d.length;l++)e.push(encodeURIComponent(mxUtils.getTextContent(d[l])));null!=f&&0<e.length&&(c[f]=e…
10378 …getAttribute("tags")};l.push(e);null!=f&&(l=qa[d],null==l&&(l={},qa[d]=l),d=l[f],null==d&&(d=[],l[…
10379 …d;for(d in la)for(var e=la[d],l=0;l<e.length;l++){var m=e[l];if(null!=m.tags)for(var g=m.tags.toLo…
10380 …d=[];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;…
10390 …op();X=!1;if(J)J=!1;else if(c)ia.innerHTML=c;else{f=f||{};c=0;for(var d in f)c+=f[d].length;0==b.l…
10391 …dListener(K.querySelector(".geTempDlgCancelBtn"),"click",function(){null!=d&&d();v||b.hideDialog(!…
10392 var BtnDialog=function(b,e,d,c){var g=document.createElement("div");g.style.textAlign="center";var … argument
10394 …d=mxUtils.button(d,c);d.insertBefore(f,d.firstChild);d.style.marginTop="6px";d.className="geBigBut… argument
10402 …appendChild(f);var z=document.createElement("input");z.setAttribute("value",d||"");z.style.marginL…
10404 …d;q.checked?(c=t.value,d="s"):u.checked?(c=v.value,f=Editor.GOOGLE_FONTS+encodeURIComponent(c).rep…
10405 ….querySelector(".dlg_fontUrl").style.border="1px solid red",e=!1);e&&(g(c,f,d),b.hideDialog())});B…
10407 …d,c,g){this.aspect={pageId:e||(b.pages?b.pages[0].getId():null),layerIds:d||[]};e=document.createE… argument
10408 …d;this.layersContainer=k;this.ui=b;d=document.createElement("div");d.style.marginTop="16px";d.styl…
10409 b.editor.cancelFirst||d.appendChild(k);n.setAttribute("disabled","disabled");this.okBtn=n;e.appendC…
10410 AspectDialog.prototype.createViewer=function(b,e,d,c){mxEvent.disableContextMenu(b);b.style.userSel… 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;…
10412 …d){var c=document.createElement("div");c.className="geAspectDlgListItem";c.setAttribute("data-page… argument
10413 …getChildCells(e.getRoot()),n=0;n<e.length;n++)this.createLayerItem(e[n],b,g,d)});mxEvent.addListen…
10414 AspectDialog.prototype.createLayerItem=function(b,e,d,c){e=d.convertValueToString(b)||mxResources.g… argument
10416 …d,c=document.createElement("table"),g=document.createElement("tbody");c.style.width="100%";c.style…
10417 d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.width="120px";mxUtils.write(d,mxResourc…
10418 …d,mxResources.get("borderWidth")+":");e.appendChild(d);var m=document.createElement("input");m.set… method in popupMenuHandler.AnonymousFunction9bd35d6be0500
10419 …d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.width="…
10420 …d=document.createElement("td");d.style.whiteSpace="nowrap";d.appendChild(p);e.appendChild(d);g.app… method in popupMenuHandler.AnonymousFunction9bd35d6be0500
10421 …e="geBtn";b.editor.cancelFirst&&d.appendChild(f);d.appendChild(n);b.editor.cancelFirst||d.appendCh…
10461 …d=c.editorUi.editor.graph;return null!=f&&(d.isSwimlane(f)||0<d.model.getChildCount(f))},isVisible…
10467 …d=0;d<f.length;d++){var e=f[d];switch(e.type){case "path":null!=c.stroke&&this._drawToContext(b,e,… argument
10468 …d.strokeWidth/2);b.setStrokeAlpha(b.state.fillAlpha);b.setStrokeColor(d.fill||"");b.setStrokeWidth…
10469 ….fill():b.stroke()};return c};(function(){function b(c,f,d){this.canvas=c;this.rc=f;this.shape=d;t… argument
10472 …d=this.shape.state.cell.id;if(null!=d)for(var e=0;e<d.length;e++)f=(f<<5)-f+d.charCodeAt(e)<<0}f={…
10473 …d.bowing);f.hachureAngle=mxUtils.getValue(this.shape.style,"hachureAngle",d.hachureAngle);f.curveF…
10474 …d.simplification);f.disableMultiStroke=mxUtils.getValue(this.shape.style,"disableMultiStroke",d.di…
10475 ….darkColor:"#ffffff"),l=null!=f.fill&&(null!=e||null!=l&&f.fill==l)?"solid":d.fillStyle);f.fillSty…
10477 …nction(b,c,f,d){this.passThrough?this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this… argument
10478 …d,e,l){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp… argument
10479 …d,this.getStyle(!0,!0)))};b.prototype.ellipse=function(b,c,f,d){this.passThrough?this.originalElli… argument
10480 …To(b+f,c,b+f,c+l),this.lineTo(b+f,c+d-l),this.quadTo(b+f,c+d,b+f-e,c+d),this.lineTo(b+e,c+d),this.…
10484 mxShape.prototype.paint=function(c){var d=c.addTolerance,e=!0;null!=this.style&&(e="1"==mxUtils.get…
10485 …d};var d=mxShape.prototype.paintGlassEffect;mxShape.prototype.paintGlassEffect=function(c,f,e,l,m,…
10486 … d=b.ownerDocument.getElementsByTagName("div"),e=[];if(null!=d&&0<d.length)for(var l=0;l<d.length;…
10487 …d=e[0].getAttribute("data-mxgraph"),null!=d?(e=JSON.parse(d),null!=e&&null!=e.xml&&(b=mxUtils.pars…
10488 …d=decodeURIComponent(d)),null!=d&&0<d.length)b=mxUtils.parseXml(d).documentElement;else throw{mess…
10489 d=null;0<f.length?(f=Graph.decompress(f,null,c),null!=f&&0<f.length&&(d=mxUtils.parseXml(f).documen…
10490 …,c="",d=0,e=0,l=[],m=null;e<b.length;){var g=b.charCodeAt(e),e=e+1;10!=g&&(c+=String.fromCharCode(…
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…
10492 …b.indexOf(",")+1),d=window.atob&&!mxClient.IS_SF?atob(f):Base64.decode(f,!0);EditorUi.parsePng(d,m…
10493 …on(b,c){var f=null,d=null!=b?b.getElementsByTagName("parsererror"):null;null!=d&&0<d.length&&(f=c|…
10494 0<d.length&&(f=mxUtils.getTextContent(d[0])));return null!=f?mxUtils.trim(f):f};Editor.addRetryToEr…
10498 …ld(document.createTextNode(b.css));var d=document.getElementsByTagName("script")[0];d.parentNode.i…
10500 …eFormat.width),d=parseInt(b.pageFormat.height),!isNaN(f)&&0<f&&!isNaN(d)&&0<d?(mxGraph.prototype.d…
10503 …;b=b.split("url(");for(f=1;f<b.length;f++){var d=b[f].indexOf(")"),d=Editor.trimCssUrl(b[f].substr…
10504 e.setAttribute("rel","preload");e.setAttribute("href",d);e.setAttribute("as","font");e.setAttribute…
10506 …d=f.getElementsByTagName("div");null!=d&&0<d.length&&(f=d[0]);throw{message:mxUtils.getTextContent…
10507 …d=null!=this.graph.themes?this.graph.themes["default-old"]:mxUtils.load(STYLE_PATH+"/default-old.x…
10508 …n(b){b=b.split("^");return{name:b[0],url:b[1]}}),d=0;d<f.length;d++)this.graph.addExtFont(f[d].nam…
10509 …his.graph.currentStyle&&f.setAttribute("style",this.graph.currentStyle);var d=this.graph.getBackgr…
10510 …d&&f.setAttribute("backgroundImage",JSON.stringify(d));f.setAttribute("math",this.graph.mathEnable…
10511 …=function(b,c,f){return Editor.extractGraphModel.apply(this,arguments)};var d=Editor.prototype.res…
10512 …ew()&&this.graph.isCssTransformsSupported();this.graph.updateCssTransform();d.apply(this,arguments…
10515 …axClear=function(){Editor.mathJaxQueue=[]};var d=Editor.prototype.init;Editor.prototype.init=funct…
10517 …\s+[^,'"\s\\]+)*))\s*(?:,|$)/g,function(b,f,d,e){void 0!==f?c.push(f.replace(/\\'/g,"'")):void 0!=… argument
10519 …d){if(null!=d){var e="http://"==d.substring(0,7)||"https://"==d.substring(0,8);e&&!navigator.onLin… argument
10520 …d=window.setTimeout(mxUtils.bind(this,function(){f=!1;c(Editor.svgBrokenImage.src)}),this.timeout)…
10521 …out(d);f&&c(Editor.svgBrokenImage.src)};e.src=b}}catch(W){c(Editor.svgBrokenImage.src)}};Editor.pr… argument
10522 …d.convert(f.getAttribute(m));if(null!=g&&"data:"!=g.substring(0,5)){var p=l[g];null==p?(e++,this.c… argument
10523 …vwxyz0123456789+/".charAt((e&3)<<4);c+="==";break}l=b.charCodeAt(f++);if(f==d){c+="ABCDEFGHIJKLMNO…
10524 …charAt(m&63)}return c};Editor.prototype.loadUrl=function(b,c,f,d,e,l,m,g){try{var p=!m&&(d||/(\.pn… argument
10525 …d=b.getText();if(p){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof…
10526 …h){c=[f[0]];b=window.location.pathname;var d=null!=b?b.lastIndexOf("/"):-1;0<=d&&(b=b.substring(0,…
10527 …d&&0<d.length&&(e=d[0].getAttribute("href"));for(var l=1;l<f.length;l++)if(d=f[l].indexOf(")"),0<d…
10528 …d){for(var b=[f[0]],e=1;e<f.length;e++){var l=f[e].indexOf(")");b.push('url("');b.push(this.cached…
10530 …l(f,mxUtils.bind(this,function(c){this.cachedFonts[b]=c;d--;e()}),mxUtils.bind(this,function(b){d-…
10531 …d=0;null==this.cachedGoogleFonts&&(this.cachedGoogleFonts={});for(var e=mxUtils.bind(this,function…
10532 …ntCss);if(null!=c){var f=b.getElementsByTagName("defs"),d=b.ownerDocument;0==f.length?(f=null!=d.c…
10533 d.createElementNS(mxConstants.NS_SVG,"defs"):d.createElement("defs"),null!=b.firstChild?b.insertBef…
10534 …d/b,d/c))};Editor.prototype.exportToCanvas=function(b,c,f,d,e,l,m,g,p,k,q,t,n,y,u,v,B,A){try{l=nul… argument
10535 function(){mxClient.IS_SF?window.setTimeout(function(){y.drawImage(d,0,0);b(p,f)},0):(y.drawImage(d…
10537 …d.onerror=function(b){null!=e&&e(b)};k&&this.graph.addSvgShadow(f);this.graph.mathEnabled&&this.ad…
10538 …d){for(var e=0;e<d;e++)b=Editor.crcTable[(b^c.charCodeAt(f+e))&255]^b>>>8;return b};Editor.crc32=f… argument
10540 …d/.0254),f=g(f)+g(f)+String.fromCharCode(1)):f=f+String.fromCharCode(0)+("zTXt"==c?String.fromChar…
10543 …graph,d=this.createOption(mxResources.get("shadow"),function(){return f.shadowVisible},function(b)…
10544 …d.shadowVisible=b;f.model.execute(d)},{install:function(b){this.listener=function(){b(f.shadowVisi…
10545 …d=c.getCurrentFile();if(null!=d&&d.isAutosaveOptional()){var e=this.createOption(mxResources.get("…
10568 …otype.findCommonProperties=function(b,c,f){if(null!=c){var d=function(b){if(null!=b)if(f)for(var d= function
10569 0;d<b.length;d++)c[b[d].name]=b[d];else for(var e in c){for(var l=!1,d=0;d<b.length;d++)if(b[d].nam…
10570 d(e.shape.customProperties));b=b.getAttribute("customProperties");if(null!=b)try{d(JSON.parse(b))}c…
10571 e);for(e=0;e<d.length;e++)this.findCommonProperties(d[e],c,0==f.length&&0==e);null!=Object.getOwnPr…
10573 …d(b,c,f,d){t.getModel().beginUpdate();try{var e=[],l=[];if(null!=f.index){for(var m=[],g=f.parentR… function
10575 …d){var e=mxUtils.getOffset(b,!0),l=mxUtils.getOffset(c,!0);f.style.position="absolute";f.style.lef… argument
10576 …){e.style.background="none"==c?"url('"+Dialog.prototype.noColorImage+"')":c;d(b,c,f)});mxEvent.con…
10577 …Row:m,index:q,isDeletable:!0,defVal:e,countProperty:l},q=k(b,"",t,0==q%2,g);d(b,e,t);p.parentNode.…
10578 …d,e,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]… argument
10581 mxEvent.addListener(l,"change",function(){var b=mxUtils.htmlEntities(l.value);d(c,b,k)});l.focus();…
10582 …max&&b>k.max&&(b=k.max);b=mxUtils.htmlEntities(("int"==u?parseInt(b):b)+"");d(c,b,k)}var m=documen…
10583 …){l()})})));k.isDeletable&&(n=mxUtils.button("-",mxUtils.bind(q,function(b){d(c,"",k,k.index);mxEv…
10585 …d=b.childNodes.length-1;0<=d;d--)try{var e=b.childNodes[d],l=e.nodeName.toUpperCase();"INPUT"!=l&&…
10588 …ar f=this.editorUi.editor.graph,d=document.createElement("div");d.style.whiteSpace="nowrap";d.styl…
10589 …16px";b.style.paddingBottom="6px";b.style.position="relative";b.appendChild(d);var e="plain-gray p…
10591 …d=this.format.getSelectionState().cells,l=0;l<d.length;l++){for(var m=f.getModel().getStyle(d[l]),…
10592 …trolDown(c)||mxClient.IS_MAC&&mxEvent.isMetaDown(c)||!f.getModel().isVertex(d[l])||(m=mxUtils.setS…
10594 …sVertex(d[l])&&(m=mxUtils.setStyle(m,mxConstants.STYLE_FONTCOLOR,mxUtils.getValue(p,mxConstants.ST…
10597 …m}c.style.borderRadius="0";d.appendChild(c)});d.innerHTML="";for(var l=0;l<b.length;l++)0<l&&0==mx…
10601 …appendChild(f));var d=this.editorUi.editor.graph,d=1==c.cells.length?d.view.getState(c.cells[0]):n…
10604 …d=b.toLowerCase();if("helvetica"!=d&&"arial"!=b&&"sans-serif"!=d){var e=Graph.customFontElements[d…
10605 …=0;c<b.length;c++){var f=b[c].getAttribute("data-font-src");if(null!=f){var d="FONT"==b[c].nodeNam…
10606 b[c].getAttribute("face"):b[c].style.fontFamily;null!=d&&Graph.addFont(d,f)}}};Graph.processFontSty…
10608 …tion(){return null!=c?this.getPointForEvent(c):f.apply(this,arguments)};var d=this.layoutManager.g…
10609 …etValue(c,"horizontalRack","0");f.resizeParent=!1;f.fill=!0;return f}return d.apply(this,arguments…
10611 …type.updateTextNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(b,c,f,d,e,l,m,g,p,k,q){z.app… argument
10612 …d(){for(var b=m.getSelectionCells(),c=[],f=0;f<b.length;f++)m.isCellVisible(b[f])&&c.push(b[f]);m.… function
10614 …f(m.hiddenTags,b)):(0>f?m.hiddenTags.push(b):0<=f&&m.hiddenTags.splice(f,1),d(),m.refresh());mxEve…
10616 b);f.splice(p,1);m.hiddenTags=f;d();m.refresh()}mxEvent.consume(c)});k.appendChild(q);if(m.isEnable…
10619 …unction(b){m.hiddenTags=[];mxEvent.isShiftDown(b)||(g=m.hiddenTags.slice());d();m.refresh()});q.se…
10620 ….bind(this,function(c,f){if(b()){for(var d=m.getAllTags(),e=0;e<d.length;e++)0>mxUtils.indexOf(g,d…
10622 …=Graph.getFontUrl(b,c);for(var d=0;d<f.length;d++)f[d].getAttribute("face")==b&&f[d].getAttribute(…
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 …nts.DIALECT_STRICTHTML)){var d=b.text.getContentNode();if(null!=d){d=d.cloneNode(!0);if(d.getEleme…
10628 …");0<e.length;)e[0].parentNode.removeChild(e[0]);null!=d.innerHTML&&(e=b.text.value,b.text.value=d…
10632 …d=0,e=0,l=mxUtils.bind(this,function(){f||(f=!0,this.model.beginUpdate())}),m=mxUtils.bind(this,fu…
10633 …d++,this.pendingWaitThread=window.setTimeout(this.pendingExecuteNextAction,""!=k.wait?parseInt(k.w…
10637 …d++,this.executeAnimations(q,g,f?1:k.steps,f?0:k.delay));0==d?p():m()}else this.stoppingCustomActi…
10638 …etAttribute("href",this.updateCustomLink(b,f)),l=!0);l&&this.labelChanged(c,d.innerHTML)}};Graph.p…
10639 …d=c[f],e;for(e in d)this.updateCustomLinkAction(b,d[e],"cells"),this.updateCustomLinkAction(b,d[e]…
10640 …d.push(f[e]);f=d}return f};Graph.prototype.getCellsById=function(b){var c=[];if(null!=b)for(var f=…
10641 …ags,b[c]))return!1;return!0};Graph.prototype.getCellsForTags=function(b,c,f,d){var e=[];if(null!=b… argument
10642 …d||this.isCellVisible(c[g]))&&e.push(c[g])}}return e};Graph.prototype.getAllTags=function(){return…
10643 …otype.getTagsForCells=function(b){for(var c=[],f={},d=0;d<b.length;d++){var e=this.getTagsForCell(…
10644 …d=this.getTagsForCell(b[f]),e=d.split(" "),l=!1,m=0;m<c.length;m++){var g=mxUtils.trim(c[m]);""!=g…
10645 d.split(" "),l=!1,m=0;m<c.length;m++){var g=mxUtils.indexOf(e,c[m]);0<=g&&(e.splice(g,1),l=!0)}l&&t…
10646 …d){for(var e=0;e<b.length;e++)this.highlightCell(b[e],c,f,d)};Graph.prototype.highlightCell=functi… argument
10647 …oy()},1200)},f)}};Graph.prototype.addSvgShadow=function(b,c,f,d){f=null!=f?f:!1;d=null!=d?d:!0;var… argument
10650 …lter","url(#"+this.shadowId+")"),!isNaN(parseInt(b.getAttribute("width")))&&d&&(b.setAttribute("wi…
10663 …;return c};var M=mxMarker.createMarker;mxMarker.createMarker=function(b,c,f,d,e,l,m,g,p,k){if(null… argument
10664 …h.max(1,Math.min(g,Math.min(parseInt(y.value),parseInt(n.value))))}function d(c){function f(c,f,l)… function
10665 …,isNaN(v)&&(d=1/c.pageScale,B.value="100 %");u=mxRectangle.fromRectangle(u);u.width=Math.ceil(u.wi…
10667 …ditor.fontCss),f.writeln("</style>"));for(var d=c.getCustomFonts(),e=0;e<d.length;e++){var l=d[e].…
10668 if("undefined"!==typeof MathJax){var z=f.renderPage;f.renderPage=function(c,f,d,e,l,m){var g=mxClie… argument
10670 …w.translate=p,c.view.scale=q);return f}var d=parseInt(K.value)/100;isNaN(d)&&(d=1,K.value="100 %")…
10683 …();d(!1)}),u.className="geBtn",m.appendChild(u));u=mxUtils.button(mxResources.get(PrintDialog.prev…
10687 …mage","previousFormat"]);b.beforeDecode=function(b,d,c){c.ui=b.ui;return d};b.afterDecode=function… argument
10688 …bjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(b,d,c){c.ui=b.ui;return d};mxCodecR…
10691 …umberSectionStyles:4,axisFormat:"%Y-%m-%d"}};EditorUi.logError=function(b,c,d,e,g,k,n){k=null!=k?k… argument
10693 …d)+(null!=e?":colno:"+encodeURIComponent(e):"")+(null!=g&&null!=g.stack?"&stack="+encodeURICompone…
10695 …d){function f(b,c){var f=l;l+=c;return b.substring(f,l)}function e(b){b=f(b,4);return b.charCodeAt… argument
10696 m)break}while(d)}};EditorUi.removeChildNodes=function(b){for(;null!=b.firstChild;)b.removeChild(b.f…
10698 …try{var c=document.createElement("canvas"),d=new Image;d.onload=function(){try{c.getContext("2d").…
10699 d.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/…
10700 …d){return this.editor.graph.openLink(b,c,d)};EditorUi.prototype.showSplash=function(b){};EditorUi.… argument
10701 ….createSpinner=function(b,c,d){var f=null==b||null==c;d=null!=d?d:24;var e=new Spinner({lines:12,l… argument
10702 …d/2),rotate:0,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,z… argument
10704 …L=m,d.appendChild(g),e.status=g),this.pause=mxUtils.bind(this,function(){var b=function(){};this.a…
10707 …apply(this,arguments);if(!this.editor.chromeless||this.editor.editable){var d=f.getFunction,e=this…
10709 …d.apply(this,arguments)}}return f};var e=EditorUi.prototype.extractGraphModelFromHtml;EditorUi.pro…
10711 …d=b.getElementsByTagName("diagram");if("0"!=urlParams.pages||1<d.length||1==d.length&&d[0].hasAttr…
10713 …ction(b,c,d,e,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=n… argument
10715 …e("version",EditorUi.VERSION),m.setAttribute("etag",Editor.guid()),b=null!=d?d.getMode():this.mode…
10716 …d&&/(\.html)$/i.test(d.getTitle())))z=this.getHtml2(mxUtils.getXml(m),c,null!=d?d.getTitle():null,… argument
10717 …d?(c=mxUtils.trim(mxUtils.getTextContent(b)),b=b.cloneNode(!1),0<c.length&&(c=Graph.decompress(c),…
10720 …orUi.prototype.anonymizeString=function(b,c){for(var f=[],d=0;d<b.length;d++){var e=b.charAt(d);0<…
10721 …age}if(null!=b[EditorUi.DIFF_UPDATE]){for(var d in b[EditorUi.DIFF_UPDATE]){var e=b[EditorUi.DIFF_…
10723 delete b[EditorUi.DIFF_UPDATE][d]}0==Object.keys(b[EditorUi.DIFF_UPDATE]).length&&delete b[EditorUi…
10724 …d=0;d<f.length;d++)null!=f[d].getAttribute("value")&&f[d].setAttribute("value","["+f[d].getAttribu…
10725 f[d].parentNode.parentNode.replaceChild(f[d],f[d].parentNode));return b};EditorUi.prototype.synchro…
10726 …){c.handleFileError(b,!0)}))))};EditorUi.prototype.getFileData=function(b,c,d,e,g,k,n,v,x,A,z){g=n… argument
10728 ….href,b,c,d,e,g,v,A);f!=this.editor.graph&&f.container.parentNode.removeChild(f.container);return … argument
10730 …/www.w3.org/1999/xhtml">':">")+"\n<head>\n"+(null==g?null!=d?"<title>"+mxUtils.htmlEntities(d)+"</…
10731 …g"/></a>')+"\n</body>\n</html>\n"};EditorUi.prototype.getHtml2=function(b,c,d,e,g){c=window.DRAWIO… argument
10732 …/www.w3.org/1999/xhtml">':">")+"\n<head>\n"+(null==g?null!=d?"<title>"+mxUtils.htmlEntities(d)+"</…
10735 …d=0;d<c.length;d++)null==c[d].getAttribute("id")&&c[d].setAttribute("id",d),b=new DiagramPage(c[d]…
10736 …(" ");b={};for(d=0;d<e.length;d++)b[e[d]]=!0;for(var g=this.editor.graph.getModel(),k=g.getChildre…
10738 this.currentPage.getName());return c};EditorUi.prototype.downloadFile=function(b,c,d,e,g,k,n,v,x,A,… argument
10739 …d=this.editor.graph.pageVisible;null!=k&&(this.editor.graph.pageVisible=k);var l=this.createDownlo…
10740 …nstants.NONE)q=null;var u=this.editor.graph.getSvg(q,null,null,null,null,e);d&&this.editor.graph.a…
10741 …d,e,g,k,n,v,x,A,z){var f=this.editor.graph,l=f.getGraphBounds();d=this.getFileData(!0,null,null,nu… argument
10743 …d)+(null!=b?"&filename="+encodeURIComponent(b):"")+"&extras="+encodeURIComponent(JSON.stringify(g)… argument
10744 …Component(urlParams.title):this.defaultFilename,!0);d.getHash=function(){return f};this.fileLoaded…
10746 …d&&d(b)})):e("")};EditorUi.prototype.updateDiagram=function(b){function c(b){var c=new mxCellOverl…
10750 …l!=b&&null!=b.getTitle()?b.getTitle():this.defaultFilename,d="",e=f.lastIndexOf(".");0<=e&&(d=f.su…
10751 …+d};EditorUi.prototype.fileLoaded=function(b,c){var f=this.getCurrentFile();this.fileEditable=this…
10754 …s.chromelessResize();this.editor.fireEvent(new mxEventObject("fileLoaded"));d=!0;this.isOffline()|…
10756 …or(u,mxResources.get("errorLoadingFile"),l,!0,null,null,!0)}else e();return d};EditorUi.prototype.…
10757 …d=new mxGraphModel,e=new mxCodec;null!=c&&(c.byteCount=0,c.attrCount=0,c.eltCount=0,c.nodeCount=0)…
10758 …d){return!d||"mxGeometry"!=b.nodeName&&"mxPoint"!=b.nodeName||"x"!=c&&"y"!=c&&"width"!=c&&"height"… argument
10759 …d)+this.hashValue(m,c,d))}}if(null!=b.childNodes)for(e=0;e<b.childNodes.length;e++)f=(f<<5)-f+this…
10760 …e.restoreLibraries=function(){};EditorUi.prototype.saveLibrary=function(b,c,d,e,g,k,n){};EditorUi.… argument
10762 …Child.nextSibling.nextSibling;var f=c.lastChild,d=f.previousSibling;c.insertBefore(f,b);c.insertBe…
10763 …d=JSON.parse(mxUtils.getTextContent(f.documentElement));this.libraryLoaded(b,d,f.documentElement.g… argument
10764 …s(c,f)});null!=this.sidebar&&null!=c&&this.sidebar.addEntries(c);d=null!=d&&0<d.length?d:b.getTitl…
10765 d,null!=e?e:!0,mxUtils.bind(this,function(b){m(c,b)}));this.repositionLibrary(f);var k=g.parentNode…
10769 …addingRight=18*p.childNodes.length+"px")}),E=mxUtils.bind(this,function(b,f,d,e){b=y.cloneCells(mx… argument
10770 …aph.encodeCells(b))),w:f.width,h:f.height};null!=e&&(b.title=e);c.push(b);G(d);null!=l&&null!=l.pa…
10771 …{var c=y.getSelectionCells(),f=y.view.getBounds(c),d=y.view.scale;f.x/=d;f.y/=d;f.width/=d;f.heigh…
10774 …iles,0,0,this.maxImageSize,mxUtils.bind(this,function(f,d,e,k,p,n,q,t,y){if(null!=f&&"image/"==d.s… argument
10775 l=null);else{var u=!1,v=mxUtils.bind(this,function(f,d){if(null!=f&&"application/pdf"==d){var e=Edi… argument
10777 …arge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))})):v(f,d)}}));b.stopPropagati…
10779 …h+"px"}};EditorUi.prototype.addLibraryEntries=function(b,c){for(var f=0;f<b.length;f++){var d=b[f],
10780 …d.data;if(null!=e){var e=this.convertDataUri(e),l="shape=image;verticalLabelPosition=bottom;vertic…
10784 …nitTheme();EditorUi.prototype.showImageDialog=function(b,c,d,e,g){b=new ImageDialog(this,b,c,d,e,g… argument
10785 …init()};EditorUi.prototype.showLibraryDialog=function(b,c,d,e,g){b=new LibraryDialog(this,b,c,d,e,… argument
10786 …his.showSplash()}));b.init()};var d=EditorUi.prototype.createFormat;EditorUi.prototype.createForma…
10787 …ingTop="9px";c.innerHTML="<span>+</span>";var d=c.getElementsByTagName("span")[0];d.style.fontSize…
10788 …)}));b.appendChild(c);return b};EditorUi.prototype.handleError=function(b,c,d,e,g,k,n){var f=null!… argument
10791 ….graph.openLink("https://drive.google.com/open?id="+q);this.handleError(b,c,d,e,g)}),p,mxResources…
10792 …lement("div"),d=document.createElement("span");d.style.marginTop="6px";mxUtils.write(d,mxResources…
10793 …d=c.length!=f;d&&this.drive.setUser(c[f]);this.drive.authorize(d,mxUtils.bind(this,function(){d||(…
10795 …d,p,null,null,k,t,null,null,null,e?d:null)}else null!=d&&d()};EditorUi.prototype.alert=function(b,… argument
10796 …d,e,g,k){var f=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},l=Ma… argument
10801 …xUtils.bind(this,function(b){var c=mxEvent.getSource(b);c!=m&&c!=g?(null!=d&&d(),k(),mxEvent.consu…
10802 …d,e){b=b.toDataURL("image/"+d);if(null!=b&&6<b.length)null!=c&&(b=Editor.writeGraphModelToPng(b,"t… argument
10803 c,d,g);this.saveData(e,f,b.substring(b.lastIndexOf(",")+1),"image/"+d,!0)};EditorUi.prototype.isLoc…
10804 …d,e,g,k){"text/xml"!=d||/(\.drawio)$/i.test(c)||/(\.xml)$/i.test(c)||/(\.svg)$/i.test(c)||/(\.html… argument
10805 …d?mxUtils.popup(b,!0):(d.document.write(b),d.document.close(),d.document.execCommand("SaveAs",!0,c…
10806 …d):new Blob([b],{type:d}));k?f.download=c:f.setAttribute("target","_blank");document.body.appendCh… argument
10807 …d?"&mime="+d:"")+(null!=g?"&format="+g:"")+(null!=k?"&base64="+k:"")+(null!=c?"&filename="+encodeU… argument
10808 …,f){try{if("_blank"==f)if(null!=d&&"image/"==d.substring(0,6))this.openInNewWindow(b,d,e);else if(…
10809 …d,e,null,v):null!=c&&0<c.length&&this.pickFolder(f,mxUtils.bind(this,function(l){try{this.exportFi…
10810 …d){var f=window.open("about:blank");null==f||null==f.document?mxUtils.popup(b,!0):("image/svg+xml"… argument
10817 …Canvas()&&this.isChromelessImageExportEnabled()){this.exportDialog=null;var d=b(mxUtils.bind(this,…
10818 else{this.exportDialog=document.createElement("div");var f=d.getBoundingClientRect();mxUtils.setPre…
10821 …Image,mxResources.get("export"))}};EditorUi.prototype.saveData=function(b,c,d,e,g){this.isLocalFil… argument
10822 …d,b,e,g,c):this.saveRequest(b,c,mxUtils.bind(this,function(b,f){return this.createEchoRequest(d,b,… argument
10823 …d){k=null!=k?k:"pdf"==c?"application/pdf":"image/"+c;if(null!=e)try{this.exportFile(e,b,k,!0,f,d)}… argument
10824 …n(){return this.getFileData(!0)};EditorUi.prototype.exportFile=function(b,c,d,e,g,k){};EditorUi.pr… argument
10825 …d){c(null)};EditorUi.prototype.exportSvg=function(b,c,d,e,g,k,n,v,x,A,z,B,y,C){if(this.spinner.spi… argument
10826 …inner.stop();g&&b.setAttribute("content",this.getFileData(!0,null,null,null,d,x,null,null,null,!1)…
10827 …e.addRadiobox=function(b,c,d,e,g,k,n){return this.addCheckbox(b,d,e,g,k,n,!0,c)};EditorUi.prototyp… argument
10828 …d&&(f.setAttribute("checked","checked"),f.defaultChecked=!0);e&&f.setAttribute("disabled","disable…
10829 …d=this.getCurrentFile(),e="";null!=d&&d.getMode()!=App.MODE_DEVICE&&d.getMode()!=App.MODE_BROWSER&…
10830 d.setAttribute("value","custom");mxUtils.write(d,mxResources.get("custom")+"...");l.appendChild(d);…
10832 …d=document.createElement("select");d.style.width="100px";d.style.marginLeft="8px";d.style.marginRi…
10833 …d.appendChild(e);c&&(e=document.createElement("option"),e.setAttribute("value","frame"),mxUtils.wr…
10834 …},getTarget:function(){return d.value},focus:function(){d.focus()}}};EditorUi.prototype.createUrlP… argument
10835 …d&&null!=this.currentPage&&null!=this.pages&&this.currentPage!=this.pages[0]&&n.push("page-id="+th… argument
10836 …d,e,g,k,x);b=this.getCurrentFile();c=!0;null!=n?d="#U"+encodeURIComponent(n):(b=this.getCurrentFil…
10837 …d};EditorUi.prototype.createHtml=function(b,c,d,e,g,k,n,v,x,A,z,B){this.getBasenames();var f={};""… argument
10838 …d.push("pages"),f.resize=!0,null!=this.pages&&null!=this.currentPage&&(f.page=mxUtils.indexOf(this…
10839 ….min.js")+'">\x3c/script>')};EditorUi.prototype.showHtmlDialog=function(b,c,d,e){var f=document.cr… argument
10841 …get("publicDiagramUrl"));g.appendChild(k);var p=this.getCurrentFile();null==d&&null!=p&&p.construc…
10842 …ve.showPermissions(p.getId())})));l.setAttribute("checked","checked");null==d&&m.setAttribute("dis…
10844 …d:null,B.checked,y.value,n.getTarget(),n.getColor(),C.checked,F.checked,G.checked,E.checked,D.chec… argument
10847 …wDialog(b.container,300,80,!0,!1);b.init()}))}))}var q=null,t=null;if(null!=d||null!=e)b+=30,mxUti…
10848 ….value=e+"px",f.appendChild(t),mxUtils.br(f);var u=this.addLinkSection(f,k);d=null!=this.pages&&1<…
10849 …tor!=window.DriveFile||c)F=this.addCheckbox(f,mxResources.get("allPages"),d,!d);var G=this.addChec…
10851 …!1,null)):u.focus()};EditorUi.prototype.showRemoteExportDialog=function(b,c,d,e,g){var f=document.… argument
10854 …d(!p.checked,null!=n?n.checked:!1,null!=q?q.checked:!1,b,c)}),null,b,c);this.showDialog(b.containe… argument
10861 …urces.get("links")+":"),f.appendChild(J),mxUtils.br(f),mxUtils.br(f),m+=50);d=new CustomDialog(thi…
10862 …d,e);this.showDialog(d.container,340,m,!0,!0,null,null,null,null,!0);q.focus();mxClient.IS_GC||mxC… argument
10863 …box(f,mxResources.get("shadow"),l.shadowVisible&&e,!e),n=this.addCheckbox(f,d),q=this.addCheckbox(…
10865 ….container,280,300,!0,!0)};EditorUi.prototype.createEmbedImage=function(b,c,d,e,g,k,n,v){function … argument
10866 …+"');}})(this);\"",p+="cursor:pointer;");b&&(p+="max-width:100%;");var q="";d&&(q=' width="'+Math.…
10867 …l,!0,d?2:1,null,c,null,null,Editor.defaultBorder);else if(c=this.getFileData(!0),l.width*l.height<…
10868 ….createEmbedSvg=function(b,c,d,e,g,k,n){var f=this.editor.graph.getSvg(null,null,null,null,null,nu… argument
10869 f.setAttribute("content",this.getFileData(!0));c&&this.editor.graph.addSvgShadow(f);if(d){var q=" "…
10873 …d=b.getElementsByTagName("diagram");if(0<d.length){var f=d[0],e=c.getGlobalVariable;c.getGlobalVar…
10874 …d=parseFloat(b.getAttribute("scale"));!isNaN(d)&&0<d&&(c=d)}b.hasAttribute("border")&&(d=parseInt(… argument
10875 !0),f),m=d;else if(l||null!=this.pages&&this.currentPage!=this.pages[0]){var f=this.createTemporary…
10876 …vas(mxUtils.bind(this,function(d){try{null==m&&(m=this.getFileData(!0,null,null,null,null,null,nul… argument
10877 …d,e,g,k,n,v,x,A,z,B,y){v=null!=v?v:!0;z=null!=z?z:0;n=null!=x?x:c.background;n==mxConstants.NONE&&… argument
10879 …d,e,g,k,n,v,x,A,z,B,y){x=null!=x?x:"png";if(this.spinner.spin(document.body,mxResources.get("expor… argument
10880 …d,v):null,x,null==this.pages||0==this.pages.length,z)}catch(G){this.handleError(G)}}),null,this.th… argument
10883 …ks(b,k)}}if(null!=p&&"mxGraphModel"===p.nodeName&&(f=l.importGraphModel(p,c,d,e),null!=f))for(u=0;…
10884 …d=this.editor.graph,e=d.getLinkForCell(c);null!=e&&d.setLinkForCell(c,this.updatePageLink(b,e));if…
10885 …d.model.getChildCount(c);k++)this.updatePageLinksForCell(b,d.model.getChildAt(c,k))};EditorUi.prot…
10886 …d)}}catch(v){}return c};EditorUi.prototype.isRemoteVisioFormat=function(b){return/(\.v(sd|dx))($|\… argument
10887 …remote":"local"})}catch(B){}if(f)if(null==VSD_CONVERT_URL||this.isOffline())d({message:"conf"==thi…
10888 …ader;f.onload=mxUtils.bind(this,function(b){try{c(b.target.result)}catch(F){d({message:mxResources…
10889 …d,e)}catch(C){d(C)}else try{""==p.responseType||"text"==p.responseType?d({message:p.responseText})…
10890 …d){d=null!=d?d:mxUtils.bind(this,function(b){this.handleError(b)});var f=mxUtils.bind(this,functio… argument
10892 …d){var f=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeof window.Luc… argument
10893 …xtensions.min.js",f))};EditorUi.prototype.generateMermaidImage=function(b,c,d,e){var f=this,l=func… argument
10895 …lit(/\s+/),l=parseFloat(k[2]),g=parseFloat(k[3])}catch(B){l=l||100,g=g||100}d(f.convertDataUri(Edi… 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…
10897 …lob");g.onload=function(b){if(200<=this.status&&300>this.status)if("txt"==c)d(this.response);else{…
10898 …d(f.result,b,l)}catch(D){e(D)}};c.src=f.result};f.onerror=function(b){e(b)}}else e(b)};g.onerror=f… argument
10899 …d,e,g,k,n,v){k=null!=k?k:!0;n=null!=n?n:!0;if(null!=b)if(Graph.fileSupport&&!this.isOffline()&&(ne… argument
10900 …(l,c,d,k,!0,v)}if("data:image/png;base64,"==b.substring(0,22)&&(l=this.extractGraphModelFromPng(b)…
10901 …d,k,!0,v);if(0<m.length)return m}catch(y){}this.loadImage(b,mxUtils.bind(this,function(e){if("data…
10902 …e.height*l);f.setSelectionCell(f.insertVertex(null,null,"",f.snap(c),f.snap(d),g,e,"shape=image;ve…
10903 …d),1,1,"text;"+(e?"html=1;":"")),f.updateCellSize(l),f.fireEvent(new mxEventObject("textInserted",…
10904 …Update();try{g=f.insertVertex(f.getDefaultParent(),null,"",f.snap(c),f.snap(d),1,1,"text;whiteSpac…
11537 …d,e){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…
11545 …!=typeof Storage){for(var e=document.cookie.split(";"),d=0;d<e.length;d++){var c=mxUtils.trim(e[d]…
11550 …Registrations().then(function(e){if(null!=e&&0<e.length){for(var d=0;d<e.length;d++)e[d].unregiste…
11551 ….main=function(b,e){function d(c){mxUtils.getAll("1"!=urlParams.dev?[c]:[c,STYLE_PATH+"/default.xm… function
11556 …Theme=c[1].getDocumentElement());"1"==urlParams.dev||EditorUi.isElectronApp?d():(mxStencilRegistry…
11557 d))},function(b){b=document.getElementById("geStatus");null!=b&&(b.innerHTML="Error loading page. <…
11559 …d(mxResources.getDefaultBundle(RESOURCE_BASE,mxLanguage)||mxResources.getSpecialBundle(RESOURCE_BA… argument
11566 ….source==l)try{var d=JSON.parse(b.data);null!=d&&"configure"==d.action&&(mxEvent.removeListener(wi…
11578 …d=0;d<b.length;d++)if(null!=b[d]&&0<b[d].length)try{var c=PLUGINS_BASE_PATH+App.pluginRegistry[b[d…
11585 e)});e()}if("1"!=urlParams.embed||"1"==urlParams.gapi){var d=mxUtils.bind(this,function(){if("undef…
11586 …else null==window.DrawGapiClientCallback&&(window.DrawGapiClientCallback=d)});d()}if("1"!=urlParam…
11601 …Child(e);mxUtils.write(b,"Please rate us");document.body.appendChild(b);var d=document.createEleme…
11602 d.setAttribute("border","0");d.setAttribute("align","absmiddle");d.setAttribute("title","1 star");d…
11603 b.appendChild(d);var c=document.createElement("img");c.setAttribute("border","0");c.setAttribute("a…
11606 …mxUtils.bind(this,function(b){mxEvent.consume(b);n()}));mxEvent.addListener(d,"click",mxUtils.bind…
11609 …d=e.lastIndexOf("@"),c=0<=d?e.substring(d+1):"",b=Editor.crc32(b.id);mxUtils.post("/license","doma…
11611 …){var e=this.getRecent();if(null==e)e=[];else for(var d=0;d<e.length;d++)e[d].id==b.id&&e.splice(d…
11615 App.prototype.getThumbnail=function(b,e){var d=!1;try{var c=!0,g=window.setTimeout(mxUtils.bind(thi…
11617 …(){k()},null,null,null,null,null,null,n,null,null,null,null,"diagram",null),d=!0;else if(this.canv…
11620 …d=!0}}catch(D){d=!1,null!=n&&n!=this.editor.graph&&null!=n.container.parentNode&&n.container.paren…
11621 (function(){var b=EditorUi.prototype.setMode;App.prototype.setMode=function(e,d){b.apply(this,argum… argument
11622 …itle"),this.appIcon.style.cursor=e==App.MODE_DEVICE?"pointer":"default")}if(d)try{if(isLocalStorag…
11623 …d=null!=e?e.getMode():null;d==App.MODE_GOOGLE?null!=e&&null!=e.desc&&null!=e.desc.parents&&0<e.des…
11624 …d=e.meta.webUrl,e=encodeURIComponent(e.meta.name),d.substring(d.length-e.length,d.length)==e&&(d=d…
11625 …d==App.MODE_NOTION?this.openLink("https://www.notion.so/"):d==App.MODE_GITHUB?null!=e&&e.construct…
11628 …lient.IS_IOS?new StorageFile(this,b,c):new LocalFile(this,b,c,e))}))}}catch(d){}};App.prototype.lo…
11631 …eload()}),null,null,null,null,null,340,180),null!=this.dialog&&null!=this.dialog.container)){var d=
11632 …d.style.left="0";d.style.right="0";d.style.borderRadius="0";d.style.borderLeftStyle="none";d.style…
11636 …;window.onerror=function(c,d,e,g,m){"ResizeObserver loop limit exceeded"!=c&&(EditorUi.logError("U…
11638 var c=this.getDiagramId(),d=this.getCurrentFile();null!=d&&d.getHash()==c||this.loadFile(c,!0)}catc…
11640 …d=urlParams.create;null!=d?b(c[decodeURIComponent(d)]):(d=urlParams.data,null!=d?b(decodeURICompon… argument
11641 …d)})))}}else if(null==this.dialog)if("1"==urlParams.demo)d=Editor.useLocalStorage,this.createFile(…
11642 …d&&0<d.length?this.loadFile(d,null,null,mxUtils.bind(this,function(){var b=decodeURIComponent(urlP…
11644 …d=4>=b?2:6<b?4:3,c=new CreateDialog(this,c,mxUtils.bind(this,function(b,c){if(null==c){this.hideDi… argument
11645 …d?390:270,!0,!1,mxUtils.bind(this,function(b){b&&null==this.getCurrentFile()&&this.showSplash()}))…
11649 …d=[],c=0;c<e.length;c++)try{var g=e[c].key;if(null!=g&&".draft_"==g.substring(0,7)){var k=JSON.par…
11650 …d.length?(e=new Date(d[0].modified),e=new DraftDialog(this,1<d.length?mxResources.get("selectDraft…
11651 null!=c&&c()}),mxResources.get("no"),mxResources.get("yes"))}),null,null,null,1<d.length?d:null),th…
11653 App.prototype.showSplash=function(b){if("1"!=urlParams.noFileMenu){var e=this.getServiceCount(!0),d…
11654 …&!b)null==urlParams.create&&d();else{b=4==e?2:3;var c=new StorageDialog(this,mxUtils.bind(this,fun…
11655 …d=null;if(null!=this.menus.get("language")){d=document.createElement("div");d.setAttribute("title"…
11656 …d.appendChild(c)}mxEvent.addListener(d,"click",mxUtils.bind(this,function(b){this.editor.graph.pop…
11657 c.popup(e.x,e.y+d.offsetHeight,null,b);this.setCurrentMenu(c)}));b.appendChild(d)}return d};
11658 …d){d=null!=d?d:mxUtils.bind(this,function(b){this.handleError(b)});try{b.getFile().then(mxUtils.bi… argument
11659 "image/svg"===c.type.substring(0,9)?g.readAsText(c):g.readAsDataURL(c)}),d)}catch(c){d(c)}};
11660 …d=null;if(null!=b){var c=b.lastIndexOf(".");0<c&&(d=b.substring(c+1))}for(c=0;c<this.editor.diagra…
11661 …d?e.splice(0,0,g):e.push(g)}return{types:e,fileName:b}};App.prototype.showSaveFilePicker=function(… argument
11663 …d=document.createElement("input");d.setAttribute("type","file");mxEvent.addListener(d,"change",mxU…
11664 …ion(b,c,d){StorageFile.getFileContent(this,b,c,d)});window.deleteBrowserFile=mxUtils.bind(this,fun… argument
11665 …d){var e=mxUtils.bind(this,function(){this.useCanvasForExport||".png"!=d.substring(d.length-4)||(d… argument
11668 …ICE&&Graph.fileSupport){if(null==this.libFileInputElt){var d=document.createElement("input");d.set…
11669 …d,"change",mxUtils.bind(this,function(){if(null!=d.files){for(var b=0;b<d.files.length;b++)mxUtils…
11670 …ion(b,c,d){StorageFile.getFileContent(this,b,c,d)});window.deleteBrowserFile=mxUtils.bind(this,fun… argument
11671 function(c,d){try{this.loadLibrary(b==App.MODE_BROWSER?new StorageLibrary(this,c,d):new LocalLibrar… argument
11672 …d,c,g,k,n){try{c=null!=c?c:this.mode;g=null!=g?g:!1;k=null!=k?k:!1;var f=this.createLibraryDataFro… argument
11673 …d,mxUtils.bind(this,function(b){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(b,e)}),…
11674 …d):c==App.MODE_NOTION&&null!=this.notion&&this.spinner.spin(document.body,mxResources.get("inserti…
11675 …d):c==App.MODE_DROPBOX&&null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get("inser…
11676 …d):c==App.MODE_BROWSER?(d=mxUtils.bind(this,function(){var c=new StorageLibrary(this,f,b);c.saveFi…
11677 …d,e);null!=n&&n()}),l)});if(b!=d.getTitle()){var p=d.getHash();d.rename(b,mxUtils.bind(this,functi…
11678 …d=this.getCurrentFile();if(null!=d){var c=mxUtils.bind(this,function(){EditorUi.enableDrafts&&d.re…
11679 …d.invalidFileHandle=null;d.fileHandle=b;d.title=e.name;d.desc=e;this.save(e.name,c)}),null,this.cr…
11680 …_DEVICE?null!=d&&EditorUi.nativeFileSupport?this.showSaveFilePicker(mxUtils.bind(this,function(b,e…
11681 d.desc=e;this.setMode(App.MODE_DEVICE);this.save(e.name,c)}),mxUtils.bind(this,function(b){"AbortEr… argument
11682 …d)})):null!=e&&this.save(b,c)))}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get…
11683 App.prototype.loadTemplate=function(b,e,d,c,g){var k=!1,n=b;this.editor.isCorsEnabledForUrl(n)||(n=… argument
11684 …ortVisio(this.base64ToBlob(c.substring(c.indexOf(",")+1)),function(b){e(b)},d,f);else if(!this.isO…
11685 …this,function(b){d(b)}));else{if(/(\.png)($|\?)/i.test(f)||this.isPngData(l))l=this.extractGraphMo…
11687 App.prototype.createFile=function(b,e,d,c,g,k,n,f,l){c=f?null:null!=c?c:this.mode;if(null!=b&&this.… argument
11688 …d,k,g,l)}),p)):c==App.MODE_GITHUB&&null!=this.gitHub?this.gitHub.insertFile(b,e,mxUtils.bind(this,…
11689 …d,k,g,l)}),p,!1,n):c==App.MODE_DROPBOX&&null!=this.dropbox?this.dropbox.insertFile(b,e,mxUtils.bin…
11690 …d,k,g,l)}),p):!f&&c==App.MODE_DEVICE&&EditorUi.nativeFileSupport?(m(),this.showSaveFilePicker(mxUt…
11691 App.prototype.fileCreated=function(b,e,d,c,g){var k=window.location.pathname;null!=e&&0<e.length&&(… argument
11692 …File();null==d&&null!=f&&(d=!f.isModified()&&null==f.getMode());var l=mxUtils.bind(this,function()…
11693 …d||null==f||!f.isModified()?l():this.confirm(mxResources.get("allChangesLost"),null,l,mxResources.…
11695 App.prototype.loadFile=function(b,e,d,c,g){if("1"==urlParams.openInSameWin||navigator.standalone)e=… argument
11696 …d){null!=d?(this.fileLoaded(new StorageFile(this,d,b)),null!=c&&c()):f({message:mxResources.get("f… argument
11697 this.fileLoaded(d),null!=c&&c();else if("S"==b.charAt(0))this.spinner.stop(),this.alert("[Deprecati…
11698 …ntent",null,null,mxUtils.bind(this,function(b,d){this.spinner.stop();this.fileLoaded(new EmbedFile… argument
11699 …;this.loadFile("G"+b,e,null,mxUtils.bind(this,function(){var d=this.getCurrentFile();null!=d&&this…
11700 …d.getHash=function(){return"G"+b},window.location.hash="#"+d.getHash());null!=c&&c()}));return!0}r… argument
11701 …&(e=f+g)}d=new LocalFile(this,d,null!=urlParams.title?decodeURIComponent(urlParams.title):e,!0);d.…
11703 …d){this.spinner.stop();this.fileLoaded(d);var e=this.getCurrentFile();null==e?(window.location.has… argument
11704 (d=mxResources.get("copyCreated"),this.editor.setStatus('<div title="'+d+'" class="geStatusAlert">'…
11708 …d=mxUtils.bind(this,function(b,c){c||mxSettings.removeCustomLibrary(b);delete this.pendingLibrarie…
11709 …;var f=mxUtils.bind(this,function(d){delete this.pendingLibraries[b];g[e]=d;c--;k()}),l=mxUtils.bi… argument
11719 …d=null,c=mxUtils.bind(this,function(c){c=c.filter(function(c){return!c.targets||-1<c.targets.index…
11720 …otifCache",JSON.stringify({ts:Date.now(),notifs:b})),this.fetchingNotif=!1,c(b))}))):c(d.notifs)}};
11721 App.prototype.showNotification=function(b,e){function d(b){var c=document.querySelector(".geNotific… function
11722 …or(var c=this.notificationWin.querySelectorAll(".circle.active"),d=0;d<c.length;d++)c[d].className…
11726 …is.notificationWin.style.left=b.right-this.notificationWin.clientWidth+"px";d(0)}else k()}));mxEve…
11727 …d=document.createElement("div");d.className="notification";var e=b.timeSince(new Date(c.timestamp)…
11728 "notifWin")});l.appendChild(d)})(this,b[g]);d(f)}}};
11729 …d=this.getCurrentFile();if(null!=d&&this.spinner.spin(document.body,mxResources.get("saving"))){th…
11730 …d,c,g){d=null!=d?d:!0;var k=this.spinner.pause();d&&b==App.MODE_GOOGLE&&null!=this.drive?this.driv… argument
11731 …d&&b==App.MODE_GITHUB&&null!=this.gitHub?this.gitHub.pickFolder(mxUtils.bind(this,function(b){k();…
11732 …d,c,g,k){g==App.MODE_DROPBOX?null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get("… argument
11733 …d,c):g==App.MODE_ONEDRIVE?null!=this.oneDrive&&this.spinner.spin(document.body,mxResources.get("sa…
11735 d):b,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,function(b){this.spinner.…
11736 …("rename"))}var e=this.editor.graph,d=b.isEditable()&&!b.invalidChecksum;e.isEnabled()&&!d&&e.rese…
11738 …alog=function(b,e,d,c){var g=this.spinner.pause();this.showDialog((new AuthDialog(this,b,e,mxUtils… argument
11739 App.prototype.convertFile=function(b,e,d,c,g,k,n,f){var l=e;/\.svg$/i.test(l)||(l=l.substring(0,e.l… argument
11740 …bind(this,function(c){try{if(/\.pdf$/i.test(e)){var d=Editor.extractGraphModelFromPdf(c);null!=d&&…
11741 d,l,!0))}else/\.png$/i.test(e)?(d=this.extractGraphModelFromPng(c),null!=d?g(new LocalFile(this,d,l…
11742 k&&k(x)}});d=/\.png$/i.test(e)||/\.jpe?g$/i.test(e)||/\.pdf$/i.test(e)||null!=d&&"image/"==d.substr…
11743 …=k&&k({code:App.ERROR_TIMEOUT,retry:fn})},f):null!=n?n(b,t,k,d):this.editor.loadUrl(b,t,k,d,null,n…
11757 ….toggleFormatElement,70),mxUtils.setOpacity(this.fullscreenElement,70));var d=this.hsplitPosition;…
11758 …&"1"!=urlParams.embed&&this.toggleCompactMode(c);c||(d=this.hsplitPosition);this.hsplitPosition=c?…
11767 …d=document.createElement("div");d.className="geDialog";d.style.position="absolute";d.style.top=thi…
11768 …d}if(null!=this.userPanel.parentNode)this.userPanel.parentNode.removeChild(this.userPanel);else{va…
11769 …d=this.getCurrentFile();null!=d&&d.constructor==DriveFile?(this.spinner.spin(document.body,c),this…
11770 …d.style.width="66px";var f=document.createElement("img");f.setAttribute("width","50");f.setAttribu…
11771 …d,b.displayName+(b.isCurrent&&1<e.length?" ("+mxResources.get("default")+")":""));null!=b.email&&(…
11773 …d(d(e[f]));this.userPanel.appendChild(n);d=document.createElement("div");d.style.textAlign="left";…
11774 mxResources.get("signOut"))}))}));n.className="geBtn";n.style["float"]="right";d.appendChild(n);n=m…
11775 …d.appendChild(n);this.userPanel.appendChild(d)}}d=mxUtils.bind(this,function(b,d,e,f){if(null!=b){… argument
11776 …d);n.style.marginRight="6px";m.appendChild(n)}l.appendChild(m);m=document.createElement("td");m.se…
11777 …endChild(d));null!=f&&(b=document.createElement("div"),b.style.marginTop="4px",d=document.createEl…
11778 …d(this.dropbox.getUser(),IMAGE_PATH+"/dropbox-logo.svg",mxUtils.bind(this,function(){var b=this.ge…
11779 …se this.oneDrive.logout()}),mxResources.get("oneDrive"));null!=this.gitHub&&d(this.gitHub.getUser(…
11780 …)}else this.gitHub.logout()}),mxResources.get("github"));null!=this.gitLab&&d(this.gitLab.getUser(…
11781 …)}else this.gitLab.logout()}),mxResources.get("gitlab"));null!=this.notion&&d(this.notion.getUser(…
11782 …)}else this.notion.logout()}),mxResources.get("notion"));null!=this.trello&&d(this.trello.getUser(…
11783 …d=document.createElement("div"),d.style.textAlign="center",d.style.padding="10px",d.innerHTML=mxRe…
11784 …d.appendChild(n),this.userPanel.appendChild(d),this.commentsSupported()&&(n=mxUtils.button(mxResou…
11785 …de.removeChild(this.userPanel)})),n.className="geBtn",d.appendChild(n),this.userPanel.appendChild(…
11790 …d=document.createElement("img");mxUtils.setOpacity(d,50);d.style.height="16px";d.style.width="16px…
11791 …init=function(){function b(b,c,d){this.ui=b;this.previousExtFonts=this.extFonts=c;this.prevCustomF… argument
11793 …mode!=App.MODE_GOOGLE){var d=new NewDialog(c,b,!(c.mode==App.MODE_DEVICE&&"chooseFileSystemEntries…
11794 d.init()}else{var e=function(b){return{id:b.id,isExt:!0,url:b.downloadUrl,title:b.title,imgUrl:b.th… argument
11795 …d=[],f=0;f<c.items.length;f++)d.push(e(c.items[f]));b(d)},d)},function(b,d,f,g){c.drive.listFiles(… argument
11796 …deDialog();if(null!=b){var d=c.editor.graph.getFreeInsertPoint();g.setSelectionCells(c.importXml(b…
11801 …ction(){var b=document.createElement("div");b.style.whiteSpace="nowrap";var d=null==c.pages||1>=c.…
11802 …d,d);l.style.marginBottom="16px";mxEvent.addListener(f,"change",function(){f.checked?l.setAttribut…
11803 …get("url"),!0,null,null,function(b,d,e,f,g,k,l,m,n){l=[];n&&l.push("tags=%7B%7D");b=new EmbedDialo… argument
11804 …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=c.ge… argument
11805 …d=document.createElement("div");d.style.whiteSpace="nowrap";var e=document.createElement("h3");mxU…
11806 …u.value),parseInt(q.value))))},n=c.addRadiobox(d,"pages",mxResources.get("allPages"),!0),p=c.addRa…
11807 …th="50px";d.appendChild(q);var t=document.createElement("span");mxUtils.write(t,mxResources.get("t…
11808 …d);var v=c.addRadiobox(d,"pages",mxResources.get("selectionOnly"),!1,g.isSelectionEmpty()),x=c.add…
11809 …d,mxResources.get("crop"),!g.pageVisible||!c.pdfPageExport,!c.pdfPageExport),z=c.addCheckbox(d,mxR…
11810 d,mxUtils.bind(this,function(){var d=null;if(!b)var d=parseInt(q.value),e=parseInt(u.value),d=n.che…
11811 …n("close",function(){function b(){null!=d&&d.removeDraft();c.fileLoaded(null)}var d=c.getCurrentFi…
11812 …d=g.view.getState(b);null!=d&&null!=d.shape&&null!=d.shape.stencil&&(b=new EditShapeDialog(c,b,mxR… argument
11816 g.getSelectionCells(),d=[],e=0;e<b.length;e++)g.getModel().isVertex(b[e])&&d.push(b[e]);0<d.length&…
11818 …d,e,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… argument
11819 …log(mxResources.get("export"),null,mxUtils.bind(this,function(b,d,e,f,g){c.downloadFile(d?"xmlpng"… argument
11820 …d,e,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
11821 b.length?c.editor.getGraphXml():g.encodeCells(b));c.copyImage(b,d)}));p.visible=Editor.enableNative…
11825 …n("findReplace...",mxUtils.bind(this,function(b,d){var e=g.isEnabled()&&(null==d||!mxEvent.isShift… argument
11827 …d=document.createElement("div");d.style.whiteSpace="nowrap";var e=document.createElement("h3");mxU…
11828 …d,mxResources.get("allPages"),!b,b);f.style.marginBottom="16px";b=new CustomDialog(c,d,mxUtils.bin…
11829 …)}})}]];EditorUi.isElectronApp||d.push([mxResources.get("share"),function(b,d){if(0<d.value.length… argument
11830 …d=JSON.parse(b);localStorage.setItem(Editor.configurationKey,JSON.stringify(d))}else localStorage.…
11831 …||isLocalStorage){this.put("language",new Menu(mxUtils.bind(this,function(b,d){var e=mxUtils.bind(… argument
11832 d),(e==mxLanguage||""==e&&null==mxLanguage)&&b.addCheckmark(g,Editor.checkmarkImage));return g});e(…
11833 …d.style.position="absolute";d.style.display="block";d.style.cursor="pointer";d.style.right="17px";…
11834 …d.appendChild(e);mxUtils.setOpacity(d,40);if("atlas"==uiTheme||"dark"==uiTheme)d.style.opacity="0.…
11835 …d=JSON.parse(b);c.executeLayoutList(d);c.customLayoutConfig=d}catch(F){c.handleError(F),null!=wind… argument
11836 …chart/mxOrgChartLayout.js",k)})})}):mxscript("js/extensions.min.js",k))}var d=null,e=20,f=20,g=!0,…
11837 typeof mxOrgChartLayout&&null!=d&&g){var b=c.editor.graph,k=new mxOrgChartLayout(b,d,e,f),l=b.getDe…
11838 …ted","selected");n.appendChild(y)}mxEvent.addListener(n,"change",function(){d=n.value});l.appendCh…
11840 …CustomDialog(c,l,function(){null==d&&(d=2);b()});c.showDialog(l.container,355,140,!0,!0)},d,null,k…
11841 …d);b.addSeparator(d);c.menus.addMenuItem(b,"runLayout",d,null,null,mxResources.get("apply")+"...")… argument
11844 …d),"1"!=urlParams.disableUpdate&&this.addMenuItems(b,["check4Updates","-"],d),this.addMenuItems(b,…
11846 …),d=g.getBoundingBoxFromGeometry(b),b=g.moveCells(b,-d.x,-d.y);c.showTextDialog("Create Sidebar En…
11847 …d=g.view.scale;g.insertVertex(g.getDefaultParent(),null,"",b.x/d-c.x,b.y/d-c.y,b.width/d,b.height/… function
11848 …d+": Visited: "+b)}var d=b.parentNode.id,e=b.childNodes;b={};for(var f={},g=null,k={},l=0;l<e.leng…
11849 …d+": Checked");var p={};null==g?mxLog.debug(d+": No root"):(c(g),Object.keys(p).length!=Object.key…
11850 …d(k[b]);mxLog.show()}catch(H){c.handleError(H),null!=window.console&&console.error(H)}});b.textare…
11851 …d)try{var e=JSON.parse(b);d.patch([e],null,!0);c.hideDialog()}catch(G){c.handleError(G)}},null,"Cl… argument
11853 d=g.view.scale,e=mxUtils.createXmlDocument(),f=e.createElement("output");e.appendChild(f);e=new mxX…
11856 …s",b,function(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… argument
11857 …=mxClient.IS_IE||mxClient.IS_EDGE||null!=document.documentMode;g&&f.writeln(d);f.writeln("</body>"…
11858 …ement("script");b.type="text/javascript";b.src=/<script.*?src="(.*?)"/.exec(d)[1];f.body.appendChi…
11859 …d){c.spinner.stop();null!=d?(d=new EmbedDialog(c,'<img src="'+(b.constructor!=DriveFile?d:"https:/… argument
11860 …howEmbedImageDialog(function(b,d,e,f,g,k){c.spinner.spin(document.body,mxResources.get("loading"))… argument
11861 …showEmbedImageDialog(function(b,d,e,f,g,k){c.spinner.spin(document.body,mxResources.get("loading")… argument
11862 …d,e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCur… argument
11863 …d,e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCur… argument
11864 …d,e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCur… argument
11867 …d="0"!=urlParams.pages||null!=c.pages&&1<c.pages.length?c.getFileData(!0):mxUtils.getXml(c.editor.…
11869 …d){c.isExportToCanvas()?(this.addMenuItems(b,["exportPng"],d),c.jpgSupported&&this.addMenuItems(b,… argument
11870 …d):c.isOffline()||mxClient.IS_IOS&&navigator.standalone||this.addMenuItems(b,["exportPdf"],d);mxCl… argument
11871 …d,function(b){var d="data:image/"==b.getData().substring(0,11)?p(b.getTitle()):"text/xml";/\.svg$/… argument
11872 …=k?Math.min(1,Math.min(c.maxImageSize/n,c.maxImageSize/p)):1;c.importFile(b,d,l,m,Math.round(n*f),…
11873 ….handleError({message:mxResources.get("cannotOpenFile")})})):c.importFile(b,d,l,m,0,0,e,function(b…
11874 …d):n&&"function"===typeof window.DriveClient&&b.addItem(mxResources.get("googleDrive")+" ("+mxReso…
11875 …d,null,!1);null!=c.dropbox?b.addItem(mxResources.get("dropbox")+"...",null,function(){e(c.dropbox)…
11876 …d));null!=c.trello?b.addItem(mxResources.get("trello")+"...",null,function(){e(c.trello)},d):m&&"f…
11877 …d);c.isOffline()||(b.addSeparator(d),b.addItem(mxResources.get("url")+"...",null,function(){var b=…
11878 …d)}},mxResources.get("url"));c.showDialog(b.container,300,80,!0,!0);b.init()},d))}))).isEnabled=k;… argument
11879 …d);"kennedy"==e&&b.addCheckmark(f,Editor.checkmarkImage);f=b.addItem(mxResources.get("minimal"),nu…
11880 …d),"dark"==e&&b.addCheckmark(f,Editor.checkmarkImage);b.addSeparator(d);f=b.addItem(mxResources.ge…
11881 …d,e){b.invalidFileHandle=null;b.fileHandle=d;b.title=e.name;b.desc=e;c.save(e.name)}),null,c.creat… argument
11883 …d.container,340,96,!0,!0);d.init()}}));p.isEnabled=function(){return this.enabled&&k.apply(this,ar… argument
11884 …d&&0<d.length&&(e==App.MODE_GOOGLE?c.spinner.spin(document.body,mxResources.get("saving"))&&b.save… argument
11885 …d.container,420,380,!0,!0),d.init()):c.editor.editAsNew(this.editorUi.getFileData(!0),d)}}));c.act…
11886 …d){c.spinner.spin(document.body,mxResources.get("moving"))&&b.move(d,mxUtils.bind(this,function(b)… argument
11887 …d){var e=c.getCurrentFile();null==e||e.getMode()!=App.MODE_GOOGLE&&e.getMode()!=App.MODE_GITHUB||!… argument
11888 …d);"1"==urlParams.embed||c.isOffline()||this.addMenuItems(b,"- googleDocs googleSlides googleSheet… argument
11889 …b.container,620,420,!0,!1);b.init()}),d,null,k())};var A=function(b,d,e,f){var k=new mxCell(b,new … argument
11892 …d,e){for(var f=0;f<e.length;f++)"-"==e[f]?b.addSeparator(d):c.addInsertItem(b,d,mxResources.get(e[… argument
11893 d);b.addSeparator(d);this.addSubmenu("insertLayout",b,d,mxResources.get("layout"));this.addSubmenu(… argument
11894 …d,null,k())})));this.put("openRecent",new Menu(function(b,d){var e=c.getRecent();if(null!=e){for(v… argument
11895 …d):n&&"function"===typeof window.DriveClient&&b.addItem(mxResources.get("googleDrive")+" ("+mxReso…
11896 …d):f&&"function"===typeof window.DropboxClient&&b.addItem(mxResources.get("dropbox")+" ("+mxResour…
11897 …d),b.addItem(mxResources.get("notion")+"...",null,function(){c.pickFile(App.MODE_NOTION)},d));null…
11898 d);"1"!=urlParams.noDevice&&b.addItem(mxResources.get("device")+"...",null,function(){c.pickFile(Ap…
11899 …d))}));Editor.enableCustomLibraries&&(this.put("newLibrary",new Menu(function(b,d){"undefined"!=ty… argument
11900 …d):l&&"function"===typeof window.OneDriveClient&&b.addItem(mxResources.get("oneDrive")+" ("+mxReso…
11901 …d,null,!1);b.addSeparator(d);null!=c.gitHub&&b.addItem(mxResources.get("github")+"...",null,functi…
11902 d));null!=c.trello?b.addItem(mxResources.get("trello")+"...",null,function(){c.showLibraryDialog(nu…
11903 …d)})),this.put("openLibraryFrom",new Menu(function(b,d){"undefined"!=typeof google&&"undefined"!=t… argument
11904 …d):l&&"function"===typeof window.OneDriveClient&&b.addItem(mxResources.get("oneDrive")+" ("+mxReso…
11905 …d);null!=c.gitLab&&b.addItem(mxResources.get("gitlab")+"...",null,function(){c.pickLibrary(App.MOD…
11906 …d,null,!1);b.addSeparator(d);isLocalStorage&&"0"!=urlParams.browser&&b.addItem(mxResources.get("br…
11907 …d=b;c.editor.isCorsEnabledForUrl(b)||(d=PROXY_URL+"?url="+encodeURIComponent(b));mxUtils.get(d,fun… argument
11908 …d));"1"==urlParams.confLib&&(b.addSeparator(d),b.addItem(mxResources.get("confluenceCloud")+"...",…
11911 …d){z.apply(this,arguments);c.menus.addMenuItems(b,["tags"],d);c.commentsSupported()&&c.menus.addMe… argument
11912 …d);this.addMenuItems(b,"- scrollbars tooltips ruler - grid guides".split(" "),d);mxClient.IS_SVG&&…
11913 …d)})));this.put("extras",new Menu(mxUtils.bind(this,function(b,d){"1"==urlParams.noLangIcon&&(this… argument
11914 …d);"1"!=urlParams.embed&&(isLocalStorage||mxClient.IS_CHROMEAPP)&&this.addMenuItems(b,["showStartS…
11915 …d=new TemplatesDialog(c,function(b){console.log(arguments)},null,null,null,"user",function(d,e,f){… argument
11916 …d)},f)},function(b,d,e){c.drive.getFile(b.id,function(b){d(b.data)},e)},null,function(b){b({Test:[… argument
11917 …d)),c.isRevisionHistorySupported()&&this.addMenuItems(b,["-","revisionHistory"],d),this.addMenuIte…
11918 …d);this.addMenuItems(b,["save","-","share"],d);var f=this.addMenuItem(b,"synchronize",d);(!c.isOff…
11919 …d):(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null==e||e.constructor==LocalFile&&null==e.file…
11920 …d),this.addMenuItems(b,["rename"],d),c.isOfflineApp()?navigator.onLine&&"1"!=urlParams.stealth&&"1…
11921 …d);c.isRevisionHistorySupported()&&this.addMenuItems(b,["-","revisionHistory"],d);null!=e&&null!=c…
11922 …d=0;null!=c&&d<c.length;d++){var e=document.getElementById("extFont_"+c[d].name);null!=e&&e.parent…
11923 …u(mxUtils.bind(this,function(d,e){for(var f=mxUtils.bind(this,function(f,g,k,l,m){var n=c.editor.g… argument
11925 …ener(k,mxClient.IS_POINTER?"pointerup":"mouseup",mxUtils.bind(this,function(d){if("1"!=urlParams["… argument
11926 …itor.graph.model.execute(e)}this.editorUi.hideCurrentMenu();mxEvent.consume(d)})));Graph.addFont(f…
11927 …d.addSeparator(e);if("1"!=urlParams["ext-fonts"]){for(var l=function(b){var c=encodeURIComponent(b…
11928 …d.addSeparator(e)}d.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){Graph.recen…
11929 …=this.customFonts[k].url,f(q,l,!0),this.editorUi.editor.graph.addExtFont(q,l,!0);d.addSeparator(e);
11930 d.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){var d=new b(this.editorUi,[],[…
11931 …d="g"):d="w")))}else f=b.getView().getState(b.getSelectionCell()),null!=f&&(c=f.style[mxConstants.…
11932 …d=new FontDialog(this.editorUi,c,e,d,mxUtils.bind(this,function(c,d,e){null!=g&&(b.cellEditor.rest… argument
11933 …d?encodeURIComponent(d):null),b.setCellStyles("FType",null)):(b.setCellStyles(mxConstants.STYLE_FO…
11934 …odel().endUpdate()}}}));this.editorUi.showDialog(d.container,380,Editor.enableWebFonts?250:180,!0,…
11935 …de.setAttribute("name",b)};function RenamePage(b,e,d){this.ui=b;this.page=e;this.previous=this.nam… argument
11936 function MovePage(b,e,d){this.ui=b;this.oldIndex=e;this.newIndex=d}MovePage.prototype.execute=funct… argument
11937 …d){this.ui=b;this.previousPage=this.page=e;this.neverShown=!0;null!=e&&(this.neverShown=null==e.vi… argument
11938 …d=e.graph,c=Graph.compressNode(e.getGraphXml(!0));mxUtils.setTextContent(b.node,c);b.viewState=d.g…
11939 d.setViewState(b.viewState);d.gridEnabled=d.gridEnabled&&(!this.ui.editor.isChromelessView()||"1"==…
11940 function ChangePage(b,e,d,c,g){SelectPage.call(this,b,d);this.relatedPage=e;this.index=c;this.previ… argument
11942 …){var e=null;if(null!=this.pages&&null!=b)for(var d=0;d<this.pages.length;d++)if(this.pages[d]==b)…
11943 …ink=function(b,e,d){var c=b.indexOf(","),g=null;0<c&&(c=this.getPageById(b.substring(c+1)),null!=c… argument
11944 …d){d=null!=d?d:this.editor.graph;var c=d.getGlobalVariable,g=this.createTemporaryGraph(d.getStyles… argument
11945 …!0);d=g.getGraphBounds();document.body.removeChild(g.container);return new mxImage(Editor.createSv…
11947 …y(b.view,arguments)});var d=null,c=mxUtils.bind(this,function(){this.updateTabContainer();var c=th…
11948 ….container.scrollTop=b.view.translate.y*b.view.scale+c.viewState.scrollTop),d=c);null!=this.action…
11949 ….graph.model.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(b,d){for(var e=d.getProperty("e… argument
11950 …d){b=null!=b?this.getPageById(b.getId()):null;var c=this.editor.graph;null!=b&&null!=this.currentP… argument
11951 Graph.prototype.createViewState=function(b){var e=b.getAttribute("page"),d=parseFloat(b.getAttribut…
11952 …ull!=k&&0<k.length?k:null,backgroundImage:n,pageScale:isNaN(d)?mxGraph.prototype.pageScale:d,pageF…
11954 Graph.prototype.saveViewState=function(b,e,d,c){d||(e.setAttribute("grid",null==b||b.gridEnabled?"1… argument
11955 …d=null!=b?b.pageFormat:"undefined"===typeof mxSettings||null!=this.defaultPageFormat?mxGraph.proto…
11960 …denTags;var d=this.extFonts;this.extFonts=b.extFonts||[];if(e&&null!=d)for(var c=0;c<d.length;c++)…
11964 …d){if(b&&e){"1"!=urlParams["ext-fonts"]&&(Graph.recentCustomFonts[b.toLowerCase()]={name:b,url:e})… argument
11965 this.extFonts&&(this.extFonts=[]);d=this.extFonts;c=!0;for(g=0;g<d.length;g++)if(d[g].name==b){c=!1…
11966 …d=this.editor.extractGraphModel(b.node,null,e),c=Editor.extractParserError(d);if(c)throw Error(c);…
11967 d)}null!=b.graphModelNode&&(b.viewState=this.editor.graph.createViewState(b.graphModelNode))}return…
11968 …d){try{if(b!=this.currentPage){this.editor.graph.isEditing()&&this.editor.graph.stopEditing(!1);e=… argument
11970 …ePageId());e=null!=e?e:this.pages.length;var d=new ChangePage(this,b,b,e);this.editor.graph.model.…
11971 …d=new DiagramPage(this.fileNode.ownerDocument.createElement("diagram"),e);d.setName(null!=b?b:this…
11972 …d=mxUtils.indexOf(this.pages,b);if(e.isEnabled()&&0<=d){this.editor.graph.isEditing()&&this.editor…
11973 …d=null;try{var c=this.editor.graph;if(c.isEnabled()){c.isEditing()&&c.stopEditing();var g=b.node.c…
11974 …d.root])}}catch(f){this.handleError(f)}return d};EditorUi.prototype.renamePage=function(b){if(this… argument
11976 ….marginLeft="30px";for(var d=this.editor.isChromelessView()?29:59,c=Math.min(140,Math.max(20,(this…
11977 …d){this.pages[c]==this.currentPage?(d.className="geActivePage",d.style.backgroundColor=Editor.isDa… argument
11978 …d,"dragover",mxUtils.bind(this,function(b){null!=g&&(b.dataTransfer.dropEffect="move");b.stopPropa…
11979 …tabContainer.appendChild(c));if(e.clientWidth>this.tabContainer.clientWidth-d){null!=c&&(c.style.p…
11984 …d){d=this.createTab(null!=d?d:!0);d.style.lineHeight=this.tabContainerHeight+"px";d.style.paddingT… argument
11986 …d=0;d<this.pages.length;d++)mxUtils.bind(this,function(d){var e=b.addItem(this.pages[d].getName(),… argument
11987 …d=e.getName(),b.addItem(mxResources.get("removeIt",[d]),null,mxUtils.bind(this,function(){this.rem…
11988 …e.hideMenu.apply(c,arguments);c.destroy()});var d=mxEvent.getClientX(b),e=mxEvent.getClientY(b);c.…
11990 …d,c){d=this.createTab(d);var g=b.getName()||mxResources.get("untitled"),k=b.getId();d.setAttribute… argument
11991 …d=this.editor.graph;mxEvent.addListener(e,"dblclick",mxUtils.bind(this,function(c){this.renamePage…
11993 …d){if(!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp){var c=this.getCurrentFile();if(null!=c&&c.c… argument
11995 …d,c){var g=this.editor.graph;d.addItem(mxResources.get("insert"),null,mxUtils.bind(this,function()… argument
11996 …d,e,l,m,p){c=this.createUrlParameters(c,d,e,l,m,p);e||c.push("hide-pages=1");g.isSelectionEmpty()|… argument
11997 …d.addSeparator(c);d.addItem(mxResources.get("duplicate"),null,mxUtils.bind(this,function(){this.du…
11998 …dec(new MovePage,["ui"]);b.beforeDecode=function(b,d,c){c.ui=b.ui;return d};b.afterDecode=function…
11999 …enamePage,["ui","page"]);b.beforeDecode=function(b,d,c){c.ui=b.ui;return d};b.afterDecode=function…
12001 …d=c.ownerDocument.createElement("diagram");d.setAttribute("id",c.getAttribute("relatedPage"));d.se…
12002 …d=c.firstChild;if(null!=d)for(e.relatedPage.root=b.decodeCell(d,!1),e=d.nextSibling,d.parentNode.r… argument
12003 …d){this.model.beginUpdate();try{var c=[];this.traverse(d,!0,mxUtils.bind(this,function(b,e){var f=… argument
12004 d,e,n,f,l),mxUtils.bind(this,function(b){return this.isTreeEdge(b)}))};Graph.prototype.getIncomingT… function
12006 …DIRECTION_EAST}function l(b,c){c=null!=c?c:!0;v.model.beginUpdate();try{var d=v.model.getParent(b)…
12007 …d.geometry;k==mxConstants.DIRECTION_SOUTH||k==mxConstants.DIRECTION_NORTH?g[1].geometry.x+=c?b.geo…
12009 …var d=null!=c&&v.isTreeEdge(c);d&&D.push(c);(null==c||d)&&D.push(b);return null==c||d});v.moveCell…
12010 …d=v.getIncomingTreeEdges(b),e=v.cloneCells([d[0],b]);v.model.setTerminal(d[0],e[1],!1);v.model.set…
12011 …){v.model.beginUpdate();try{var d=v.model.getParent(b),e=v.getIncomingTreeEdges(b),g=f(b);0==e.len…
12012 …al",[k[0]])}catch(pa){}}var e=v.getOutgoingTreeEdges(b),p=d.geometry,l=[];v.view.currentRoot==d&&(…
12014 …d)}finally{v.model.endUpdate()}}function q(b,c,d){b=v.getOutgoingTreeEdges(b);d=v.view.getState(d)… argument
12015 d.y-d.height})}return e}function t(b,c){var d=f(b),e=c==mxConstants.DIRECTION_EAST||c==mxConstants.…
12016 …d&&d<=e.length-1&&v.setSelectionCell(e[d].cell)))))}var u=this,v=u.editor.graph,x=v.getModel(),A=u… argument
12017 …d).length&&this.addMenuItems(c,["selectSiblings","selectParent"],null,e)):0<v.model.getEdgeCount(d…
12018 ….model.getTerminal(b[0],!0)),null!=b)){for(var c=[],d=0;d<b.length;d++)c.push(v.model.getTerminal(…
12019 …d=v.getSelectionCell();if(v.isEnabled()&&v.model.isVertex(d)){if(null!=c&&mxEvent.isAltDown(c))v.s… argument
12020 …d){d=null!=d?d:!0;null==c&&(c=this.getDeletableCells(this.getSelectionCells()));d&&(c=this.getDele… argument
12021 …d,e){return b(c.cell)?null:this.graph.view.getState(this.graph.getCellAt(d,e))};var B=v.duplicateC… argument
12022 …y{this.model.endUpdate()}return l};var y=v.moveCells;v.moveCells=function(c,d,e,f,g,k,l){var m=nul… argument
12023 ….model.getTerminal(t[0],!0));if(null!=u){var x=v.view.getState(n);null!=x&&(d=(x.getCenterX()-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…
12026 …d=null;0<v.getIncomingTreeEdges(v.getSelectionCell()).length&&(9==c.which?d=mxEvent.isShiftDown(c)…
12028 …d,e,g,k,n,q){var t=v.getIncomingTreeEdges(c);if(b(c)){var u=f(c),y=u==mxConstants.DIRECTION_EAST||… argument
12029 …d(c)&&!b(c)||n(c)||v.traverse(c,!0,function(b,c){var d=null!=c&&v.isTreeEdge(c);d&&0>mxUtils.index…
12032 …ned"!==typeof Sidebar){var d=Sidebar.prototype.createAdvancedShapes;Sidebar.prototype.createAdvanc…
12033 …:"elbowEdgeStyle","startArrow":"none","endArrow":"none"};');c.vertex=!0;var d=new mxCell("Child",n…
12034 d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;elbow=vertical;st…
12035 …Arrow":"none","endArrow":"none","segment":10,"curved":1};');c.vertex=!0;var d=new mxCell("Topic",n…
12036 d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArr…
12039 …(v,!1);b.insert(e);b.insert(p);b.insert(t);b.insert(v);b.insert(c);b.insert(d);b.insert(g);b.inser…
12043 …ndArrow":"none"};');e.setAttributeForCell(c,"treeRoot","1");c.vertex=!0;var d=new mxCell("Division…
12044 d.vertex=!0;var g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;elbow=vertical;st…
12045 …tEdge(p,!0);m.insertEdge(p,!1);b.insert(g);b.insert(p);b.insert(c);b.insert(d);b.insert(m);return …
12048 …var d=new mxCell("Sub Section",new mxGeometry(120,0,100,60),"whiteSpace=wrap;html=1;align=center;v…
12049 …d.insertEdge(e,!1);return sb.createVertexTemplateFromCells([c,e,b,d],220,60,"Sub Sections")})])}}}… argument
12050 …null!=d?d:!b.formatWindow.window.isVisible());b.formatWindow.window.isVisible()&&"1"!=urlParams.sk… argument
12051 e.container.clientHeight-30),function(c){function d(d,e){var g=b.menus.get(d),k=f.addMenu(e,mxUtils… function
12054 …d("newLibrary",mxResources.get("newLibrary")),e.style.boxSizing="border-box",e.style.paddingRight=…
12055 …ll,!0)});b.restoreLibraries()}else b.sidebarWindow.window.setVisible(null!=d?d:!b.sidebarWindow.wi…
12056 …=null;else{var d=0;try{d=window.innerWidth||document.documentElement.clientWidth||document.body.cl… argument
12057 …d,e,f,g,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizab…
12077 c){null!=c.shortcut&&900>d&&!mxClient.IS_IOS?b.firstChild.nextSibling.setAttribute("title",c.shortc…
12080 …dExit){var d="1"==urlParams.publishClose?mxResources.get("publish"):mxResources.get("saveAndExit")…
12082 …teElement("a"),d="1"==urlParams.publishClose?mxResources.get("close"):mxResources.get("exit"),mxUt…
12083 …d=mxUtils.getOffset(this.editorUi.picker);d.x+=this.editorUi.picker.offsetWidth+4;d.y+=b.offsetTop…
12084 …d.x-16;e.y+=d.y;return e};var t=Menus.prototype.createPopupMenu;Menus.prototype.createPopupMenu=fu… argument
12085 …d),b.addSeparator(),this.addSubmenu("layout",b)):e.isSelectionEmpty()&&e.isEnabled()?(b.addSeparat…
12086 …tems=function(b,c,d){u.apply(this,arguments);this.editorUi.editor.graph.isSelectionEmpty()&&this.a… argument
12090 …Menus.prototype.init=function(){A.apply(this,arguments);var c=this.editorUi,d=c.editor.graph;c.act…
12092 ….actions.put("importCsv",new Action(mxResources.get("csv")+"...",function(){d.popupMenuHandler.hid…
12095 …d=this.editorUi.editor.graph,e=d.getSelectionCell();g.call(this,b,e,null,c);this.addMenuItems(b,["… argument
12096 d){var e=c.getCurrentFile();c.menus.addSubmenu("extras",b,d,mxResources.get("preferences"));b.addSe…
12097 …d):"1"!=urlParams.noFileMenu&&(c.menus.addMenuItems(b,["new"],d),c.menus.addSubmenu("openFrom",b,d…
12098 …d);mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?c.menus.addMenuItems(b,["import"],d):"1"!=urlPara…
12099 …d);null!=e&&null!=c.fileNode&&"1"!=urlParams.embedInline&&(e=null!=e.getTitle()?e.getTitle():c.def… argument
12100 …d):(c.menus.addMenuItems(b,["save","saveAs","-","rename"],d),c.isOfflineApp()?navigator.onLine&&"1…
12101 …d)})));var k=this.get("exportAs");this.put("exportAs",new Menu(mxUtils.bind(this,function(b,d){k.f… argument
12102 …d,d.isEnabled)),c.addInsertMenuItems(b,e,["formatSql","-","fromText","plantUml","mermaid"]))})));t… argument
12103 …d);null!=l&&c.menus.addSubmenu("language",b,d);c.menus.addSubmenu("units",b,d);b.addSeparator(d);c…
12104 …d),"1"==urlParams.sketch&&null==urlParams.pages&&this.addMenuItems(b,["togglePagesVisible"],d));b.… argument
12105 …d=b.funct;b.funct=function(b,e){"1"==urlParams.sketch?(c.menus.addMenuItems(b,["insertFreehand"],e… argument
12106 …d)};this.put("insertLayout",new Menu(mxUtils.bind(this,function(b,c){for(var d=0;d<n.length;d++)"-…
12107 …ctionCount()?(b.appendChild(d),d.innerHTML="Selected: "+c.getSelectionCount()):null!=d.parentNode&…
12108 …B=EditorUi.prototype.init;EditorUi.prototype.init=function(){function c(b,c,d){var e=m.menus.get(b… argument
12109 …ources.get(b));m.menus.menuCreated(e,f,"geMenuItem");null!=d?(f.style.backgroundImage="url("+d+")"…
12110 …oundRepeat="no-repeat",f.style.paddingRight="22px");return f}function f(b,c,d,e,f,g){var k=documen… argument
12112 …(b){"disabled"!=k.getAttribute("disabled")&&c(b);mxEvent.consume(b)});null==d&&(k.style.marginRigh…
12113 …d){d=document.createElement("div");d.className="geMenuItem";d.style.display="inline-block";d.style… argument
12114 …d,c);null!=m.statusContainer&&"1"!=urlParams.sketch?p.insertBefore(d,m.statusContainer):p.appendCh…
12115 var b=1E3>d||"1"==urlParams.sketch,k=null;b||(k=c("diagram"));e=b?c("diagram",null,Editor.drawLogoI…
12116 …411<=d&&(g([ea,ga],60),520<=d&&g([ma,640<=d?f("",ia.funct,!0,mxResources.get("zoomIn")+" ("+Editor…
12117 …("language");null!=e&&!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp&&600<=d&&"1"!=urlParams.sket…
12119 …"==urlParams.sketch&&this.toggleScratchpad();if("1"!=urlParams.sketch&&1E3<=d||null!=urlParams.cli…
12121 …keyHandler.bindAction(75,!0,"toggleShapes",!0);("1"==urlParams.sketch||1E3<=d)&&"1"!=urlParams.emb…
12138 Math.min(d-240,280)+"px";m.statusContainer.style.display="inline-block";m.statusContainer.style.tex…
12139 …d(b,null,"pointer")},d=function(b,c,d){null!=c&&b.setAttribute("title",c);b.style.cursor=null!=d?d… argument
12140 …d(m.sidebar.createVertexTemplate("shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;fontColor=…
12141 …le"),!0,!1,null,!0),mxResources.get("rectangle")+" ("+Editor.ctrlKey+"+K)");d(m.sidebar.createVert…
12142 …d(m.sidebar.createEdgeTemplateFromCells([b],b.geometry.width,b.geometry.height,mxResources.get("li…
12144 S.style.margin="0px";S.style.width="37px";d(S,null,"pointer");b(m.actions.get("insertTemplate"),mxR…
12162 …e.move;mxGuide.prototype.move=function(c,d,e,n){var f=d.y,g=d.x,k=!1,p=!1;if(null!=this.states&&nu… argument
12165 …d,e){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.… argument
12166 …d=0;d<q.guidesArrHor.length;d++)q.guidesArrHor[d].node.style.visibility="hidden";if(c&&null!=q.gui…
12170 …ide.prototype.setVisible=function(b){e.call(this,b);var c=this.guidesArrVer,d=this.guidesArrHor;if…
12171 d)for(n=0;n<d.length;n++)d[n].node.style.visibility=b?"visible":"hidden"};var d=mxGuide.prototype.d… argument
12173 …",fontClr:"#BBBBBB",guideClr:"#0000BB"};q.style.background=p.bkgClr;q.style[d?"borderRight":"borde…
12174 …und(f);u.beginPath();u.moveTo(b+.5,c+.5);u.lineTo(e+.5,f+.5);u.stroke();g&&(d?(u.save(),u.translat…
12175 …(d?c.y-v.container.scrollTop:c.x-v.container.scrollLeft):l+(d?e.y*b-v.container.scrollTop:e.x*b-v.…
12177 …d?c.height:c.width),d?t.height:t.width):d?t.height:t.width;if(f)if(u.fillStyle=p.outBkgClr,d){var …
12178 …d?(b=b.offsetHeight+l,t.height!=b&&(t.height=b,q.style.height=b+"px",B())):(b=b.offsetWidth+l,t.wi…
12179 …deMove=mxGuide.prototype.move;mxGuide.prototype.move=function(b,c,e,f){var g;if(d&&4<b.height||!d&&
12180 …,n,q,t,v,y,z,A,B;u.lineWidth=.5;u.strokeStyle=p.guideClr;u.setLineDash([2]);d?(n=b.y+g.y+l-this.gr…
12186 …d=new mxPoint(mxRuler.prototype.RULER_THICKNESS,mxRuler.prototype.RULER_THICKNESS);this.editorUiGe…
12187 …d=null!=b.currentMenu;mxEvent.consume(c)}),null,mxUtils.bind(this,function(e){if(b.editor.graph.is… argument
12189 …tener(mxEvent.ESCAPE,mxUtils.bind(this,function(){this.stopDrawing()}));var d=mxFreehand.prototype…
12190 …d=b};var A=function(c){v=c;b.getRubberband().setEnabled(!c);b.graphHandler.setSelectEnabled(!c);b.…
12191 …d&&this.startDrawing();mxEvent.consume(b)}});this.createStyle=function(b){return mxConstants.STYLE…
12193 …d=new mxCell("",new mxGeometry(e/v-x.x,k/v-x.y,d/v,f/v),p);d.vertex=1;b.model.beginUpdate();try{d=…
12194 …d==mxEvent.MOUSE_MOVE&&v&&(null!=e.sourceState&&e.sourceState.setCursor("crosshair"),e.consume())}… argument
12196 …d",k);e.appendChild(c);g.consume()}}}),mouseMove:mxUtils.bind(this,function(d,e){if(c&&b.isEnabled… argument
12197 …d,e){c&&b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&(z(e.getEvent()),e.consume())})});va… argument