Lines Matching refs:f

2f=.01+c/d*100,g=Math.max(1-(1-a)/b*(100-f),a),h=j.substring(0,j.indexOf("Animation")).toLowerCase(…  function
36f=parseInt(a.substring(1),16);return 65535<f?(f-=65536,String.fromCharCode(55296+(f>>10),56320+(f&… argument
37 …ce(b,g)};U=function(b){for(var b=(""+b).replace(/\r\n?/g,"\n").match(v)||[],f=0,h=" ",d=0,y=b.leng…
38 …b,h;(h=d.replace(a,"$1"))!=d;d=h);return d}function E(d,h){var b=d.T(),f=h.K();f?b.ga(h.j):f=h.X();
39 f?b.da(h.n):f=h.Y();f?b.ea(h.k):f=h.$();var g=h.g,k=x(g);if(f)b.ca(h.V()),k=k&&k.replace(a,"");else… argument
43f.toString())),h="&",b&&a.push("=",encodeURIComponent(b.toString()));this.l=a.join("")};e.prototyp… variable
45 …){return a?Y.ha.N(a,d):d}function x(h,d,f){if(!f)return s;var g=(""+h).match(b);return g&&(!g[1]||…
46f,b,k,e,N){var f=E(f),u=L[f];if(!u||"object"!==typeof u)b.length=0;else{for(var i=u.cssPropBits,q=… argument
47f]{3}){1,2}$/.test(j))j=i&2?j:"";else if(48<=I&&57>=I)j=i&1?j:"";else if(R=j.charCodeAt(1),v=j.cha…
49 …lder-shown|read-only|read-write|required|right|root|scope|user-error|valid|visited)$"),f={};f[">"]= variable
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
52f&&":"===a[b])if(o=a[++b],k.test(o))l+=":"+o;else break;else break;b!==f&&(m=C);m&&(b=(y+e).replac…
53 …=B||"["==B?(++q,n):")"==B||"]"==B?(q&&--q,n):!(" "==a[i]&&(q||f[a[i-1]]===f||f[a[i+1]]===f)))a[u++…
54f=b.length,g=0,k=0;k<f;++k){var e=b[k];" "!=e&&(b[g++]=e)}b.length=g;b=b.join(" ");return b=!b.len…
55 …l=Z(j.slice(1));if("not all"!==l){++B[0];var u=[];q.push(u);var E=x(M(f,a(j[0])),function(a){var f=
56 b(E,a.qa,k,e,v,w,B);--B[0];a=l?{toString:function(){return"@media "+l+" {"+f.result+"}"}}:f.result;…
57f,k.L);b.length&&q.push(a,":",b.join(" "),d?" !important;":";")}}});return{result:{toString:functi…
59f,h){for(var d=a++;a<g&&"{"!==b[a]&&";"!==b[a];)++a;if(a<g&&(h||";"===b[a])){var h=d+1,e=a;h<g&&" …
60f){var h=a,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=…
61f){var h=b[a++];if(!v.test(h))return E(b,a,g);a<g&&" "===b[a]&&++a;if(a==g||":"!==b[a])return E(b,… argument
62f=0,h=e.length;f<h;)f=" "===e[f]?f+1:f<h?"@"===e[f].charAt(0)?g(e,f,h,a,n):M(e,f,h,a):f;a.endStyle…
74 $.f={a:0,abbr:0,acronym:0,address:0,applet:272,area:2,article:0,aside:0,audio:0,b:0,base:274,basefo… class in $
75 …t:1,th:1,thead:1,time:0,title:280,tr:1,track:2,tt:0,u:0,ul:0,"var":0,video:0,wbr:2};$.ELEMENTS=$.f;
84f;var H=/(<\/|<\!--|<[!?]|[&<>])/g;f=b+"";if(G)f=f.split(H);else{for(var e=[],h=0,j;(j=H.exec(f))!… argument
85 …LowerCase(),a.t&&a.t(j,t,A,b(a,d,p,e,t));else{var m=d,q=p,r=a,u=t,v=A,y=e,w=f(m,q);w?(r.t&&r.t(w.n…
86 …&&a.w(j,[],t,A,b(a,d,p,e,t));var B=g.f[j];B&K&&(p=k(d,{name:j,next:p,c:B},a,t,A,e))}else{var m=d,q…
87 …o,t,A,b(a,d,p,e,t))}}a.B&&a.B(t)}catch(E){if(E!==A)throw E;}}function k(a,d,f,h,t,j){var z=a.lengt… argument
88f.z&&f.z(z,h,t,b(f,a,l,j,h));else if(d.c&g.c.RCDATA)f.F&&f.F(e(z),h,t,b(f,a,l,j,h));else throw Err… function
89 …se e=e.replace(/^[\s\S][^a-z\s]*/,"");f.R=l;f.next=h+1;return f}}function h(a){function b(a,d){f||…
90f=C},startTag:function(b,e,h){if(!f&&g.f.hasOwnProperty(b)){var j=g.f[b];if(!(j&g.c.FOLDABLE)){var…
91f=!(j&g.c.EMPTY)}}},endTag:function(a,b){if(f)f=C;else if(g.f.hasOwnProperty(a)){var e=g.f[a];if(!…
92f,e){if(!e)return s;try{var g=Y.parse(""+a);if(g&&(!g.K()||ka.test(g.W()))){var h=e(g,b,d,f);retur… argument
93f,e,h){for(var j=0;j<b.length;j+=2){var k=b[j],i=b[j+1],m=i,o=s,q;if((q=a+"::"+k,g.m.hasOwnPropert… argument
94f)}:s);b.length&&r.push(e+": "+b.join(" "))}});i=0<r.length?r.join(" ; "):s;h&&y(h,a,k,m,i);break;…
95 …turn b}function ea(a,b,d){return function(e,f){if(g.f[e]&g.c.UNSAFE)d&&y(d,e,c,c,c);else return{at… argument
114f=a[0],m=a[1],g=a[2],h=a[3],f=p(f,m,g,h,c,7,b[0]),h=p(h,f,m,g,e,12,b[1]),g=p(g,h,f,m,j,17,b[2]),m=…
115 f=p(f,m,g,h,v,7,b[8]),h=p(h,f,m,g,A,12,b[9]),g=p(g,h,f,m,B,17,b[10]),m=p(m,g,h,f,C,22,b[11]),f=p(f,…
116f,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,11,b[33]),g=l(g,h,f,m…
117f,r,21,b[51]),f=s(f,m,g,h,u,6,b[52]),h=s(h,f,m,g,k,10,b[53]),g=s(g,h,f,m,B,15,b[54]),m=s(m,g,h,f,e…
131 …,n,s);d=a[c+1];a[c+1]=a[c+3];a[c+3]=d},_doCryptBlock:function(a,b,c,d,e,j,l,f){for(var m=this._nRo… argument
132f[g>>>24]<<24|f[h>>>16&255]<<16|f[k>>>8&255]<<8|f[n&255])^c[p++];s=(f[h>>>24]<<24|f[k>>>16&255]<<1…
134f=new Array(512);e(f);var u=new Array(256);e(u);var c=new Array(29);e(c);var w,b,g,p=new Array(n);…
135f(e);if(o&&5<=o){var r=n;n=i,i=r}return{width:n,height:i}}g=e("transform"),v=e("transformOrigin"),…
148 …eturn p>=d.length?{done:!0}:{done:!1,value:d[p++]}},e:function(d){throw d;},f:v}}throw new TypeErr…
149 …]()},n:function(){var d=l.next();z=d.done;return d},e:function(d){B=!0;C=d},f:function(){try{z||nu…
155f=a[1];e*=Math.PI/180;var k=Math.cos(e),d=Math.sin(e);b.forEach(function(a){var e=_slicedToArray(a…
156f=[Number.MAX_SAFE_INTEGER,e];a=[a,e];for(var k=e=0;k<c;k++){var d=b[k],g=b[(k+1)%c];if(B(d,g,a,f)…
157f!==k&&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))}f… function
158 …max===c.ymax?0:(a.ymax-c.ymax)/Math.abs(a.ymax-c.ymax)}),!b.length)return{v:f};for(var m=[],r=b[0]…
159f.push([[Math.round(m[k].edge.x),r],[Math.round(m[g].edge.x),r]])}r+=a;m.forEach(function(c){c.edg…
160f=0,k=e[f];2!==k.type;){var d=0,g=[];if("BOD"===c){if("M"!==k.text&&"m"!==k.text)return H("M0,0"+b…
161f+=d;k=e[f];"M"===c&&(c="L");"m"===c&&(c="l")}return a}function W(b){var a,e,c,f,k,d,g=0,n=0,m=0,x…
162 m=f[0];x=f[1];c;break;case "m":g+=q[0];n+=q[1];w.push({key:"M",data:[g,n]});m=g;x=n;break;case "L":…
164 …h({key:"Z",data:[]}),g=m,n=x}}}catch(y){b.e(y)}finally{b.f()}return w}function X(b){var a,e,c,f,k,…
165 …bleArray(y)});a=y;e=_slicedToArray(a,2);m=e[0];x=e[1];a;c=y;f=_slicedToArray(c,2);w=f[0];t=f[1];c;…
167 …{b.e(ka)}finally{b.f()}return g}function I(b,a,e){return[b*Math.cos(e)-a*Math.sin(e),b*Math.sin(e)…
168f*f)+h*h/(k*k);1<q&&(q=Math.sqrt(q),f*=q,k*=q);q=f*f;var l=k*k;g=(g===n?-1:1)*Math.sqrt(Math.abs((…
169 …=h+f*Math.cos(g),c=q+k*Math.sin(g),e,c,f,k,d,0,n,[g,g,h,q]));d=Math.tan((g-t)/4);f=4/3*f*d;d*=4/3*…
170f=[],k=0;k<c-1;k++)f.push.apply(f,_toConsumableArray(D(b[k][0],b[k][1],b[k+1][0],b[k+1][1],e)));re…
171 f=Object.assign({},a);f.randomizer=void 0;a.seed&&(f.seed=a.seed+1);c=Z(b,c,f);e=e.concat(c)}return…
172 f=k[1],k=P(k[0],null,e);e.disableMultiStroke||(b=ba(c.increment,b,a,c.rx,c.ry,1.5,0,e),b=_slicedToA… argument
173f),a+c*Math.sin(f),n)).concat(_toConsumableArray(D(b,a,b+e*Math.cos(k),a+c*Math.sin(k),n)))):r.pus…
175f){var k=5<arguments.length&&void 0!==arguments[5]&&arguments[5]?f.disableMultiStrokeFill:f.disabl… argument
176f),n=f.bowing*f.maxRandomnessOffset*(c-a)/200,t=f.bowing*f.maxRandomnessOffset*(b-e)/200,n=u(n,f,m…
177f=1;f<b.length;f++)c.push([b[f][0]+u(a,e),b[f][1]+u(a,e)]),f===b.length-1&&c.push([b[f][0]+u(a,e),…
178f.push({op:"bcurveTo",data:[k[1][0],k[1][1],k[2][0],k[2][1],k[3][0],k[3][1]]})}a&&2===a.length&&(b…
179f.push.apply(f,_toConsumableArray(D(b[0][0],b[0][1],b[1][0],b[1][1],e)));return f}function ba(b,a,…
180f*Math.sin(r+.5*d)]),[m,n]}function da(b,a,e,c,f,k,d,g,n){var m=k+u(.1,n);k=[];for(k.push([u(g,n)+… argument
181f,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…
182f[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],c.length?1<(h=c[c.len…
183f),R(b,n,e,c,f)):(f.length||f.push(d),f.push(r)),f}function ga(b){for(var a=1<arguments.length&&vo…
184f=C(a,e);c&&(c=this.connectingLines(a,f),f=f.concat(c));return{type:"fillSketch",ops:this.renderLi…
185 …,value:function(a,e){var c=[];if(1<e.length)for(var f=1;f<e.length;f++){var b=e[f-1];3>h(b)||(b=[e…
189 …d,e);c.push.apply(c,_toConsumableArray(F.ops))}}catch(ha){g.e(ha)}finally{g.f()}return{type:"fillS…
190 ….hachureGap:e.dashGap,r=[];return a.forEach(function(a){var f=h(a),g=Math.floor(f/(b+d)),f=(f+d-g*…
191 …b,t=[k[0]+t*Math.cos(a)+f*Math.cos(a),k[1]+t*Math.sin(a)+f*Math.sin(a)],p=[k[0]+p*Math.cos(a)+f*Ma…
192 …(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],m=a[0]);a=Math.atan…
196f=[],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],[a+c,e+b],[a,e+b]],"s…
197f,d)}},{key:"circle",value:function(a,e,c,b){a=this.ellipse(a,e,c,c,b);return a.shape="circle",a}}… argument
198f,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.P…
199 …sh(_toConsumableArray(e[0]));for(var f=1;f+2<e.length;f++){var g=e[f];d[0]=[g[0],g[1]];d[1]=[g[0]+…
200 e[f+1][1]-c*e[f-1][1])/6];d[2]=[e[f+1][0]+(c*e[f][0]-c*e[f+2][0])/6,e[f+1][1]+(c*e[f][1]-c*e[f+2][1…
201 …[],f=[];a=[0,0];var g=[],k=function(){var a;4<=g.length&&(a=f).push.apply(a,_toConsumableArray(ga(…
202f.push(a);break;case "L":k();f.push([n[0],n[1]]);break;case "C":if(!g.length){var r=f.length?f[f.l…
203 …n(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=_createForOf…
204f=[h[0],h[1]];d=[h[0],h[1]];return"break"}())break;case "L":b.push.apply(b,_toConsumableArray(D(f[…
205 …lineTo":c+="L".concat(g[0]," ").concat(g[1]," ")}}}catch(n){b.e(n)}finally{b.f()}return c.trim()}},
206 …"fillSketch":h=this.fillSketch(d,e)}h&&c.push(h)}}catch(g){a.e(g)}finally{a.f()}return c}},{key:"f…
208 …ro");b.restore();break;case "fillSketch":this.fillSketch(b,h,c)}}}catch(g){e.e(g)}finally{e.f()}}},
210 …],g[5]);break;case "lineTo":a.lineTo(g[0],g[1])}}}catch(n){b.e(n)}finally{b.f()}"fillPath"===e.typ…
214 …ch":m=this.fillSketch(d,l,c)}m&&k.appendChild(m)}}catch(x){b.e(x)}finally{b.f()}return k}},{key:"f…
219f,g,k,l,m=0;for(null!=b&&b||(a=Base64._utf8_encode(a));m<a.length;)d=a.charCodeAt(m++),e=a.charCod…
220 …|e>>4,e=(e&15)<<4|g>>2,f=(g&3)<<6|k,c+=String.fromCharCode(d),64!=g&&(c+=String.fromCharCode(e)),6…
252 …e||11==document.documentMode){var f=mxLog.window.getElement(),a=function(a,b){mxLog.textarea.style…
259 …var d=mxResources.getDefaultBundle(a,b),e=mxResources.getSpecialBundle(a,b),f=function(){if(null!=… function
260 …arse(a.getText());f()},function(){f()});else try{var g=mxUtils.load(d);g.isReady()&&mxResources.pa…
261 ….length;e++){var f=a.charAt(e);"{"==f?d="":null!=d&&"}"==f?(d=parseInt(d)-1,0<=d&&d<b.length&&c.pu…
268f)):null!=c&&c()},f=30;e()},cascadeOpacity:function(a,b,c){for(var d=a.model.getChildCount(b),e=0;… property in mxEffects
269f,c))}b=a.model.getEdges(b);if(null!=b)for(e=0;e<b.length;e++)d=a.getView().getState(b[e]),null!=d…
279 …));return c.replace(/\n/g,b||"&#xa;")},getPrettyXml:function(a,b,c,d,e){var f=[];if(null!=a)if(b=n… variable in mxUtils
280f.push(mxUtils.getPrettyXml(a.documentElement,b,c,d,e));else if(a.nodeType==mxConstants.NODETYPE_D…
281f.push(c+mxUtils.htmlEntities(a,!1)+d);else if(a.nodeType==mxConstants.NODETYPE_CDATA)a=mxUtils.ge…
286 …mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link…
287 b,function(){c[d](e)},f)},link:function(a,b,c,d){var e=document.createElement("span");e.style.color…
288f=e.x,e=e.y,g=f+b.width;c+d>g&&(a.style.left=Math.max(f,g-d)+"px");c=parseInt(a.offsetTop);d=parse… variable in mxUtils
289f);return a},getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f+…
293 …},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(…
294f=0):(x=1,f===g&&(x=-1),f=x*Math.sqrt((t*u-t*r-u*n)/(t*r+u*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-q*r+k…
295 …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+=e;va…
296f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mx… variable
300f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g],e=mxUtils.ptSegDistSq(e.x,e.y,… variable
301 …height,b.height)));if(e&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||d&&(f==…
302f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_EAST…
303f=mxUtils.intersection(a[e].x,a[e].y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,… class
304f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)retur… variable
305f<m||f>k)&&(c<g||c>l)&&(d<k||d>m)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e…
306f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(…
308 document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)|…
309 …eturn(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f
310f)-(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…
311 …{mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.a…
314 …{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle… variable
316f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt(a.length-1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(…
317f=a.indexOf(";",e),g;g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseIn…
318f=document.createElement("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.l… variable
319f.style.fontStyle="italic"),b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.pus…
320f.offsetWidth,f.offsetHeight);document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e…
321 f.canvas.appendChild(f.drawPane),f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.…
322f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&… variable
323f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&…
324 …;">'+('<div style="position:absolute;overflow:hidden;width:'+e+"px;height:"+f+'px;"><div style="po…
325 …dth=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left…
326 for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.a…
328 … e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");f.setA… variable
329 d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChi…
330 …g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,c);a.dragOffset=new mxPoint(nu…
355 …sh({name:c,f:d})}}return function(a,c,d){a.attachEvent("on"+c,d);null==a.mxListenerList&&(a.mxList…
356f==d){a.mxListenerList.splice(b,1);break}0==a.mxListenerList.length&&(a.mxListenerList=null)}};ret…
358 …ent.removeListener(a,"touchend",d))},redirectMouseEvents:function(a,b,c,d,e,f,g){var k=function(a)…
359 …MouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a,k(a)))},function(a){null!=f?f(a):mxEvent.isConsum…
361f=0;mxEvent.addGestureListeners(b,mxUtils.bind(this,function(a){mxEvent.isMouseEvent(a)||null==a.p… variable in mxEvent
362 2,d[0].clientY+(d[1].clientY-d[0].clientY)/2),e=b,f=c}}),mxUtils.bind(this,function(a){d=[];f=e=0})…
371 … mxXmlRequest(a,b,c,d,e,f){this.url=a;this.params=b;this.method=c||"POST";this.async=null!=d?d:!0;… argument
377 …ams.split("&"):this.params.split(),f=0;f<e.length;f++){var g=e[f].indexOf("=");if(0<g){var k=e[f].…
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
391f,g);this.fireEvent(new mxEventObject(mxEvent.RESIZE_START,"event",a));mxEvent.consume(a)});var f=…
392 mxEvent.addGestureListeners(this.resize,a,f,g);this.div.appendChild(this.resize)}else this.resize.s…
400 …his.buttons.appendChild(this.maximize);var a=!1,b=null,c=null,d=null,e=null,f=null,g=mxUtils.bind(…
401 …imize");this.contentWrapper.style.display="";this.minimizeImg.style.display=f;this.div.style.left=…
402 …mize.setAttribute("title","Normalize");this.contentWrapper.style.display="";f=this.minimizeImg.sty…
405f=mxUtils.bind(this,function(a){var f=mxEvent.getClientX(a)-b,g=mxEvent.getClientY(a)-c;this.setLo…
406 …,"event",a));mxEvent.consume(a)});mxEvent.addGestureListeners(document,null,f,g);this.fireEvent(ne…
417f=parseInt(this.div.style.bottom);this.resizeWidth&&!isNaN(c)&&!isNaN(d)&&0<=c&&0<=d&&0<a-d-c&&(th…
427f=mxUtils.getScrollOrigin(),g=this.getElementForEvent(b);if(this.checkEventSource)for(;null!=g&&g!…
435f=!0;if(null!=this.currentGuide&&this.currentGuide.isEnabledForEvent(b))var f=parseInt(this.previe…
436 …snap(e/d-g.x-k)+g.x)*d,c=(a.snap(c/d-g.y-k)+g.y)*d;null!=this.currentGuide&&f&&this.currentGuide.h…
438 …lbar.prototype.addItem=function(a,b,c,d,e,f){var g=document.createElement(null!=b?"img":"button"),… argument
439f){null==this.menu&&(this.menu=new mxPopupMenu,this.menu.init());var b=this.currentImg;this.menu.i…
442f=document.createElement("img");f.initialClassName=e||"mxToolbarMode";f.className=f.initialClassNa…
443f);this.selectedMode=f;a=f.altIcon;null!=a?(f.altIcon=f.getAttribute("src"),f.setAttribute("src",a…
444f){f=null!=f?f:!0;var g=document.createElement(null!=b?"img":"button");g.initialClassName=e||"mxTo… argument
461 …ate.x;this.t0y=a.view.translate.y;this.active=!0};this.panTo=function(c,d,e,f){this.active||this.s… argument
462 …dx-this.border:this.handleMouseOut?Math.min(0,this.dx):0);this.dy=d+(null!=f?f:0)-g.scrollTop-g.cl…
468 mxPopupMenu.prototype.addItem=function(a,b,c,d,e,f,g,k){d=d||this;this.itemCount++;d.willAddSeparat… argument
469f||f?"":" mxDisabled"),mxUtils.write(m,a),m.align="left",l.appendChild(m),a=document.createElement…
473 …e=mxUtils.getDocumentScrollOrigin(document),f=document.documentElement;c+d>e.x+(document.body.clie…
485 ….isVertex(a)&&(0!=e.x||0!=e.y))){var f=this.graph.view.getTranslate(),g=this.graph.view.getScale()…
490 …a.view.graph,e=d.model.getChildCount(a.cell),f=0;f<e;f++){var g=d.view.getState(d.model.getChildAt…
500 mxAbstractCanvas2D.prototype.setGradient=function(a,b,c,d,e,f,g,k,l){c=this.state;c.fillColor=a;c.g… argument
504 …};mxAbstractCanvas2D.prototype.curveTo=function(a,b,c,d,e,f){this.addOp(this.curveOp,a,b,c,d,e,f)}; argument
505f,g){a=mxUtils.arcToCurves(this.lastX,this.lastY,a,b,c,d,e,f,g);if(null!=a)for(b=0;b<a.length;b+=6… argument
510f=this.createElement("rotate");if(0!=a||b||c)f.setAttribute("theta",this.format(a)),f.setAttribute…
514f,g,k,l){if(null!=a&&null!=b){mxAbstractCanvas2D.prototype.setGradient.apply(this,arguments);var m… argument
531f){var g=this.createElement("roundrect");g.setAttribute("x",this.format(a));g.setAttribute("y",thi… argument
533f,g,k){e=this.converter.convert(e);var l=this.createElement("image");l.setAttribute("x",this.forma… argument
536f){var g=this.createElement("curve");g.setAttribute("x1",this.format(a));g.setAttribute("y1",this.… argument
537f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e){mxUtils.isNode(e)&&(e=mxUtils.getOuterHtml(e));var … argument
545 …;mxSvgCanvas2D.prototype.getAlternateText=function(a,b,c,d,e,f,g,k,l,m,n,p,q){return null!=f?this.… argument
546 …ototype.createAlternateContent=function(a,b,c,d,e,f,g,k,l,m,n,p,q){a=this.getAlternateText(a,b,c,d… argument
550f=this.createGradientId(a,b,c,d,e),g=this.gradients[f];if(null==g){var k=this.root.ownerSVGElement…
551f=this.createElement(e==mxConstants.DIRECTION_RADIAL?"radialGradient":"linearGradient");f.setAttri…
552 …y=c;f.appendChild(e);e=this.createElement("stop");e.setAttribute("offset","100%");e.style.stopColo…
564f=this.state;d+=f.dx;e+=f.dy;d*=f.scale;e*=f.scale;f.transform=f.transform||"";if(b&&c)a+=180;else…
565f.rotationCy=e}};mxSvgCanvas2D.prototype.begin=function(){mxAbstractCanvas2D.prototype.begin.apply…
566f){this.rect(a,b,c,d);0<e&&this.node.setAttribute("rx",this.format(e*this.state.scale));0<f&&this.… argument
567 mxSvgCanvas2D.prototype.image=function(a,b,c,d,e,f,g,k){e=this.converter.convert(e);f=null!=f?f:!0;… argument
568f||m.setAttribute("preserveAspectRatio","none");(1>l.alpha||1>l.fillAlpha)&&m.setAttribute("opacit…
573 …Text=function(a,b,c,d,e,f,g,k,l,m,n){null!=n&&null!=n.firstChild&&null!=n.firstChild.firstChild&&t… argument
574f,g,k,l,m,n,p,q,r,t){q=this.createElement("g");var u=this.createElement("foreignObject");this.setC… argument
576f,g,k,l,m,n){var p=this.state.scale;mxSvgCanvas2D.createCss(c+2,d,e,f,g,k,l,null!=this.state.fontB… argument
577f,g){a+=this.state.dx;b+=this.state.dy;var k=n.firstChild,l=k.firstChild,q=l.firstChild,r=(this.ro… argument
580f,g,k,l,m,n,p,q){p="box-sizing: border-box; font-size: 0; text-align: "+(c==mxConstants.ALIGN_LEFT… argument
581 … "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<b&&(p+="max-hei…
582 "px; ",""!=c&&"fill"!=f&&(r=0)):(n+="white-space: nowrap; ",""==c&&"block"!=f&&(x=0));q(x,r,m+t+u,p…
585f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e)if(p=null!=p?p:0,this.foEnabled&&"html"==l){var r=th… argument
586 …d(d);for(var e="mx-clip-"+a+"-"+b+"-"+c+"-"+d,f=0,g=e+"-"+f;null!=document.getElementById(g);)g=e+…
587f,g,k,l,m,n,p){n=null!=n?n:0;k=this.state;var q=k.fontSize,r=this.createElement("g"),t=k.transform… argument
588 …tribute("clip-path","url("+p+"#"+n.getAttribute("id")+")")));n=f==mxConstants.ALIGN_RIGHT?"end":f==
590 …pendChild(q)),n+=p;this.root.appendChild(r);this.addTextBackground(r,e,a,b,c,"fill"==l?d:u,f,g,l)};
593f,g,k,l){var m=this.state;if(null!=m.fontBackgroundColor||null!=m.fontBorderColor){var n=null;if("… argument
595f=n.offsetHeight,n.parentNode.removeChild(n),g==mxConstants.ALIGN_CENTER?c-=e/2:g==mxConstants.ALI…
599f=!1;e&&Math.abs(c-z)<t?(b.y=c-a.getCenterY(),t=Math.abs(c-z),f=!0):e||(Math.abs(c-B)<t?(b.y=c-a.y…
600f};var e=function(c,d,e){var f=!1;e&&Math.abs(c-y)<r?(b.x=c-a.getCenterX(),r=Math.abs(c-y),f=!0):e…
601 …null,q=null,r=f,t=f,u=g.x,x=g.x+g.width,y=g.getCenterX(),B=g.y,A=g.y+g.height,z=g.getCenterY(),f=0…
604f=this.graph.view.scale;if(this.rounded||null!=b&&null==b.cell)c=Math.round((a.x+c)/f)*f-a.x;if(th…
619 …gradient&&this.gradient!=mxConstants.NONE){var c=this.fill,d=this.gradient,e="0",f={east:0,south:1, class in mxShape.updateHtmlFilters
620 …ction?f[this.direction]:0;null!=this.gradientDirection&&(g=mxUtils.mod(g+f[this.gradientDirection]…
625f=this.bounds.x/e,g=this.bounds.y/e,k=this.bounds.width/e,l=this.bounds.height/e;if(this.isPaintBo…
626 …se",a.root.appendChild(e))}null!=this.stencil?this.stencil.drawShape(a,this,f,g,k,l):(a.setStrokeW…
627f,g,k,l));null!=m&&null!=a.state&&null!=a.state.transform&&m.setAttribute("transform",a.state.tran…
628f=null;null!=this.style&&(f=this.style.dashPattern);a.setAlpha(this.opacity/100);a.setFillAlpha(th…
633f){var g=Math.ceil(this.strokewidth/2);a.setGradient("#ffffff","#ffffff",b,c,d,.6*e,"south",.9,.1)… argument
634f,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],l=… argument
652f){var g=a.states.slice(),k=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,null),k=this.comp… argument
653f,this.bgNode,k,!1,!0);this.drawChildren(a,b,c,d,e,f,this.fgNode,k,!0,!b.outline||null==b.style||0… argument
654f){a=b;b=d/this.w0;var g=e/this.h0;if(f=f==mxConstants.DIRECTION_NORTH||f==mxConstants.DIRECTION_S… argument
655 …a,b,c,d,e,f){var g=c.nodeName,k=d.x,l=d.y,m=d.width,n=d.height,p=Math.min(m,n);if("save"==g)a.save… argument
656 …;null!=u;)u.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,u,d,e,f),u=u.nextSibling}els…
658 …=100*mxConstants.RECTANGLE_ROUNDING_FACTOR),d=Number(c.getAttribute("w"))*m,f=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…
660f="1"==c.getAttribute("vertical")?-90:0,"0"==c.getAttribute("align-shape")&&(p=b.rotation,q=1==mxU…
661f));else if("include-shape"==g)p=mxStencilRegistry.getStencil(c.getAttribute("name")),null!=p&&(k+…
664 …rkers[a]=b},createMarker:function(a,b,c,d,e,f,g,k,l,m){var n=mxMarker.markers[c];return null!=n?n(… argument
673f;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?f=Math.min(d/2,Math.min(e…
676 …var f=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.strokewidth,Math.min(d/…
678f=d/2,g=e/2,k=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;a.…
680 …;for(c=1;c<d-2;c++){var e=b[c],f=b[c+1];a.quadTo(e.x,e.y,(e.x+f.x)/2,(e.y+f.y)/2)}e=b[d-2];f=b[d-1…
681f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1;this.… argument
682f=b[b.length-1],g=f.x-e.x,k=f.y-e.y,l=Math.sqrt(g*g+k*k),m=l-2*c-mxConstants.ARROW_SIZE,g=g/l,k=k/…
683f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1;this.… argument
686 …trokewidth)));var d=this.getStartArrowWidth()+c,e=this.getEndArrowWidth()+c,f=this.outline?this.ge…
687 …A,u=f*A,v=-f*x,D=[];p?a.setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();r=x;t=A;i…
688f/2/E,F=b[u+1].y-y*f/2/E;z=b[u+1].x-z*f/2/E;y=b[u+1].y+y*f/2/E;0!=v&&p?-1==v?(v=z+C*f,E=y-B*f,a.li…
689f,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)):(…
690f,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.strok… argument
693f,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!=e?… argument
697 …ounds.y/c,f=this.bounds.width/c,c=this.bounds.height/c;this.updateTransform(a,d,e,f,c);this.config…
698 ….TEXT_DIRECTION_LTR&&m!=mxConstants.TEXT_DIRECTION_RTL&&(m=null);a.text(d,e,f,c,l,this.align,this.…
709 …Box=0==e.width&&0==e.height?null:new mxRectangle(e.x,e.y,e.width,e.height);return}catch(f){}else{c=
726 …this.margin.y,d=this.scale;mxUtils.setOpacity(this.node,this.opacity);var e,f=0,g=null!=this.state…
727f=k.offsetHeight+2}else null!=k.firstChild&&"DIV"==k.firstChild.nodeName&&(k=k.firstChild,f=k.offs…
728f=g,e=l):"width"==this.overflow&&(f=k.scrollHeight,e=l);this.offsetWidth=e;this.offsetHeight=f;"fi…
729f+", M21="+-f+", M22="+e+", sizingMethod='auto expand')",a.filter=null!=a.filter&&0<a.filter.lengt…
736f=d.offsetWidth;if(0==f){var g=a.parentNode;a.style.visibility="hidden";document.body.appendChild(…
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…
751 …s.getValue(this.style,mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),f=mxUtils.getValue(thi…
752 a+(c-g)/2:e==mxConstants.ALIGN_RIGHT?a+(c-g-l):a+l;b=f==mxConstants.ALIGN_TOP?b+l:f==mxConstants.AL…
753 …s.getValue(this.style,mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),f=mxUtils.getValue(thi…
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…
758 …,e,f){b=this.getCylinderSize(b,c,d,e);if(f&&null!=this.fill||!f&&null==this.fill)a.moveTo(0,b),a.c… argument
760f=mxUtils.getValue(this.style,c?mxConstants.STYLE_STARTARROW:mxConstants.STYLE_ENDARROW),g=c?b[1]:…
765 …mxConstants.STYLE_FLIPV,0),f=this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConsta…
766 this.direction==mxConstants.DIRECTION_WEST);if(f){b=Math.min(a.width,b*this.scale);if(d||e)a.x+=a.w…
768f=this.getTitleSize(),g=1==mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_LINE,1),k=0,f=th…
769f,g);null!=this.image&&(e=this.getImageBounds(b,c,d,e),a.image(e.x-b,e.y-c,e.width,e.height,this.i…
770f,g,k){a.begin();var l=!0;null!=this.style&&(l="1"==mxUtils.getValue(this.style,mxConstants.STYLE_… argument
771f,e),a.fillAndStroke(),f<d&&(g!=mxConstants.NONE&&l||(a.pointerEvents=!1),g!=mxConstants.NONE&&a.s…
772f,g,k,l){a.begin();var m=!0;null!=this.style&&(m="1"==mxUtils.getValue(this.style,mxConstants.STYL… argument
773f),k==mxConstants.NONE?a.stroke():a.fillAndStroke())):(a.moveTo(f,0),a.lineTo(g,0),a.quadTo(0,0,0,…
774f,k==mxConstants.NONE)};mxSwimlane.prototype.paintDivider=function(a,b,c,d,e,f,g){g||a.setShadow(!… argument
777 …)&&(d=this.graph.model.getEdgeCount(a),0<d))for(var f=0;f<d;f++){var g=this.graph.model.getEdgeAt(…
781 …null!=b)for(var e=c.getParent(a),e=this.getParentOffset(e),f=0;f<b.length;f++)b[f].x-=e.x,b[f].y-=…
782f=null;if(null!=e){f=new mxRectangle(b,c,e.width,e.height);if(this.useBoundingBox){var g=this.grap…
783 …ntOffset(g),b-=g.x,c-=g.y));if(e.x!=b||e.y!=c)e=e.clone(),e.x=b,e.y=c,d.setGeometry(a,e)}return f};
784 …iew().scale,e=c.text.boundingBox,f=Math.max(c.x-e.x,0)/d,g=Math.max(c.y-e.y,0)/d,b=new mxRectangle…
785 …Layout.prototype.arrangeGroups=function(a,b,c,d,e,f){return this.graph.updateGroupBounds(a,b,!0,c,… argument
786 …d,e,f){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.spacing=null!=c?c:0;this.x0=nu… argument
789f=this.isHorizontal();if(null!=a&&null!=e){var g=0,k=d.getChildCount(e);c=f?b:c;b=this.graph.getVi…
791 …tChildCount(a),d=[],e=0;e<c;e++){var f=b.getChildAt(a,e);!this.isVertexIgnored(f)&&this.isVertexMo…
793 …arginBottom:b.width-this.marginLeft-this.marginRight);var e=e-2*this.border,f=this.x0+this.border+…
794f+=l}d.beginUpdate();try{for(var l=0,k=null,m=0,n=null,p=this.getLayoutCells(a),q=0;q<p.length;q++…
795f?Math.max(this.snap(t.x-this.marginLeft)+this.marginLeft,f):f:t.y=this.allowGaps&&t.y>g?Math.max(…
798f=b.clone();d?(c=c.x+c.width+this.marginRight+this.border,f.width=this.resizeParentMax?Math.max(f.…
800 …{var e,f=0,g=c.getChildCount(d);for(e=0;e<g;e++){var k=c.getChildAt(d,e),k=this.getVertexBounds(k)…
801 …ar e=[],f=c.getChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g);!this.isVertexIgnored(k)&&this.i…
802 …h;m+=a.height;a=this.border+(f-1)*this.spacing;d=b?(d.width-l-a)/f:(d.height-m-a)/f;if(0<d){c.begi…
808 …ex(a)&&this.maintainParentLocation){var f=this.graph.getCellGeometry(a);null!=f&&(this.parentX=f.x…
809 …X&&null!=this.parentY&&(f=this.graph.getCellGeometry(a),null!=f&&(f=f.clone(),f.x=this.parentX,f.y…
813f=this.graph.getEdges(a,b,this.invert,!this.invert,!1,!0),g=this.graph.getView();this.sortEdges&&t…
819 …=c.width+b,e=d,c=c.next;null!=c;){var f=this.merge(a.contour,c.contour);c.offsetY=f+d;c.offsetX=0;…
820f=a.lowerHead,g=b.upperHead;null!=g&&null!=f;){var k=this.offset(c,d,g.dx,g.dy,f.dx,f.dy),d=d+k,e=…
821f){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?(c+… argument
826f=b.x;this.horizontal&&(f=b.y);e.push(new WeightedCellSorter(b,f));b=b.next}e.sort(WeightedCellSor…
827f,n.push(new mxPoint(p,q)),q=m.y+m.height/2):(p=g.x+b,q=g.y+g.height,n.push(new mxPoint(p,q)),q=g.…
830 …d.height/2;for(var e in this.visited){var f=this.getVertexBounds(this.visited[e]),c=null!=c?c:f.cl…
831f=this.row[c],d=f[e],f=this.getVertexBounds(d.cell),d.theta=(f.x+f.width/2-l)/m*Math.PI*2}for(c=th…
832f.length-1?d.theta=Math.min(g,f[e+1].theta-Math.PI/10):g<d.theta&&0<e&&(d.theta=Math.max(g,f[e-1].…
833f=this.getVertexBounds(e.cell);this.rowMinX[b]=Math.min(f.x,this.rowMinX[b]);this.rowMaxX[b]=Math.…
834 Math.max(f.x+f.width/2,this.rowMaxCenX[b]);this.rowRadi[b]=f.y-this.getVertexBounds(this.root).y;nu…
837 …useInputOrigin?this.graph.getBoundingBoxFromGeometry(this.vertexArray):null,f=this.vertexArray.len…
838 …adiusSquared[d]=this.radius[d]*this.radius[d]}b.beginUpdate();try{for(d=0;d<f;d++){this.dispX[d]=0…
839 …re=this.initialTemp;0==this.maxIterations&&(this.maxIterations=20*Math.sqrt(f));for(this.iteration…
842f=d*d+e*e-this.radiusSquared[a]-this.radiusSquared[c];f<this.minDistanceLimitSquared&&(f=this.minD…
844 …[1];0==d&&(d=.01+Math.random());0==e&&(e=.01+Math.random());var f=Math.sqrt(d*d+e*e),g=f-this.radi…
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…
847f=[],g=b.getChildCount(a),k=0;k<g;k++){var l=b.getChildAt(a,k);if(this.isVertexIgnored(l))this.isE…
848f,n,e,d)}finally{b.endUpdate()}};mxCircleLayout.prototype.getRadius=function(a,b){return Math.max(…
850 …r(var e=0;e<b.length;e++)d(b[e]);else for(var f=this.graph.getModel(),g=f.getChildCount(a),e=0;e<g…
851 …)){for(var d=[],e=0;e<a.absolutePoints.length;e++){var f=a.absolutePoints[e];null!=f&&d.push(f.x,f
852f=0;f<a.length;f++)this.route(a[f],b,c),b+=this.spacing;else if(null!=e&&null!=d){var b=e.x+e.widt…
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 …){for(var b=this.graph.view,c=this.graph.getModel(),d=[],e=[],f=c.getChildCount(a),g=0;g<f;g++){va…
856 …d];if(null!=e&&null!=e.text&&null!=e.text.boundingBox)for(var f=0;f<a.length;f++){var g=a[f];null!…
857f=-d.y+b.y+b.height,e=Math.abs(e)<Math.abs(f)?e:f,f=-d.x-d.width+b.x,d=-d.x+b.x+b.width,d=Math.abs…
870 …,b,c);for(d=0;d<b.length;d++){e=c[d].connectsAsSource;for(var f=0;f<e.length;f++){var g=e[f],k=g.e…
873 …Mapper.put(b[e],c[e]);var f=a.getEdges(b[e]);c[e].connectsAsSource=[];for(var g=0;g<f.length;g++){…
875 …length;){var c=a[0],f,g;f=c.connectsAsTarget;g=c.connectsAsSource;for(var k=!0,l=this.SOURCESCANST…
876 …0]-=this.maxRank;for(b=0;b<e.length;b++)for(c=e[b],a=0,f=c.connectsAsSource,d=0;d<f.length;d++)m=f
878f=b[e];null!=f&&(null==d&&(d={}),c?(f.hashCode=[],f.hashCode[0]=this.dfsCount,f.hashCode[1]=e,this…
879f){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=0;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.l… argument
881 …,b,c);for(d=0;d<b.length;d++){e=c[d].connectsAsSource;for(var f=0;f<e.length;f++){var g=e[f],k=g.e…
884f=0;f<b.length;f++){c[f]=new mxGraphHierarchyNode(b[f]);this.vertexMapper.put(b[f],c[f]);c[f].swim…
885f],l,!0);if(null!=m&&0<m.length&&null==this.edgeMapper.get(m[0])&&2*l.length>=m.length){for(var l=…
886 …apper.getValues();for(c=0;c<d.length;c++)d[c].temp[0]=-1;for(a.slice();0<a.length;){var d=a[0],e,f;
887f=d.connectsAsSource;for(var g=!0,k=b[0],c=0;c<e.length;c++){var l=e[c];if(5270620==l.temp[0])l=l.…
888f=a[c],g=f.target;b.swimlaneIndex<g.swimlaneIndex?this.maxChainDfs(b,g,f,mxUtils.clone(d,null,!0),…
890f=b[e];null!=f&&(null==d&&(d={}),c?(f.hashCode=[],f.hashCode[0]=this.dfsCount,f.hashCode[1]=e,this…
891f){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=0;c… argument
892f,g,k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.length… argument
893 this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}else d(a,b,c,k,1)};function mxHierarchicalLayoutStage(…
895 …for(d=e,e=c=0;e<this.nestedBestRanks.length;e++)for(var f=a.ranks[e],g=0;g<f.length;g++){var k=f[g…
896 k}else for(c++,e=0;e<this.nestedBestRanks.length;e++)for(f=a.ranks[e],g=0;g<f.length;g++)k=f[g],k.s…
897f=[],g=0;g<d.length;g++){for(var k=d[g],l=k.getGeneralPurposeVariable(a),k=k.getPreviousLayerConne…
899f=0;f<b.ranks.length;f++){for(var g=b.ranks[f],k=[],l=0;l<g.length;l++){var m=g[l],n=m.getGeneralP…
900f-1)}else m=p,n=q,r=u,t=x,y=B;B=k[l+1];p=B.getNextLayerConnectedCells(f);q=B.getPreviousLayerConne…
901 y.setGeneralPurposeVariable(f,B.getGeneralPurposeVariable(f)),B.setGeneralPurposeVariable(f,p),p=m,…
902f=0;f<c;f++){var g=this.nestedBestRanks[a][f],k=new MedianCellSorter;k.cell=g;var l;l=b?g.getNextL…
903 f))};mxMedianHybridCrossingReduction.prototype.medianValue=function(a,b){for(var c=[],d=0,e=0;e<a.l…
905 …c=null;if(null!=a.roots)for(var f=a.roots,c=[],e=0;e<f.length;e++)c[e]=a.vertexMapper.get(f[e]);a.… argument
906f,n){c.isAncestor(a)&&(e.invert(),mxUtils.remove(e,a.connectsAsSource),c.connectsAsSource.push(e),… argument
911 …elta<b){for(var d=0;d<a.ranks.length;d++)for(var e=a.ranks[d],f=0;f<e.length;f++){var g=e[f];g.set…
912 a.ranks[d],f=0;f<e.length;f++)g=e[f],g.setGeneralPurposeVariable(d,g.getX(d));this.minPath(this.lay…
913f=0;f<d[e].length;f++){var g=d[e][f],k=new WeightedCellSorter(g,e);k.rankIndex=f;k.visited=!0;b.p…
915 …[e],l=c.get(l),null!=l&&0==l.visited&&(l.visited=!0,b.push(l))}g.visited=!1;f++}};mxCoordinateAssi…
916f=0;f<b.length;f++){var g=b[f];d[f]=new WeightedCellSorter;d[f].cell=g;d[f].rankIndex=f;e[g.id]=d[
917f].rankIndex-1;0<=n;){var p=e[b[n].id];if(null!=p){var q=p.cell;p.visited?(k=q.getGeneralPurposeVa…
918 …lta+=k-l):l>q&&(g.setGeneralPurposeVariable(a,q),this.currentXDelta+=l-q);d[f].visited=!0}};mxCoor…
921f=b[e];if(f.isVertex()){var g=this.layout.getVertexBounds(f.cell);null!=g?this.orientation==mxCons…
922 f.width=(g-1)*this.parallelEdgeSpacing);c+=f.width/2;f.setX(a,c);f.setGeneralPurposeVariable(a,c);c…
923f=0,g=b.ranks[e],k=this.initialX,l=!1,m=0;m<g.length;m++){var n=g[m];if(n.isVertex()){var p=this.l…
924 …warn("At least one cell has no bounds");this.rankY[e]=c;k=f/2+d/2+this.interRankCellSpacing;d=f;c=…
926f=e.getGeneralPurposeVariable(e.minRank+1),g=!0,k=0,l=e.minRank+2;l<e.maxRank;l++){var m=e.getGene…
927f++):p=m[l-e.minRank-1]=q}p=e.getX(l);for(l=e.maxRank-1;l>e.minRank+1;l--)q=e.getX(l-1),p==q?(n[l-…
928f=0;f<a.length;f++)if(b==a[f]){e=f;break}if(0>e)return!1;f=b.getGeneralPurposeVariable(c);if(d<f){…
931f=e.getPreviousLayerConnectedCells(b),g=b-1,k=0;2>k;k++){if(-1<g&&g<a.ranks.length&&null!=f&&0<f.l…
932f+=t[u].edges.length,q++,g.push(t[u])}else f+=r.edges.length,q++,g.push(r)}e.width>(f+1)*this.pref…
933 p+=this.prefVertEdgeOff:m>f/2&&(p-=this.prefVertEdgeOff),t=0;t<q;t++)r[4*t+2*k]=n,n+=l,r[4*t+2*k+1]…
934f=this.jettyPositions[a.ids[0]],g=a.isReversed?a.target.cell:a.source.cell,k=this.layout.graph,l=t…
935 …this.rankTopY[d]:l?this.rankTopY[c]:this.rankBottomY[c],x=f[4*e+1+t];r!=l&&(x=-x);var u=u+x,t=f[4*…
937 …;p+=u}null!=f&&(t=r?2:0,u=r?l?this.rankTopY[c]:this.rankBottomY[c]:l?this.rankBottomY[d]:this.rank…
946 …ll!=d&&(this.parentX=d.x,this.parentY=d.y)}if(null!=b){for(var e=[],f=0;f<b.length;f++)(null!=a?c.…
947 b[f]):1)&&c.isVertex(b[f])&&e.push(b[f]);this.roots=e}c.beginUpdate();try{this.run(a),this.resizePa…
948f=-1E5,g;for(g in b){var k=b[g];if(d.isVertex(k)&&this.graph.isCellVisible(k)){for(var l=this.getE…
949f=0;f<e;f++){var g=c.getChildAt(a,f);if(this.isPort(g))b=b.concat(c.getEdges(g,!0,!0));else if(d||…
950 ….parent||this.isAncestor(this.parent,e,this.traverseAncestors))))&&c.push(b[f]);this.edgesCache.pu…
952f;for(f in d)if(null!=d[f]){e=!1;break}for(;!e;){for(var g=this.findRoots(a,d),e=0;e<g.length;e++)…
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 …for(var d=c.getChildCount(a),e=0;e<d;e++){var f=c.getChildAt(a,e);this.isPort(f)||this.filterDesce…
955 …(a),e=[],f=0;f<d.length;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisibleTerminal(d[f]…
956 mxHierarchicalLayout.prototype.traverse=function(a,b,c,d,e,f,g){if(null!=a&&null!=d){var k=mxObject… 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 …,this.parentY=d.y)}this.swimlanes=b;for(var e=[],f=0;f<b.length;f++){var g=this.graph.getChildCell…
963 if(null==g||0==g.length)g=this.graph.insertVertex(b[f],null,null,0,0,this.dummyVertexWidth,0),e.pus…
964f=this.swimlanes[e];c=this.graph.getCellGeometry(f);if(null!=c){var g=this.graph.getChildCells(f),…
965f.y+c.y+f.height;null==a?a=new mxRectangle(0,d,0,c-d):(a.y=Math.min(a.y,d),a.height=Math.max(a.y+a…
966 2;k.height=a.height+d.height+2*this.parentBorder;this.graph.model.setGeometry(f,k);this.graph.moveC…
967f=-1E5,g;for(g in b){var k=b[g];if(null!=k&&d.isVertex(k)&&this.graph.isCellVisible(k)&&d.isAncest…
968f=0;f<e;f++){var g=c.getChildAt(a,f);if(this.isPort(g))b=b.concat(c.getEdges(g,!0,!0));else if(d||…
969 …is.graph.isValidAncestor(e,this.parent,this.traverseAncestors))))&&c.push(b[f]);this.edgesCache.pu…
971 …s.filterDescendants(this.swimlanes[e],d);this.roots=[];var e=!0,f;for(f in d)if(null!=d[f]){e=!1;b…
972f in d)if(null!=d[f]){e=!1;break}}}}else for(e=0;e<this.roots.length;e++)l={},b.push(l),this.trave…
973 …for(var d=c.getChildCount(a),e=0;e<d;e++){var f=c.getChildAt(a,e);this.isPort(f)||this.filterDesce…
974 …(a),e=[],f=0;f<d.length;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisibleTerminal(d[f]…
975 mxSwimlaneLayout.prototype.traverse=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=d){var l=mxObjectId… argument
976 b,m[c],d,e,f,g,q))}}else if(null==e[l])for(c=0;c<f.length;c++)if(a=f[c],null!=a[l]){for(m in a)e[m]…
980 …r(var d=this.getChildCount(b),e=0;e<d;e++)var f=this.getChildAt(b,e),c=c.concat(this.filterDescend…
986 …etry(a);if(null!=d){var e=this.getOrigin(this.getParent(a)),f=this.getOrigin(c),g=f.x-e.x,e=f.y-e.…
987 … d=b,f=e,e=c,c=f;for(;null!=d;){f=this.getParent(d);if(0==c.indexOf(e+mxCellPath.PATH_SEPARATOR)&&…
990 …b:!1;c=null!=c?c:!1;for(var d=this.getChildCount(a),e=[],f=0;f<d;f++){var g=this.getChildAt(a,f);(…
992 …eCount=function(a,b,c){for(var d=0,e=this.getEdgeCount(a),f=0;f<e;f++){var g=this.getEdgeAt(a,f);g…
994 …),f=[],g=0;g<e;g++){var k=this.getEdgeAt(a,g),l=this.getTerminal(k,!0),m=this.getTerminal(k,!1);(d…
995 …his.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=this…
996 …ll!=d?d:!0;var e=[];if(null!=a)for(var f=0;f<a.length;f++){var g=this.getTerminal(a[f],!0),k=this.…
997 …(d=0;d<a.length;d++){for(var e=a[d],f=!0,g=this.getParent(e);null!=g;){if(b.get(g)){f=!1;break}g=t…
1004f=d[e],g=this.getTerminal(f,!0);null!=g&&(g=d[mxCellPath.create(g)],this.setTerminal(f,g,!0));g=th…
1005 …a,b,c,d){this.beginUpdate();try{for(var e=a.getChildCount(),f=0;f<e;f++){var g=a.getChildAt(f);if(…
1007 …))for(c=this.getChildCount(a),d=0;d<c;d++){var f=this.cloneCellImpl(this.getChildAt(a,d),b,!0);e.i…
1029 …ar f=0;f<this.points.length;f++)null!=this.points[f]&&(e=mxUtils.getRotatedPoint(this.points[f],d,…
1037 …;var e=a.getCenterY(),f=Math.atan2(c.y-e,c.x-b),g=new mxPoint(0,0),k=Math.PI,l=Math.PI/2-f,m=Math.…
1038f)/2):f<-m?(g.y=a.y,g.x=b-a.height*Math.tan(l)/2):f<m?(g.x=a.x+a.width,g.y=e+a.width*Math.tan(f)/2…
1039f&&c<=f+a.height)return a=c-m,a=Math.sqrt(g*g*(1-a*a/(k*k)))||0,b<=e&&(a=-a),new mxPoint(l+a,c);if…
1040f=a.width;a=a.height;var g=b+f/2,k=e+a/2,l=c.x;c=c.y;if(g==l)return k>c?new mxPoint(g,e):new mxPoi…
1041f=a.x,g=a.y,k=a.width,l=a.height;a=f+k/2;var m=g+l/2,n=new mxPoint(f,g),p=new mxPoint(f+k,m),q=new…
1042f+k/2+l*Math.tan(r)/2,g+l):b==mxConstants.DIRECTION_SOUTH?new mxPoint(f+k/2-l*Math.tan(r)/2,g):b==…
1043f+k:f,d.y=c.y):c.x>=f&&c.x<=f+k&&(d.x=c.x,d.y=e?b==mxConstants.DIRECTION_NORTH?g+l:g:m),a=d.x,m=d.…
1044f||m<e&&n>f+k||m>e+g&&n<f||m>e+g&&n>f+k)d=!1;if(d){if(t){if(m==l){if(n<=f)return new mxPoint(l,f);…
1045f+k/4)return new mxPoint(e+g,f+k/4);if(n==f+3*k/4)return new mxPoint(e+g,f+3*k/4)}else if(m==e){if…
1046f+3*k/4&&(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f+Math.floor(1.25…
1047 f){if(m==e+g/4)return new mxPoint(e+g/4,f);if(m==e+3*g/4)return new mxPoint(e+3*g/4,f)}else if(n>f+…
1048f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):m>e+3*g/4&&(b=new mxPoint(e+Math.floor(…
1049f+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.x,u.y)}else{if…
1050f-Math.floor(.25*k)),u=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k))):p>r&&p<q-m?(b=new mxPo…
1051f);if(p==q-m)return new mxPoint(e+Math.floor(.25*g),f);if(p==q||p==-q)return new mxPoint(e,f+Math.…
1052f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):0>p&&p>-m?(b=new mxPoint(e+Math.floor(.…
1053f,g,k,l){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.border=null!=d?d:0;this.pageFormat=m… argument
1056 …pendGraph=function(a,b,c,d,e,f){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.x0=c;this.y0=… argument
1057 mxPrintPreview.prototype.open=function(a,b,c,d){var e=this.graph.cellRenderer.initializeOverlay,f=n…
1062f=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){t…
1063 …loseDocument(),y());this.wnd.focus()}catch(E){null!=f&&null!=f.parentNode&&f.parentNode.removeChil…
1067 …er","0");for(var e=c.createElement("tbody"),f=0;f<a;f++){for(var g=c.createElement("tr"),k=0;k<b;k…
1069 mxPrintPreview.prototype.renderPage=function(a,b,c,d,e,f){f=this.wnd.document;var g=document.create… argument
1070f.documentMode&&(l.style.position="absolute",m.style.position="absolute");10==f.documentMode&&(m.s…
1071 …style.overflow="hidden",!mxClient.IS_IE||null!=f.documentMode&&5!=f.documentMode&&8!=f.documentMod…
1073 mxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.g… argument
1074 …states;a=g.scale;if(this.clipping){var y=new mxRectangle((f.x+t.x)*a,(f.y+t.y)*a,f.width*a/p,f.hei…
1075 …canvas.style.top=this.marginTop+"px",g.canvas.style.width=f.width+"px",g.canvas.style.height=f.hei…
1076 c.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c…
1083f=d[e],g=f.indexOf("=");if(0<=g){var k=f.substring(0,g),f=f.substring(g+1);f==mxConstants.NONE?del…
1113f=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),g=mxUtils.ge…
1114f=parseInt(a.style[mxConstants.STYLE_SPACING]||2)*c,k=(parseInt(a.style[mxConstants.STYLE_SPACING_…
1115f,n=(parseInt(a.style[mxConstants.STYLE_SPACING_LEFT]||0)+mxText.prototype.baseSpacingLeft)*c+f,f=…
1123 …tValue(c.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),f=mxUtils.getValue(c.s…
1126 e;this.textarea.style.textAlign=g;this.textarea.style.outline="none";this.textarea.style.color=f;d=…
1133 …{var f=parseInt(a.style[mxConstants.STYLE_SPACING]||0)*c,g=(parseInt(a.style[mxConstants.STYLE_SPA…
1134f,l=(parseInt(a.style[mxConstants.STYLE_SPACING_BOTTOM]||0)+mxText.prototype.baseSpacingBottom)*c+
1135 ….min(c.x,a.text.boundingBox.x),c.y=Math.min(c.y,a.text.boundingBox.y));c.x+=f;c.y+=g;null!=a.text&…
1148f=d[b],g=null;"inherit"==f?g=e.model.getParent(a.cell):"swimlane"==f?(d[b]=c==mxConstants.STYLE_ST…
1149 f==mxConstants.STYLE_FILLCOLOR&&null!=a.shape?d[b]=a.style[mxConstants.STYLE_FILLCOLOR]:c!=mxConsta…
1152 …text.state=a;this.initializeLabel(a,a.text);this.configureShape(a);var e=!1,f=function(b){var d=a;… method in mxCellRenderer.createLabel
1153 …w mxMouseEvent(b,f(b)))}),mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&(c.fireMouseEvent(…
1160 …nter"),mxEvent.addListener(b,"click",d));if(c){var f=null;mxEvent.addGestureListeners(b,function(b…
1161 …Listener("touchend",function(a){if(null!=f){var b=e.tolerance;Math.abs(f.x-mxEvent.getClientX(a))<…
1165f=c.isLabelClipped(a.cell),g=a.view.graph.isHtmlLabel(a.cell)||null!=d&&mxUtils.isNode(d)?mxConsta…
1166 …text.value!=d||a.text.isWrapping!=e||a.text.overflow!=k||a.text.isClipping!=f||a.text.scale!=l||a.…
1167 …,a.text.value=d,a.text.bounds=c,a.text.scale=l,a.text.wrap=e,a.text.clipped=f,a.text.overflow=k,d=…
1168f){return"spacingTop"==e||"spacingRight"==e||"spacingBottom"==e||"spacingLeft"==e?parseFloat(b[c])… argument
1171 …ctangle(a.absoluteOffset.x,a.absoluteOffset.y);if(d){var f=a.text.getSpacing();e.x+=f.x*c;e.y+=f.y…
1172 …ALIGN_CENTER),f=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALI…
1174 …LIGN_MIDDLE),f=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null);b.width=Math.max(0,b.w…
1176f=Math.sin(d);a.overlays.visit(function(d,k){var g=k.overlay.getBounds(a);if(!a.view.graph.getMode…
1179f=a.getCenterY();if(!a.view.graph.getModel().isEdge(a.cell)&&(e=a.x+b*d,f=a.y+c*d,null!=a.shape)){…
1180 f),g,k,new mxPoint(a.getCenterX(),a.getCenterY())),e=f.x,f=f.y)}return a.view.graph.getModel().isEd…
1181 …!=d[e]&&null!=d[e].node){var f=d[e].node.parentNode!=a.view.getDrawPane()&&d[e].node.parentNode!=a…
1182 …[e].node.parentNode.insertBefore(d[e].node,d[e].node.parentNode.firstChild);f?c=d[e].node:b=d[e].n…
1189 …n:function(a,b,c,d,e){var f=a.view,g=f.graph;d=mxUtils.getValue(a.style,mxConstants.STYLE_SEGMENT,…
1191f.getRoutingCenterY(b),l=n?c.x:c.x+c.width,c=f.getRoutingCenterY(c),f=new mxPoint(a+(k?-d:d),b),g=…
1192f=a.view,g=f.graph;c=null!=d&&0<d.length?d[0]:null;null!=c&&(c=f.transformControlPoint(a,c),mxUtil…
1193f.getRoutingCenterX(b),k=Math.max(Math.abs(d-c.x),m),l=c.y,m=0);e.push(new mxPoint(d-k,l-m));e.pus…
1194f=a.view.transformControlPoint(a,f),g=f.y<k||f.y>n,k=f.x<l||f.x>m;else l=Math.max(b.x,c.x),m=Math.…
1195f.transformControlPoint(a,d));null!=k&&(b=new mxCellState,b.x=k.x,b.y=k.y);null!=g&&(c=new mxCellS…
1196f)||mxUtils.contains(b,a,f)||e.push(new mxPoint(a,f)),1==e.length&&(null!=d?mxUtils.contains(c,a,d…
1197f.getRoutingCenterX(b),null!=d&&d.x>=b.x&&d.x<=b.x+b.width&&(a=d.x),k=null!=d?d.y:Math.round(g+(k-…
1198f=Math.max(b.x,c.x),e.push(new mxPoint(f+(Math.min(b.x+b.width,c.x+c.width)-f)/2,k)))))},SegmentCo…
1199f[n];null!=r&&null!=p[p.length-1]&&(1>Math.abs(p[p.length-1].x-r.x)&&(p[p.length-1].x=r.x),1>Math.…
1200f[n];null!=u&&(t=null);x=p[p.length-1];y&&B&&(p=p.slice(1))}l&&(null!=f[0]&&f[0].y!=d.y||null==f[0…
1201f[n];null==m&&null!=g&&(m=new mxPoint(a.view.getRoutingCenterX(g),a.view.getRoutingCenterY(g)));nu…
1202 f[n]&&null!=g)for(;0<c.length&&null!=c[c.length-1]&&mxUtils.contains(g,c[c.length-1].x,c[c.length-1…
1207f=a.view.graph,g=null==l?!1:f.getModel().isEdge(l.cell),k=null==m?!1:f.getModel().isEdge(m.cell),f variable
1208 …A=null!=m?m.height:0,f=mxEdgeStyle.getJettySize(a,!0),z=mxEdgeStyle.getJettySize(a,!1);null!=l&&m=… variable
1209 …A),b),x=b.x,y=b.y,B=b.width,A=b.height));b=[0,0];q=[[q,r,t,u],[x,y,B,A]];z=[f,z];for(v=0;2>v;v++)m…
1214 …ch(b[0]){case mxConstants.DIRECTION_MASK_WEST:mxEdgeStyle.wayPoints1[0][0]-=f;mxEdgeStyle.wayPoint…
1215f;break;case mxConstants.DIRECTION_MASK_EAST:mxEdgeStyle.wayPoints1[0][0]+=q[0][2]+f;mxEdgeStyle.w…
1216f++,mxEdgeStyle.wayPoints1[f][0]=mxEdgeStyle.wayPoints1[f-1][0],mxEdgeStyle.wayPoints1[f][1]=mxEdg…
1217f][0]+=p[0]*r)):(r=(r-mxEdgeStyle.wayPoints1[f][1])*p[1],0<r&&(mxEdgeStyle.wayPoints1[f][1]+=p[1]*…
1229 …g=!0;if(b)for(var f=d.getChildCount(a),e=0;e<f;e++){var g=d.getChildAt(a,e);this.invalidate(g,b,c)…
1234 …h.getModel(),e=d.getChildCount(a.cell),f=0;f<e;f++){var g=this.getBoundingBox(this.getState(d.getC…
1244 …his.stateValidated(c);for(var e=d.getChildCount(a),f=0;f<e;f++)this.validateCellState(d.getChildAt…
1248 …(e),e=Math.sin(e),f=new mxPoint(a.getCenterX(),a.getCenterY()),d=new mxPoint(d.getCenterX(),d.getC…
1255 …s.translate;var f=a.origin,e=this.graph.getCellGeometry(a.cell).getTerminalPoint(c);null!=e&&(e=ne…
1257f=this.getEdgeStyle(a,b,c,d);if(null!=f){c=this.getTerminalPort(a,c,!0);d=this.getTerminalPort(a,d…
1259f=this.graph.getConnectionConstraint(a,d,!1);return!(null==b||2>b.length)||mxUtils.getValue(a.styl…
1262 …ction(a,b,c,d){b=this.getTerminalPort(a,b,d);var e=this.getNextPoint(a,c,d),f=this.graph.isOrthogo…
1263 0);a=this.getPerimeterPoint(b,e,0==c&&f,k);0!=c&&(k=Math.cos(c),l=Math.sin(c),a=mxUtils.getRotatedP…
1264 …meterPoint=function(a,b,c,d){var e=null;if(null!=a){var f=this.getPerimeterFunction(a);if(null!=f&…
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=…
1269f=d.y-c.y;a.terminalDistance=Math.sqrt(e*e+f*f)}else a.terminalDistance=0;var d=0,g=[],f=c;if(null…
1271f=Math.round(((null!=b?b.x/2:0)+.5)*a.length),g=a.segments[0],k=0,l=1;f>=Math.round(k+g)&&l<e-1;)k…
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…
1273f=a.segments,g=a.absolutePoints[0],k=a.absolutePoints[1],l=mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,b,c…
1274 a+(n-(c-f))*n;a=Math.sqrt(0>=f?0:f*f/(a*a+n*n));a>e&&(a=e);e=Math.sqrt(mxUtils.ptSegDistSq(g.x,g.y,…
1275 …[b.length-1];if(null!=d&&null!=e){var b=e.x-d.x,f=e.y-d.y,g=e=0,c=c.offset;null!=c&&(e=c.x,g=c.y);…
1312 …e for(var b=this.model.getChildCount(a),f=0;f<b;f++)e(this.model.getChildAt(a,f))}),f=0;f<a.length…
1326 …c;for(a=[];null!=d;){var d=this.model.getParent(d),f=this.view.getState(d);this.isSwimlane(d)&&nul…
1327 …getParent(a),d=b.getChildCount(c),e=0;e<d;e++){var f=b.getChildAt(c,e);if(a!=f&&this.isCellSelecte…
1330 …crollTop&&a<=e.scrollLeft+e.clientWidth&&b<=e.scrollTop+e.clientHeight){var f=e.scrollLeft+e.clien…
1331f<d){if(a=e.scrollLeft,e.scrollLeft+=d-f,c&&a==e.scrollLeft){if(this.dialect==mxConstants.DIALECT_…
1332f):(b=Math.max(e.clientHeight,e.scrollHeight)+d-f,a=this.view.getCanvas()),a.style.height=b+"px",e…
1335 …n(a,b,c,d,e,f,g){if(null!=this.container){a=null!=a?a:this.getBorder();b=null!=b?b:!1;c=null!=c?c:… argument
1336 …this.backgroundImage.height-g.y/k));var q=(b?a:2*a)+c+1,l=l-q,m=m-q;e=e?m/p:f?l/n:Math.min(l/n,m/p…
1341f=new mxRectangle(0,0,d.width*e,d.height*e),d=mxRectangle.fromRectangle(this.getGraphBounds());d.w…
1342f.width,f.height)>this.minPageBreakDist)?Math.ceil(d.height/f.height)+1:0,k=a?Math.ceil(d.width/f.…
1343 l),Math.round(f.y+c*f.height))]:[new mxPoint(Math.round(f.x+c*f.width),Math.round(f.y)),new mxPoint…
1349f=this.getCellGeometry(b[d]);if(!this.model.isEdge(b[d])&&null!=f&&!f.relative)if(null==c)if(a==mx…
1350f.y+f.height:e.x+f.x;else c=a==mxConstants.ALIGN_RIGHT?Math.max(c,e.x+f.x+f.width):a==mxConstants.…
1351f.x=c-e.x-f.width:a==mxConstants.ALIGN_TOP?f.y=c-e.y:a==mxConstants.ALIGN_MIDDLE?f.y=c-e.y-f.heigh…
1356 …odel.setGeometry(a,new mxGeometry);var f=this.model.getChildCount(e);this.cellsAdded([a],e,f,null,…
1357 this.cellsAdded(c,a,f,null,null,!1,!1,!1);this.cellsMoved(c,-d.x,-d.y,!1,!1,!1);this.cellsResized([…
1359 …ngth){var d=d.slice(),e=this.model.getParent(a[c]),f=this.model.getChildCount(e);this.cellsAdded(d…
1362 …s=function(a,b,c,d,e,f,g){null==a&&(a=this.getSelectionCells());b=null!=b?b:0;c=null!=c?c:!1;d=nul… argument
1363 …h.round(n.width+2*b+p.x+g+e+p.width);l.height=Math.round(n.height+2*b+p.y+d+f+p.height);this.model…
1365 …,b,c,d){b=null!=b?b:!0;var e=null;if(null!=a){for(var f=new mxDictionary,e=[],g=0;g<a.length;g++)f
1366f.get(q);)q=this.model.getParent(q);null==q&&null!=n[0]&&m.setTerminalPoint(new mxPoint(n[0].x/k-l…
1367f,g,k,l){b=this.createVertex(a,b,c,d,e,f,g,k,l);return this.addCell(b,a)};mxGraph.prototype.create… argument
1368 …,e,f){b=this.createEdge(a,b,c,d,e,f);return this.addEdge(b,a,d,e)};mxGraph.prototype.createEdge=fu… argument
1369 …d,e,f){null==b&&(b=this.getDefaultParent());null==c&&(c=this.model.getChildCount(b));this.model.be… argument
1370 …ototype.cellsAdded=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=b&&null!=c){this.model.beginUpdate(… argument
1372 d,"target",e,"absolute",f))}finally{this.model.endUpdate()}}};mxGraph.prototype.autoSizeCell=functi…
1375 …r(var f=this.getAllEdges([a[e]]),g=mxUtils.bind(this,function(d,f){var g=this.model.getGeometry(d)… argument
1376f?0:k.length-1,g.setTerminalPoint(new mxPoint(k[m].x/b-c.x-l.origin.x,k[m].y/b-c.y-l.origin.y),f))…
1377 mxGraph.prototype.splitEdge=function(a,b,c,d,e,f,g,k){d=d||0;e=e||0;k=null!=k?k:this.model.getParen… argument
1378 …ildCount(k),null,null,!0);this.cellsAdded([c],k,this.model.getChildCount(k),f,b[0],!1);this.cellCo…
1381 …tendParent(a[e])&&this.extendParent(a[e]);if(c){var f=this.model.getChildren(a[e]);this.cellsFolde…
1386 …clone();if(this.isSwimlane(a)){var f=this.getCellStyle(a),g=this.model.getStyle(a);null==g&&(g="")…
1389 …!=a){var d=this.view.createState(a),e=d.style;if(!this.model.isEdge(a)){var f=e[mxConstants.STYLE_…
1391 …place(/\n/g,"<br>"),f=mxUtils.getSizeForString(k,f,e[mxConstants.STYLE_FONTFAMILY],b,e[mxConstants…
1394f=e.clone();!c&&f.relative?(c=f.offset,null!=c&&(c.x+=b.x-f.x,c.y+=b.y-f.y)):(f.x=b.x,f.y=b.y);f.w…
1395 …b.height/c.height:1,e=this.model.getChildCount(a),f=0;f<e;f++)this.scaleCell(this.model.getChildAt…
1396f=this.getCurrentCellStyle(a),e=e.clone(),g=e.x,k=e.y,l=e.width,m=e.height;e.scale(b,c,"fixed"==f[…
1398 mxGraph.prototype.importCells=function(a,b,c,d,e,f){return this.moveCells(a,b,c,!0,d,e,f)}; argument
1399 mxGraph.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(n… argument
1401 …ect(mxEvent.MOVE_CELLS,"cells",a,"dx",b,"dy",c,"clone",d,"target",e,"event",f))}finally{this.model…
1402f){if(null!=a&&(0!=b||0!=c)){f=null!=f?f:!1;this.model.beginUpdate();try{d&&this.disconnectGraph(a… argument
1403 …nt(a),f=0;this.model.isVertex(e)&&(e=this.getCurrentCellStyle(e),f=mxUtils.getValue(e,mxConstants.…
1404 e=Math.cos(f),f=Math.sin(f),c=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,new mxPoint(0,0)),b=c.x,…
1405 …ry(b);if(null!=c){var d=a=0,e=c.width,c=c.height;if(this.isSwimlane(b)){var f=this.getStartSize(b)…
1406f.width;f.width=f.height;f.height=l}if(b==mxConstants.DIRECTION_EAST&&!g||b==mxConstants.DIRECTION…
1407 …strainChild(a)&&(d=this.getCellContainmentArea(a),null!=d)){var f=this.getOverlap(a);0<f&&(d=mxRec…
1408 f,d.y-=d.height*f,d.width+=2*d.width*f,d.height+=2*d.height*f);null==e?e=d:(e=mxRectangle.fromRecta…
1409 ….x<e.x&&(f-=d.x-e.x);d.y<e.y&&(g-=d.y-e.y);if(0!=f||0!=g)c.relative?(null==c.offset&&(c.offset=new…
1410 …;e<d.length;e++){var f=this.view.getState(d[e]),g=null!=f?f.getVisibleTerminal(!0):this.view.getVi…
1412f=mxUtils.toRadians(b.shape.getShapeRotation());if(0!=f){var e=Math.cos(-f),f=Math.sin(-f),g=new m…
1413 …mxConstants.DIRECTION_SOUTH)e=m,m=n,n=e;m&&(f=-1,k=-c.width);n&&(g=-1,l=-c.height)}a=new mxPoint((…
1415f=e=0;null!=b&&(d=mxUtils.getValue(a.style,c?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_EN…
1416 …onstants.STYLE_ENTRY_DY]),e=isFinite(e)?e:0,f=isFinite(f)?f:0);return new mxConnectionConstraint(b…
1420 …var d=null;if(null!=a&&null!=b.point){var e=this.view.getPerimeterBounds(a),f=new mxPoint(e.getCen…
1421 …(g=e=0,90==k?g=1:180==k?e=-1:270==k&&(g=-1),d=mxUtils.getRotatedPoint(d,e,g,f)),d=this.view.getPer…
1422 …ls.toRadians(l),e=Math.cos(a),g=Math.sin(a),d=mxUtils.getRotatedPoint(d,e,g,f))}c&&null!=d&&(d.x=M…
1426f=this.model.getGeometry(a[e]);if(null!=f){var g=this.view.getState(a[e]),k=this.view.getState(th…
1427f.setTerminalPoint(new mxPoint(n[0].x/b-c.x+l,n[0].y/b-c.y+m),!0),this.model.setTerminal(a[e],null…
1430 …ChildCount(a);for(var e=0;e<c;e++){var f=this.getCellBounds(this.model.getChildAt(a,e),b,!0);null!…
1431f=null;if(this.model.isEdge(a[d])){f=function(a){null!=a&&(null==g?g=new mxRectangle(a.x,a.y,0,0):… function
1432f(e[k]);f=g}else k=this.model.getParent(a[d]),e.relative?this.model.isVertex(k)&&k!=this.view.curr…
1433f.x+=e.offset.x,f.y+=e.offset.y),e=this.getCurrentCellStyle(a[d]),null!=f&&(e=mxUtils.getValue(e,m…
1434f=this.view.translate,g=this.view.scale;!c&&this.gridEnabled?(c=this.gridSize*g*.5,d||(d=b.x-(this…
1437 …low="visible";for(var f=this.shiftPreview1,d=this.container.firstChild;null!=d;)e=d.nextSibling,d!…
1440f=2*this.getBorder(),g=this.container.clientWidth-f,f=this.container.clientHeight-f,k=this.getGrap…
1441 (a-g)/2,this.container.scrollTop=(b-f)/2):this.view.setTranslate(a?Math.floor(l.x-k.x/m+n*c/m):l.x,…
1442 …ontainer),b&&!d){var d=this.container.offsetWidth,e=this.container.offsetHeight;if(1<a)var f=(a-1)/
1443f,e=e*-f;else f=(1/a-1)/(2*this.view.scale),d*=f,e*=f;this.view.scaleAndTranslate(c,this.view.tran…
1449 …s.container.offsetWidth,d=this.container.offsetHeight,e=Math.min(c,a.width),f=Math.min(d,a.height)…
1450 f-c.scrollTop-c.clientHeight,0<e&&(c.scrollTop+=e+2));this.useScrollbarsForPanning||0==d&&0==g||thi…
1456f=this.model.getDirectedEdgeCount(c,!1,a);if(null!=this.multiplicities)for(var g=0;g<this.multipli…
1457f=this.model.getChildAt(a,e),g=b;this.isValidRoot(f)&&(g={});g=this.validateGraph(f,g);null!=g?thi…
1459f=this.multiplicities[e];f.source&&mxUtils.isNode(a,f.type,f.attr,f.value)&&(b>f.max||b<f.min)?d+=
1495 …=c)c=e;else if(null!=e){for(var f=this.model.getParent(e);null!=f&&this.isSwimlane(f)&&f!=c;)f=thi…
1497f=this.model.getChildAt(c,e);if(null!=f){var g=this.getSwimlaneAt(a,b,f);if(null!=g)return g;if(th…
1498f){d=null!=d?d:!0;e=null!=e?e:!0;null==c&&(c=this.getCurrentRoot(),null==c&&(c=this.getModel().get… argument
1499f=1;f<d.length;f++){var g=d[f];if(mxUtils.ptSegDistSq(e.x,e.y,g.x,g.y,b,c)<=a)return!0;e=g}}else i…
1502 mxGraph.prototype.getEdges=function(a,b,c,d,e,f){c=null!=c?c:!0;d=null!=d?d:!0;e=null!=e?e:!0;f=nul… argument
1503 …l!=n&&(c&&n==a&&(null==b||this.isValidAncestor(l,b,f))||d&&l==a&&(null==b||this.isValidAncestor(n,…
1504f=new mxDictionary;if(null!=a)for(var g=0;g<a.length;g++){var k=this.view.getState(a[g]),l=null!=k…
1505f=0;f<d.length;f++){var g=this.view.getState(d[f]),k=null!=g?g.getVisibleTerminal(!0):this.view.ge…
1506 …this.view.scale,e=this.view.translate,f=0!=b?this.gridSize/2:0;c.x=this.snap(c.x/d-e.x-f);c.y=this…
1507 mxGraph.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=t… argument
1508f.push(t);x&&!l||this.getCells(a,b,c,d,t,f,g,k,l)}}}return f};mxGraph.prototype.getCellsBeyond=fun…
1509 …l!=c?c:!1;var d=[];if(null!=a){for(var e=this.getModel(),f=e.getChildCount(a),g=null,k=0,l=0;l<f;l…
1510f){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
1514f=this.model.getChildCount(d);null==e&&0<f?(a=this.model.getChildAt(d,0),this.setSelectionCell(a))…
1515 b%f)):(b--,a=this.model.getChildAt(d,0>b?f-1:b)),this.setSelectionCell(a)):this.getCurrentRoot()!=d…
1533f=this.mouseListeners[e];a==mxEvent.MOUSE_DOWN?f.mouseDown.apply(f,d):a==mxEvent.MOUSE_MOVE?f.mous…
1537f){this.image=a;this.tooltip=b;this.align=null!=c?c:this.align;this.verticalAlign=null!=d?d:this.v… argument
1539 …olutePoints,1==b.length%2)b=b[Math.floor(b.length/2)];else{var f=b.length/2;a=b[f-1];b=b[f];b=new …
1546f=mxUtils.bind(this,function(f){if(this.isEnabled()){b=new mxPoint(mxEvent.getClientX(f),mxEvent.g… argument
1547f)-n.left)*e/this.source.view.scale,n=(mxEvent.getClientY(f)-n.top)*e/this.source.view.scale,this.…
1548 …getClientY(a)-b.y)*e/this.source.view.scale,f=this.source.view.translate;this.source.getView().set…
1549 c,f.y-d);this.source.panGraph(0,0)}mxEvent.removeGestureListeners(document,null,g,k);mxEvent.consum…
1558 … mxMultiplicity(a,b,c,d,e,f,g,k,l,m){this.source=a;this.type=b;this.attr=c;this.value=d;this.min=n… argument
1560f){var g="";if(this.source&&this.checkTerminal(a,c,b)||!this.source&&this.checkTerminal(a,d,b))nul… argument
1561 …hbors,f=0;f<e.length;f++)if(this.source&&this.checkType(a,d,e[f])){c=this.validNeighborsAllowed;br…
1568 …tGraph().getModel(),e=0;e<a.length;e++){var f=this.getLayout(d.getParent(a[e]),mxEvent.MOVE_CELLS)…
1569 …Graph().getModel(),e=0;e<a.length;e++){var f=this.getLayout(d.getParent(a[e]),mxEvent.RESIZE_CELLS…
1579 …().getModel(),c=b.getParent(a),d=b.getChildCount(c),e=null,f=0;f<d;f++){var g=b.getChildAt(c,f);if…
1580f=a[c],g=f;null!=g;){var f=g,g=b.getParent(g),k=this.graph.isSwimlane(g)?this.graph.getStartSize(g…
1582f=this.isCellHorizontal(a);if(!this.isSwimlaneIgnored(a)){var g=e.getGeometry(a);null!=g&&(d&&g.he…
1584f){b=null!=b?b:1;this.view=a;this.oldValidateCellState=a.validateCellState;this.oldBounds=a.getGra… argument
1587f=this.deltas.get(a.cell);null==f?(f={point:new mxPoint(b,c),state:a},this.deltas.put(a.cell,f),th…
1589 …a.y+=c)}for(var e=d.getChildCount(a.cell),f=0;f<e;f++)this.translateState(a.view.getState(d.getChi…
1590f=this.graph.getCellGeometry(a.cell),g=a.view.getState(e.getParent(a.cell));0==b&&0==c||null==f||!
1610 …!=e){var f=e;c.isVertex(a[d])&&null!=e.shape&&null!=e.shape.boundingBox&&(f=e.shape.boundingBox);n…
1613f=2>this.graph.model.getChildCount(e),g=new mxDictionary;a=this.graph.getOpposites(this.graph.getE…
1619 …e=c.isCloneEvent(b.getEvent())&&c.isCellsCloneable()&&this.isCloneEnabled(),f=c.isGridEnabledEvent…
1621 …GuidesForEvent(b)?(d=this.guide.move(this.bounds,d,f,e),k=!1):d=this.graph.snapDelta(d,this.bounds…
1624f=this.graph.view.getState(e.cell);f!=e&&(e.destroy(),null!=f?this.allCells.put(e.cell,f):this.all…
1626f=c[e][0];if(this.graph.model.isEdge(f.cell)){var g=this.graph.getCellGeometry(f.cell),k=[];if(nul…
1627f.setAbsoluteTerminalPoint(new mxPoint(g.x+a,g.y+b),!0),g=null);null!=l&&this.isCellMoving(l.cell)…
1633f=this.roundLength(this.currentDx/e),e=this.roundLength(this.currentDy/e),g=this.target;c.isSplitE…
1636f){d&&(a=this.graph.getCloneableCells(a));var g=this.graph.getModel().getParent(this.cell);null==e… argument
1637 …ull==m||k.get(m)||(k.put(m,!0),g.push(m))}}a=this.graph.moveCells(a,b,c,d,e,f);b=[];for(l=0;l<g.le…
1689f=mxUtils.bind(this,function(){return null!=this.currentState?this.currentState:a}),b=mxUtils.bind…
1691f=this.graph.getStartSize(b.cell),d=0!=f.width?b.x+f.width*c/2:d,e=0!=f.height?b.y+f.height*c/2:e,
1696 …,d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentElement,f=this.currentPoint.x-…
1697 …is.marker.highlight.isHighlightAt(d,c)||(f!=d||b!=c)&&null==a.getState()&&this.marker.highlight.is…
1706 …ar f=null,d=c;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.current…
1708 …=g);this.selectedIcon.redraw()}null!=this.edgeState?(this.updateEdgeState(d,f),d=this.edgeState.ab…
1709f=this.edgeState.absolutePoints[this.edgeState.absolutePoints.length-2],null!=f&&(g=f));f=d.x-g.x;…
1710 …riginalPoint=null;null==this.shape&&(f=Math.abs(b.getGraphX()-this.first.x),g=Math.abs(b.getGraphY…
1716f=null!=this.waypoints&&0<this.waypoints.length?this.waypoints[this.waypoints.length-1]:new mxPoin…
1717f=new mxPoint(a.getCenterX(),a.getCenterY());if(null!=e){var g=mxUtils.getValue(a.style,mxConstant…
1721f=null;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&…
1722f&&e==f&&!this.checkConstraints(c,d)?(null!=this.previous&&null!=this.marker.validState&&this.prev…
1726f=!1,g=null;e.beginUpdate();try{if(null!=a&&null==b&&!this.graph.isIgnoreTerminalEvent(c)&&this.is…
1730 …t",d,"terminalInserted",f))}}catch(x){mxLog.show(),mxLog.debug(x.message)}finally{e.endUpdate()}th…
1731 …ertEdge=function(a,b,c,d,e,f){if(null==this.factoryMethod)return this.graph.insertEdge(a,b,c,d,e,f argument
1732f=this.graph.view.scale,g=new mxPoint(this.currentPoint.x/f-e.x,this.currentPoint.y/f-e.y);c.x=Mat…
1733 if(0<g){var k=this.graph.view.getState(b);if(null!=k){var l=k.x/f-e.x,e=k.y/f-e.y;Math.abs(l-c.x)<=…
1743 …etHandler));var e=this.getTolerance(a),f=null!=d?d.x:a.getGraphX(),g=null!=d?d.y:a.getGraphY(),f=n…
1745 …ects(this.focusIcons[m],e,b,c)||null!=d&&this.intersects(this.focusIcons[m],f,b,c))&&(null==a||n<a…
1750f=e.src,e=new mxRectangle(Math.round(d.x-e.width/2),Math.round(d.y-e.height/2),e.width,e.height),f
1751 f.node.parentNode.firstChild);e=mxUtils.bind(this,function(){return null!=this.currentFocus?this.cu…
1754 …set(this.graph.container),f=mxUtils.getScrollOrigin(this.graph.container);f.x-=b.x;f.y-=b.y;this.s…
1759 …x,c=b.getY()+c.y,e=this.first.x-d,f=this.first.y-c,g=this.graph.tolerance;if(null!=this.div||Math.…
1808f=this.graph.view.scale,g=Math.cos(-c),k=Math.sin(-c),l=d.x-this.startX,m=d.y-this.startY,d=k*l+g*…
1809 …xRectangle.fromRectangle(k),k.x-=(this.parentState.x-e.x*f)/f,k.y-=(this.parentState.y-e.y*f)/f),t…
1811f)+this.unscaledBounds.x*f,(null!=this.parentState?this.parentState.y:e.y*f)+this.unscaledBounds.y…
1812 …x=this.roundLength(this.unscaledBounds.x+b/f);this.unscaledBounds.y=this.roundLength(this.unscaled…
1819 …his.currentAlpha){var f=this.currentAlpha-(this.state.style[mxConstants.STYLE_ROTATION]||0);0!=f&&…
1821 …ometry(a);if(null!=e){var f=this.graph.getCellGeometry(c);null==f||d.isEdge(c)||(e=e.clone(),e.rot…
1826 mxVertexHandler.prototype.resizeCell=function(a,b,c,d,e,f,g){b=this.graph.model.getGeometry(a);null… argument
1827 …,b,c){for(var d=this.graph.getModel(),e=d.getChildCount(a),f=0;f<e;f++){var g=d.getChildAt(a,f),k=…
1828f,g,k,l){e=null!=e?e&&this.graph.gridEnabled:this.graph.gridEnabled;if(this.singleSizer)return d=a… argument
1829f)*f:Math.round(p/f)*f;else if(2==d||4==d||7==d)q+=b,q=e?this.graph.snap(q/f)*f:Math.round(q/f)*f;…
1830 f+Math.max(0,this.x0*f-d.x)),d.height=Math.max(d.height,this.minBounds.y*f+this.minBounds.height*f+…
1834 …erTo(this.sizers[0],b,c);else{var d=a.x+a.width/2,e=a.y+a.height/2;if(8<=this.sizers.length){var f=
1835 …or(f[mxUtils.mod(0+g,f.length)]);n.x=d;n.y=a.y;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo…
1836f.length)]);n.x=b;n.y=a.y;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[2],n.x,n…
1837f[mxUtils.mod(6+g,f.length)]);n.x=d;n.y=c;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this…
1867 …tCenterX();b=a.getGraphY()-b.bounds.getCenterY();c=c*c+b*b;if(null==f||c<=f)return f=c,!0}return!1…
1868 d,a.getGraphY()-d,2*d,2*d):null,f=null;if(null!=this.customHandles&&this.isCustomHandleEvent(a))for…
1875f=!1,g=!1;if(0<e&&this.isSnapToTerminalsEvent(a)){var k=function(a){null!=a&&l.call(this,new mxPoi…
1876 …olutePoints[m])}this.graph.isGridEnabledEvent(a.getEvent())&&(a=b.translate,f||(d.x=(this.graph.sn…
1880 …;if(!this.isSource&&!this.isTarget){for(var f=0;f<this.bends.length;f++)if(f!=this.index){var g=th…
1881 …e&&this.straightRemoveEnabled&&(null==b||!mxEvent.isAltDown(b.getEvent()))){f=this.graph.tolerance…
1882 ….length-1&&mxUtils.ptSegDistSq(g[l-1].x,g[l-1].y,g[l+1].x,g[l+1].y,a.x,a.y)<f&&(c.splice(l-1,1),e=…
1883 …,d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentElement,f=this.currentPoint.x-…
1884 …is.marker.highlight.isHighlightAt(d,c)||(f!=d||b!=c)&&null==a.getState()&&this.marker.highlight.is…
1885f=this.isSource?c:this.state.getVisibleTerminalState(!0),g=this.isTarget?c:this.state.getVisibleTe…
1888 …);a.setVisibleTerminalState(f,!0);a.setVisibleTerminalState(g,!1);this.isSource&&null==f||a.view.u…
1889 …lingEdges?null:""));a.view.updatePoints(a,this.points,f,g);a.view.updateFloatingTerminalPoints(a,f
1896f=this.graph.getModel();f.beginUpdate();try{this.customHandles[mxEvent.CUSTOM_HANDLE-d].execute(b)…
1897f=this.graph.getModel(),g=f.getParent(c);f.beginUpdate();try{if(e){var k=f.getGeometry(c),e=this.g…
1898f.endUpdate()}}else this.graph.isAllowDanglingEdges()&&(f=this.abspoints[this.isSource?0:this.absp…
1899 c=this.changeTerminalPoint(c,f,this.isSource,e));else this.active?c=this.changePoints(c,this.points…
1903f=this.graph.getView().scale,e=e.clone();if(e.relative){var g=this.graph.getView().getRelativePoin…
1904f),Math.round((c-(g.y+(k.y-g.y)/2))/f)),e.x=0,e.y=0)}d.setGeometry(a.cell,e)}};mxEdgeHandler.proto…
1905 …e.beginUpdate();try{if(d){var f=e.getParent(a),g=e.getTerminal(a,!c);a=this.graph.cloneCell(a);e.a…
1906 … e=d.getParent(a),f=d.getTerminal(a,!0),g=d.getTerminal(a,!1);a=this.graph.cloneCell(a);d.add(e,a,…
1908 …ew mxPoint(e.x*c,e.y*c),f=this.graph.model.getParent(this.state.cell);this.graph.model.isVertex(f)…
1913f=this.bends.length-1,b=this.bends[f].bounds;this.bends[f].bounds=new mxRectangle(Math.floor(d-b.w…
1914 this.getHandleFillColor(f);this.bends[f].redraw();this.manageLabelHandle&&this.checkLabelHandle(thi…
1918f=this.bends[c].bounds;this.bends[c].node.style.visibility="visible";this.bends[c].bounds=new mxRe…
1936f=this.convertPoint(b[e].clone(),!1);e==this.index&&(0==Math.round(c.x-f.x)&&(c.x=a.x,f.x=a.x),0==…
1937f=this.state.view.getScale(),g=this.state.view.getTranslate(),e=d[0].x*f+g.x,f=d[0].y*f+g.y;if(nul…
1938f=e[0],g=e[1],k=[],l=2;l<e.length;l++){var m=e[l];0==Math.round(f.x-g.x)&&0==Math.round(g.x-m.x)||…
1939f&&null!=g&&null!=l&&0==Math.round(l[0].x-l[l.length-1].x)){var k=this.graph.getView(),l=k.getScal…
1940 …a.view.updateFixedTerminalPoints(a,f,g);a.view.updatePoints(a,this.points,f,g);a.view.updateFloati…
1941f=this.graph.getModel(),g=f.getGeometry(a),k=null;if(null!=g&&null!=g.points&&0<g.points.length)fo…
1942 arguments)}finally{f.endUpdate()}return a};mxEdgeSegmentHandler.prototype.getTooltipForNode=functio…
1946 …r f=new mxPoint(a.x+(b.x-a.x)/2,a.y+(b.y-a.y)/2),g=this.bends[e+1].bounds;this.bends[e+1].bounds=n…
1957 …s.div||"hidden"==this.div.style.visibility)){var d=a.getSource(),e=a.getX(),f=a.getY(),g=a.isSourc…
1958 this.graph.getTooltip(c,d,e,f);this.show(a,e,f);this.state=c;this.node=d;this.stateSource=g}}),this…
1980 …));for(var d in b){var e=d,f=b[e];null==f||this.isExcluded(b,e,f,!0)||(mxUtils.isInteger(e)&&(e=nu…
1981f=a.getId(d);if(null==f){mxLog.warn("mxObjectCodec.encode: No ID for "+this.getName()+"."+c+"="+d)…
1989 …ontent(b)))):a=a.decode(b,e);try{this.addObjectValue(c,d,a,e)}catch(f){throw Error(f.message+" for…
1993 …reDecode=function(a,c,d){var b=c.cloneNode(!0),f=this.getName();c.nodeName!=f?(b=c.getElementsByTa…
1994f=this.idrefs[c],g=b.getAttribute(f);if(null!=g){b.removeAttribute(f);var k=a.objects[g]||a.lookup…
1995 …,c,d){var b=null;for(c=c.firstChild;null!=c;){var f=a.decodeCell(c);null!=f&&null==f.getParent()&&…
1999 …Sibling;if(b.nodeType==mxConstants.NODETYPE_ELEMENT){var f=b.getAttribute("id");null==a.lookup(f)&…
2001 …ell"]);c.afterDecode=function(a,c,f){mxUtils.isNode(f.cell)&&(f.cell=a.decodeCell(f.cell,!1));f.pr… argument
2003 …codeCell=function(a,c,d){var b=c.graph.getModel(),f=c.getState(d),g=b.getParent(d);if(null==g||nul…
2004 …d(p.height)));n.setAttribute("scale",c.scale)}else if(null!=f&&null!=l){for(p in f.style)g=f.style…
2005f.absolutePoints;if(null!=g&&0<g.length){l=Math.round(g[0].x)+","+Math.round(g[0].y);for(p=1;p<g.l…
2006 0;p<k;p++)f=this.encodeCell(a,c,b.getChildAt(d,p)),null!=f&&n.appendChild(f)}}return n};return a}()…
2007 …styles){var f=c.styles[e],g=a.document.createElement("add");if(null!=e){g.setAttribute("as",e);for…
2008 …){var f=c.getAttribute("extend"),g=null!=f?mxUtils.clone(d.styles[f]):null;null==g&&(null!=f&&mxLo…
2009f=c.firstChild;null!=f;){if(f.nodeType==mxConstants.NODETYPE_ELEMENT){var k=f.getAttribute("as");i…
2034 …pad.style.backgroundRepeat="no-repeat";l.pad.style.backgroundPosition="0 0";f();g();mxJSColor.pick…
2035 a.pickerFace+mxJSColor.images.pad[1]]}function f(){switch(t){case 0:var a=1;break;case 1:a=2}mxJSCo… function
2036f=[r.hsv[2],0,0],d=Math.floor(r.hsv[0]),g=d%2?r.hsv[0]-d:1-(r.hsv[0]-d);switch(d){case 6:case 0:b=…
2042 …213*this.rgb[0]+.715*this.rgb[1]+.072*this.rgb[2]?"#FFF":"#000");a&C||!k()||f();a&v||!k()||g()};th…
2043 ….rgb[2]:this.rgb[2]=c,f=Math.min(Math.min(a,b),e);c=Math.max(Math.max(a,b),e);var g=c-f;0===g?a=[n…
2100 function Dialog(a,b,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||nul… argument
2102 …&(b.style.overflowY="auto");b.style.overflowX="hidden";if(f&&(f=document.createElement("img"),f.se…
2103 f.setAttribute("title",mxResources.get("close")),f.className="geDialogClose",f.style.top=x+14+"px",
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 …2px";d.style.textAlign="center";null!=f&&(b=mxUtils.button(mxResources.get("tryAgain"),function(){…
2113f=1/d.pageScale;if(b){var g=h.checked?1:parseInt(m.value);isNaN(g)||(f=mxUtils.getScaleForPageCoun…
2114 …review(d,f,e,0,g,k,b);b.open();a&&PrintDialog.printPreview(b)}var d=a.editor.graph,e,c,f=document.…
2119 c.appendChild(g);e.appendChild(c);k.appendChild(e);f.appendChild(k);this.container=f};PrintDialog.p…
2120 PrintDialog.createPrintPreview=function(a,b,d,e,c,f,k){b=new mxPrintPreview(a,b,d,e,c,f);b.title=mx… argument
2122 …"):(q.removeAttribute("src"),q.style.display="none")}var e=a.editor.graph,c,f,k=document.createEle…
2123f=document.createElement("td");f.style.verticalAlign="top";f.style.fontSize="10pt";mxUtils.write(f
2124 mxUtils.write(f,mxResources.get("background")+":");c.appendChild(f);f=document.createElement("td");
2125f.appendChild(l);mxUtils.write(f,mxResources.get("gridSize")+":");var n=document.createElement("in…
2126 f=document.createElement("td");mxUtils.write(f,mxResources.get("image")+":");c.appendChild(f);f=doc…
2127f.appendChild(q);f.appendChild(p);c.appendChild(f);h.appendChild(c);c=document.createElement("tr")…
2128 a.editor.cancelFirst&&f.appendChild(p);v=mxUtils.button(mxResources.get("apply"),function(){a.hideD…
2129 f.appendChild(v);a.editor.cancelFirst||f.appendChild(p);c.appendChild(f);h.appendChild(c);k.appendC…
2131f.setAttribute("checked","checked"),f.defaultChecked=!0,f.checked=!0,k.removeAttribute("checked"),…
2132 …display="")}}b="format-"+b;var f=document.createElement("input");f.setAttribute("name",b);f.setAtt…
2133 …nLeft="4px";g.style.width="210px";g.style.height="24px";f.style.marginRight="6px";g.appendChild(f)…
2136f.checked=!0;E(a);mxEvent.consume(a)});mxEvent.addListener(l,"click",function(a){k.checked=!0;E(a)…
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 …e.width=null!=n?n+"px":"180px";var w=mxUtils.button(d,function(){if(null==f||f(t.value))g&&a.hideD…
2152f=0;f<d.length;f++){var g=d[f].extension,l=null;"drawio"!=g&&(l=g,g=".drawio."+g);if(a.substring(a…
2157f=c=0;null!=a.view.backgroundPageShape&&(f=this.getBackgroundPageBounds(),c=1+f.x,f=1+f.y);e=-Math…
2158 …is.gridSteps*b,d=[],e=1;e<this.gridSteps;e++){var f=e*b;d.push("M 0 "+f+" L "+c+" "+f+" M "+f+" 0 …
2160 …pdatePageBreaks=function(a,b,c){var d=this.view.scale,e=this.view.translate,f=this.pageFormat,g=d*…
2161 b=k.width;c=k.height;var h=new mxRectangle(d*e.x,d*e.y,f.width*g,f.height*g),v=(a=a&&Math.min(h.wid…
2163 …turn!1;if(this.graph.getModel().isVertex(c[e])){var f=this.graph.getCellGeometry(c[e]);if(null!=f&…
2165f=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 mx…
2166 …ion(a,b,d,e,f,n){var g=c.apply(this,arguments);null==n||n||mxEvent.addListener(g,"mousedown",funct… argument
2167 …=d&&d.relative||!this.graph.isContainer(e)||this.graph.isPart(a));else if(d=f.apply(this,arguments…
2168 …elected(a);null!=d&&(b.isVertex(c)||b.isEdge(c));){var f=this.graph.isCellSelected(c),e=e||f;if(f|…
2170 this.menus=this.createMenus();if(!e.standalone){var f="rounded shadow glass dashed dashPattern labe…
2171f;for(f in b.style)d[f]!=b.style[f]&&(a.push(b.style[f]),c.push(f));for(var g=e.getModel().getStyl…
2172 d[f]&&"none"==l&&(a.push(l),c.push(f))}}e.getModel().isEdge(b.cell)?e.currentEdgeStyle={}:e.current…
2173f,g[b])&&f.push(g[b]);var l="edgeStyle startArrow startFill startSize endArrow endFill endSize".sp…
2174f,k[b])&&f.push(k[b]);var n=function(a,b,c,d,g,k,l){d=null!=d?d:e.currentVertexStyle;g=null!=g?g:e…
2187 ….currentEdgeStyle[c[m]]:e.currentEdgeStyle[c[m]]=n[m]:d&&0<=mxUtils.indexOf(f,c[m])&&(null==n[m]?d…
2188 e.currentVertexStyle[c[m]]=n[m]);else if(0<=mxUtils.indexOf(f,c[m])){if(d||p)null==n[m]?delete e.cu…
2201f=mxUtils.convertPoint(this.container,mxEvent.getClientX(d),mxEvent.getClientY(d));mxEvent.consume…
2202f=this.hoverIcons.drag;this.hoverIcons.drag=function(){b.hideShapePicker();f.apply(this,arguments)… argument
2203f&&f.relative;)cell=h,h=a.model.getParent(cell),f=a.getCellGeometry(h);window.setTimeout(mxUtils.b…
2204f=d.getProperty("event"),c=c.getBoundingClientRect(),g=mxUtils.getOffset(a.container),k=a.containe… argument
2205 b.hoverIcons.update(a.view.getState(c))},function(b){a.selectCellsForConnectVertex(b)},f,this.hover…
2206f=a.getBoundingClientRect();c==mxConstants.DIRECTION_NORTH?(d-=f.width/2-10,e-=f.height+6):c==mxCo…
2207f){a=this.createShapePicker(a,b,d,e,c,mxUtils.bind(this,function(){this.hideShapePicker()}),this.g… argument
2208 EditorUi.prototype.createShapePicker=function(a,b,d,e,c,f,k,h){var g=null;if(null!=k&&0<k.length){v… argument
2211 …Cell(d);null!=l.hoverIcons&&l.hoverIcons.update(m.view.getState(d))}null!=f&&f()})});for(c=0;c<(h?…
2225 …getExportableCells(b.model.getTopmostCells(c)),d={},e=b.createCellLookup(c),f=b.cloneCells(c,null,…
2226f.length;p++){m.add(n,f[p]);var q=b.view.getState(c[p]);if(null!=q){var u=b.getCellGeometry(f[p]);…
2230f=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),g=mxUtils.hasScrollbars(a.cont…
2231 ….lightboxVerticalDivider/b;g&&(c=Math.max(c,0),q=Math.max(q,0));if(g||f.width<p||f.height<n)a.view…
2232 …iner.scrollLeft=l*b/h;else if(0!=d||0!=e)f=a.view.translate,a.view.setTranslate(Math.floor(f.x+d/h…
2235f=mxUtils.bind(this,function(){var b=mxUtils.getCurrentStyle(a.container);a.isViewer()?this.chrome…
2236f(mxUtils.bind(this,function(a){window.location.href=c.backBtn.url;mxEvent.consume(a)}),Editor.bac…
2237 …ent.IS_IE11?"#000000":"#ffffff";this.chromelessToolbar.appendChild(g);var l=f(mxUtils.bind(this,fu…
2239f(mxUtils.bind(this,function(a){this.actions.get("zoomOut").funct();mxEvent.consume(a)}),Editor.zo…
2240 f(mxUtils.bind(this,function(b){a.isLightboxView()?(1==a.view.scale?this.lightboxFit():a.zoomTo(1),…
2241 …lessToolbar,a||30)});if("1"==urlParams.layers){this.layersDialog=null;var t=f(mxUtils.bind(this,fu…
2244 …dalone)&&this.addChromelessToolbarItems(f);null==this.editor.editButtonLink&&null==this.editor.edi…
2245f(x.fn,x.icon,x.tooltip)}null!=c.refreshBtn&&f(mxUtils.bind(this,function(a){c.refreshBtn.url?wind…
2246 …ow.top||a.lightbox&&("1"==urlParams.close||this.container!=document.body))&&f(mxUtils.bind(this,fu…
2251 ….width),f=Math.ceil(2*c.y+b.height*d.height),g=a.minimumGraphSize;if(null==g||g.width!=e||g.height…
2254f=a.view.scale,g=0,k=0;null!=I&&(g=a.container.offsetWidth/2-I.x+e.x,k=a.container.offsetHeight/2-…
2257f=c?a.container.scrollTop+a.container.clientHeight/2:I.y+a.container.scrollTop-a.container.offsetT…
2259 …or||K(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(b,c,d,e,f){a.fireEvent(new mxE… argument
2260 …=a.container)return a.tooltipHandler.hideTooltip(),I=null!=e&&null!=f?new mxPoint(e,f):new mxPoint…
2274 …ize=a;b.view.validateBackground();if(d){var f=b.getSelectionCells();b.clearSelection();b.setSelect…
2283 …r.graph.cellEditor.startEditing=function(){c.apply(this,arguments);e()};var f=this.editor.graph.ce…
2284 this.editor.graph.cellEditor.stopEditing=function(a,b){f.apply(this,arguments);e()};e()};
2285 …raph,b=!1,d=!1,e=!1,c=!1,f=[],k=a.getSelectionCells();if(null!=k)for(var h=0;h<k.length;h++){var g…
2286 …this.actions.get("bringForward").setEnabled(1==f.length);this.actions.get("sendBackward").setEnabl…
2287 …emoveFromGroup").setEnabled(e&&a.getModel().isVertex(a.getModel().getParent(f[0])));a.view.getStat…
2289f.length);this.actions.get("openLink").setEnabled(1==a.getSelectionCount()&&null!=a.getLinkForCell…
2290f&&b&&1<a.getSelectionCount());this.actions.get("selectVertices").setEnabled(f);this.actions.get("…
2292f=0;if(null!=this.sidebarFooterContainer){var k=this.footerHeight+e,f=Math.max(0,Math.min(d-b-k,th…
2295 f+e+"px";this.formatContainer.style.bottom=this.footerHeight+e+"px";"1"!=urlParams.embedInline&&(th…
2304 …+(b?c.x-k.x:k.y-c.y)-d));mxEvent.consume(a);h!=m()&&(g=!0,l=null)}}function f(a){c(a);k=h=null}var… function
2305 …estureListeners(document,null,c,f);this.destroyFunctions.push(function(){mxEvent.removeGestureList…
2306 …;var f=mxResources.get("ok");b=null!=b?b:mxResources.get("error");null!=a&&null!=a.message&&(c=mxU…
2307f,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.ceil(nu… argument
2309 …y,e=[],c=0;c<b.length;c++){var f=a.isTableCell(b[c])?a.model.getParent(b[c]):b[c];null==f||d.get(f
2310f=new ColorDialog(this,a||"none",function(a){d.cellEditor.restoreSelection(e);b(a)},function(){d.c…
2326f=mxUtils.prompt(a,b);e.restoreSelection(c);if(null!=f&&0<f.length){var k=new Image;k.onload=funct…
2331f=e.getCellGeometry(d[c]);null!=f&&(f=f.clone(),37==a?f.width=Math.max(0,f.width-b):38==a?f.height…
2332f=e.model.getParent(d),g=e.getView().scale;c=null;1==e.getSelectionCount()&&e.model.isVertex(d)&&n…
2333f=-b:39==a?d=b:40==a&&(f=b),h.currentDx+=d*g,h.currentDy+=f*g,h.checkPreview(),h.updatePreview()),…
2334 …his.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&f.apply(this,arguments…
2337 mxUtils.bind(this,function(a,b,d,e){var f=this.actions.get(d);null!=f&&(d=function(){f.isEnabled()&…
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 …100:1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==f||f;f=mxClient.NO_FO;mxC…
2364 ….editor.graph.defaultEdgeStyle,m,!0);this.graph2.addCells(b);mxClient.NO_FO=f;m=this.graph2.getGra…
2369f){if(this.enableTooltips&&this.showTooltips&&this.currentElt!=a){null!=this.thread&&(window.clear… argument
2373f=0;f<d.length;f++){null==c[d[f]]&&(c[d[f]]=!0,e.push(d[f]));var k=d[f].replace(/\.*\d*$/,"");k!=d…
2375f=a.toLowerCase().split(" ");c=new mxDictionary;var k=(d+1)*b;a=[];for(var h=0,g=0;g<f.length;g++)…
2376 null,f)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var b=[],d={},e=0;…
2378 …Right="20px";e.appendChild(c);var f=document.createElement("img");f.setAttribute("src",Sidebar.pro…
2379f.style.position="relative";f.style.left="-18px";f.style.top="1px";f.style.background="url('"+this…
2380 ….addListener(f,"click",function(){f.getAttribute("src")==Dialog.prototype.closeImage&&(f.setAttrib…
2381 …Utils.bind(this,function(b,c,e,f){if(this.currentSearch==a){b=null!=b?b:[];m=!1;p++;this.insertSea… argument
2384f.setAttribute("src",Sidebar.prototype.searchImage),f.setAttribute("title",mxResources.get("search…
2386 Sidebar.prototype.insertSearchHint=function(a,b,d,e,c,f,k,h){0==c.length&&1==e&&(d=document.createE… argument
2495 Sidebar.prototype.createThumb=function(a,b,d,e,c,f,k){this.graph.labelsVisible=null==f||f;f=mxClien… argument
2496 ….ownerSVGElement.cloneNode(!0);this.graph.getModel().clear();mxClient.NO_FO=f;h.style.position="re…
2499 Sidebar.prototype.createItem=function(a,b,d,e,c,f,k,h){h=null!=h?h:!0;var g=document.createElement(… argument
2500f);var m=new mxRectangle(0,0,c,f);1<a.length||a[0].vertex?(e=this.createDragSource(g,this.createDr…
2502 …rUi.editor.graph,e=d.getCellStyle(a),c=[];d.model.beginUpdate();try{for(var f=d.getModel().getStyl…
2503 …odel().isEdge(a)){var l=d.getCurrentCellStyle(b[h]);d.getModel().setStyle(g,f);if("1"==mxUtils.get…
2505f,k,h,g,l){for(l=l?null:mxEvent.isTouchEvent(f)||mxEvent.isPenEvent(f)?document.elementFromPoint(m… argument
2506f)){var n=c.view.scale,p=c.view.translate,q=(h+p.x)*n,u=(g+p.y)*n,v=c.cloneCells(a);c.splitEdge(k,…
2507 …rInsert&&null!=f&&mxEvent.isMouseEvent(f)&&null!=m&&1==m.length&&window.setTimeout(function(){c.st…
2509f=this.getDropAndConnectGeometry(a,b[e],d,b),k=[];if(null!=f){var h=this.editorUi.editor.graph,g=n…
2510f.x+q+h.view.translate.x)*h.view.scale,(f.y+u+h.view.translate.y)*h.view.scale,null,null,null,func…
2511f.y-(w?u:0),w?n:null);if(h.model.isEdge(a))h.model.setTerminal(a,b[e],d==mxConstants.DIRECTION_NOR…
2512 f.x=Math.round(m.x),f.y=Math.round(m.y),h.model.setGeometry(b[e],f),h.cellsMoved(b,q,u,null,null,!0…
2513f=c.view,k=1<e.length,h=c.getCellGeometry(a);e=c.getCellGeometry(b);null!=h&&null!=e&&(e=e.clone()…
2514f.translate.x)/f.scale,h.y=(a.y-f.translate.y)/f.scale),f=c.defaultEdgeLength,c.model.isEdge(b)&&n…
2515f,e.y=h.y+h.height,e.setTerminalPoint(new mxPoint(e.x,e.y+e.height),!1)):d==mxConstants.DIRECTION_…
2516 e.width/2+f:d==mxConstants.DIRECTION_SOUTH?e.y=e.y+h.height/2+e.height/2+f:d==mxConstants.DIRECTION…
2519 Sidebar.prototype.createDragSource=function(a,b,d,e,c){function f(a,b){var c;c=mxUtils.createImage(… function
2520 …Enabled(e,m),u=mxUtils.makeDraggable(a,g,mxUtils.bind(this,function(a,c,d,g,f){null!=this.updateTh… argument
2522f(this.triangleUp,mxResources.get("connect")),H=f(this.triangleRight,mxResources.get("connect")),C…
2524 ….state&&u.currentHighlight.hide();var g=a.model.isEdge(t.cell)||null==l?m:l,f=n.getDropAndConnectG…
2525f.x-k)*d.scale+q+"px";this.previewElement.style.top=(f.y-h)*d.scale+v+"px";1==e.length&&(this.prev…
2527f=this.graph.getModel().getParent(g);this.graph.getModel().isVertex(f)&&this.graph.isCellConnectab…
2531f=mxRectangle.fromRectangle(t);if(a.model.isEdge(t.cell)){var n=t.absolutePoints;null!=L.parentNod…
2533f.add(k(b,c,new mxRectangle(t.getCenterX()-this.triangleUp.width/2,l.y-this.triangleUp.height,this…
2534f&&f.grow(10)}R=mxConstants.DIRECTION_NORTH;K==H?R=mxConstants.DIRECTION_EAST:K==C||K==M?R=mxConst…
2535f=[L,M,E,H,C,G];for(l=0;l<f.length;l++)null!=f[l].parentNode&&f[l].parentNode.removeChild(f[l]);a.…
2538 …andlesVisible(!1));z=!0}else for(f=[L,M,E,H,C,G],l=0;l<f.length;l++)null!=f[l].parentNode&&f[l].pa…
2539f=a.getModel();if(null!=g&&(null!=K||!a.isSplitTarget(g,e,d))){for(;null!=g&&!a.isValidDropTarget(…
2543 Sidebar.prototype.addClickHandler=function(a,b,d){var e=b.mouseDown,c=b.mouseMove,f=b.mouseUp,k=thi…
2544 …dragElement||"none"!=this.dragElement.style.display||g.itemClicked(d,b,c,a),f.apply(b,arguments),m…
2545f,k,h){null!=h&&null!=c&&(h+=" "+c);h=null!=h&&0<h.length?h:null!=c?c.toLowerCase():"";return this… argument
2546f,k,h){a=mxUtils.parseXml(Graph.decompress(a));var g=new mxCodec(a),l=new mxGraphModel;g.decode(a.… argument
2547 …,e,c,f,k,h,g){k=null!=k&&0<k.length?k:c.toLowerCase();return this.addEntry(k,mxUtils.bind(this,fun… argument
2548f,k,h){a=new mxCell(null!=e?e:"",new mxGeometry(0,0,b,d),a);a.geometry.setTerminalPoint(new mxPoin… argument
2551 …f(e)b.style.display="block";else if(e=!0,null!=d){a.style.cursor="wait";var f=a.innerHTML;a.innerH…
2552 "...";window.setTimeout(function(){b.style.display="block";a.style.cursor="";a.innerHTML=f;var c=mx…
2554f,k){for(var h=[],g=0;g<c.length;g++)mxUtils.bind(this,function(a,b,c){if(null==c){c=a.lastIndexOf… argument
2556f,k,h,g,l){k=null!=k?k:1;if(this.addStencilsToIndex){var m=[];if(null!=g)for(l=0;l<g.length;l++)m.… argument
2557f&&f.call(this,a);if(null!=g)for(var b=0;b<g.length;b++)g[b](a);mxStencilRegistry.loadStencilSet(d… argument
2567f){mxGraph.call(this,a,b,d,e);this.themes=c||this.defaultThemes;this.currentEdgeStyle=mxUtils.clon… argument
2569f=this.selectionCellsHandler.getHandler(d.cell);null!=f&&null!=f.bends&&0<f.bends.length&&(l=f.get…
2570f=this.model.getParent(p);if(!this.isCellSelected(f)){var q=this.getCellGeometry(d.cell),q=null!=q…
2571f),this.selectCellForEvent(f,c.getEvent()),f=this.selectionCellsHandler.getHandler(f),null!=f&&(q=
2572f.x||0<f.width)&&mxUtils.intersects(n,new mxRectangle(d.x+(f.x-f.width-1)*e+(0==f.x?d.width:0),d.y…
2574f=this.view.getEdgeStyle(c),n=f==mxEdgeStyle.EntityRelation;m||l!=mxEvent.LABEL_HANDLE||(d=l);if(n…
2575f&&(2==n.length||3==n.length&&(0==Math.round(n[0].x-n[1].x)&&0==Math.round(n[1].x-n[2].x)||0==Math…
2578f=this.model.getParent(n),!this.isCellSelected(f)))if(mxUtils.intersects(d,new mxRectangle(c.x-2,c…
2579f=this.getActualStartSize(n.cell),p=this.view.scale;(0<f.x||0<f.width)&&mxUtils.intersects(d,new m…
2582f=this.graph.view.scale,g=this.graph.getPageLayout(),k=0;k<g.width;k++)b.push(new mxRectangle(((g.…
2583 …r b=p.apply(this,arguments),c=new mxDictionary,d=[],e=0;e<b.length;e++){var f=this.graph.isTableCe…
2584 …ected(b[e])?b[e]:this.graph.getCompositeParent(b[e]);null==f||c.get(f)||(c.put(f,!0),d.push(f))}re…
2603f=-1;for(d=d||0;d<a.byteLength;d++)if(a[d]==e){f=d;break}for(d=f+1;-1<f&&d<a.byteLength&&d<f+b.len…
2607 …tributes.length;c++){var f=d[e].attributes[c];2<f.name.length&&"on"==f.name.toLowerCase().substrin…
2608 …sByTagName("svg");if(0<c.length){document.body.appendChild(b);try{var e=d=1,f=c[0].getAttribute("w…
2609 f=null!=f&&"%"!=f.charAt(f.length-1)?parseFloat(f):NaN,k=null!=k&&"%"!=k.charAt(k.length-1)?parseFl…
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 …length;c++){var d=a[c],e=d.indexOf("=");if(0<=e){var f=d.substring(0,e),d=d.substring(e+1);null==b…
2622f]=mxConstants.NONE)}}}return b};Graph.prototype.pasteStyle=function(a,b,c){c=null!=c?c:Graph.past…
2623f){this.useCssTransforms&&(a=a/this.currentScale-this.currentTranslate.x,b=b/this.currentScale-thi… argument
2624 …e,f);if(null!=h)return h;if(this.isCellVisible(k)&&(e&&this.model.isEdge(k)||d&&this.model.isVerte…
2631 …tTranslate);c.apply(this,arguments);a&&(this.scale=b,this.translate=d)};var f=mxGraph.prototype.up…
2632 new mxPoint(0,0),this.useCssTransforms=!1);f.apply(this,arguments);d&&(this.view.scale=e,this.view.…
2634 …on.hash=c}else e=window.open(a,null!=b?b:"_blank"),null==e||d||(e.opener=null)}catch(f){}return e};
2641 …lue.attributes:null,c={};c.id=a[d].id;if(null!=e)for(var f=0;f<e.length;f++)c[e[f].nodeName]=e[f].…
2642 …r(var c=this.cellRenderer.getShapesForState(e),f=0;f<c.length;f++)null!=c[f]&&null!=c[f].node&&b.p…
2644 …s,c=a.length,f=d.length;return{execute:mxUtils.bind(this,function(k,h){if(null!=a.shape){var g=[d[…
2646f=e/c;b||(f=1-f);a.shape.bounds=new mxRectangle(d.x,d.y,d.width*f,d.height);a.shape.redraw();0==e&…
2647f=0,k=mxUtils.bind(this,function(){if(f==d||this.stoppingCustomActions){window.clearInterval(c);fo…
2657 …antic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,f=/[^-+\dA-Z]/g,k=func…
2659 …A":"P",TT:12>p?"AM":"PM",Z:d?"UTC":(String(a).match(c)||[""]).pop().replace(f,""),o:(0<v?"-":"+")+…
2661 …r(var e=this.getModel(),c=e.getChildCount(e.root),f=0;f<c;f++)mxUtils.bind(this,function(c){functi… function
2663 …k,"click",function(){e.setVisible(c,!e.isVisible(c));f();null!=a&&a(c)});f()})(e.getChildAt(e.root…
2664f=match[0];if(2<f.length&&"%label%"!=f&&"%tooltip%"!=f){var k=null;if(match.index>c&&"%"==b.charAt…
2665 …=k&&null!=d&&(k=d[h])}e.push(b.substring(c,match.index)+(null!=k?k:f));c=match.index+f.length}}e.p…
2667 Graph.prototype.connectVertex=function(a,b,d,e,c,f,k,h){f=f?f:!1;if(a.geometry.relative&&this.model… argument
2668 …parent.geometry.x,m.y+=a.parent.geometry.y);f=f?null:(new mxRectangle(l+m.x*d,p+m.y*d)).grow(40*d)…
2669f,null,!0):null;var n=this.view.getState(a),q=null,u=null;if(null!=f){f=f.reverse();for(var v=0;v<
2671f=this.getCellGeometry(z);null!=f&&(null!=c&&"1"==urlParams.sketch&&(b==mxConstants.DIRECTION_NORT…
2679f=0;f<d.length;f++){var k=this.view.getState(d[f]),h=this.getCellGeometry(d[f]);if(null!=k&&null!=…
2681f=this.view.getState(c[b]),k=this.getCellGeometry(c[b]);null!=f&&null!=k&&(k=k.clone(),k.translate…
2682f=this.getCellGeometry(a),k=this.view.getState(a);null!=k&&null!=f&&(f=f.clone(),b.horizontal?f.wi…
2683 f));a=this.model.getParent(a);b=this.layoutManager.getLayout(a)}}finally{this.model.endUpdate()}}};…
2688 …ntainer)){var f=this.view.translate;this.container.scrollTop=(a.y+f.y)*c-Math.max((e-a.height*c)/2…
2713 …click=function(a,b,d){var e=d.getEvent(),c=d.getGraphX(),f=d.getGraphY(),c=this.getStateAt(a,c,f);…
2719 …t+this.triangleDown.height/2);null!=b&&b==e&&e==c&&c==a&&(a=c=e=b=null);var f=this.graph.getCellGe…
2720 …entState.cell)||this.graph.isSwimlane(a)||!(null==c||null==f||c.height<3*f.height&&c.width<3*f.wid…
2727 …,c){a=this.cloneCell(a);for(var f=0;f<d;f++){var k=this.cloneCell(b),h=this.getCellGeometry(k);nul…
2728 Graph.prototype.createTable=function(a,b,d,e,c,f,k,h,g){d=null!=d?d:60;e=null!=e?e:40;f=null!=f?f:3… argument
2729f:0),null!=k?k:"shape=table;startSize="+(null!=c?f:"0")+";container=1;collapsible=0;childLayout=ta…
2730 Graph.prototype.createCrossFunctionalSwimlane=function(a,b,d,e,c,f,k,h,g){d=null!=d?d:120;e=null!=e… argument
2731f?f:"shape=table;childLayout=tableLayout;rowLines=0;columnLines=0;startSize="+l+";"+(null==c?"fill…
2732 return 1<a?(k.geometry.y=e+f,this.createParent(c,this.createParent(k,this.createVertex(null,null,""…
2734f=e.getParent(a),k=e.getChildCells(f,!0);if(!d){var h=mxUtils.indexOf(k,a);if(h<k.length-1){var g=…
2735 null!=this.layoutManager&&this.layoutManager.executeLayout(f,!0)}}finally{e.endUpdate()}};
2736 …tParent(a),f=e.getParent(c),k=e.getChildCells(c,!0);a=mxUtils.indexOf(k,a);var h=a==k.length-1;e.b…
2737 …s.getCellGeometry(f);null!=p&&(p=p.clone(),p.width+=b,e.setGeometry(f,p))}null!=this.layoutManager…
2739f=b-e.x-e.width,k=[],e=e.x,h=0;h<d.length;h++){var g=this.graph.getCellGeometry(d[h]);null!=g&&(e+…
2740 TableLayout.prototype.layoutRow=function(a,b,d,e,c){var f=this.graph.getModel(),k=f.getChildCells(a…
2741f.setGeometry(k[m],n));var p=!0,q=c[m];null!=q&&null!=q.geo&&null!=q.rowspan&&1<q.rowspan&&(q.geo.…
2743 …e=this.graph.getCellStyle(a),c="1"==mxUtils.getValue(e,"resizeLastRow","0"),f="1"==mxUtils.getValu…
2744f?null:this.getRowLayout(m[0],l),u=[],v=b.y,t=0;t<m.length;t++)p=this.graph.getCellGeometry(m[t]),…
2749 …=function(b,c,e){var f=new mxPoint(c,e);f.type=b;d.push(f);f=null!=a.routedPoints?a.routedPoints[d…
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…
2751f||Math.abs(m.y-h.y)>f)&&(Math.abs(m.x-k.x)>f||Math.abs(m.y-k.y)>f)&&(Math.abs(m.x-I.x)>f||Math.ab…
2752f=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(a,b,c){this.routedPoint…
2756 …rguments);else{b=this.getTerminalPort(a,b,d);var e=this.getNextPoint(a,c,d),f=this.graph.isOrthogo…
2757f,l);0!=g&&(l=Math.cos(g),m=Math.sin(g),e=mxUtils.getRotatedPoint(e,l,m,k));a.setAbsoluteTerminalP…
2758 a[f]);if(null!=g){var k=(g.x-e.x)*(g.x-e.x)+(g.y-e.y)*(g.y-e.y);if(null==d||k<d)c=g,d=k}}null!=c&&(…
2762 …(mxStencilRegistry.allowEval){var f=mxUtils.load(c);null!=f&&200<=f.getStatus()&&299>=f.getStatus(…
2764f=!1;if(null==c)try{if(e){mxStencilRegistry.loadStencil(a,mxUtils.bind(this,function(c){null!=c&&n…
2765 c.documentElement&&mxStencilRegistry.parseStencilSet(c.documentElement,b,f)}};mxStencilRegistry.loa…
2766 …tribute("name"),null!=a)){var c=c.toLowerCase(),f=a.replace(/ /g,"_");d&&mxStencilRegistry.addSten…
2767 h=e.getAttribute("h"),k=null==k?80:parseInt(k,10),h=null==h?80:parseInt(h,10);b(c,f,a,k,h)}}e=e.nex…
2772 …(a.style);return a};var f=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.…
2777 …getId();for(var e=this.model.getChildCount(d),f=0;f<e;f++)this.createCellLookup([this.model.getChi…
2778f=new mxGraphModel;e.decode(a,f);a=[];var e={},g={},k=f.getChildren(this.cloneCell(f.root,this.isC…
2779 …&(a=a.concat(J));else{var J=f.getChildren(k[0]);null!=J&&(a=this.moveCells(J,b,c,!1,this.getDefaul…
2780 null,b),d=new mxDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(var f=new mxCodec,g=new mxGraphMod…
2781 c);return f.encode(g)};Graph.prototype.isSwimlane=function(a,b){if(null!=a&&this.model.getParent(a)…
2782f,k,h){null==h&&(h=this.model.getParent(a),this.isTable(h)||this.isTableRow(h))&&(h=this.getCellAt… argument
2784 …onCell(),e=null,f=[],g=mxUtils.bind(this,function(b){if(null!=this.view.getState(b)&&(this.model.i…
2785 f.length-1;else if(a&&null==d&&0<f.length||null!=e&&a&&f.length>e||!a&&0<e)return;for(var c=0;c<thi…
2786 …ar m=Graph.prototype.moveCells;Graph.prototype.moveCells=function(a,b,c,d,e,f,g){if(!d&&this.swapU… argument
2789 …;d<a.length;d++)if(this.isTableCell(a[d])){var e=this.model.getParent(a[d]),f=this.model.getParent…
2790f)?0>mxUtils.indexOf(a,f)&&0>mxUtils.indexOf(c,f)&&c.push(f):this.labelChanged(a[d],"")}else{if(th…
2792f=e[c];d.push(new mxConnectionConstraint(new mxPoint(f[0],f[1]),2<f.length?"0"!=f[2]:!0,null,3<f.l…
2794f=!0,g=0;g<b.length&&f;g++)e=e&&this.isTable(b[g]),f=f&&this.isTableRow(b[g]);return("1"!=mxUtils.…
2796 …++){var f=a[e];if(c.isEdge(f)){var g=c.getTerminal(f,!0),k=c.getTerminal(f,!1);c.setTerminal(f,k,!…
2797f,h);var J=this.view.getState(f),n=this.view.getState(g),p=this.view.getState(k);if(null!=J){var W…
2798f]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,u,[f])}d.push(f)}}else if(c.isVe…
2799 …YLE_DIRECTION,w[mxUtils.mod(mxUtils.indexOf(w,U)+(b?-1:1),w.length)],[f])}d.push(f)}}}finally{c.en…
2802 …ment.createElement("div"),e=0;e<a.length;e++)if(this.isHtmlLabel(a[e])){var f=this.convertValueToS…
2803 if(null!=f&&0<f.length){d.innerHTML=f;for(var g=d.getElementsByTagName(null!=c?c:"*"),k=0;k<g.lengt…
2804f=a.value.cloneNode(!0);Graph.translateDiagram&&null!=Graph.diagramLanguage&&f.hasAttribute("label…
2805 …ansparentState(e)){for(var f=!0,g=0;g<this.model.getChildCount(e.cell)&&f;g++)b.get(this.model.get…
2808f=this.model.getParent(a[e]);if(this.model.isEdge(f)&&0>mxUtils.indexOf(a,f))return null}for(var f
2814 …is.view.getPoint(c,d.geometry),f=this.view.scale;d.geometry.offset=new mxPoint(Math.round((a-e.x)/
2816 …s.model.addListener(mxEvent.CHANGE,d);d();var e=this.container.style.cursor,f=this.getTolerance(),…
2818 ….abs(this.startX-b.getGraphX()),d=Math.abs(this.startY-b.getGraphY());(c>f||d>f)&&this.clear()}}el…
2819 …&&Math.abs(this.scrollLeft-g.container.scrollLeft)<f&&Math.abs(this.scrollTop-g.container.scrollTo…
2820 …llLeft-g.container.scrollLeft)<f&&Math.abs(this.scrollTop-g.container.scrollTop)<f&&Math.abs(this.…
2821 d.getGraphY())<f&&c(d.getEvent()));this.clear()},activate:function(a){this.currentLink=g.getAbsolut…
2822 …[c]));a=this.model.getTopmostCells(a);var d=this.getModel(),e=this.gridSize,f=[];d.beginUpdate();t…
2823f.push(m);if(b)d.add(l,h[c]);else{var n=l.getIndex(a[c]);d.add(l,h[c],n+1)}if(this.isTable(l)){var…
2824f=0;f<d.length;f++)e.push(d[f]);document.execCommand("insertimage",!1,a);a=this.cellEditor.textare…
2826 …length){for(var c=[],d=null,e=null,f=0;f<b.length;f++)if(this.getModel().isVertex(b[f])){var g=thi…
2827 …(d-e)/(c.length-1),d=e,f=1;f<c.length-1;f++){var l=this.view.getState(this.model.getParent(c[f].ce…
2828 2)-l.origin.y,this.getModel().setGeometry(c[f].cell,m))}}finally{this.getModel().endUpdate()}}}retu…
2829f,g,k,h,l,m,n,p,q){var J=null;if(null!=q)for(J=new mxDictionary,m=0;m<q.length;m++)J.put(q[m],!0);… argument
2832 …xt;w.getAlternateText=function(a,b,c,d,e,f,g,k,h,l,m,n,r){if(null!=f&&0<this.state.fontSize)try{mx… argument
2833 f=f.innerText:(U.innerHTML=f,f=mxUtils.extractTextWithWhitespace(U.childNodes));for(var A=Math.ceil…
2835 …),e=c.model.getParent(a.cell);!(f&&null==J||d)&&null!=e;)d=null!=J?J.get(e):c.isCellSelected(e),e=…
2837f=a.createElement("text");f.setAttribute("text-anchor","middle");f.setAttribute("font-size","10px"…
2841 …d]);if(this.isTable(e)){var f=this.getCellGeometry(a[d]),g=this.getCellGeometry(e);null!=f&&null!=…
2842f=c.getParent(a),d=c.getParent(f),e=mxUtils.indexOf(c.getChildCells(f,!0),a);else this.isTableRow(…
2843 null;if(null!=m){var k=m.width,n=this.getCellGeometry(g[f]);null!=n&&(m.height=n.height)}c.add(g[f]…
2844 …ackLayout"==this.getCurrentCellStyle(e).childLayout)var d=e,f=c.getChildCells(d,!0),e=f[b?0:f.leng…
2845f=c.getChildCells(d,!0),e=f[b?0:f.length-1];var g=c.getChildCells(e,!0),k=d.getIndex(e),e=c.cloneC…
2846 …w(d)||(d=e[0]);var f=b.getChildCells(d,!0);if(1>=f.length)b.remove(c);else{var g=f.length-1;this.i…
2847 …his.isTableRow(d)||(d=e[e.length-1]);b.remove(d);a=0;var f=this.getCellGeometry(d);null!=f&&(a=f.h…
2848 …c.rows[0].cells,e=0,f=0;f<d.length;f++)var g=d[f].getAttribute("colspan"),e=e+(null!=g?parseInt(g)…
2853f,g){a==mxEvent.MOUSE_DOWN&&(f=this.updateMouseEvent(f),b=this.isCellSelected(f.getCell()),c=this.… argument
2854f&&(c&&null==e.getCell()&&this.isSelectionEmpty()||b&&this.isCellSelected(e.getCell())));f=!b||f?n… argument
2864 …,e=mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),f=(mxUtils.getValue(a.…
2866 …is.textarea.style.textDecoration=k.join(" ");this.textarea.style.fontWeight=f?"bold":"normal";this…
2878 …f(null!=e&&(c=this.graph.getCellStyle(d),"stackLayout"==c.childLayout)){var f=parseFloat(mxUtils.g…
2879f:e.width=b.width+g.x+g.width+2*f;this.graph.model.setGeometry(d,e)}}};var C=mxSelectionCellsHandl…
2885 …state.cell)){var b=this.graph,c=b.model,d=this.state,e=this.selectionBorder,f=this;null==a&&(a=[])…
2888 …ute=function(a){if(0!=n)b.setTableColumnWidth(this.state.cell,n,p);else if(!f.blockDelayedSelectio…
2890 …bleRowHeight(this.state.cell,h,!mxEvent.isShiftDown(a.getEvent()));else if(!f.blockDelayedSelectio…
2895 …,f=e.getCenterX(),g=e.getCenterY();if(Math.abs(this.state.x-f)<e.width/2||Math.abs(this.state.y-g)…
2899 …ate,f=this.graph.view.scale,g=this.roundLength(d.x/f-e.x),e=this.roundLength(d.y/f-e.y),f=this.gra…
2912 ….display,d=null,e=null,f=null,g=null;null!=this.first&&null!=this.currentX&&null!=this.currentY&&(…
2913 …ltDown(b.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g),this.graph.isGridEnabled()||(Math…
2914f,g),this.graph.model.setGeometry(k[c],l))}}finally{this.graph.model.endUpdate()}}else f=new mxRec…
2915 c,g=this.graph.tolerance;if(null!=this.div||Math.abs(e)>g||Math.abs(f)>g)null==this.div&&(this.div=…
2966 …!0,!c.relative||null!=c.offset)){var f=c.relative?c.offset.x:c.x,c=c.relative?c.offset.y:c.y;null=…
2967 …ke&&this.isStrokeState(b),f=mxUtils.getValue(b.style,mxConstants.STYLE_SHAPE,null),a.containsImage…
2974 …etSelectionState(),f=c.containsLabel,k=null,h=null,g=mxUtils.bind(this,function(a,c,d,e){var g=mxU…
2975 …edown",mxUtils.bind(this,function(a){a.preventDefault()}));(e&&null==k||d==(f?this.labelIndex:b.is…
2979f||0==c.cells.length?"50%":"33.3%";var m=e.cloneNode(!1),p=m.cloneNode(!1);m.style.backgroundColor…
2982f,k,h){f=null!=f?f:"";h=null!=h?h:!1;var g=this.editorUi,l=g.editor.graph;e=null!=e?e:1;c=null!=c?… argument
2984 q+f;mxEvent.consume(p)});k&&l.cellEditor.isContentEditing()&&(mxEvent.addListener(a,"mousedown",fun…
2986 BaseFormatPanel.prototype.createStepper=function(a,b,d,e,c,f,k){d=null!=d?d:1;e=null!=e?e:9;var h=1… argument
2987f||"2");var e=k?parseFloat(a.value):parseInt(a.value);isNaN(e)||(a.value=e-(mxEvent.isShiftDown(c)…
2989f=document.createElement("div");f.style.padding="3px 0px 3px 0px";f.style.whiteSpace="nowrap";f.st…
2990f,"click",function(a){if("disabled"!=k.getAttribute("disabled")){a=mxEvent.getSource(a);if(a==f||a…
2991f,k,h,g){var l=this.editorUi,m=l.editor.graph,n=this;e=null!=e?"null"==e?null:e:1;c=null!=c?"null"… argument
2993 BaseFormatPanel.prototype.createColorOption=function(a,b,d,e,c,f,k,h){var g=document.createElement(… argument
2995 …aultChecked=!1,l.checked=!1);q.style.display=l.checked||k?"":"none";null!=f&&f("null"==a?null:a);c…
2998 BaseFormatPanel.prototype.createCellColorOption=function(a,b,d,e,c,f){var k=this.editorUi,h=k.edito… argument
2999 ….CHANGE,this.listener)},destroy:function(){h.getModel().removeListener(this.listener)}},e,null,f)};
3003f,k,h,g){k=null!=k?k:0;b=document.createElement("input");b.style.position="absolute";b.style.textA… argument
3004f=this.editorUi.editor.graph,k=this.createPanel();k.style.paddingTop="10px";k.style.paddingBottom=…
3005 f.setCellStyles(b,c,d),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values"…
3006 …ull,null,!0),f.container.focus(),mxEvent.consume(a))});f.getModel().addListener(mxEvent.CHANGE,g);…
3014f=d.isTable(e.vertices[0])||d.isTableRow(e.vertices[0])||d.isTableCell(e.vertices[0]),k=d.isStack(…
3015 …s[0]):d.deleteTableColumn(e.vertices[0])}catch(l){b.handleError(l)}}),c)]));f&&(g=g.concat([b.tool…
3021f=0,k=null;a.style.paddingTop="8px";a.style.paddingBottom="6px";1<d.getSelectionCount()?(k=mxUtils…
3022 …le.marginBottom="2px",a.appendChild(k),f++);if(d.getModel().isVertex(d.getSelectionCell())&&(0<f&&…
3023f++,null!=b.copiedSize&&0<e.vertices.length)){var h=mxUtils.button(mxResources.get("pasteSize"),fu…
3024 "104px";h.style.marginBottom="2px"}0<d.getSelectionCount()&&(0<f&&(mxUtils.br(a),f=0),k=mxUtils.but…
3025f++,null!=b.copiedValue&&0<e.cells.length&&(h=mxUtils.button(mxResources.get("pasteData"),function…
3026f&&mxUtils.br(a),k=mxUtils.button(mxResources.get("removeFromGroup"),function(a){b.actions.get("re…
3027 …yle.width="210px",k.style.marginBottom="2px",a.appendChild(k),f++);1==e.cells.length&&(0<f&&mxUtil…
3028f++,k=mxUtils.button(mxResources.get("editLink"),mxUtils.bind(this,function(a){this.editorUi.actio…
3030 …sources.get("center"),function(){b.alignCells(mxConstants.ALIGN_CENTER)},d),f=this.editorUi.toolba…
3031 …on(){b.alignCells(mxConstants.ALIGN_BOTTOM)},d);this.styleButtons([e,c,f,k,h,g]);f.style.marginRig…
3036 …var f=null,k=null,h=null;!e.rotatable||e.table||e.row||e.cell?a.style.paddingTop="8px":(mxUtils.wr…
3037 …ppendChild(h),null!=f&&(h.style.marginTop="8px"));if(null!=f){var g=mxUtils.bind(this,function(a,b…
3038 …_ROTATION,0)),f.value=isNaN(a)?"":a+"°"}),k=this.installInputHandler(f,mxConstants.STYLE_ROTATION,…
3042 …etry=function(a){var b=this,d=this.editorUi,e=d.editor.graph,c=e.getModel(),f=this.format.getSelec…
3044 …r(u,"click",function(){d.actions.get("autosize").funct()});k.appendChild(u);f.row?(p.style.visibil…
3045 …TYLE_ASPECT,null,"fixed","null");v.style.width="210px";h.appendChild(v);f.cell||f.row?u.style.visi…
3046 …&&(a.width=Math.round(a.width*c*100/a.height)/100),a.height=c)});(f.resizable||f.row||f.cell)&&a.a…
3047 …dLabel(w,mxResources.get("top"),16);var E=mxUtils.bind(this,function(a,b,c){f=this.format.getSelec…
3048f.containsLabel||f.vertices.length!=e.getSelectionCount()||null==f.width||null==f.height)k.style.d…
3049f.y)+(""==f.y?"":" "+this.getUnit())}else w.style.display="none"});this.addKeyHandler(x,E);this.ad…
3050f.vertices[0]))){var H=e.getCellGeometry(f.vertices[0]);null!=H&&H.relative&&(h=mxUtils.button(mxR…
3051 …eFloat(a.value);if(isNaN(k))a.value=c+" "+f.getUnit();else if(k!=c){e.getModel().beginUpdate();try…
3052 k;a.value=k+" "+f.getUnit()}}mxEvent.consume(d)}var e=this.editorUi.editor.graph,c=null,f=this;mxEv…
3053f.format.getSelectionState().cells,l=0;l<g.length;l++)if(e.getModel().isEdge(g[l])){var m=e.getCel…
3055f=document.createElement("div");f.style.position="absolute";f.style.width="70px";f.style.marginTop…
3056f=this.format.getSelectionState().cells;d.setCellStyles("width",c,f);b.fireEvent(new mxEventObject…
3057 f.style.position="absolute";f.style.width="70px";f.style.marginTop="0px";mxUtils.write(f,mxResource…
3058 …nt("div");f.style.position="absolute";f.style.width="70px";f.style.marginTop="0px";mxUtils.write(f argument
3059f){e=this.format.getSelectionState();a=e.cells[0];if("link"==e.style.shape||"flexArrow"==e.style.s…
3060 null==d.model.getTerminal(a,!1)?(t.value=f.targetPoint.x,w.value=f.targetPoint.y):v.style.display="…
3062f=this.createTitle(mxResources.get("font"));f.style.paddingLeft="14px";f.style.paddingTop="10px";f
3063 f.style.position="relative";f.style.marginLeft="-2px";f.style.borderWidth="0px";f.className="geTool…
3064f);k=this.createPanel();k.style.marginTop="8px";k.style.borderTop="1px solid #c0c0c0";k.style.padd…
3066 var n=f.cloneNode(!1);n.style.marginLeft="-3px";n.style.paddingBottom="0px";var p=function(a){retur…
3074 …ppendChild(p)):(l[2].style.marginRight="12px",v.style.marginRight="12px");n=f.cloneNode(!1);n.styl…
3077 …;mxUtils.write(K,mxResources.get(t[p]));M.appendChild(K)}n.appendChild(M);t=f.cloneNode(!1);t.styl…
3081 ….textarea&&b!=e.cellEditor.textarea&&e.cellEditor.textarea.contains(b)&&(g||f.containsNode(b,!0))&…
3082 …stants.STYLE_FONTSIZE],"values",[a],"cells",c.cells))},f=window.getSelection(),g=0<f.rangeCount?f.…
3083 …n?k=document.selection.createRange().parentElement():(f=window.getSelection(),0<f.rangeCount&&(k=f
3087 f=[],g=0;g<b.length;g++)f.push({node:b[g],color:b[g].getAttribute("color")});document.execCommand("…
3088 f.firstChild){a[g].parentNode.insertBefore(f,a[g]);for(b=f.firstChild;null!=b;){var k=b.nextSibling…
3095 …llEditor.textarea&&(la=e.cellEditor.saveSelection())});a.value="120 %"}));k=f.cloneNode(!1);k.styl…
3096 …createTitle(mxResources.get("insert")));h.appendChild(k);a.appendChild(h);h=f.cloneNode(!1);h.styl…
3099 …Child(this.createTitle(mxResources.get("table")));k.appendChild(h);f=f.cloneNode(!1);f.style.paddi…
3101 "1"),c.style.border="1px solid "+b,c.style.borderCollapse="collapse")})}}),f),this.editorUi.toolbar…
3102 …Color=null});c.style.backgroundColor=null==b||b==mxConstants.NONE?"":b})}}),f),this.editorUi.toolb…
3103f),this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),function(){null!=y&&y.s…
3110 …el().removeListener(V)}});V();if(e.cellEditor.isContentEditing()){var qa=!1,f=function(){qa||(qa=!… function
3111 ….length+1)return a.substring(a.length-b.length-1,a.length)=="-"+b}return!1},f=function(b){if(null!… function
3113f("B")||f("STRONG")),b(l[1],"italic"==m.fontStyle||f("I")||f("EM")),b(l[2],f("U")),b(H,f("SUP")),b…
3114 b(u,f==mxConstants.ALIGN_CENTER),b(v,f==mxConstants.ALIGN_RIGHT))),y=e.getParentByName(a,"TABLE",e.…
3116f);mxEvent.addListener(e.cellEditor.textarea,"input",f);mxEvent.addListener(e.cellEditor.textarea,…
3117 "keyup",f);this.listeners.push({destroy:function(){}});f()}return a};StyleFormatPanel=function(a,b,…
3121 …mage.substring(b.style.image.indexOf(",")+1),f=window.atob?atob(c):Base64.decode(c,!0),k=mxUtils.p…
3123 StyleFormatPanel.prototype.addSvgRule=function(a,b,d,e,c,f,k){var h=this.editorUi.editor.graph;k.te… argument
3124 10).toString(16)).slice(-2):""},mxUtils.bind(this,function(a){c[f].style[k]=a;a="";for(var b=0;b<c.…
3128 …le.border="1px solid rgb(160, 160, 160)";c.style.boxSizing="border-box";var f=c.cloneNode(!1);mxEv…
3129 function(a){mxEvent.consume(a)});mxEvent.addListener(f,"click",function(a){mxEvent.consume(a)});var…
3131 …l].val),mxUtils.write(m,Editor.roughFillStyles[l].dispName),f.appendChild(m);k.appendChild(f);var …
3132f.value=d;a.style.display=e.fill?"":"none";b=mxUtils.getValue(e.style,mxConstants.STYLE_FILLCOLOR,…
3133 …alues",[c.value],"cells",e.cells));mxEvent.consume(a)});mxEvent.addListener(f,"change",function(a)…
3134 f.value,e.cells);b.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[f.valu…
3136f.style,mxConstants.STYLE_STROKEWIDTH,1)&&(c.setCellStyles(mxConstants.STYLE_STROKEWIDTH,b,f.cells…
3137f.cells),e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"valu…
3139f.cells);e.fireEvent(new mxEventObject("styleChanged","keys",b,"values",d,"cells",f.cells))}finall…
3140 …Option(g,n,"default",null,mxUtils.bind(this,function(a){c.setCellStyles(n,a,f.cells)}),c.shapeFore…
3149 function(a){"arrow"!=f.style.shape&&(this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ED…
3152 …c",null,!0).setAttribute("title",mxResources.get("isometric")),"connector"==f.style.shape&&this.ed…
3153 …,mxUtils.bind(this,function(a){if("connector"==f.style.shape||"flexArrow"==f.style.shape||"filledE…
3154 …"none"));b.firstChild.firstChild.appendChild(c);"connector"==f.style.shape||"filledEdge"==f.style.…
3166 …,mxUtils.bind(this,function(a){if("connector"==f.style.shape||"flexArrow"==f.style.shape||"filledE…
3167 …"none"));b.firstChild.firstChild.appendChild(c);"connector"==f.style.shape||"filledEdge"==f.style.…
3185f.edges.length==f.cells.length?(a.appendChild(g),a.appendChild(l)):f.vertices.length==f.cells.leng…
3186f=this.format.getSelectionState();mxUtils.getValue(f.style,n,null);if(d||document.activeElement!=t…
3187f.style.shape||"filledEdge"==f.style.shape?"":"hidden";"1"==mxUtils.getValue(f.style,mxConstants.S…
3188f.style,mxConstants.STYLE_EDGE,null),"1"==mxUtils.getValue(f.style,mxConstants.STYLE_NOEDGESTYLE,n…
3189f.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalelbow":"geSprite-horizontalelbow"):"isomet…
3190f.style.shape?"geSprite geSprite-arrow":"arrow"==f.style.shape?"geSprite geSprite-simplearrow":"ge…
3191f.style,"endFill","1"),H,"end");null!=b&&null!=c&&("arrow"==f.style.shape?(b.className="geSprite g…
3192f.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),Z.value=isNaN(b)?"":b+" pt";i…
3193 …lue(f.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),M.value=isNaN(b)?"":b+" pt";if(d||docum…
3196 …rite(c,mxResources.get("lineJumps"));a.appendChild(c);var f=document.createElement("select");f.sty…
3197f.style.height="21px";f.style.padding="0px";f.style.marginTop="-2px";f.style.boxSizing="border-box…
3198 f.value,b.cells),d.fireEvent(new mxEventObject("styleChanged","keys",["jumpStyle"],"values",[f.valu…
3200 …e.tableLayout="fixed";var c=document.createElement("tbody"),f=document.createElement("tr");f.style…
3201 h.style.paddingLeft="8px";f.appendChild(k);f.appendChild(h);c.appendChild(f);e.appendChild(c);a.app…
3205 …mal";var c="1"==d.currentVertexStyle.sketch&&"1"==d.currentEdgeStyle.sketch,f="1"==d.currentVertex…
3207 …hild(this.createOption(mxResources.get("rounded"),function(){return f},function(a){(f=a)?(d.curren…
3208 …or"],u=mxUtils.bind(this,function(a,b){var c=d.getVerticesAndEdges();e.beginUpdate();try{for(var f=
3209f<c.length;f++){var g=d.getCellStyle(c[f]);null!=g.labelBackgroundColor&&d.updateCellStyles("label…
3210 …a,b,c,e,f){if(null!=a){null!=c&&null!=b.labelBackgroundColor&&(e=null!=e?e.background:null,f=null!… argument
3211 …lipsis";n.style.maxWidth="90px";p.appendChild(n);var w=mxUtils.bind(this,function(a,b,c,f,g){var k= argument
3213 …Edge(g)&&(l=d.stylesheet.getDefaultEdgeStyle(),m=c);v(k,q,l);t(a,k,g,f,h);t(m,k,g,f,h);null!=k&&(k…
3216 …le.sketch="0",d.currentVertexStyle.sketch="0");d.currentVertexStyle.rounded=f?"1":"0";d.currentEdg…
3217f=d.view.gridColor;d.background=null!=l?l.background:null;d.view.gridColor=null!=l&&null!=l.gridCo…
3231f.value):parseInt(f.value),b=d.fromUnit(Math.max(d.inUnit(1),isNaN(b)?d.inUnit(10):b));b!=c.getGri…
3232f.style.border="1px solid rgb(160, 160, 160)";f.style.borderRadius="4px";f.style.boxSizing="border…
3233f,"blur",b);mxEvent.addListener(f,"change",b);f.style.right="78px";k.style.marginTop="-17px";k.sty…
3234 …tener)},destroy:function(){e.removeListener(this.listener)}});h.appendChild(f);h.appendChild(k);a.…
3239 …function e(){mxActor.call(this)}function c(){mxCylinder.call(this)}function f(){mxCylinder.call(th… function
3245 …nnector.call(this)}function Ra(a,b,c,d,e,f,g,k,h,l){g+=h;var r=d.clone();d.x-=e*(2*g+h);d.y-=f*(2*… argument
3246 e-g,r.y-f-g,2*g,2*g);l?a.fillAndStroke():a.stroke()}}mxUtils.extend(a,mxSwimlane);a.prototype.getLa…
3247f=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION…
3248 …0),colspans:[]};h.push(F);if(null!=k){F.y=k.y+k.height;a.begin();a.moveTo(b+f.x,c+k.y);for(var B=0…
3249f.width,c+k.y),a.moveTo(b+k.x+k.width+f.x,c+k.y),B=0);a.lineTo(b+d-f.width,c+k.y);a.end();a.stroke…
3250f.height),a.moveTo(b+k.x+f.x,c+F.y),g=0);a.lineTo(b+k.x+f.x,c+e-f.height);a.end();a.stroke()}}};mx…
3251 ….fillAndStroke();this.outline||(a.setShadow(!1),0!=f&&(a.setFillAlpha(Math.abs(f)),a.setFillColor(…
3254 …c.prototype.size=20;c.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(d,e/(.5+Pa));f?(a.move… argument
3255f,mxCylinder);f.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(e/2,Math.round(e/8)+this.str… argument
3256f||(a.moveTo(0,b),a.curveTo(0,-b/3,d,-b/3,d,b),a.lineTo(d,e-b),a.curveTo(d,e+b/3,0,e+b/3,0,e-b),a.…
3257f=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))))…
3261 …"size",this.size)))),f=mxUtils.getValue(this.style,"lid",!0);a.translate(b,c);0==r?(a.rect(0,0,d,e…
3262 f&&(a.begin(),a.moveTo(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()))};…
3263 …eight))));var r=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),f=mxUtils.getValue(thi…
3264f||(k=0);a.begin();"left"==r?(a.moveTo(Math.max(k,0),c),a.lineTo(Math.max(k,0),0),a.lineTo(b,0),a.…
3267f=mxUtils.getValue(this.style,"absoluteArcSize",!1);b=parseFloat(mxUtils.getValue(this.style,"arcS…
3282f){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=e;this.lastY=f};H.prototype.arcTo=… argument
3283 …return}var f=Math.round(r/10),g=this.defaultVariation;5>f&&(f=5,g/=3);for(var k=c(a-this.lastX)*d/
3290f=parseFloat(mxUtils.getValue(this.style,"size",this.size)),f=r?Math.max(0,Math.min(d,f)):d*Math.m…
3292 …,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var f=d*Math.max(0,Math.mi…
3293 …int(d,0),new mxPoint(d,e-c),new mxPoint(Math.min(d,f+g),e-c),new mxPoint(r,e),new mxPoint(Math.max…
3296 …nction(a,b,c,d,e){var f=Math.min(d/5,e/5)+1;a.begin();a.moveTo(b+d/2,c+f);a.lineTo(b+d/2,c+e-f);a.…
3297 …,e){Ua.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var f=2*Math.max(2,this.st…
3298f;c+=f;d-=2*f;e-=2*f;0<d&&0<e&&(a.setShadow(!1),Ua.apply(this,[a,b,c,d,e]))}};mxUtils.extend(R,mxR…
3299f;c+=f;d-=2*f;e-=2*f;0<d&&0<e&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}a.…
3300f+"ArcSpacing"];null!=m&&(m*=this.getArcSize(d+this.strokewidth,e+this.strokewidth),D+=m,l+=m);var…
3301 R);mxUtils.extend(K,mxCylinder);K.prototype.redrawPath=function(a,b,c,d,e,f){f?(a.moveTo(0,0),a.lin… argument
3305 …gle(a.x,a.y,a.width,b)};Q.prototype.paintBackground=function(a,b,c,d,e){var f=Math.max(0,Math.min(…
3306f):(r=this.state.view.graph.cellRenderer.getShape(r),null!=r&&r!=Q&&(r=new r,r.apply(this.state),a… argument
3307 f))};mxCellRenderer.registerShape("umlLifeline",Q);mxUtils.extend(U,mxShape);U.prototype.width=60;U…
3308 "width",this.width)))),g=Math.min(e,Math.max(1.5*f,parseFloat(mxUtils.getValue(this.style,"height",…
3309 a.moveTo(b,c);a.lineTo(b+r,c);a.lineTo(b+r,c+Math.max(0,g-1.5*f));a.lineTo(b+Math.max(0,r-f),c+g);a…
3313f=e?w.prototype.fixedSize:w.prototype.size;null!=b&&(f=mxUtils.getValue(b.style,"size",f));e&&(f*=…
3314 …int(r,g+h-e),new mxPoint(r,g)]):(e=e?Math.max(0,Math.min(.5*k,f)):k*Math.max(0,Math.min(1,f)),g=[n…
3315f=e?x.prototype.fixedSize:x.prototype.size;null!=b&&(f=mxUtils.getValue(b.style,"size",f));e&&(f*=…
3316f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(r,g),new mxPoint(r+k,g),new mxPoint(r+k-e,g+h),new …
3317 …ue(b.style,"fixedSize","0"),f=e?I.prototype.fixedSize:I.prototype.size;null!=b&&(f=mxUtils.getValu…
3318f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(r,g),new mxPoint(r+k-e,g),new mxPoint(r+k,a),new mx…
3319f)):h*Math.max(0,Math.min(1,f)),g=[new mxPoint(r,g+e),new mxPoint(l,g),new mxPoint(r+k,g+e),new mx…
3320 …ue(b.style,"fixedSize","0"),f=e?L.prototype.fixedSize:L.prototype.size;null!=b&&(f=mxUtils.getValu…
3321f)):h*Math.max(0,Math.min(1,f)),g=[new mxPoint(l,g),new mxPoint(r+k,g+e),new mxPoint(r+k,g+h-e),ne…
3322 …var f=parseFloat(mxUtils.getValue(this.style,"size",this.size));a.translate(b,c);a.ellipse((d-f)/2…
3323f=parseFloat(mxUtils.getValue(this.style,"size",this.size)),g=parseFloat(mxUtils.getValue(this.sty…
3324 …(a,b,c,d,e){var f=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;a.t…
3325f){var g=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));b=parseFloat(mxUtil… argument
3326 …h=32;oa.prototype.jettyHeight=12;oa.prototype.redrawPath=function(a,b,c,d,e,f){var g=parseFloat(mx… argument
3327 "jettyHeight",this.jettyHeight));c=g/2;var g=c+g/2,r=.3*e-b/2,k=.7*e-b/2;f?(a.moveTo(c,r),a.lineTo(…
3328f=d/2,g=e/2,r=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;a.…
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…
3332 …);var f=0;if(this.isRounded)var g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxCons…
3333f,Math.min(d,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));f=Math.max(f,Math.min(e,parse…
3334f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints…
3335 …",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var f=mxUtils.getValue(thi…
3336f,!0);a.end()};mxCellRenderer.registerShape("tee",ia);mxUtils.extend(V,mxActor);V.prototype.arrowW…
3337f)/2;var f=c+f,g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2…
3338f=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",V.prototype.arrowWid…
3339 f),new mxPoint(b,e)],this.isRounded,g,!0);a.end()};mxCellRenderer.registerShape("doubleArrow",qa);m…
3346f=c+e-5;a.begin();a.moveTo(b,c);a.lineTo(b,c+e);a.moveTo(b,f);a.lineTo(b+10,f-5);a.moveTo(b,f);a.l…
3347 …nstants.NONE||(a.pointerEvents=!1);a.rect(b,c,d,e);a.fill();a.pointerEvents=f;a.setStrokeColor(thi…
3349 …th.min(e,d);var f=Math.max(0,Math.min(b,b*parseFloat(mxUtils.getValue(this.style,"size",this.size)…
3350 0);a.lineTo(f,0);a.lineTo(f,b);a.lineTo(d,b);a.lineTo(d,c);a.lineTo(f,c);a.lineTo(f,e);a.lineTo(g,e…
3356f){var g=f&&f.rectStyle?f.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),k=f&&f argument
3357f&&f.indent?f.indent:Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"indent",this.in…
3358f&&f.left?f.left:mxUtils.getValue(this.style,"left",!0),u=f&&f.topLeftStyle?f.topLeftStyle:mxUtils…
3359f&&f.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var w=f&&f.strokeWidth?f.st…
3360f=N.prototype;a.setDashed(m);n&&""!=n&&a.setDashPattern(n);a.setStrokeWidth(w);h=Math.min(.5*e,.5*…
3361f.paintBottom(a,b,c,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.…
3362 f.paintNEInner(a,b,c,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…
3363f.paintBottomInner(a,b,c,d,e,g,F,h,l,A,B)),a.stroke()):(a.begin(),f.moveSE(a,b,c,d,e,g,F,h,A),f.pa…
3364f.paintLeftInner(a,b,c,d,e,g,v,h,l,B,q)),a.stroke(),a.begin(),f.moveNE(a,b,c,d,e,g,t,h,D),f.paintR…
3365f.paintRightInner(a,b,c,d,e,g,t,h,l,D,A),a.close(),a.fillAndStroke()):!D&&A&&B&&!q?"frame"!=r?(a.b…
3366f.paintBottom(a,b,c,d,e,g,v,h,q),f.lineSWInner(a,b,c,d,e,g,v,h,l,q),f.paintBottomInner(a,b,c,d,e,g…
3367f.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.paintSEInner(a,b,c…
3368f.paintSEInner(a,b,c,d,e,g,F,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,D,A),a.close(),a.fillAndStro…
3369f.paintLeft(a,b,c,d,e,g,u,h,D),f.paintNW(a,b,c,d,e,g,u,h,q),f.paintTop(a,b,c,d,e,g,t,h,A),f.lineNE…
3370 f.paintBottom(a,b,c,d,e,g,v,h,q),"double"==r&&(f.moveSWInner(a,b,c,d,e,g,v,h,l,q),f.paintBottomInne…
3371f.moveSE(a,b,c,d,e,g,F,h,A),f.paintBottom(a,b,c,d,e,g,v,h,q),f.paintSW(a,b,c,d,e,g,v,h,B),f.paintL…
3372f.paintSW(a,b,c,d,e,g,v,h,B),f.paintLeft(a,b,c,d,e,g,u,h,D),f.paintNW(a,b,c,d,e,g,u,h,q),f.paintTo…
3373f.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.paintRightInner…
3374f.moveSW(a,b,c,d,e,g,v,h,B),f.paintLeft(a,b,c,d,e,g,u,h,D),f.paintNW(a,b,c,d,e,g,u,h,q),f.paintTop…
3375f.paintLeft(a,b,c,d,e,g,u,h,D),f.paintNW(a,b,c,d,e,g,u,h,q),f.paintTop(a,b,c,d,e,g,t,h,A),f.paintN…
3376f.paintNE(a,b,c,d,e,g,t,h,D),f.paintRight(a,b,c,d,e,g,F,h,B),f.paintSE(a,b,c,d,e,g,F,h,A),f.paintB…
3377f.paintSE(a,b,c,d,e,g,F,h,A),f.paintBottom(a,b,c,d,e,g,v,h,q),f.lineSWInner(a,b,c,d,e,g,v,h,l,q),f
3378f.paintSE(a,b,c,d,e,g,F,h,A),f.paintBottom(a,b,c,d,e,g,v,h,q),f.paintSW(a,b,c,d,e,g,v,h,B),f.paint…
3379f.moveNW(a,b,c,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…
3380f.paintTopInner(a,b,c,d,e,g,u,h,l,q,D),f.paintNWInner(a,b,c,d,e,g,u,h,l),f.paintLeftInner(a,b,c,d,…
3381f.moveNE(a,b,c,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,…
3382f.moveSE(a,b,c,d,e,g,F,h,A),f.paintBottom(a,b,c,d,e,g,v,h,q),f.lineSWInner(a,b,c,d,e,g,v,h,l,q),f.…
3383f.paintLeftInner(a,b,c,d,e,g,v,h,l,B,q),a.close(),a.fillAndStroke());a.begin();f.paintFolds(a,b,c,… argument
3384f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.moveTo(0,e):a.moveTo(h,e)};N.prototype.paint… argument
3385f||!k?a.lineTo(d,0):a.lineTo(d-h,0)};N.prototype.paintNE=function(a,b,c,d,e,f,g,h,k){if(k)if("roun… argument
3386f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.lineTo(0,0):a.lineTo(0,h)};N.prototype.paint… argument
3387f||!k?a.lineTo(0,e):a.lineTo(h,e)};N.prototype.paintSW=function(a,b,c,d,e,f,g,h,k){if(k)if("rounde… argument
3388 f)a.arcTo(h-.5*k,h-.5*k,0,0,0,k,.5*k+h);else if("invRound"==g||"default"==g&&"invRound"==f)a.arcTo(… argument
3389f,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);else … argument
3390f?a.lineTo(d-k,k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.l… argument
3391f,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);els… argument
3392f||!l?a.lineTo(d-k,e-k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"=… argument
3393f)a.lineTo(h+.5*k,e-k);else if("fold"==g||"default"==g&&"fold"==f)a.lineTo(k+h,e-h-k),a.lineTo(k+h… argument
3394f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f?a.lineTo(k,e-k):"rounded"==g||"default"==g&&"r… argument
3395f||"fold"==g||"default"==g&&"fold"==f)&&a.moveTo(d-k,e-h-k):a.moveTo(d-k,e)};N.prototype.lineSEInn… argument
3396f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f||l?a.moveTo(d-k,k):"rounded"==g||"default"==g&… argument
3397f||"fold"==g||"default"==g&&"fold"==f)&&a.lineTo(d-k,h+k):a.lineTo(d,k)};N.prototype.moveNWInner=f… argument
3398f,g,h,k,l,m){l||m?!l&&m?a.lineTo(k,0):l&&!m?a.lineTo(0,k):"square"==g||"default"==g&&"square"==f?a… argument
3399f)&&n&&p&&(a.moveTo(d-m,0),a.lineTo(d-m,m),a.lineTo(d,m)),("fold"==k||"default"==k&&"fold"==f)&&q&…
3400f=a.state.fixDash;wa.prototype.origPaintEdgeShape.apply(this,[a,d,c]);3<=a.state.strokeWidth&&(d=m…
3401f,g,h,k,l){var m=e*(g+k+1),r=f*(g+k+1);return function(){a.begin();a.moveTo(d.x-m/2-r/2,d.y-r/2+m/… argument
3402f*(g+k+1),n=d.x+m/2,p=d.y+r/2;d.x-=m;d.y-=r;return function(){a.begin();a.moveTo(n-m/2-r/2,p-r/2+m… argument
3403f,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(){r.… argument
3404f,g,h,k,l){b=e*k*1.118;c=f*k*1.118;e*=g+k;f*=g+k;var m=d.clone();m.x-=b;m.y-=c;d.x+=1*-e-b;d.y+=1*… argument
3405f,g,h,k,l,m){f*=h+l;g*=h+l;var r=e.clone();return function(){b.begin();b.moveTo(r.x,r.y);k?b.lineT… argument
3406f=e.length-1;b=a.view.translate;var g=a.view.scale,h=c?e[0]:e[f],e=c?e[1]:e[f-1],f=e.x-h.x,k=e.y-h… argument
3409 …(d));return e}},Ia=function(a,b,c,d,e){c=null!=c?c:.5;return function(f){var g=[T(f,["size"],funct… argument
3410f.style,mxConstants.STYLE_ROUNDED,!1)&&g.push(ra(f));return g}},Ta=function(a,b,c){a=null!=a?a:.5;…
3413f,g){var h=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);h.execute=function(… argument
3414 …onstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.vi… argument
3415f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)},funct… argument
3416 …tants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getStartArrowWidth()-a.shape.strokewidth)*a… argument
3417f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)},funct… argument
3419f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxCon… argument
3421f){b=(a.shape.getEndArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,m… argument
3425 …Cells(d,!0),e=[],f=0;f<d.length;f++)d[f]!=a.cell&&b.isSwimlane(d[f])&&b.getSwimlaneDirection(b.get…
3447 …r=function(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…
3493 …n(d,d*parseFloat(mxUtils.getValue(this.style,"size",this.size)))),d=(c-e)/2,f=d+e,g=(b-e)/2,e=g+e;…
3495f));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b+e),d));a.push(new mxConnectio…
3496f));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,g,f));a.push(new mxConnectionConstr…
3499 …finally{c.getModel().endUpdate()}}}var d=this.editorUi,e=d.editor,c=e.graph,f=function(){return Ac… function
3502f;this.addAction("save",function(){d.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=f;this…
3503 320,240,!0,!0)}).isEnabled=f;this.addAction("print...",function(){d.showDialog((new PrintDialog(d))…
3505f=e.x,g=e.y,e=null;if(1==a.length&&b){var h=c.getCellGeometry(a[0]);null!=h&&(e=h.getTerminalPoint…
3508 …lt+Shift+B");this.addAction("pasteData",function(a,b){function e(b,d){var e=f.getValue(b);d=b.clon…
3509f.setValue(b,d)}a=null!=b?b:a;var f=c.getModel();if(c.isEnabled()&&!c.isSelectionEmpty()&&null!=d.…
3519f;this.put("insertLink",new Action(mxResources.get("link")+"...",function(){c.isEnabled()&&!c.isCe…
3520 f=b[0].name||b[0].type,f=f.charAt(0).toUpperCase()+f.substring(1),30<f.length&&(f=f.substring(0,30)…
3521f;this.addAction("link...",mxUtils.bind(this,function(){if(c.isEnabled())if(c.cellEditor.isContent…
3522f.length&&null==b;h++)f[h].textContent==a.textContent&&(b=f[h]);null!=b&&"A"==b.nodeName&&(e=b.get…
3523 …s(c.getSelectionCells()),e=0;e<b.length;e++)if(state=c.getView().getState(b[e]),null!=state){var f=
3524f&&null==a){var h=c.convertValueToString(state.cell);"0"!=mxUtils.getValue(state.style,"nl2Br","1"…
3535 k.isEnabled=f;k=this.addAction("scrollbars",function(){d.setScrollbars(!d.hasScrollbars())});k.setT…
3537f;k=this.addAction("autosave",function(){d.editor.setAutosave(!d.editor.autosave)});k.setToggleAct…
3549 …ler.getHandler(a);if(b instanceof mxEdgeHandler){for(var d=c.view.translate,f=c.view.scale,h=d.x,d…
3550f-h));f=Math.round(c.snap(c.popupMenuHandler.triggerY/f-d));b.addPointAt(b.state,h,f)}}});this.add…
3551f)){var g=c.getCellGeometry(f);mxEvent.isShiftDown(a)?(c.setCellStyles(mxConstants.STYLE_EXIT_X,nu…
3553 var f=c.cellEditor.saveSelection();d.showImageDialog(a,e,function(a,b,d){if(c.cellEditor.isContentE…
3555 …ellEditor.isContentEditing(),!c.cellEditor.isContentEditing())}}).isEnabled=f;k=this.addAction("la…
3559 …){var f;"..."==a.substring(a.length-3)?(a=a.substring(0,a.length-3),f=mxResources.get(a)+"..."):f=…
3589f=d.isTable(e)||d.isTableRow(e)||d.isTableCell(e),k=d.isStack(e)||d.isStackChild(e),h=f,g=f;k&&(c=… argument
3595f(a){g=k.getParentByName(mxEvent.getSource(a),"TD");var b=!1;if(null!=g){h=k.getParentByName(g,"TR… function
3596f=0;f<d.rows.length;f++)for(l=d.rows[f],m=l.cells.length;m<c;m++)l.insertCell(-1);q.innerHTML=g.ce…
3597 ….getParentByName(a,"TR");var f=e.cellEditor.textarea.getElementsByTagName("table");a=[];for(var g=…
3600 …tribute("cellPadding","8");for(var d=0;d<a;d++)for(var e=c.insertRow(d),f=0;f<b;f++)e.insertCell(-…
3601f(a);null!=g&&null!=h&&c&&(b(a,h.sectionRowIndex+1,g.cellIndex+1,l.checked,m.checked),window.setTi…
3602f,k,h){return this.showIconOnly(a.addItem(b,h,mxUtils.bind(this,function(){var a=this.editorUi.edi… argument
3603 "keys",d,"values",e,"cells",c))}finally{a.getModel().endUpdate()}}),f,c))};Menus.prototype.showIcon…
3604f,k,h,g){var l=this.createStyleChangeFunction(d,e);a=a.addItem(b,null,mxUtils.bind(this,function()… argument
3605f=!1,k=0;k<a.length;k++)if(e.setCellStyles(a[k],b[k],c),a[k]==mxConstants.STYLE_ALIGN&&e.updateLab…
3606 e.autoSizeCell(c[f],!1);null!=d&&d();this.editorUi.fireEvent(new mxEventObject("styleChanged","keys…
3607f,k,h,g,l){return a.addItem(b,null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph,b… argument
3608 …{null!=h&&null!=l&&h(null)});this.editorUi.showDialog(b.container,300,80,!0,!0);b.init()}),f,g,k)};
3609 Menus.prototype.pickColor=function(a,b,d){var e=this.editorUi,c=e.editor.graph,f=226+17*(Math.ceil(…
3610 …c.cellEditor.restoreSelection(k)});this.editorUi.showDialog(a.container,230,f,!0,!0);a.init()}else…
3611 …icker.fromString(h);this.editorUi.showDialog(this.colorDialog.container,230,f,!0,!0);this.colorDia…
3612 …m=function(a,b,d,e,c,f){var k=this.editorUi.actions.get(b);return null!=k&&(a.showDisabled||k.isEn… argument
3613 …tems=function(a,b,d,e,c){for(var f=0;f<b.length;f++)"-"==b[f]?a.addSeparator(d):this.addMenuItem(a…
3618 …editorUi.editor.graph,c=e.view.getState(b);a.addSeparator();if(null!=c){var f=!1;1==e.getSelection…
3619f=c.getHandleForEvent(e.updateMouseEvent(new mxMouseEvent(d))),0<f&&f<c.bends.length-1&&(null==c.b…
3620 (f||e.getModel().isVertex(b)&&0<e.getModel().getEdgeCount(b))&&this.addMenuItems(a,["-","clearWaypo…
3644f,k,h){c=EditorUi.compactUi?c:h;a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.posi… argument
3661 …;else{var f=b.getParentByName(e,"TABLE",b.cellEditor.text2),c=a.addItem("",null,mxUtils.bind(this,…
3662f,null!=d?d.cellIndex+1:-1))}catch(m){this.editorUi.handleError(m)}}),null,"geIcon geSprite geSpri…
3663f,e.sectionRowIndex))}catch(m){this.editorUi.handleError(m)}}),null,"geIcon geSprite geSprite-inse…
3664f,e.sectionRowIndex)}catch(m){this.editorUi.handleError(m)}}),null,"geIcon geSprite geSprite-delet…
3665f.removeAttribute("border"),f.style.border="",f.style.borderCollapse=""):(f.setAttribute("border",…
3666f.style.backgroundColor=null==a||a==mxConstants.NONE?"":a})}),null,"geIcon geSprite geSprite-fillc…
3667f.removeAttribute("cellPadding")}),mxResources.get("spacing"));this.editorUi.showDialog(a.containe…
3668 …mxResources.get("center"));c=a.addItem("",null,mxUtils.bind(this,function(){f.setAttribute("align"…
3669 …nu=function(a,b,d,e,c,f,k){var h=this.editorUi.menus.get(e),g=this.addMenuFunction(a,b,d,function(… argument
3670f){return this.addMenuFunctionInContainer(null!=c?c:this.container,a,b,d,e,f)};Toolbar.prototype.a… argument
3671f=a[c];"-"==f?e.push(this.addSeparator(b)):e.push(this.addItem("geSprite-"+f.toLowerCase(),f,b,d))…
3675f=null,k=!0;mxEvent.addListener(a,"click",mxUtils.bind(this,function(h){if(k&&(null==a.enabled||a.…
3676 f.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(f,arguments);this.edit… argument
3678 …Dialog()):a.handleError({message:mxResources.get("invalidInput")})}function f(){var a=m(0==ColorDi… function
3682 …click",function(){ColorDialog.resetRecentColors();h.parentNode.replaceChild(f(),h)}));l.appendChil…
3683 …ner(n,"input",function(){g.fromString(n.value.substring(1))})}mxUtils.br(d);f();var p=m(this.prese…
3689 …ryBtn";b.appendChild(d);this.container=b},TextareaDialog=function(a,b,d,e,c,f,k,h,g,l,m,n,p,q){k=n… argument
3691 …a,function(a){b(a,x)});c.className="geBtn";v.appendChild(c)})(q[b][0],q[b][1]);f=mxUtils.button(f||
3692f.className="geBtn";a.editor.cancelFirst&&v.appendChild(f);null!=g&&g(v,x);null!=e&&(g=mxUtils.but…
3694 …teElement("select");c.style.width="180px";c.className="geBtn";if(a.editor.graph.isEnabled()){var f=
3695f.setAttribute("value","replace");mxUtils.write(f,mxResources.get("replaceExistingDrawing"));c.app…
3696 f=mxUtils.button(mxResources.get("ok"),function(){var b=Graph.zapGremlins(mxUtils.trim(d.value)),e=…
3697 …el.endUpdate()}}null!=e&&mxUtils.alert(e.message)});f.className="geBtn gePrimaryBtn";b.appendChild…
3699 …lue>MAX_AREA||0>=u.value?"red":""}var e=a.editor.graph,c=e.getGraphBounds(),f=e.view.scale,k=Math.…
3700 f),h=Math.ceil(c.height/f),g,f=document.createElement("table"),l=document.createElement("tbody");f.…
3710 f.appendChild(l);mxEvent.addListener(n,"change",b);b();mxEvent.addListener(p,"change",function(){w=…
3711 …"));else{var b=m.value,c=n.value,d=Math.max(0,parseFloat(p.value)||100)/100,f=Math.max(0,parseInt(…
3712f;ExportDialog.exportFile(a,b,c,g,d,f,h,z.checked)}}));H.className="geBtn gePrimaryBtn";var C=mxUt…
3713 this.container=f};ExportDialog.lastBorderValue=0;ExportDialog.showGifOption=!0;ExportDialog.showXml…
3714f,k,h){h=a.editor.graph;if("xml"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphX… argument
3715 …xUtils.getXml(m));l=Math.ceil(g.width*c/h.view.scale+2*f);c=Math.ceil(g.height*c/h.view.scale+2*f)…
3717 ….graph,f=c.getModel().getValue(b);if(!mxUtils.isNode(f)){var k=mxUtils.createXmlDocument().createE…
3718 "100%";for(var m=f.attributes,n=[],p=[],q=0,u=null!=EditDataDialog.getDisplayIdForCell?EditDataDial…
3723 …f(":"))try{var b=mxUtils.indexOf(n,a);if(0<=b&&null!=p[b])p[b].focus();else{f.cloneNode(!1).setAtt…
3725f=f.cloneNode(!0);for(var d=!1,e=0;e<n.length;e++)null==p[e]?f.removeAttribute(n[e]):(f.setAttribu…
3726 …t("input");w.setAttribute("type","checkbox");w.style.marginRight="6px";"1"==f.getAttribute("placeh…
3727 …vent.addListener(w,"click",function(){"1"==f.getAttribute("placeholders")?f.removeAttribute("place…
3730f=document.createElement("div");f.className="geTitle";f.style.backgroundColor="transparent";f.styl…
3732f.appendChild(k);f.appendChild(b);c.appendChild(f);this.init=function(){k.focus();mxClient.IS_GC||…
3733f.appendChild(b);d=mxUtils.button(d,function(){a.hideDialog();e(k.value)});d.className="geBtn gePr…
3736f);var g=a.actions.get("zoomIn"),l=a.actions.get("zoomOut");mxEvent.addMouseWheelListener(function… function
3745 …ick",function(a){var b=mxEvent.getSource(a).nodeName;"INPUT"!=b&&"IMG"!=b&&(f(c),mxEvent.consume(a…
3775 …rchHint=function(c,b,d,e,l,m,p,n){if(null!=n&&1==e){var f=null;if(0<=mxUtils.indexOf(n,"text"))f="…
3776f="Need help with connections?";break}if(null!=f&&!this.hideSearchHint){var k=document.createEleme…
3777 f=document.createElement("img");f.setAttribute("src",Dialog.prototype.closeImage);f.setAttribute("t…
3782 …f(null!=e.libs&&0<e.libs.length){for(var f=[],g=0;g<e.libs.length;g++)f.push(e.id+"."+g);this.show…
3792f){if("BUTTON"==mxEvent.getSource(f).nodeName){f=a.cloneNode(!0);f.style.backgroundImage="";f.styl… argument
3793 f.style.paddingLeft="6px";var g=f.getElementsByTagName("button")[0];g.parentNode.removeChild(g);var…
3795 …play="none",null!=e.parentNode&&e.parentNode.removeChild(e);mxEvent.consume(f)}}))});Sidebar.proto…
3799 …(0<e){var f=d.substring(0,e),d=d.substring(e+1,d.length),e=this.getTagsForStencil(f,d,a[c].tags);i…
3800 …bs.length;v++)mxUtils.bind(this,function(a){var c=null,b=null,d=null,e=null,f=mxUtils.bind(this,fu…
3801 …="block",e.innerHTML="",mxUtils.write(e,this.editorUi.getResource(a.title)),f(b,d)):null!=c?(this.…
3803 …Utils.getTextContent(g.documentElement));d(h)}else f(mxResources.get("notALibraryFile"),c)}catch(C…
3816f,g){if(null!=this.createdSearchIndex&&null==l||0>mxUtils.indexOf(l,b))c={style:"shape="+c+b+d,w:M… argument
3817 …d;image="+b,a,a,"")}))})(f,d)}};var c=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntr…
3818f(c,e,!1,h),this.editorUi.handleError(g)):(this.extractIconsFromResponse(g,c),f(c,(d-1)*b+c.length…
3819f(c,e,!1,h),this.editorUi.handleError({message:mxResources.get("unknownError")})}catch(v){f(c,e,!1…
3821 e.setSelectionCell(g);f=!0}}f||d.apply(this,arguments)}})();(function(){Sidebar.prototype.addActive…
3857f=new mxCell("Task",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");f.vertex=!0;c.insert(f
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…
4099 …hape=ellipse;fillColor=#596780;strokeColor=none;html=1;sketch=0;");d.vertex=!0;var f=new mxCell("",
4100 …or=#596780;strokeColor=none;html=1;sketch=0;");f.vertex=!0;return a.createVertexTemplateFromCells(…
4535 ….join(" "))])};Sidebar.prototype.addAWS4AnalyticsPalette=function(a,b,e,c,d,f,g){b="sketch=0;outli… argument
4550 d,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#B0084D;strokeColo… argument
4561 Sidebar.prototype.addAWS4ARVRPalette=function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0],[0.25,0,0],[… argument
4563 function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[… argument
4567 …join(" "))])};Sidebar.prototype.addAWS4BlockchainPalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4570 …])};Sidebar.prototype.addAWS4BusinessApplicationsPalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4578 …").join(" "))])};Sidebar.prototype.addAWS4ComputePalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4614 …join(" "))])};Sidebar.prototype.addAWS4ContainersPalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4623 …))])};Sidebar.prototype.addAWS4CustomerEnablementPalette=function(a,b,e,c,d,f){a="sketch=0;points=… argument
4627 Sidebar.prototype.addAWS4CustomerEngagementPalette=function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0… argument
4629 …).join(" "))])};Sidebar.prototype.addAWS4DatabasePalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4647 …(" "))])};Sidebar.prototype.addAWS4DeveloperToolsPalette=function(a,b,e,c,d,f){b="sketch=0;outline… 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],[…
4658 Sidebar.prototype.addAWS4FrontEndWebMobilePalette=function(a,b,e,c,d,f){b="sketch=0;outlineConnect=… argument
4662 …).join(" "))])};Sidebar.prototype.addAWS4GameTechPalette=function(a,b,e,c,d,f){a="sketch=0;points=… argument
4664 … "))])};Sidebar.prototype.addAWS4InternetOfThingsPalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4688 …" "))])};Sidebar.prototype.addAWS4MachineLearningPalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4705 …])};Sidebar.prototype.addAWS4ManagementGovernancePalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4736 …n(" "))])};Sidebar.prototype.addAWS4MediaServicesPalette=function(a,b,e,c,d,f){a="sketch=0;points=… argument
4744 …"))])};Sidebar.prototype.addAWS4MigrationTransferPalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4753 …};Sidebar.prototype.addAWS4NetworkContentDeliveryPalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4775 …)])};Sidebar.prototype.addAWS4QuantumTechnologiesPalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4781 …).join(" "))])};Sidebar.prototype.addAWS4RoboticsPalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4785 ….join(" "))])};Sidebar.prototype.addAWS4SatellitePalette=function(a,b,e,c,d,f){a="sketch=0;points=… argument
4787 function(a,b,e,c,d,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#… argument
4810 Sidebar.prototype.addAWS4ServerlessPalette=function(a,b,e,c,d,f){this.addPaletteFunctions("aws4Serv… argument
4811 …").join(" "))])};Sidebar.prototype.addAWS4StoragePalette=function(a,b,e,c,d,f){b="sketch=0;outline… argument
4849 …"))])};Sidebar.prototype.addAWS4bGeneralResourcesPalette=function(a,b,e,c,d,f,g){this.addPaletteFu… argument
4850f+".aws_cloud;",e,e,"AWS Cloud",null,null,null,this.getTagsForStencil(f,"cloud","aws amazon web se…
4851f,"corporate data center","aws amazon web service general resources ").join(" ")),this.createVerte…
4852f+".generic_database;",e,e,"Generic\ndatabase",null,null,null,this.getTagsForStencil(f,"generic da…
4853f,"internet alternative","aws amazon web service general resources ").join(" ")),this.createVertex…
4854f+".multimedia;",e,e,"Multimedia",null,null,null,this.getTagsForStencil(f,"multimedia","aws amazon…
4855f,"saml token","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEn…
4856f+".traditional_server;",e,e,"Traditional\nserver",null,null,null,this.getTagsForStencil(f,"tradit…
4857f,"users","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d…
4875 …join(" "))])};Sidebar.prototype.addAWS4bAnalyticsPalette=function(a,b,e,c,d,f,g){this.addPaletteFu… argument
4876 f+".athena;",a,b+10,"Amazon Athena",null,null,null,this.getTagsForStencil(f,"athena","aws amazon we…
4877f+".elasticsearch_service;",a,b+20,"Amazon Elasticsearch Service",null,null,null,this.getTagsForSt…
4878f,"kinesis data analytics","aws amazon web service analytics ").join(" ")),this.createVertexTempla…
4879f,"kinesis data streams","aws amazon web service analytics ").join(" ")),this.createVertexTemplate…
4880f+".quicksight;",a,b+10,"Amazon QuickSight",null,null,null,this.getTagsForStencil(f,"quicksight qu…
4881f,"glue","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(d+"resourc…
4882f+".hdfs_cluster;",e,e,"HDFS cluster",null,null,null,this.getTagsForStencil(f,"hdfs cluster","aws …
4883f+".emr_engine_mapr_m5;",e,e,"EMR engine\nMapR M5",null,null,null,this.getTagsForStencil(f,"emr en…
4884f+".dense_compute_node;",e,e,"Dense\ncompute Node",null,null,null,this.getTagsForStencil(f,"dense … argument
4885f,g){this.addPaletteFunctions("aws4bApplication Integration","AWS18 / Application Integration",!1,…
4886f+".sns;",a,b,"Amazon SNS",null,null,null,this.getTagsForStencil(f,"sns","aws amazon web service a…
4887f+".email_notification;",e,e,"Email\nnotification",null,null,null,this.getTagsForStencil(f,"email …
4888f+".topic;",e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","aws amazon web service ap…
4889f,g){this.addPaletteFunctions("aws4bAR VR","AWS18 / AR & VR",!1,[this.createVertexTemplateEntry(c+… argument
4890f+".cost_explorer;",a,b+10,"AWS Cost Explorer",null,null,null,this.getTagsForStencil(f,"cost explo…
4891f,"cost usage report","aws amazon web service cost management ").join(" ")),this.createVertexTempl… argument
4892f+".alexa_for_business;",a,b+10,"Alexa for Business",null,null,null,this.getTagsForStencil(f,"alex… argument
4893f+".ecr;",a,b,"Amazon ECR",null,null,null,this.getTagsForStencil(f,"ecr","aws amazon web service c…
4894f+".lightsail;",a,b+10,"Amazon Lightsail",null,null,null,this.getTagsForStencil(f,"lightsail","aws…
4895f,"elastic beanstalk","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry…
4896f+".serverless_application_repository;",a,b+35,"AWS Serverless Application Repository",null,null,n…
4897 f+".application_load_balancer;",a,b+10,"Application Load Balancer",null,null,null,this.getTagsForSt…
4898f,"network load balancer","aws amazon web service compute ").join(" ")),this.createVertexTemplateE…
4899f+".auto_scaling;",e,e,"Auto Scaling",null,null,null,this.getTagsForStencil(f,"auto scaling","aws …
4900f+".instance_with_cloudwatch;",e,e,"Instance with\nCloudWatch",null,null,null,this.getTagsForStenc…
4901f+".instances;",e,e,"Instances",null,null,null,this.getTagsForStencil(f,"instances","aws amazon we…
4902f+".spot_instance;",e,e,"Spot Instance",null,null,null,this.getTagsForStencil(f,"spot instance","a…
4903 f+".registry;",e,e,"Registry",null,null,null,this.getTagsForStencil(f,"registry","aws amazon web se…
4904f+".container_3;",e,e,"Container 3",null,null,null,this.getTagsForStencil(f,"container","aws amazo…
4905f+".lambda_function;",e,e,"Lambda\nFunction",null,null,null,this.getTagsForStencil(f,"lambda funct… argument
4906f,"connect","aws amazon web service customer engagement ").join(" ")),this.createVertexTemplateEnt…
4907f+".email;",e,e,"Email",null,null,null,this.getTagsForStencil(f,"email","aws amazon web service cu… argument
4908f+".dynamodb;",a,b+10,"Amazon DynamoDB",null,null,null,this.getTagsForStencil(f,"dynamodb","aws am…
4909 f+".elasticache_for_memcached;",a,b+20,"Amazon ElastiCache for Memcached",null,null,null,this.getTa…
4910f,"neptune","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(c+"pr…
4911f+".database_migration_service;",a,b+20,"AWS Database Migration Service",null,null,null,this.getTa…
4912f,"attributes","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+…
4913 f+".global_secondary_index;",e,e,"Global\nsecondary\nindex",null,null,null,this.getTagsForStencil(f
4914f+".db_instance;",e,e,"DB instance",null,null,null,this.getTagsForStencil(f,"db instance","aws ama…
4915f,"db instance read replica","aws amazon web service db database ").join(" ")),this.createVertexTe…
4916f+".ms_sql_instance_alternate;",e,e,"MS SQL\ninstance\nalternate",null,null,null,this.getTagsForSt…
4917 f+".mysql_db_instance_alternate;",e,e,"MySQL DB \ninstance\nalternate",null,null,null,this.getTagsF…
4918f,"oracle db database instance alternate","aws amazon web service db database ").join(" ")),this.c…
4919f+".postgresql_instance;",e,e,"PostgreSQL\ninstance",null,null,null,this.getTagsForStencil(f,"post…
4920f+".dense_storage_node;",e,e,"Dense\nstorage node",null,null,null,this.getTagsForStencil(f,"dense … argument
4921f,g){this.addPaletteFunctions("aws4bDesktop App Streaming","AWS18 / Desktop & App Streaming",!1,[t… argument
4922f+".codestar;",a,b,"AWS CodeStar",null,null,null,this.getTagsForStencil(f,"codestar","aws amazon w…
4923f+".codecommit;",a,b+10,"AWS CodeCommit",null,null,null,this.getTagsForStencil(f,"codecommit","aws…
4924f+".codepipeline;",a,b+10,"AWS CodePipeline",null,null,null,this.getTagsForStencil(f,"codepipeline…
4925f,"tools and sdks software development kit","aws amazon web service dev developer tools ").join(" … argument
4926f+".gamelift;",a,b+10,"Amazon GameLift",null,null,null,this.getTagsForStencil(f,"gamelift","aws am… argument
4927f+".freertos;",a,b+10,"Amazon FreeRTOS",null,null,null,this.getTagsForStencil(f,"freertos free rto…
4928f+".iot_1click;",a,b+10,"AWS IoT\n1-Click",null,null,null,this.getTagsForStencil(f,"1click one cli…
4929f,"button","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateE…
4930f,g){this.addPaletteFunctions("aws4bIoT Things","AWS18 / IoT Things",!1,[this.createVertexTemplate… argument
4931f+".camera;",e,e,"Camera",null,null,null,this.getTagsForStencil(f,"camera","aws amazon web service…
4932 f+".cart;",e,e,"Cart",null,null,null,this.getTagsForStencil(f,"cart","aws amazon web service intern…
4933f+".factory;",e,e,"Factory",null,null,null,this.getTagsForStencil(f,"factory","aws amazon web serv…
4934f+".lightbulb;",e,e,"Lightbulb",null,null,null,this.getTagsForStencil(f,"lightbulb","aws amazon we…
4935f+".police_emergency;",e,e,"Police\nEmergency",null,null,null,this.getTagsForStencil(f,"police eme…
4936f+".utility;",e,e,"Utility",null,null,null,this.getTagsForStencil(f,"utility","aws amazon web serv… argument
4937f,g){this.addPaletteFunctions("aws4bIoT Resources","AWS18 / IoT Resources",!1,[this.createVertexTe…
4938f+".alexa_enabled_device;",e,e,"Alexa enabled\ndevice",null,null,null,this.getTagsForStencil(f,"al…
4939 f+".alexa_smart_home_skill;",e,e,"Alexa smart\nhome skill",null,null,null,this.getTagsForStencil(f,…
4940f,"certificate manager","aws amazon web service internet of things iot resources ").join(" ")),thi…
4941f+".firetv_stick;",e,e,"FireTV stick",null,null,null,this.getTagsForStencil(f,"firetv fire tv stic…
4942f+".hardware_board;",e,e,"Hardware\nboard",null,null,null,this.getTagsForStencil(f,"hardware board…
4943 f+".http_protocol;",e,e,"HTTP\nprotocol",null,null,null,this.getTagsForStencil(f,"http protocol","a…
4944f,"mqtt protocol","aws amazon web service internet of things iot resources ").join(" ")),this.crea…
4945f+".rule;",e,e,"Rule",null,null,null,this.getTagsForStencil(f,"rule","aws amazon web service inter…
4946f+".shadow;",e,e,"Shadow",null,null,null,this.getTagsForStencil(f,"shadow","aws amazon web service…
4947f+".topic_2;",e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","aws amazon web service … argument
4948f+".comprehend;",a,b+10,"Amazon Comprehend",null,null,null,this.getTagsForStencil(f,"comprehend","…
4949f+".rekognition;",a,b+10,"Amazon Rekognition",null,null,null,this.getTagsForStencil(f,"rekognition…
4950f+".rekognition_video;",a,b+20,"Amazon Rekognition Video",null,null,null,this.getTagsForStencil(f,…
4951f,"transcribe","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEnt…
4952f,g){this.addPaletteFunctions("aws4bManagement Tools","AWS18 / Management Tools",!1,[this.createVe… argument
4953f,"auto scaling","aws amazon web service management tools ").join(" ")),this.createVertexTemplateE…
4954f+".command_line_interface;",a,b+20,"AWS\nCommand Line Interface",null,null,null,this.getTagsForSt…
4955f,"management console","aws amazon web service management tools ").join(" ")),this.createVertexTem…
4956f+".service_catalog;",a,b+10,"AWS Service Catalog",null,null,null,this.getTagsForStencil(f,"servic…
4957f+".systems_manager;",a,b+10,"AWS Systems Manager",null,null,null,this.getTagsForStencil(f,"system…
4958f,"marketplace","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEn…
4959f+".event_time_based;",e,e,"Event (time-\nbased)",null,null,null,this.getTagsForStencil(f,"event t…
4960f,"change set","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEnt…
4961f+".apps;",e,e,"Apps",null,null,null,this.getTagsForStencil(f,"apps","aws amazon web service manag…
4962f+".layers;",e,e,"Layers",null,null,null,this.getTagsForStencil(f,"layers","aws amazon web service…
4963f+".resources;",e,e,"Resources",null,null,null,this.getTagsForStencil(f,"resources","aws amazon we…
4964 f+".automation;",e,e,"Automation",null,null,null,this.getTagsForStencil(f,"automation","aws amazon …
4965f+".maintenance_windows;",e,e,"Maintenance\nwindows",null,null,null,this.getTagsForStencil(f,"main…
4966f,"patch manager","aws amazon web service management tools ").join(" ")),this.createVertexTemplate…
4967f+".state_manager;",e,e,"State\nmanager",null,null,null,this.getTagsForStencil(f,"state manager","…
4968f+".checklist_fault_tolerant;",e,e,"Checklist fault\ntolerant",null,null,null,this.getTagsForStenc…
4969f,"checklist security","aws amazon web service management tools ").join(" ")),this.createVertexTem… argument
4970f+".elastic_transcoder;",a,b+10,"Amazon Elastic Transcoder",null,null,null,this.getTagsForStencil(
4971f+".elemental_mediaconvert;",a,b+10,"AWS Elemental MediaConvert",null,null,null,this.getTagsForSte…
4972f,"elemental mediapackage","aws amazon web service media services ").join(" ")),this.createVertexT…
4973f,"elemental mediatailor","aws amazon web service media services ").join(" "))])};Sidebar.prototyp… argument
4974 f+".application_discovery_service;",a,b+35,"AWS Application Discovery Service",null,null,null,this.…
4975 f+".server_migration_service;",a,b+20,"AWS Server Migration Service",null,null,null,this.getTagsFor…
4976f+".snowmobile;",a,b+10,"AWS Snowmobile",null,null,null,this.getTagsForStencil(f,"snowmobile","aws… argument
4977f,"appsync","aws amazon web service mobile services ").join(" ")),this.createVertexTemplateEntry(c…
4978f+".mobile_hub;",a,b+10,"AWS Mobile Hub",null,null,null,this.getTagsForStencil(f,"mobile hub","aws… argument
4979f+".vpc;",a,b,"Amazon VPC",null,null,null,this.getTagsForStencil(f,"vpc virtual private cloud","aw…
4980f+".cloudfront;",a,b+10,"Amazon Cloudfront",null,null,null,this.getTagsForStencil(f,"cloudfront","…
4981f,"route 53","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTempl…
4982f+".elastic_network_adapter;",e,e,"Elastic\nnetwork\nadapter",null,null,null,this.getTagsForStenci…
4983f+".endpoints;",e,e,"Endpoints",null,null,null,this.getTagsForStencil(f,"endpoints","aws amazon we…
4984f+".internet_gateway;",e,e,"Internet\ngateway",null,null,null,this.getTagsForStencil(f,"internet g…
4985f,"network access control list","aws amazon web service netowrk content delivery ").join(" ")),thi…
4986f+".vpn_connection;",e,e,"VPN\nConnection",null,null,null,this.getTagsForStencil(f,"vpn virtual pr…
4987f+".download_distribution;",e,e,"Download\ndistribution",null,null,null,this.getTagsForStencil(f,"…
4988f,"streaming distribution","aws amazon web service netowrk content delivery ").join(" ")),this.cre…
4989f,g){this.addPaletteFunctions("aws4bSecurity Identity Compliance","AWS18 / Security, Identity & Co… argument
4990f+".cognito;",a,b+10,"Amazon Cognito",null,null,null,this.getTagsForStencil(f,"cognito","aws amazo…
4991f,"inspector","aws amazon web service security identity compliance ").join(" ")),this.createVertex…
4992f+".cloudhsm;",a,b+10,"AWS CloudHSM",null,null,null,this.getTagsForStencil(f,"cloudhsm","aws amazo…
4993f+".firewall_manager;",a,b+10,"AWS Firewall Manager",null,null,null,this.getTagsForStencil(f,"fire…
4994f+".secrets_manager;",a,b+10,"AWS Secrets Manager",null,null,null,this.getTagsForStencil(f,"secret…
4995f,"single sign on","aws amazon web service security identity compliance ").join(" ")),this.createV…
4996f+".sts;",e,e,"AWS STS",null,null,null,this.getTagsForStencil(f,"sts","aws amazon web service secu…
4997f,"data encryption key","aws amazon web service security identity compliance ").join(" ")),this.cr…
4998f,"long term security credential","aws amazon web service security identity compliance ").join(" "…
4999f+".role;",e,e,"Role",null,null,null,this.getTagsForStencil(f,"role","aws amazon web service secur…
5000 f+".agent;",e,e,"Agent",null,null,null,this.getTagsForStencil(f,"agent","aws amazon web service sec…
5001f,g){this.addPaletteFunctions("aws4bStorage","AWS18 / Storage",!1,[this.createVertexTemplateEntry(… argument
5002f,"elastic block store","aws amazon web service storage ").join(" ")),this.createVertexTemplateEnt…
5003f+".snowball;",a,b,"AWS Snowball",null,null,null,this.getTagsForStencil(f,"snowball","aws amazon w…
5004f,"snowmobile","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(c+"pro…
5005f+".snapshot;",e,e,"Snapshot",null,null,null,this.getTagsForStencil(f,"snapshot","aws amazon web s…
5006f+".object;",e,e,"Object",null,null,null,this.getTagsForStencil(f,"object","aws amazon web service…
5007f,"vault","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resource…
5008f+".non_cached_volume;",e,e,"Non-Cached\nvolume",null,null,null,this.getTagsForStencil(f,"non cach…
5339f=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.boots…
5344 …ft;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");d.vertex=!0;var f=new mxCell("Image ca…
5345 f.geometry.relative=!0;f.vertex=!0;d.insert(f);f=new mxCell("Last updated 3 mins ago",new mxGeometr…
5349f=new mxCell("Image cap",new mxGeometry(0,0,370,160),"html=1;shadow=0;dashed=0;shape=mxgraph.boots…
5350 …ign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");f.vertex=!0;var g=new …
5351 g.geometry.relative=!0;g.vertex=!0;f.insert(g);return a.createVertexTemplateFromCells([b,c,d,f],760…
5354 …ft;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");d.vertex=!0;var f=new mxCell("Image ca…
5355 f.geometry.relative=!0;f.vertex=!0;d.insert(f);f=new mxCell('<font style="font-size: 18px">Lorem ip…
5356 f.vertex=!0;var g=new mxCell('<font style="font-size: 18px">Card title</font><br><br>This card has …
5359 …4;spacingTop=0;");l.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l],980,600,"Ca…
5424f=new mxCell("Password",new mxGeometry(0,0,260,40),"fillColor=none;strokeColor=none;align=left;fon…
5426 …ew mxPoint(0,220);k.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k],800,500,"Form…
5428f=new mxCell("1",new mxGeometry(0,0,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrec…
5433 …ew mxPoint(0,350);l.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l],800,500,"Fo…
5440f=new mxCell("",new mxGeometry(150,50,650,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rr…
5441 c,d,f],800,90,"Readonly plain text")}),this.addEntry("bootstrap readonly plain text",function(){var…
5453 …;d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;var f=new mxCell("Another …
5454 f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,120);f.vertex=!0;return a.createVertexTempla…
5456f=new mxCell("",new mxGeometry(405,30,395,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rr…
5461 …tColor=#FFFFFF;");v.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l,m,p,n,q,r,u,…
5462 …trokeColor=none;align=left;fontSize=14;fontColor=#212529;");d.vertex=!0;var f=new mxCell("",new mx…
5463 f.vertex=!0;var g=new mxCell("Radios",new mxGeometry(0,80,200,30),"fillColor=none;strokeColor=none;…
5466 …FFFFF;sketch=0;");n.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l,m,p,n],800,2…
5467 …trokeColor=none;align=left;fontSize=14;fontColor=#212529;");d.vertex=!0;var f=new mxCell("col-form…
5468 f.vertex=!0;var g=new mxCell("Email",new mxGeometry(0,80,200,40),"fillColor=none;strokeColor=none;a…
5471f=new mxCell("Submit",new mxGeometry(530,0,60,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstra…
5477f=new mxCell("Disabled select",new mxGeometry(0,110,800,40),"html=1;shadow=0;dashed=0;shape=mxgrap…
5478 g.geometry.relative=!0;g.geometry.offset=new mxPoint(-17,1);g.vertex=!0;f.insert(g);g=new mxCell("C…
5479 h.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h],800,240,"Help text")}),this.addEnt…
5480f=new mxCell("Otto",new mxGeometry(270,30,260,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstra…
5485 …tColor=#ffffff;");u.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l,m,p,n,q,r,u]…
5497f=new mxCell("",new mxGeometry(0,140,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rre…
5498 g.vertex=!0;f.insert(g);g=new mxCell("",new mxGeometry(0,200,800,40),"html=1;shadow=0;dashed=0;shap…
5500 …14;");k.vertex=!0;h.insert(k);return a.createVertexTemplateFromCells([b,c,d,f,g,h],800,330,"Basic …
5555 …none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");d.vertex=!0;var f=new mxCell("Porta ac…
5556 f.vertex=!0;var g=new mxCell("Vestibulum at eros",new mxGeometry(0,120,200,30),"html=1;strokeColor=…
5578 …ml=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");d.vertex=!0;var f=new mxCell('<font st…
5579 …cing=2;fontSize=14;verticalAlign=top;html=1;");f.vertex=!0;return a.createVertexTemplateFromCells(…
5584 …ml=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");d.vertex=!0;var f=new mxCell('<font st…
5585 …;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");f.vertex=!0;var g=new …
5586 …ign=top;html=1;");h.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h],800,290,"Media …
5605f=new mxCell("Disabled",new mxGeometry(200,0,80,30),"fillColor=none;strokeColor=none;fontSize=14;f…
5606 …0;var f=new mxCell("Disabled",new mxGeometry(0,120,80,30),"fillColor=none;strokeColor=none;fontSiz…
5607 c,d,f],80,150,"Vertical navigation")}),this.addEntry("bootstrap tabs",function(){var b=new mxCell("…
5608f=new mxCell("Disabled",new mxGeometry(200,0,60,40),"strokeColor=none;fillColor=none;rSize=5;perim…
5609 g.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g],780,45,"Tabs")}),this.addEntry("boot…
5610f=new mxCell("Disabled",new mxGeometry(190,0,80,40),"fillColor=none;strokeColor=none;fontSize=14;f…
5612f=new mxCell("Disabled",new mxGeometry(250,0,60,40),"strokeColor=none;fillColor=none;rSize=5;perim…
5613 c,d,f,g],780,45,"Tabs with dropdown")}),this.addEntry("bootstrap navigation pills with dropdown",fu…
5614 …;d.vertex=!0;var f=new mxCell("Disabled",new mxGeometry(240,0,80,40),"fillColor=none;strokeColor=n…
5615 c,d,f],280,40,"Navigation pills with dropdown")}),this.addEntry("bootstrap tabs with description",f…
5616 …ontColor=#0085FC;");d.vertex=!0;var f=new mxCell("",new mxGeometry(80,35,700,10),"shape=line;strok…
5617 …op;fontSize=14;");g.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g],780,135,"Tabs wit…
5618 …olor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;");d.vertex=!0;var f=new mxCell("Raw deni…
5619 …=1;align=left;verticalAlign=top;fontSize=14;");f.vertex=!0;return a.createVertexTemplateFromCells(…
5620 …;var f=new mxCell("Settings",new mxGeometry(0,120,220,40),"fillColor=none;strokeColor=none;fontSiz…
5621 …op;fontSize=14;");g.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g],800,160,"Vertical…
5680 …elative=!0;d.geometry.offset=new mxPoint(-20,0);d.vertex=!0;c.insert(d);var f=new mxCell("",new mx…
5681 f.geometry.relative=!0;f.geometry.offset=new mxPoint(2,20);f.vertex=!0;d.insert(f);f=new mxCell("",…
5687 …rtex=!0;c.insert(d);var f=new mxCell("",new mxGeometry(0,0,16,45),"fillColor=#C1C1C1;strokeColor=n…
5688f.vertex=!0;d.insert(f);f=new mxCell("",new mxGeometry(0,0,10,5),"shape=triangle;direction=north;f…
5692 …rtex=!0;c.insert(d);var f=new mxCell("",new mxGeometry(0,0,16,45),"fillColor=#C1C1C1;strokeColor=n…
5693f.vertex=!0;d.insert(f);f=new mxCell("",new mxGeometry(0,0,10,5),"shape=triangle;direction=north;f…
6435 …electrical.diodes.",d="pointerEvents=1;"+a+"=mxgraph.electrical.inductors.",f="pointerEvents=1;"+a…
6510 …ttery single cell","electrical ").join(" ")),this.createVertexTemplateEntry(f+"batteryStack;",100,…
6528 …tenna","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"loop_antenna",100,1…
6530f+"co-ax;",40,60,"","Co-Ax",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","c…
6531f+"fuse_2;",100,20,"","Fuse (IEEE)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellan…
6532f+"light_bulb;",60,50,"","Light Bulb",null,null,this.getTagsForStencil("mxgraph.electrical.miscell…
6533f+"light_bulb;",60,50,"","Pilot Light",null,null,this.getTagsForStencil("mxgraph.electrical.miscel…
6534 …es","lamp","electrical optical ").join(" ")),this.createVertexTemplateEntry(f+"thermocouple;",80,8…
6547f+"chassis;",65,32,"","Chassis",null,null,this.getTagsForStencil("mxgraph.electrical.signal_source…
6548f+"generic_component",60,60,"","Generic Component",null,null,this.getTagsForStencil("mxgraph.elect…
6549 …,"thermal element","electrical ").join(" ")),this.createVertexTemplateEntry(f+"igniter_plug",72,39…
6550f+"squib_ignitor",100,100,"","Squib Ignitor",null,null,this.getTagsForStencil("mxgraph.electrical.…
6551f+"thermopile",80,82,"","Thermopile",null,null,this.getTagsForStencil("mxgraph.electrical.signal_s…
6552 …,"surge protector","electrical ").join(" ")),this.createVertexTemplateEntry(f+"surge_protector_2;"…
6553f+"sensing_link_squib",130,40,"","Sensing Link Squib",null,null,this.getTagsForStencil("mxgraph.el…
6554 …uzzer","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"adapter",100,40,"",…
6556f+"terminal_board",75,150,"","Terminal Board",null,null,this.getTagsForStencil("mxgraph.electrical…
6557f+"2_conductor_jack",100,50,"","2-Conductor Jack",null,null,this.getTagsForStencil("mxgraph.electr…
6558f+"3_conductor_plug",53,24,"","3 Conductor Plug",null,null,this.getTagsForStencil("mxgraph.electri…
6559f+"normalled_jack",110,65,"","Normalled Jack",null,null,this.getTagsForStencil("mxgraph.electrical…
6560f+"large_d_connector",375,75,"","Large D Connector",null,null,this.getTagsForStencil("mxgraph.elec…
6561f+"c_header_connector",200,75,"","C Header Connector",null,null,this.getTagsForStencil("mxgraph.el…
6562f+"shielded_jack_plug",50,100,"","Shielded Jack/Plug",null,null,this.getTagsForStencil("mxgraph.el…
6563f+"f_m_2_conductor_2",100,100,"","F/M 2 Conductor",null,null,this.getTagsForStencil("mxgraph.elect…
6564f+"f_m_3_conductor_1",100,100,"","F/M 3 Conductor",null,null,this.getTagsForStencil("mxgraph.elect…
6565f+"f_m_3_conductor_4",100,100,"","F/M 3 Conductor",null,null,this.getTagsForStencil("mxgraph.elect…
6566 this.createVertexTemplateEntry(f+"plug_socket_connection",20,20,"","Plug-Socket Connection",null,nu…
6587 …t mechanical function functions").join(" ")),this.createVertexTemplateEntry(f+"permanent_magnet;po…
6656f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=…
6657f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=…
6658 …0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;d…
6659 …;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,b],200,140,"La…
6660 …0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;d…
6661 d,f,g,h,k,b],200,140,"Large kitchen table")}),this.addEntry("floorplan office table",function(){var…
6662 …rection=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=…
6663f,g,b],140,140,"Office table")}),this.addEntry("floorplan office table large",function(){var b=new…
6664 …;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,b],200,140,"La…
6665 …rection=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=…
6666f,g,h,k,b],200,140,"Large office table")}),this.addEntry("floorplan office table large",function()…
6667 new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell…
6668 …;direction=west;");n.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,l,m,p,n,b],320…
6669 …rection=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=…
6672 …;direction=west;");w.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,l,m,p,n,q,r,u,…
7054 …ppendChild(b[c](a))}))};Sidebar.prototype.addGCP2CardSet=function(a,b,e,c,d,f){var g=this,h="sketc… argument
7055 "-");f.push(this.addEntry(d,function(){var c=new mxCell("",new mxGeometry(0,0,e,60),"strokeColor=#d…
7056 c.geometry.height,k)}));f.push(this.addEntry(d,function(){var a=new mxCell("",new mxGeometry(0,0,c,…
7057 a.insert(d);return g.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,k)}));f.p…
7058f,g,h){var k=this,l="sketch=0;dashed=0;connectable=0;html=1;fillColor=#5184F3;strokeColor=none;"+m… argument
7059 f.vertex=!0;var g=new mxCell(a,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;labelPosition=right;verti…
7060 …));h.push(this.addEntry(g,function(){var a=new mxCell("",new mxGeometry(0,0,f+8,68),"shape=mxgraph…
7061 …metry.height,m)}))};Sidebar.prototype.addGCP2ServiceCard=function(a,b,e,c,d,f){var g=this,h="sketc… argument
7062f.push(this.addEntry(d,function(){var d=new mxCell("",new mxGeometry(0,0,e,c),"strokeColor=#dddddd…
7063 d.insert(f);return g.createVertexTemplateFromCells([d],e,c,k)}))};Sidebar.prototype.addGCP2Expanded…
7064 …lative=!0;c.geometry.offset=new mxPoint(5,7);c.vertex=!0;a.insert(c);return f.createVertexTemplate…
7065 …lative=!0;c.geometry.offset=new mxPoint(5,7);c.vertex=!0;a.insert(c);return f.createVertexTemplate… argument
7066 function(a,b,e,c,d,f,g,h,k,l,m,p,n,q){var r=this,u="sketch=0;dashed=0;connectable=0;html=1;fillColo…
7067 …0;n.geometry.offset=new mxPoint(35,55);n.vertex=!0;a.insert(n);n=new mxCell(f,new mxGeometry(0,0,1…
7071 …0;l.geometry.offset=new mxPoint(35,55);l.vertex=!0;a.insert(l);l=new mxCell(f,new mxGeometry(0,0,1…
7073f,g){var h=this,k="sketch=0;dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxC… argument
7074f.vertex=!0;var g=new mxCell("",new mxGeometry(.5,0,50*e,50*c),k+b+";part=1;");g.geometry.relative…
7547f=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;…
7557 z.vertex=!0;return sb.createVertexTemplateFromCells([a,g,m,r,y,c,b,f,h,k,l,p,n,q,u,t,v,x,w,z],1E3,4…
7558 …ction=south;fillColor=#F2931E;strokeColor=none;rounded=0;");b.vertex=!0;var f=new mxCell('<font st…
7559 …n=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");f.vertex=!0;var g=new …
7562 …Size=12;");p.vertex=!0;return sb.createVertexTemplateFromCells([a,b,g,k,m,c,f,h,l,p],300,400,"Road…
7563 …;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");b.vertex=!0;var f=new mxCell("2",new m…
7564 …r=#ffffff;fillColor=#F2931E;strokeWidth=4;fontColor=#ffffff;align=center;");f.vertex=!0;var g=new …
7566 …;align=center;");p.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p],200,320…
7567 …new mxCell("Label",new mxGeometry(85,0,80,160),a+"F2931E;");b.vertex=!0;var f=new mxCell("Label",n…
7568f.vertex=!0;var g=new mxCell("Label",new mxGeometry(255,0,80,160),a+"23445D;");g.vertex=!0;a=new m…
7569 …r f=new mxCell("",new mxGeometry(315,90,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.25;…
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…
7576f=new mxCell("",new mxGeometry(295,210,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0;arcW…
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…
7583f=new mxCell("Label",new mxGeometry(45,45,115,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0…
7586 p.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p],220,220,"Arrow List")}),t…
7587f=new mxCell("Label",new mxGeometry(45,35,115,30),"shape=mxgraph.infographic.parallelogram;dx=5;;h…
7590 …0;fontStyle=1;");p.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p],220,170…
7591 …0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");b.vertex=!0;var f=new mxCell("Label",n…
7592 …ow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");f.vertex=!0;var g=new …
7594 …0;fontStyle=1;");p.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p],390,170…
7596 …FFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");b.vertex=!0;var f=new mxCell("Lorem ip…
7597 f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,35,30,100),"html=1;fillColor=#CCCCCC;strokeCo…
7598 …rap;rounded=0;");l.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l],240,240,"Ma…
7600f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,140,100…
7602 …iteSpace=wrap;");l.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l],240,240,"Ma…
7604f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,140,100,…
7609 t.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p,n,q,r,u,t],345,345,"Matrix…
7611f=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(84,0,11…
7613 k.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k],284,312,"Hex Loop")}),this.addE…
7614f=new mxCell("",new mxGeometry(75,75,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;stro…
7616 k.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k],350,350,"Target")}),this.addEnt…
7617f=new mxCell("",new mxGeometry(150,150,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;stro…
7618 c,b,f],350,350,"Target (simple)")}),this.addEntry("onion",function(){var a=new mxCell("",new mxGeom…
7619f=new mxCell("",new mxGeometry(75,150,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;str…
7621 k.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k],350,350,"Onion")}),this.addEntr…
7622f=new mxCell("",new mxGeometry(150,300,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;stro…
7623 c,b,f],350,350,"Onion (simple)")}),this.addEntry("triangle",function(){var a=new mxCell("",new mxGe…
7624f=new mxCell("",new mxGeometry(75,0,200,200),"triangle;direction=north;html=1;strokeWidth=4;fillCo…
7626 …ap;spacing=10;");k.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k],350,350,"Tria…
7627 …lor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex=!0;var f=new mxCell("",
7628 …ter;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;return sb.createVertexTemplateFromCells(…
7629 …ze=1;size=10;fillColor=#10739E;strokeColor=none;shadow=0;");b.vertex=!0;var f=new mxCell("75%",new…
7630 f.vertex=!0;var g=new mxCell("",new mxGeometry(70,60,300,20),"whiteSpace=wrap;html=1;fixedSize=1;si…
7632 …none;shadow=0;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p,n,q],370…
7634 …=!0;var f=new mxCell("",new mxGeometry(0,50,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fi…
7638 t.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,g,k,l,p,n,r,u,b,h,m,q,t],400,250,"Percen…
7639f=new mxCell("",new mxGeometry(60,60,140,140),b+"partConcEllipse;fillColor=#12AAB5;strokeColor=#ff…
7640 …strokeWidth=3;");h.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h],200,200,"Arc li…
7641 …r=#444444;");d.vertex=!0;var f=new mxCell("",new mxGeometry(60,60,130,130),"ellipse;fillColor=none…
7643 …8;fontStyle=1;");n.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h,k,l,m,p,n],200,2…
7645 …nter;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");b.vertex=!0;var f=new mxCell("Label",n…
7646 f.vertex=!0;var g=new mxCell("Label",new mxGeometry(240,60,80,80),"verticalLabelPosition=middle;ver…
7648f=new mxCell("Label",new mxGeometry(180,40,80,100),"verticalLabelPosition=bottom;verticalAlign=top…
7649 g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,b,c,a],320,140,"Pyramid Graph")}),this.add…
7651f=new mxCell("",new mxGeometry(3,80,24,50),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direc…
7652f.insert(g);g=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign…
7653 …0;");h.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,c,b,f,g],170,130,"Change G…
7654 …!0;var f=new mxCell("",new mxGeometry(40,30,80,65),"html=1;shape=mxgraph.infographic.pyramidStep;f…
7656 c,b,f,g,h,k,l],160,95,"Step Pyramid")}),this.addEntry("circular dial list horizontal",function(){va…
7658 …1;fontSize=12;fontColor=#AE4132;align=center;fontStyle=1;");b.vertex=!0;var f=new mxCell("25%",new…
7659 f.vertex=!0;b.insert(f);f=new mxCell("Label",new mxGeometry(330,0,100,100),"verticalLabelPosition=b…
7660 g.vertex=!0;f.insert(g);g=new mxCell("Label",new mxGeometry(440,0,100,100),"verticalLabelPosition=b…
7661 h.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,c,b,f,g],540,100,"Circular Dial …
7663 …E81;fontSize=12;fontColor=#AE4132;align=left;fontStyle=1;");b.vertex=!0;var f=new mxCell("25%",new…
7664 f.vertex=!0;b.insert(f);f=new mxCell("Label",new mxGeometry(0,330,100,100),"labelPosition=right;spa…
7665 g.vertex=!0;f.insert(g);g=new mxCell("Label",new mxGeometry(0,440,100,100),"labelPosition=right;spa…
7666 h.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,c,b,f,g],100,540,"Circular Dial …
7667 …ontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;");b.vertex=!0;var f=new mxCell("Label",n…
7668 f.vertex=!0;var g=new mxCell("40%",new mxGeometry(110,30,100,100),"verticalLabelPosition=middle;ver…
7673 …acing=5;");t.vertex=!0;return sb.createVertexTemplateFromCells([c,g,l,n,u,a,f,k,p,r,b,h,m,q,t],540…
7675 …E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1;");b.vertex=!0;var f=new mxCell('<font st…
7676 …rcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");f.vertex=!0;var g=new …
7679 …acing=8;");p.vertex=!0;return sb.createVertexTemplateFromCells([a,b,g,k,m,c,f,h,l,p],320,540,"Circ…
7680 …=none;fontStyle=1;fontColor=#AE4132;fontSize=12;shadow=0;");d.vertex=!0;var f=new mxCell("Label",n…
7681 f.vertex=!0;var g=new mxCell("Label",new mxGeometry(200,30,40,70),a+"shadedCube;isoAngle=15;fillCol…
7682 …=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;");d.vertex=!0;var f=new mxCell("",new mx…
7683 f.vertex=!0;var g=new mxCell("Label",new mxGeometry(100,30,40,90),a+"shadedCube;isoAngle=15;fillCol…
7685 …city=70;");p.vertex=!0;return sb.createVertexTemplateFromCells([b,d,g,k,m,c,f,h,l,p],240,120,"Bar …
7686 …;d.vertex=!0;var f=new mxCell("",new mxGeometry(75,32,40,50),a+"shadedCube;isoAngle=15;fillColor=#…
7687 g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,d,c,b],140,100,"Bar Graph")}),this.addEntr…
7688f=new mxCell("",new mxGeometry(50,0,40,40),"verticalLabelPosition=top;verticalAlign=bottom;html=1;…
7691 …city=70;");p.vertex=!0;return sb.createVertexTemplateFromCells([b,d,g,k,m,c,f,h,l,p],240,120,"Bar …
7693f=new mxCell("Label",new mxGeometry(0,180,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFol…
7694 g.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g],200,360,"Folded Banners")}),this.ad…
7695 …ition=right;spacingLeft=10;fontStyle=1;fontColor=#AE4132;");b.vertex=!0;var f=new mxCell("Label",n…
7696 f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,360,100,90),"verticalLabelPosition=middle;ver…
7698f=new mxCell("Label",new mxGeometry(0,190,100,150),"verticalLabelPosition=middle;verticalAlign=mid…
7699 g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,b,c,a],100,410,"Cylinder Graph")}),this.ad…
7701 …tune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");b.vertex=!0;var f=new mxCell("",new mx…
7702 f.vertex=!0;var g=new mxCell("Label",new mxGeometry(410,170,100,60),"shape=manualInput;whiteSpace=w…
7703f.insert(h);h=new mxCell('<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit am…
7711 …FFFFF;align=left;");t.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p,n,q,r,
7713f=new mxCell("16",new mxGeometry(180,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow…
7716 …tStyle=1");p.vertex=!0;return sb.createVertexTemplateFromCells([a,b,g,k,m,c,f,h,l,p],700,115,"Bar …
7718f=new mxCell("Label",new mxGeometry(150,90,90,110),"html=1;shadow=0;dashed=0;align=center;vertical…
7719 g.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g],300,200,"Arrow Graph")}),this.addEn…
7720f=new mxCell("Label",new mxGeometry(240,180,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;str…
7721 c,b,f],480,360,"Triangular Diagram")}),this.addEntry("roll",function(){var a=new mxCell("",new mxGe…
7722f=new mxCell("",new mxGeometry(75,75,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;stro…
7727 …acingRight=25;");u.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p,n,q,r,u]…
7729f=new mxCell("",new mxGeometry(315,220,100,25),"verticalLabelPosition=middle;verticalAlign=middle;…
7735 …lign=right;html=1;");t.vertex=!0;return sb.createVertexTemplateFromCells([g,f,b,c,a,h,k,l,m,p,n,q,…
7737f=new mxCell("",new mxGeometry(0,237,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign…
7741 …l=1;spacingLeft=5;");p.vertex=!0;return sb.createVertexTemplateFromCells([g,f,b,c,a,h,k,l,m,p],300…
7742 …r=#FFFFFF;align=center;direction=north;flipV=1;rounded=0;");b.vertex=!0;var f=new mxCell("",new mx…
7743 …Angle=0.5;arcWidth=0.23;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;");f.vertex=!0;var g=new …
7748 …e=1;rounded=0;");t.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p,n,q,r,u,…
7750 …;b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);var f=new mxCell("",new mx…
7751 f.vertex=!0;var g=new mxCell("",new mxGeometry(234,100,246,60),"verticalLabelPosition=middle;vertic…
7759 …1;fontSize=12;");A.vertex=!0;return sb.createVertexTemplateFromCells([b,a,c,f,g,h,k,l,m,p,n,q,r,u,…
7761f=new mxCell("Label",new mxGeometry(360,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=…
7766 n.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p,n],840,210,"Roadmap (horiz…
7768f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(160,160,150…
7822 … ",c="mxgraph.ios7ui";this.setCurrentSearchEntryLibrary("ios","ios7ui");var f=[this.createVertexTe…
7876 …s7ui","iOS UI",!1,mxUtils.bind(this,function(a){for(var c=0;c<f.length;c++)a.appendChild(f[c](a))}…
7979 …ants.STYLE_STROKECOLOR+"=#999999;",d=mxConstants.STYLE_STROKECOLOR+"=none;",f=this,g=c+mxConstants…
7990 …ect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);return f.createVertexTemplate…
9980 …i.diffPages(k,this.ui.pages):null;var f=[this.ui.diffPages(null!=c?c:k,this.shadowPages)];if(!this…
9981 f[0]);c={};var m=this.ui.getHashValueForPages(l,c),k={},p=this.ui.getHashValueForPages(this.shadowP…
9982 …File Data:\n"+q+"\nPatched Shadow:\n"+t,null,"mergeFile");return}this.patch(f,DrawioFile.LAST_WRIT…
9986 …th;b++)this.ui.anonymizePatch(e[b]);var k=mxUtils.bind(this,function(b){var f=this.compressReportD…
9987f+(null!=b?"\n\nRemote:\n"+b:""),null,7E4)});null==c?k(null):this.getLatestVersion(mxUtils.bind(th…
9988 try{EditorUi.logEvent({category:"CHECKSUM-ERROR-SYNC-FILE-"+this.getHash(),action:g,label:"user_"+f
9989 …(this.getAnonymizedXmlForPages(this.ui.pages),25E3),n=this.getCurrentUser(),f=null!=n?this.ui.hash…
9990 …sModified()?" modified":"")+"\nSize/Type="+this.getSize()+" ("+n+")\nUser="+f+l+"\nPrefix="+this.u…
9995 …xOfNextAdd,n=this.ui.editor.graph;n.container.style.visibility="hidden";var f=this.changeListenerE…
9996 …y="";n.model.endUpdate();n.cellRenderer.redraw=p;this.changeListenerEnabled=f;d||(c.history=g,c.in…
10035 …this.ui.getPagesForNode(mxUtils.parseXml(b).documentElement),e,d,c,g)}catch(f){this.invalidChecksu…
10036f);try{if(this.errorReportsEnabled)this.sendErrorReport("Error in fileSaved",null,f);else{var k=th…
10045 …g)$/i.test(this.getTitle());this.setShadowModified(!1);var n=this.getData(),f=mxUtils.bind(this,fu…
10047 b;this.fileSaved(n,c,f,e);this.removeDraft()}catch(A){e(A)}}),e)}),e)}),e):(this.inConflictState=!0…
10048 …},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(d)}));f()}});k?(e=this.ui.ge…
10051 …ion(k){var f=function(){var f=new StorageFile(b,d,e);f.saveFile(e,!1,function(){c(f)},g)};k?b.conf… function
10054 g,e):null!=c&&c()}),["filesInfo","files"])}catch(f){null!=c&&c(f)}});this.isRenamable()&&"."==b.cha…
10064 (b.setMode(k,!0),e()):window.location.hostname=DriveClient.prototype.newAppHostname})}f++;++n>d&&(m…
10067 …e")},3E4);b.addListener("clientLoaded",mxUtils.bind(this,function(c,f){null!=b[p]&&f.getProperty("… argument
10068 …e.borderWidth="1px 0px 1px 0px";k.style.padding="10px 0px 20px 0px";var n=0,f=0,l=document.createE…
10070 …TH+"/gitlab-logo.svg",mxResources.get("gitlab"),App.MODE_GITLAB,"gitLab");6>f&&null!=b.notion&&c(I…
10076 …g.style.borderWidth="1px 0px 1px 0px";var n=document.createElement("table"),f=document.createEleme…
10077 l.appendChild(p);f.appendChild(l);n.appendChild(f);e.appendChild(n);d=document.createElement("span"…
10079 …P&&!EditorUi.isElectronApp)if(d=function(c){k.style.marginBottom="24px";var f=document.createEleme…
10080 f.style.display="inline-block";f.style.color="gray";f.style.cursor="pointer";f.style.marginTop="6px…
10082 …ddListener(t,"change",function(){var c=t.value,f=q.length!=c;f&&b.drive.setUser(q[c]);b.drive.auth…
10084 e,d,c,g,k,n,f,l){n=null!=n?n:"Check out the diagram I made using @drawio";c=document.createElement(…
10086 …=document.documentMode||9<document.documentMode))||(q=mxUtils.button(null!=f?f:mxResources.get(5E5>
10087f=b.openLink(c);null!=f&&(null==d||0<d)&&window.setTimeout(mxUtils.bind(this,function(){try{null!=
10088f=mxUtils.button(mxResources.get("download"),function(){b.hideDialog();b.saveData(null!=l?l:"embed…
10089f=document.createElement("img");f.setAttribute("src",Editor.facebookImage);f.setAttribute("width",…
10090 …ge")})}}),f=document.createElement("img"),f.setAttribute("src",Editor.tweetImage),f.setAttribute("…
10091f.style.marginBottom="5px",t.appendChild(f),t.setAttribute("title",mxResources.get("twitter")+" ("…
10092 ….documentMode?f.className="geBtn gePrimaryBtn":(k.appendChild(t),t.className="geBtn gePrimaryBtn",
10095 …t.createElement("div"),g=b.editor.graph,k=g.getGraphBounds(),n=g.view.scale,f=Math.floor(k.x/n-g.v…
10096 …ute("size","4");p.style.marginRight="16px";p.style.marginLeft="4px";p.value=f;c.appendChild(p);mxU…
10104f){mxCellRenderer.prototype.installCellOverlayListeners.apply(this,arguments);mxEvent.addListener( argument
10105f=k.getDefaultParent(),l=mxUtils.bind(this,function(b){var c=new mxCellOverlay(this.connectImage,"…
10106f,null,"",b,m,n)},function(){k.scrollCellToVisible(m)})});c.addListener("pointerdown",function(b,c…
10108 …w B;}finally{var f=new mxMorphing(k);f.addListener(mxEvent.DONE,mxUtils.bind(this,function(){k.get… argument
10109 function(b,c,f,d,e){t.apply(this,arguments);q()};k.resizeCell=function(){mxGraph.prototype.resizeCe…
10110f=k.getModel().getChildren(k.getDefaultParent());c=mxEvent.isAltDown(c)?b.editor.graph.getFreeInse…
10114 …("type","radio");n.setAttribute("name","geBackgroundImageDialogOption");var f=document.createEleme…
10115 f.style.cssText="margin-right:8px;margin-bottom:8px;";f.setAttribute("value","url");f.setAttribute(…
10116 …gth||(n.style.display="none",f.style.display="none",m.style.display="none");var t=!1,u=!1,v=functi…
10117 …{n.removeAttribute("checked");f.setAttribute("checked","checked");f.checked=!0});mxEvent.addListen…
10119f,d,e,m){l.value=b;v()},function(){},function(b){return"image/"==b.type.substring(0,6)},function(b… argument
10120 (l.value=decodeURIComponent(f),v())}c.stopPropagation();c.preventDefault()}),!1)}};c.appendChild(n)…
10121 …e=b.url,v()));l.focus()};c.appendChild(f);c.appendChild(m);mxUtils.br(c);k?(f.setAttribute("checke…
10122 !0):(n.setAttribute("checked","checked"),n.checked=!0);if(!g&&f.checked){var z=document.createEleme…
10124f,d){var e=c.split("\n");if("plantUmlPng"==f||"plantUmlSvg"==f||"plantUmlTxt"==f){if(b.spinner.spi… argument
10125f},null,2))}finally{m.getModel().endUpdate()}null!=p&&(m.setSelectionCell(p),m.scrollCellToVisible…
10127f,d,e){b.spinner.stop();l(c,g,f,d,e)},function(c){b.handleError(c)})}}else if("mermaid"==f)b.spinn… argument
10128 f+";"),m.setAttributeForCell(g,"mermaidData",JSON.stringify({data:c,config:EditorUi.defaultMermaidC…
10129 !0,e[f]=mxUtils.trim(u.replace(/primary key/i,"")))}for(f=0;f<e.length;f++)if(u=mxUtils.trim(e[f]),…
10132 …ist"==f){if(0<e.length){m=b.editor.graph;H=null;q=[];for(f=p=0;f<e.length;f++)";"!=e[f].charAt(0)&…
10133f]?(u=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;vertica…
10134 …eginUpdate();try{q=m.importCells(q,k.x,k.y);u=[];for(f=0;f<q.length;f++)u.push(q[f]),u=u.concat(q[
10135 ….vertex=!0,M[b]=c,q.push(c));return c},M={},q=[];for(f=0;f<e.length;f++)";"!=e[f].charAt(0)&&(I=e[
10136f=0;f<q.length;f++)m.getModel().isVertex(q[f])&&(u=m.getPreferredSizeForCell(q[f]),q[f].geometry.w…
10138 f.value?"Person\n-name: String\n-birthDate: Date\n--\n+getName(): String\n+setName(String): void\n+…
10139f.value?"@startuml\nskinparam backgroundcolor transparent\nskinparam shadowing false\nAlice -> Bob…
10140f=document.createElement("select");if("formatSql"==d||"mermaid"==d)f.style.display="none";var l=do…
10141f.appendChild(l),l.setAttribute("selected","selected"));l=document.createElement("option");l.setAt…
10142 mxUtils.write(l,mxResources.get("diagram"));"plantUml"!=d&&f.appendChild(l);l=document.createElemen…
10143 …antUml&&Graph.fileSupport&&!b.isOffline()&&"plantUml"==d&&(f.appendChild(l),f.appendChild(m),f.app…
10144 …){n.value=b.target.result};c.readAsText(b)}},!1));e.appendChild(f);mxEvent.addListener(f,"change",…
10145f.value,d)});e.appendChild(m);m.className="geBtn gePrimaryBtn";b.editor.cancelFirst||e.appendChild… argument
10146 …Dialog(),c(ba,M.value,fa,ka);else{var f=M.value;null!=f&&0<f.length&&b.pickFolder(b.mode,function(…
10147 …b;pa=e;fa=p;ca=m;na.style.backgroundColor=f;na.style.border=l}function F(c,f,d,e,l,m,g,p,k,q,t){fu… argument
10148f(B)}))}else f(B)}function K(f,e,l){if(null!=f&&mxUtils.isAncestorNode(document.body,v)){f=mxUtils… argument
10149f,d){null==c||J||b.sidebar.currentElt==v?b.sidebar.hideTooltip():(b.sidebar.hideTooltip(),b.sideba… argument
10152 c&&(C(v,c,f,null,null,t,qa),b&&y())})};e=k||TEMPLATE_PATH+"/"+c.substring(0,c.length-4)+".png";v.st…
10155 …}R.appendChild(v);return v}function G(){function b(b,c){var f=mxResources.get(b);null==f&&(f=b.sub…
10156 f.length&&(f=f.substring(0,18)+"&hellip;");return f+" ("+c.length+")"}function c(b,c,f){mxEvent.add… argument
10157f,mxResources.get("custom"));ha.appendChild(f);for(var d in ja){var e=document.createElement("div"…
10158f=document.createElement("div");f.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5p…
10160 …!=m&&(e.style.padding=m);ha.appendChild(e);null==S&&0<f.length&&(S=e,S.style.backgroundColor=n,ma=
10161 document.body.clientWidth);d=null!=d?d:!0;g=null!=g?g:!1;n=null!=n?n:"#ebf2f9";f=null!=f?f:Editor.i…
10168f){L=0;Q.stop();ma=b;f=f||{};var d=0,e;for(e in f)d+=f[e].length;if(c)R.innerHTML=c;else if(0==b.l… argument
10172f={},d;for(d in ea)for(var e=ea[d],l=0;l<e.length;l++){var m=e[l];if(null!=m.tags)for(var g=m.tags…
10173f[g[k]].push(m)}NewDialog.tagsList[p]=f}var q=c.toLowerCase().split(" "),f=NewDialog.tagsList[p];i…
10174f=document.createElement("div");f.style.cssText="border: 1px solid #D3D3D3; padding: 6px; backgrou…
10176f=b.getAttribute("name"),d=b.getElementsByTagName("add"),e=[],l=0;l<d.length;l++)e.push(encodeURIC…
10177 …,tags:b.getAttribute("tags")};l.push(e);null!=f&&(l=ga[d],null==l&&(l={},ga[d]=l),d=l[f],null==d&&…
10180 …ple");c.setAttribute("type","file");mxEvent.addListener(c,"change",function(f){b.openFiles(c.files, argument
10182 …,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.addListener(g,"click",f… argument
10183 m=b.oneDrive.extension:c==App.MODE_DEVICE&&(m=".drawio");0<=l&&(f=f.substring(0,l));C.value=f+m}}B(…
10184 …"11px";var k=document.createElement("div");g.appendChild(k);mxUtils.write(k,f);if(null!=l&&null==b…
10185 …ion B(c){var f=C.value;if(null==c||null!=f&&0<f.length)A&&b.hideDialog(),d(f,c,C)}p="1"==urlParams…
10194f||t.setAttribute("selected","selected"),p&&z(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get…
10195 f=document.createElement("div");f.style.marginTop="26px";f.style.textAlign="center";null!=m&&(p=mxU…
10196f.appendChild(t));l&&Editor.popupsAllowed&&(l=mxUtils.button(mxResources.get("openInNewWindow"),fu…
10197 …keyCode&&(b.fileLoaded(null),b.hideDialog(),window.close())});k.appendChild(f);this.container=k};C…
10198 …marginBottom="8px";n.style.width="280px";k.appendChild(n);mxUtils.br(k);var f=mxUtils.button(mxRes…
10199f.className="geBtn gePrimaryBtn";f.style.width=n.style.width;k.appendChild(f);mxUtils.br(k);mxUtil…
10201 …";l.focus()});e.appendChild(l);e.appendChild(d);f.appendChild(e);var m=function(f,d,e,l){var m="da… argument
10202f.length&&b.spinner.spin(document.body,mxResources.get("inserting"))?b.loadImage(f,function(m){b.s…
10203f)):(f=b.convertDataUri(f),d=null==d?120:d,e=null==e?100:e,b.hideDialog(),c(f,d,e))},p=function(f,… argument
10204f){null==d&&(!mxClient.IS_IE||10<document.documentMode)&&(d=b.highlightElement(c));f.stopPropagati… argument
10205 …ext/uri-list")){var f=c.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)($|\?)…
10207 c,f,d,e,l){p(b)},function(){},function(b){return"image/"==b.type.substring(0,6)},function(b){for(va…
10208 …aph.fileSupport&&(d.style.marginTop="120px",f.style.backgroundImage="url('"+IMAGE_PATH+"/droptarge…
10209f.style.backgroundRepeat="no-repeat",e=document.createElement("div"),e.style.position="absolute",e… function
10210 …h="26px";c.setAttribute("src",b);f.style.minWidth="42px";f.style.verticalAlign="middle";f.appendCh…
10217f=null;mxEvent.addListener(c,"dragleave",function(b){null!=f&&(f.parentNode.removeChild(f),f=null)…
10218 f=null);0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")&&(p.value=decodeURIComponent(b.dat…
10220 …ndefined"!=typeof google&&"undefined"!=typeof google.picker&&null!=b.drive&&f(IMAGE_PATH+"/google-…
10221f(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),function(){Dropbox.choose({linkType:"d…
10222f(IMAGE_PATH+"/github-logo.svg",mxResources.get("github"),function(){b.gitHub.pickFile(function(b)…
10223 …value=DRAWIO_GITLAB_URL+"/"+c+"/"+f+"/blob/"+d+"/"+b;p.focus()}})});mxEvent.addListener(p,"keypres… argument
10224 …e.marginTop="6px";n.style.width="600px";var f=mxUtils.button(mxResources.get("sendMessage"),functi…
10225f.length>FeedbackDialog.maxAttachmentSize?b.alert(mxResources.get("drawingTooLarge")):(b.hideDialo…
10226 …);b.alert(mxResources.get("errorSendingFeedback"))}))});f.className="geBtn gePrimaryBtn";if(!d){f.…
10227 f.removeAttribute("disabled"):f.setAttribute("disabled","disabled")});mxEvent.addListener(n,"keyup"…
10229 …Name="geBtn";b.editor.cancelFirst?(d.appendChild(k),d.appendChild(f)):(d.appendChild(f),d.appendCh…
10231f=new Graph(k);f.setTooltips(!1);f.setEnabled(!1);f.setPanning(!0);f.panningHandler.ignoreCell=!0;
10232 f.getGlobalVariable=function(b){return"page"==b&&null!=m&&null!=m[p]?m[p].getAttribute("name"):"pag…
10233 …[t];var z=null,B=null,y=null,C=null,F=mxUtils.button("",function(){null!=y&&f.zoomIn()});F.classNa…
10234f.zoomOut()});G.className="geSprite geSprite-zoomout";G.setAttribute("title",mxResources.get("zoom…
10235 …Utils.setOpacity(E,20);var D=mxUtils.button("",function(){null!=y&&(f.zoomActual(),f.center())});D…
10237 …rDocument)).decode(b,M.getModel()),M.view.scaleAndTranslate(f.view.scale,f.view.translate.x,f.view…
10238 …{var c=mxUtils.getXml(y.documentElement),f=b.getBaseFilename()+".drawio";b.isLocalFileSave()?b.sav…
10239 (new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(f)+"&format=xml"+c)).simulate(document,"_…
10245 …s.NONE)c=f.defaultPageBackgroundColor;k.style.backgroundColor=c;(new mxCodec(b.ownerDocument)).dec…
10250 "..."),k.style.backgroundColor=f.defaultPageBackgroundColor,n.innerHTML="",f.getModel().clear(),P.s…
10254 function(b,e,d,c,g,k,n,f,l){var m=document.createElement("div"),p=document.createElement("div");p.s… argument
10261 …ume(b)});if("mxfile"==y.nodeName){var f=y.getElementsByTagName("diagram");F=[];for(var d=0;d<f.len…
10262f=document.createElement("option"),mxUtils.write(f,F[d].getAttribute("name")||mxResources.get("pag…
10263f=null!=f?mxUtils.button(mxResources.get("ignore"),f):null;null!=f&&(f.className="geBtn");b.editor… argument
10264 …e();if(null==b&&(d&&0<=l.indexOf(f)||!d&&l.substring(0,f.length)===f)||null!=b&&b.test(l))return!0… function
10268 E.checked)return v=!0,l(!0,d,e);p.isEnabled()&&!e&&p.clearSelection()}u=null!=y;k&&!c&&f();return 0…
10269 ….padding="6px",B.appendChild(F),mxUtils.br(B),mxEvent.addListener(F,"input",f));var G=document.cre…
10272 function(){M.innerHTML="";C.value="";C.style.backgroundColor="";k&&(F.value="",f());q=t=null;v=!1;C…
10273 …10px";if(k){var L=function(b,c,f,d,e){if(null==e||"1"!=e.html)return d=b.toLowerCase().indexOf(c,d… argument
10274f=mxUtils.htmlEntities(f);b=b.substr(0,d)+f+b.substr(l);for(var g=0,p=0;p<e.length;p++){if(e[p]-g<…
10275 p.isCellEditable(c)&&p.model.setValue(c,L(f,x,F.value,A-x.length,p.getCurrentCellStyle(c)));C.style…
10276 …unction(){try{if(null!=x&&null!=t&&F.value){var c=t.cell,f=p.getLabel(c);p.model.setValue(c,L(f,x,…
10277 …get("replaceAll"),function(){M.innerHTML="";if(F.value){var c=b.currentPage,f=b.editor.graph.getSe…
10278 …Error(ba)}finally{p.getModel().endUpdate(),b.editor.graph.setSelectionCells(f),b.editor.graph.rend…
10282f=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;b=Math.max…
10286f=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;b=Math.max…
10287f);this.destroy=function(){mxEvent.removeListener(window,"resize",f);this.window.destroy()}},TagsW… argument
10288f(c.concat(e)):k.addTagsForCells(k.getSelectionCells(),e))}},mxResources.get("enterValue")+" ("+mx…
10289f=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;b=Math.max…
10291f=document.createElement("img");f.setAttribute("border","0");f.setAttribute("align","absmiddle");f
10292f.src=IMAGE_PATH+"/gitlab-logo.svg",f.style.width="32px"):e==b.notion?(n=mxResources.get("notion")…
10293 n.insertBefore(f,n.firstChild);n.style.marginTop="6px";n.className="geBigButton";n.style.fontSize="…
10294f={title:b.getResource(n.title),entries:[]},l=0;l<n.entries.length;l++){var m=n.entries[l];f.entri… class in popupMenuHandler.AnonymousFunction9bd35d6bd8900
10295 …ies[l].id)&&f.entries.push(d[k].entries[l]);0<f.entries.length&&g.push(f)}d=g;if(e){k=mxUtils.bind…
10297f=document.createElement("pre");f.style.boxSizing="border-box";f.style.fontFamily="inherit";f.styl…
10298 …ume(b)});u.push(function(){return l.checked?c.id:null});0==f&&0==e&&m()})(c.entries[e])})(c[f])});…
10301 …s.button(mxResources.get("apply"),function(){b.hideDialog();for(var c=[],f=0;f<u.length;f++){var d=
10302f].apply(this,arguments);null!=d&&c.push(d)}b.sidebar.showEntries(c.join(";"),x.checked,!0)});l.cl… argument
10303f);f=document.createElement("div");f.style.display="block";f.appendChild(e);f.appendChild(l);mxEve…
10304 …tion(b){for(var c=0;c<b.entries.length;c++){var f=b.entries[c];u.push(z(y[Math.floor(C/(B/3))],f.t…
10305 …tton(mxResources.get("apply"),function(){for(var c=["search"],f=0;f<u.length;f++){var d=u[f].apply…
10306 …lEntities(mxResources.get("noPlugins"));else{k.innerHTML="";for(var f=0;f<n.length;f++){var e=docu…
10307f]);k.appendChild(e);mxUtils.br(k);mxEvent.addListener(l,"click",function(f){return function(){b.c… argument
10308 …ar f=document.createElement("div"),d=document.createElement("span");d.style.marginTop="6px";mxUtil…
10309f.appendChild(e);mxUtils.br(f);mxUtils.br(f);d=mxUtils.button(mxResources.get("custom")+"...",func… argument
10310 f=new CustomDialog(b,f,mxUtils.bind(this,function(){var b=App.pluginRegistry[e.value];0>mxUtils.ind…
10311 …d(q);b.editor.cancelFirst?(p.appendChild(l),p.appendChild(f),p.appendChild(m)):(p.appendChild(f),p…
10312 …;g.appendChild(k);var n=null;this.init=function(){c()};var f=document.createElement("input");f.set…
10313 "checkbox");f.setAttribute("id","croppieCircle");f.style.margin="5px";g.appendChild(f);var l=docume…
10314 …mxEvent.addListener(f,"change",function(){c(this.checked)});f=mxUtils.button(mxResources.get("canc…
10315f),m.appendChild(l)):(m.appendChild(l),m.appendChild(f));g.appendChild(m);this.container=g},EditGe…
10316 …;this.init=function(){p.focus()};m.appendChild(p);f.appendChild(l);f.appendChild(m);n.appendChild(
10317f.appendChild(l);f.appendChild(m);n.appendChild(f);f=document.createElement("tr");l=document.creat…
10318 …=c&&null!=c.offset?c.offset.x:"";m.appendChild(u);f.appendChild(l);f.appendChild(m);n.appendChild(
10319f.appendChild(l);f.appendChild(m);n.appendChild(f);f=document.createElement("tr");l=document.creat…
10320 …0px";A.value=null!=c?c.height:"";m.appendChild(A);f.appendChild(l);f.appendChild(m);n.appendChild(
10321f.appendChild(l);f.appendChild(m);n.appendChild(f);k.appendChild(n);g.appendChild(k);c=mxUtils.but…
10322f.x=Number(q.value)),0<mxUtils.trim(t.value).length&&(f.y=Number(t.value)),0<mxUtils.trim(u.value)…
10324 …arentNode;var c=null;if(null!=b)for(var f=u.firstChild,c=0;null!=f&&f!=b;)f=f.nextSibling,c++;retu… function
10327 …on(b,c,f){mxEvent.addListener(F,"click",function(d){x[c]=null;for(var e=0;e<p.length;e++)if(null!=…
10328 f.xml){p.splice(e,1);break}E.parentNode.removeChild(b);0==p.length&&(u.style.backgroundImage="url('…
10330f=new FilenameDialog(b,G.title||"",mxResources.get("ok"),function(b){null!=b&&(G.title=b,K())},mxR…
10333f(null,null,0,0,0,0,D[H]):f(D[H].data,null,0,0,D[H].w,D[H].h,null,"fixed",D[H].title);m=!0}else if…
10335 ….gif)($|\?)/i.test(d)||/(\.svg)($|\?)/i.test(d))&&b.loadImage(d,function(b){f(d,null,0,0,b.width,b…
10339f(q.data,null,0,0,q.w,q.h,q,q.aspect,q.title);mxEvent.addListener(u,"dragleave",function(b){v.styl…
10340 …(f(d.responseText,e,l,m,g,k,p,"fixed",mxEvent.isAltDown(c)?null:p.substring(0,p.lastIndexOf(".")).…
10342f=b.getSearch("create title mode url drive splash state clibs ui".split(" ")),f=f+((0==f.length?"?…
10343 …ces.get("export"),function(){var c=b.createLibraryDataFromImages(p),f=t.value;/(\.xml)$/i.test(f)||
10344 (f+=".xml");b.isLocalFileSave()?b.saveLocalFile(c,f,"text/xml",null,null,!0,null,"xml"):(new mxXmlR…
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
10346f(b,null,0,0,c,d);u.scrollTop=u.scrollHeight}})});q.setAttribute("id","btnAddImageUrl");q.classNam… argument
10347 …){c=null!=c?c:300;g=null!=g?g:120;var k,n,f=document.createElement("table"),l=document.createEleme…
10350 …g.className="geBtn";b.editor.cancelFirst&&n.appendChild(g);var u=function(c,f,d){var e=m.value,l=m… argument
10351f),!d||l||e!=t){e=Graph.compress(e);c.getModel().beginUpdate();try{if(l){var g=b.editor.graph.getF…
10352f),c.scrollCellToVisible(f))}};d=mxUtils.button(mxResources.get("preview"),function(){u(p,q,!1)});… argument
10353 ….get("cancel"),function(){b.hideDialog();null!=c&&c()});l.className="geBtn";f&&(l.style.display="n…
10354 …=l;this.okButton=g;this.container=p},TemplatesDialog=function(b,e,d,c,g,k,n,f,l,m,p,q,t,u,v){funct… argument
10355f,d,e,l,m){if(-1<b.className.indexOf("geTempDlgRadioBtnActive"))return!1;b.className+=" geTempDlgR… argument
10356 …>=b.getStatus()&&(p=b.getText());f(p)}))}else f(p)}function g(d,e,l){if(null!=d&&mxUtils.isAncesto…
10357 m.decode(d,g);d=g.root.getChildAt(0).children||[];b.sidebar.createTooltip(f,d,Math.min((window.inne…
10358f)b.sidebar.hideTooltip();else{var k=function(c){da&&b.sidebar.currentElt==f&&g(c,mxEvent.getClien…
10359f){if(null!=W){for(var d=W.className.split(" "),e=0;e<d.length;e++)if(-1<d[e].indexOf("Active")){d… argument
10360f)},p=function(){x(mxResources.get("cannotLoad"));k()},k=function(){Y=t;ga.className="geTempDlgCre…
10362 f=0;f<c.length;f++)c[f].style.display=b}function G(c,f,d,e,l){l||(ia.innerHTML="",y(),na=c,pa=e);va…
10363 …pendChild(m)}for(g=0;g<c.length;g++){c[g].isExternal=!f;var k=c[g].url,q=(p=mxUtils.htmlEntities(f
10365f),y(u,"geTempDlgDiagramsListGridActive",c[g]));(function(b,c,d){mxEvent.addListener(u,"click",fun… argument
10366f),y(A,"geTempDlgDiagramTileActive",c[g]));n=document.createElement("div");n.className="geTempDlgD…
10367 …Child(v);(function(b,c,d){mxEvent.addListener(A,"click",function(){W!=c&&(F(f),y(c,"geTempDlgDiagr…
10368f){B(b,c,d,f)})})(c[g],A,v);ia.appendChild(A)}}for(var x in e)c=e[x],0<c.length&&(l=document.creat… argument
10371f=c.querySelector(".geTemplateDrawioCatLink");null!=f?f.click():setTimeout(b,200)}R=!0;var c=K.que… argument
10372f=mxUtils.htmlEntities(f);15<f.length&&(f=f.substring(0,15)+"&hellip;");return{lbl:f+" ("+c.length… argument
10373f){f=document.createElement("div");f.style.cssText="font-weight: bold;background: #f9f9f9;padding:…
10374 mxUtils.write(f,"draw.io");l.appendChild(f)}for(m in b){var p=qa[m],k=f=document.createElement(p?"u…
10375f.className="geTempTree";f.appendChild(q);(function(b,c){mxEvent.addListener(c,"click",function(){…
10376f.length;c++)f[c].style.margin="0";b.style.visibility="hidden"},250);c.classList.toggle("geTempTre…
10377f&&0<e.length&&(c[f]=e.join(";"))}else if(e=b.getAttribute("url"),null!=e){d=b.getAttribute("secti…
10378f&&(l=qa[d],null==l&&(l={},qa[d]=l),d=l[f],null==d&&(d=[],l[f]=d),d.push(e))}b=b.nextSibling}D(la,…
10379f[g[p]]&&(f[g[p]]=[]),f[g[p]].push(m)}TemplatesDialog.tagsList[c]=f}var k=b.toLowerCase().split(" …
10380f[k[l]],t={};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.…
10381 …ss="geTempDlgHeaderLogo"><input type="search" class="geTempDlgSearchBox" '+(f?"":'style="display: …
10387 "100%";V.style.display="";ra.style.minHeight="calc(100% - 280px)";oa.style.display=f?"":"none";oa.v…
10390f){Z.style.display="";S.stop();X=!1;if(J)J=!1;else if(c)ia.innerHTML=c;else{f=f||{};c=0;for(var d … argument
10392f=document.createElement("img");f.setAttribute("border","0");f.setAttribute("align","absmiddle");f
10393f.src=IMAGE_PATH+"/dropbox-logo-white.svg"):e==b.oneDrive?(n=mxResources.get("oneDrive"),f.src=IMA…
10394f,d.firstChild);d.style.marginTop="6px";d.className="geBigButton";d.style.fontSize="18px";d.style.…
10395 f=document.createElement("td");f.colSpan=2;f.style.whiteSpace="nowrap";f.style.fontSize="10pt";f.st…
10396f.appendChild(l);n.appendChild(f);p.appendChild(n);n=document.createElement("tr");f=document.creat…
10397f);p.appendChild(n);n=document.createElement("tr");f=document.createElement("td");f.colSpan=2;f.st…
10398f.appendChild(l);mxClient.IS_CHROMEAPP||b.isOffline()&&!EditorUi.isElectronApp||(l=b.menus.createH…
10399f,mxResources.get("fontname",null,"Font Name")+":");n.appendChild(f);var v=document.createElement(…
10400f.appendChild(x);l=document.createElement("label");l.setAttribute("for","fontdialog-webfonts");mxU…
10401f.style.fontSize="10pt";f.style.width="120px";f.style.paddingLeft="15px";mxUtils.write(f,mxResourc…
10402f.style.whiteSpace="nowrap";f.style.fontSize="10pt";f.style.width="120px";f.style.paddingLeft="15p…
10403f=document.createElement("td");f.colSpan=2;f.style.paddingTop="20px";f.style.whiteSpace="nowrap";f
10404f.appendChild(e);var B=mxUtils.button(mxResources.get("apply"),function(){var c,f,d;q.checked?(c=t…
10405 …(m.querySelector(".dlg_fontUrl").style.border="1px solid red",e=!1);e&&(g(c,f,d),b.hideDialog())})…
10406 …bute("checked","checked");x.checked=!0});f.appendChild(B);b.editor.cancelFirst||f.appendChild(e);n…
10416 …est(e)){var n=1,f=0;e=b.fileNode;null!=e&&(e.hasAttribute("scale")&&(n=parseFloat(e.getAttribute("…
10418 …appendChild(d);var m=document.createElement("input");m.setAttribute("value",f);m.style.marginLeft=…
10421f=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});f.className="geBtn";b.edito…
10453 …n",dispName:"Colspan",type:"int",min:1,defVal:1,isVisible:function(b,c){var f=c.editorUi.editor.gr…
10454f.isTableCell(b.vertices[0])}},{name:"rowspan",dispName:"Rowspan",type:"int",min:1,defVal:1,isVisi…
10455f,"resizeLastRow","0")},isVisible:function(b,c){var f=c.editorUi.editor.graph;return 1==b.vertices…
10456 b.vertices.length&&0==b.edges.length&&f.isTable(b.vertices[0])}},{name:"fillOpacity",dispName:"Fill…
10461f=1==b.vertices.length&&0==b.edges.length?b.vertices[0]:null,d=c.editorUi.editor.graph;return null…
10462 …me:"part",dispName:"Part",type:"bool",defVal:!1,isVisible:function(b,c){var f=c.editorUi.editor.gr…
10463 f.isVertex(f.getParent(b.vertices[0])):!1}},{name:"editable",dispName:"Editable",type:"bool",defVal…
10465 …on(b,c){var f=mxUtils.getValue(b.style,mxConstants.STYLE_FILLCOLOR,null);return c.editorUi.editor.…
10467f=c.sets||[];c=c.options||this.getDefaultOptions();for(var d=0;d<f.length;d++){var e=f[d];switch(e… argument
10468 …is._drawToContext(c,f,d);b.setDashed(g);b.setStrokeWidth(l);b.setStrokeColor(e);b.setStrokeAlpha(m… argument
10469 f.filled?b.fill():b.stroke()};return c};(function(){function b(c,f,d){this.canvas=c;this.rc=f;this.… argument
10472f=1;if(null!=this.shape.state){var d=this.shape.state.cell.id;if(null!=d)for(var e=0;e<d.length;e+… class in b.getStyle
10473f.stroke;e=null;(f.filled=c)?(f.fill="none"===this.canvas.state.fillColor?"":this.canvas.state.fil…
10474f.disableMultiStroke=mxUtils.getValue(this.shape.style,"disableMultiStroke",d.disableMultiStroke);
10475f.fillWeight="auto"==l?-1:l;l=mxUtils.getValue(this.shape.style,"fillStyle","auto");"auto"==l&&(l=…
10477 …adTo=function(b,c,f,d){this.passThrough?this.originalQuadTo.apply(this.canvas,arguments):(this.add… argument
10478f,d,e,l){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curve… argument
10479f,d,this.getStyle(!0,!0)))};b.prototype.ellipse=function(b,c,f,d){this.passThrough?this.originalEl… argument
10480 this.quadTo(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+…
10483 …tchStyle","rough")?this.createComicCanvas(b):this.createRoughCanvas(b)};var f=mxShape.prototype.pa…
10485 f.apply(this,arguments);c.handJiggle.passThrough=!1;c.setFillColor=k;c.setStrokeColor=p;this.config… argument
10486 …oArrayBuffer(atob(b)),{to:"string"})};Editor.extractGraphModel=function(b,c,f){if(null!=b&&"undefi… argument
10487 …div"),0<e.length&&(d=mxUtils.getTextContent(e[0]),d=Graph.decompress(d,null,f),0<d.length&&(b=mxUt…
10488 …agramNode(e,f)));null==b||"mxGraphModel"==b.nodeName||c&&"mxfile"==b.nodeName||(b=null);return b};…
10489f.length?(f=Graph.decompress(f,null,c),null!=f&&0<f.length&&(d=mxUtils.parseXml(f).documentElement…
10490f=b.indexOf("stream",c)+9;if(0<b.substring(c,f).indexOf("application#2Fvnd.jgraph.mxfile"))return …
10491f=b.substring(e,p);break}}10==g&&("endobj"==c?m=null:"obj"==c.substring(c.length-3,c.length)||"xre…
10492f=b.substring(1,b.length-1))))));return f};Editor.extractGraphModelFromPng=function(b){var c=null;… argument
10493f&&(b=b.split(String.fromCharCode(0)),1<b.length&&("mxGraphModel"==b[0]||"mxfile"==b[0])&&(c=b[1])…
10494f=mxUtils.getTextContent(d[0])));return null!=f?mxUtils.trim(f):f};Editor.addRetryToError=function…
10497 …tPanel.prototype.defaultColorSchemes));if(null!=b.css){var f=document.createElement("style");f.set…
10498 f.appendChild(document.createTextNode(b.css));var d=document.getElementsByTagName("script")[0];d.pa…
10499 …eel&&(Graph.zoomWheel=b.zoomWheel);null!=b.zoomFactor&&(f=parseFloat(b.zoomFactor),!isNaN(f)&&1<f?…
10500 f:EditorUi.debug("Invalid zoomFactor: value must be float > 1"));null!=b.gridSteps&&(f=parseInt(b.g…
10501 …e.sidebarTitles=b.sidebarTitles);b.sidebarTitleSize&&(f=parseInt(b.sidebarTitleSize),!isNaN(f)&&0<
10502 f:EditorUi.debug("Invalid sidebarTitleSize: value must be int > 0"));b.fontCss&&("string"===typeof …
10503f=document.createElement("style");f.setAttribute("type","text/css");f.appendChild(document.createT…
10505f=0;f<b;f++)c.push(Editor.GUID_ALPHABET.charAt(Math.floor(Math.random()*Editor.GUID_ALPHABET.lengt…
10506f&&0<f.length){var f=f[0],d=f.getElementsByTagName("div");null!=d&&0<d.length&&(f=d[0]);throw{mess…
10507f;this.graph.mathEnabled="1"==urlParams.math||"1"==c.getAttribute("math");f=c.getAttribute("backgr…
10508f=c.getAttribute("extFonts"))try{for(f=f.split("|").map(function(b){b=b.split("^");return{name:b[0…
10509 …n(b,c){b=null!=b?b:!0;var f=e.apply(this,arguments);null!=this.graph.currentStyle&&"default-style2…
10510f.setAttribute("backgroundImage",JSON.stringify(d));f.setAttribute("math",this.graph.mathEnabled?"…
10511f=mxUtils.parseXml(c).documentElement;return"mxfile"==f.nodeName||"mxGraphModel"==f.nodeName}}catc… argument
10514f=null!=urlParams["math-font"]?decodeURIComponent(urlParams["math-font"]):"TeX";c=null!=c?c:{"HTM…
10516f=document.getElementsByTagName("script");if(null!=f&&0<f.length){var e=document.createElement("sc…
10517 …*)*)"|([^,'"\s\\]*(?:\s+[^,'"\s\\]+)*))\s*(?:,|$)/g,function(b,f,d,e){void 0!==f?c.push(f.replace(… argument
10519f=this;b.convert=function(d){if(null!=d){var e="http://"==d.substring(0,7)||"https://"==d.substrin…
10520f=!0,d=window.setTimeout(mxUtils.bind(this,function(){f=!1;c(Editor.svgBrokenImage.src)}),this.tim…
10521f)try{var b=document.createElement("canvas"),l=b.getContext("2d");b.height=e.height;b.width=e.widt… argument
10522f){try{if(null!=f){var g=d.convert(f.getAttribute(m));if(null!=g&&"data:"!=g.substring(0,5)){var p… argument
10523f++);if(f==d){c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>2);c…
10524 …z0123456789+/".charAt(m&63)}return c};Editor.prototype.loadUrl=function(b,c,f,d,e,l,m,g){try{var p… argument
10525 …a:image/png;base64,";d=l+Editor.base64Encode(d)}c(d)}}else null!=f&&(0==b.getStatus()?f({message:m…
10526f({message:mxResources.get("error")+" "+b.getStatus()},b))}),function(b){null!=f&&f({message:mxRes…
10527f.length;l++)if(d=f[l].indexOf(")"),0<d){var m=Editor.trimCssUrl(f[l].substring(0,d));this.graph.i…
10528f[0]],e=1;e<f.length;e++){var l=f[e].indexOf(")");b.push('url("');b.push(this.cachedFonts[Editor.t…
10529 …;else if("sfnt"==g||/(\.sfnt)($|\?)/i.test(b))c="application/font-sfnt";var f=b;/^https?:\/\//.tes…
10530f=PROXY_URL+"?url="+encodeURIComponent(b));this.loadUrl(f,mxUtils.bind(this,function(c){this.cache…
10531f="",d=0;null==this.cachedGoogleFonts&&(this.cachedGoogleFonts={});for(var e=mxUtils.bind(this,fun…
10532f=0;f<c.length;f++)0<mxUtils.getTextContent(c[f]).indexOf("MathJax")&&b[0].appendChild(c[f].cloneN…
10533f,b.firstChild):b.appendChild(f)):f=f[0];d=null!=d.createElementNS?d.createElementNS(mxConstants.N… argument
10534f,Math.min(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… argument
10535 …Image(d,0,0);b(p,f)},0):(y.drawImage(d,0,0),b(p,f))},p=document.createElement("canvas"),k=parseInt…
10536 …)),c=-Math.round(C-mxUtils.mod((z-J)*g,C));b<k;b+=C)for(var f=c;f<q;f+=C)y.drawImage(L,b/g,f/g);m(…
10537f);this.graph.mathEnabled&&this.addMathCss(f);var m=mxUtils.bind(this,function(){try{null!=this.re…
10538f,q)}catch(ha){null!=e&&e(ha)}};Editor.crcTable=[];for(var g=0;256>g;g++)for(var k=g,n=0;8>n;n++)k… argument
10540f?(f=Math.round(d/.0254),f=g(f)+g(f)+String.fromCharCode(1)):f=f+String.fromCharCode(0)+("zTXt"==c…
10541f=ColorDialog.addRecentColor;ColorDialog.addRecentColor=function(b,c){f.apply(this,arguments);mxSe…
10542 (f=b.currentPage.getId());return f});if(null!=window.StyleFormatPanel){var m=Format.prototype.init;…
10543 …tionVisible()){var c=this.editorUi,f=c.editor.graph,d=this.createOption(mxResources.get("shadow"),…
10544 !0;d.shadowVisible=b;f.model.execute(d)},{install:function(b){this.listener=function(){b(f.shadowVi…
10545 f=c.editor.graph;if(f.isEnabled()){var d=c.getCurrentFile();if(null!=d&&d.isAutosaveOptional()){var…
10546 f.isEnabled()&&"undefined"!==typeof MathJax){e=this.createOption(mxResources.get("mathematicalTypes…
10568 …atPanel.prototype.findCommonProperties=function(b,c,f){if(null!=c){var d=function(b){if(null!=b)if… argument
10570 …itor.enableCustomProperties){for(var c={},f=b.vertices,d=b.edges,e=0;e<f.length;e++)this.findCommo…
10571f.length&&0==e);null!=Object.getOwnPropertyNames&&0<Object.getOwnPropertyNames(c).length&&this.con…
10572f.style.marginBottom="2px";f.style.width="104px";f.style.marginRight="2px";b.appendChild(f);0<c.ce…
10573 f.style.width="210px";mxUtils.br(b);return v.apply(this,arguments)};EditorUi.prototype.propertiesCo… argument
10574f.countProperty&&(t.setCellStyles(f.countProperty,m.length,t.getSelectionCells()),e.push(f.countPr…
10575f.onChange)f.onChange(t,c);q.editorUi.fireEvent(new mxEventObject("styleChanged","keys",e,"values"… argument
10576 …,c,f)});mxEvent.consume(l)}));btn.style.height="12px";btn.style.width="40px";btn.className="geColo… argument
10577f,defVal:e,countProperty:l,parentRow:m,isDeletable:!0,flipBkg:g}));btn=mxUtils.button("+",mxUtils.…
10578f,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[… argument
10579f);t=!1;null!=k.index&&(v.setAttribute("data-index",k.index),y=(null!=y?y:"")+"["+k.index+"]",t=!0…
10580f,k));else if("enum"==u){var A=k.enumList;for(n=0;n<A.length;n++)if(y=A[n],y.val==f){mxUtils.write…
10581f,k.subType,k.subDefVal,k.countProperty,v,n)):"staticArr"==u?B.appendChild(g(c,f,k.subType,k.subDe…
10582 …(b):b)+"");d(c,b,k)}var m=document.createElement("input");e(B,m,!0);m.value=f;m.className="gePropE…
10585 f;if(q.editorUi.propertiesCollapsed){B.src=Sidebar.prototype.collapsedImage;f="none";for(var d=b.ch…
10586f.vertices.length&&0==f.edges.length?u=f.vertices[0].id:0==f.vertices.length&&1==f.edges.length&&(…
10587f.style[u.sizeProperty]||c[u.sizeProperty].defVal)||0;else if(null!=u.dependentProps){for(var z=u.…
10588f,defVal:u.defVal,countProperty:u.countProperty,size:u.size},0==f%2,u.flipBkg),c.parentNode.insert…
10591f.getModel().beginUpdate();try{for(var d=this.format.getSelectionState().cells,l=0;l<d.length;l++)…
10592 f.defaultVertexStyle:f.defaultEdgeStyle;null!=b?(mxEvent.isShiftDown(c)||(m=""==b.fill?mxUtils.setS…
10594f.getModel().isVertex(d[l])&&(m=mxUtils.setStyle(m,mxConstants.STYLE_FONTCOLOR,mxUtils.getValue(p,…
10595 …otype.noColorImage+"')":c.style.backgroundColor=""==b.fill?mxUtils.getValue(f.defaultVertexStyle,m…
10596f.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff");c…
10597 mxUtils.getValue(f.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,"#ffffff"),m=mxUtils.getValue(f.d…
10600 ….addEditOps=function(b){var c=this.format.getSelectionState(),f=null;1==c.cells.length&&(f=mxUtils…
10601f.setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi.actions.get("editStyle").sh…
10602f?c.style.width="210px":(f.style.width="104px",c.style.width="104px",c.style.marginLeft="2px"),b.a…
10603f;Graph.isCssFontUrl(c)?(f=document.createElement("link"),f.setAttribute("rel","stylesheet"),f.set…
10604 mxUtils.write(f,'@font-face {\nfont-family: "'+b+'";\nsrc: url("'+c+'");\n}'));return f};Graph.addF… argument
10605f&&("link"==e.elt.nodeName.toLowerCase()?(e.elt.onload=f,e.elt.onerror=f):f()),null!=c&&c.appendCh…
10606f)}}};Graph.processFontStyle=function(b){if(null!=b){var c=mxUtils.getValue(b,"fontSource",null);i…
10608f=this.getInsertPoint;this.getInsertPoint=function(){return null!=c?this.getPointForEvent(c):f.app…
10609f.gridSize=null!=c.rackUnitSize?parseFloat(c.rackUnitSize):"undefined"!==typeof mxRackContainer?mx…
10610f=mxUtils.hex2rgba(this.shapeForegroundColor);this.replaceDefaultColor(b,mxConstants.STYLE_FONTCOL…
10611f);this.replaceDefaultColor(b,mxConstants.STYLE_SWIMLANE_FILLCOLOR,c);this.replaceDefaultColor(b,m… argument
10612f){function d(){for(var b=m.getSelectionCells(),c=[],f=0;f<b.length;f++)m.isCellVisible(b[f])&&c.p… argument
10614 …r f=mxUtils.indexOf(m.hiddenTags,b);mxEvent.isShiftDown(c)?e(0<=mxUtils.indexOf(m.hiddenTags,b)):(…
10615f=m.getCellsForTags([b],null,null,!0);m.isEnabled()?m.setSelectionCells(f):m.highlightCells(f)}els…
10616f.splice(p,1);m.hiddenTags=f;d();m.refresh()}mxEvent.consume(c)});k.appendChild(q);if(m.isEnabled(…
10617f=mxUtils.indexOf(g,b);0<=f&&g.splice(f,1);m.removeTagsForCells(m.model.getDescendants(m.model.get…
10620f&&f(g,function(b){g=b;n()})});t.setAttribute("title",mxResources.get("add"));t.className="geBtn";… argument
10621 …s=function(){var b=this.extFonts,b=null!=b?b.slice():[],c;for(c in Graph.customFontElements){var f=
10622f.name,url:f.url})}return b};Graph.prototype.setFont=function(b,c){Graph.addFont(b,c);document.exe…
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 …this,arguments);if(this.mathEnabled){var c=b.drawText;b.drawText=function(b,f){if(null!=b.text&&nu… argument
10632f=!1,d=0,e=0,l=mxUtils.bind(this,function(){f||(f=!0,this.model.beginUpdate())}),m=mxUtils.bind(th…
10633 ….fadeNodes(this.getNodesForCells(this.getCellsForAction(k.fadeIn,!0)),0,1,g,f?0:k.fadeIn.delay));n…
10634 !0)),1,0,g,f?0:k.fadeOut.delay));null!=k.wipeIn&&(q=q.concat(this.createWipeAnimations(this.getCell…
10637f?1:k.steps,f?0:k.delay));0==d?p():m()}else this.stoppingCustomActions=this.executingCustomActions…
10638f=e[m].getAttribute("href"),null!=f&&"data:action/json,"==f.substring(0,17)&&(e[m].setAttribute("h…
10639f++){var d=c[f],e;for(e in d)this.updateCustomLinkAction(b,d[e],"cells"),this.updateCustomLinkActi… argument
10640f.length;e++)0>b.excludeCells.indexOf(f[e].id)&&d.push(f[e]);f=d}return f};Graph.prototype.getCell…
10641f,d){var e=[];if(null!=b){c=null!=c?c:this.model.getDescendants(this.model.getRoot());for(var l=0,… argument
10642 …tRoot()))};Graph.prototype.getCommonTagsForCells=function(b){for(var c=null,f=[],d=0;d<b.length;d+…
10643 f=[];if(0<e.length){for(var e=e.split(" "),l={},m=0;m<e.length;m++)if(null==c||null!=c[e[m]])l[e[m]…
10644f=0;f<b.length;f++){for(var d=this.getTagsForCell(b[f]),e=d.split(" "),l=!1,m=0;m<c.length;m++){va…
10645f],"tags",e.join(" "))}}}finally{this.model.endUpdate()}}};Graph.prototype.toggleCells=function(b)…
10646f,d){for(var e=0;e<b.length;e++)this.highlightCell(b[e],c,f,d)};Graph.prototype.highlightCell=func… argument
10647 …ow.setTimeout(function(){l.destroy()},1200)},f)}};Graph.prototype.addSvgShadow=function(b,c,f,d){f argument
10650 …ld?b.insertBefore(e,b.firstChild):b.appendChild(e)):e=m[0];e.appendChild(l);f||(c=null!=c?c:b.getE…
10652 …r b=this.model.getChildCount(this.model.root),c,f=0;do c=this.model.getChildAt(this.model.root,f);…
10663 …Marker.createMarker=function(b,c,f,d,e,l,m,g,p,k){if(null!=f&&null==mxMarker.markers[f]){var q=thi… argument
10664f(){y.value=Math.max(1,Math.min(g,Math.max(parseInt(y.value),parseInt(n.value))));n.value=Math.max… function
10666f){f=PrintDialog.createPrintPreview(c,v,u,0,n,y,x);f.pageSelector=!1;f.mathEnabled=!1;n=b.getCurre… argument
10667 f.writeln("</style>"));null!=b.editor.fontCss&&(f.writeln('<style type="text/css">'),f.writeln(b.ed…
10668 if("undefined"!==typeof MathJax){var z=f.renderPage;f.renderPage=function(c,f,d,e,l,m){var g=mxClie… argument
10669f.open(null,null,l,!0);e.enableFlowAnimation=y;null!=n&&(e.stylesheet=n,e.refresh())}else{u=c.back…
10670 f.wnd.document.writeln('@font-face {\nfont-family: "'+mxUtils.htmlEntities(y)+'";\nsrc: url("'+mxUt…
10673 f(m,t,v!=k);m!=e&&m.container.parentNode.removeChild(m.container)}}else t=f(e);null==t?b.handleErro…
10676 …",function(){t.checked=!0});mxEvent.addListener(n,"change",f);mxEvent.addListener(y,"change",f);if…
10692 …itorUi.lastErrorMessage=b;var f=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";g=null!=g?g:E…
10695f(b,c){var f=l;l+=c;return b.substring(f,l)}function e(b){b=f(b,4);return b.charCodeAt(3)+(b.charC… function
10701 …==urlParams.lockdown)};EditorUi.prototype.createSpinner=function(b,c,d){var f=null==b||null==c;d=n…
10702 …unction(d,m){var g=!1;this.active||(l.call(this,d),this.active=!0,null!=m&&(f&&(c=Math.max(documen…
10704 …orUi.prototype.isCompatibleString=function(b){try{var c=mxUtils.parseXml(b),f=this.editor.extractG…
10705 !0);return null!=f&&0==f.getElementsByTagName("parsererror").length}catch(p){}return!1};EditorUi.pr…
10707 …nction(c){var f=b.apply(this,arguments);if(!this.editor.chromeless||this.editor.editable){var d=f.…
10709f};var e=EditorUi.prototype.extractGraphModelFromHtml;EditorUi.prototype.extractGraphModelFromHtml…
10711 null!=c&&(b=c);if(null!=b){c=this.editor.graph;c.model.beginUpdate();try{var f=null!=this.pages?thi…
10712 ….root=this.editor.graph.model.root);if(null!=f)for(e=0;e<f.length;e++)c.model.execute(new ChangePa…
10713 …ll!=g?g:!1;x=null!=x?x:!0;var f,l=null;null==d||d.getMode()==App.MODE_DEVICE||d.getMode()==App.MOD…
10716f,l);else if(k||!g&&null!=d&&/(\.svg)$/i.test(d.getTitle()))null==d||d.getMode()!=App.MODE_DEVICE&…
10717 …ode(!0):(b=b.cloneNode(!1),mxUtils.setTextContent(b,Graph.compressNode(c)));f.appendChild(b)},Edit…
10718 Graph.compressNode(f)),f=this.fileNode.cloneNode(!1),c)b(this.currentPage.node);else for(c=0;c<this…
10720f};EditorUi.prototype.anonymizeString=function(b,c){for(var f=[],d=0;d<b.length;d++){var e=b.charA…
10721f=mxUtils.parseXml(b[EditorUi.DIFF_INSERT][c].data).documentElement.cloneNode(!1);null!=f.getAttri…
10722f in c)null!=c[f].value&&(c[f].value="["+c[f].value.length+"]"),null!=c[f].xmlValue&&(c[f].xmlValu…
10723f=0;f<b.attributes.length;f++)"as"!=b.attributes[f].name&&b.setAttribute(b.attributes[f].name,this…
10724f.length;d++)null!=f[d].getAttribute("value")&&f[d].setAttribute("value","["+f[d].getAttribute("va…
10725 f[d].parentNode.parentNode.replaceChild(f[d],f[d].parentNode));return b};EditorUi.prototype.synchro…
10726f=this.editor.graph;if(c||!b&&null!=x&&/(\.svg)$/i.test(x.getTitle())){var l=null!=f.themes&&"dark…
10727 f=this.createTemporaryGraph(l?f.getDefaultStylesheet():f.getStylesheet());f.setBackgroundImage=this… method
10728f,x,window.location.href,b,c,d,e,g,v,A);f!=this.editor.graph&&f.container.parentNode.removeChild(f
10730 …+g+"'\"/>\n":"")+"</head>\n<body"+(null==g&&null!=f&&f!=mxConstants.NONE?' style="background-color…
10734 …agName("diagram"),"0"!=urlParams.pages||1<c.length||1==c.length&&c[0].hasAttribute("name"))){var f=
10735 …ull!=urlParams["page-id"]&&b.getId()==urlParams["page-id"]&&(f=b);this.currentPage=null!=f?f:this.…
10738f=this.getBaseFilename(!g),l=f+("xml"==b||"pdf"==b&&z?".drawio":"")+"."+b;if("xml"==b){var m=Graph…
10739f+".png":"jpeg"==b&&(l=f+".jpg"),this.saveRequest(l,b,mxUtils.bind(this,function(c,f){try{var d=th… argument
10740 …aph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+mxUtils.getXml(b))})))}else l=f+".svg",p=this.getFil…
10741 …totype.createDownloadRequest=function(b,c,d,e,g,k,n,v,x,A,z){var f=this.editor.graph,l=f.getGraphB…
10742f.background;"png"!=c&&"pdf"!=c||!g?g||null!=k&&k!=mxConstants.NONE||(k="#ffffff"):k=mxConstants.N…
10743 …ion(b,c){this.mode=b};EditorUi.prototype.loadDescriptor=function(b,c,d){var f=window.location.hash…
10744 …onent(urlParams.title):this.defaultFilename,!0);d.getHash=function(){return f};this.fileLoaded(d);…
10746 …vent.CLICK,function(c,f){d.alert(b.tooltip)});return c}var f=null,d=this;if(null!=b&&0<b.length&&( argument
10750f};EditorUi.prototype.getCopyFilename=function(b,c){var f=null!=b&&null!=b.getTitle()?b.getTitle()…
10751f=f+(" "+(e+"-"+g+"-"+k+"-"+n+"-"+A+"-"+l));return f=mxResources.get("copyOf",[f])+d};EditorUi.pro…
10752 this.setCurrentFile(null);null!=f&&this.updateDocumentTitle();this.editor.graph.model.clear();this.…
10756 …connecting"))?window.location.search=this.getSearch(["url"]):null!=f?this.fileLoaded(f):e()});c?l(…
10757 function(b,c){var f=0,d=new mxGraphModel,e=new mxCodec;null!=c&&(c.byteCount=0,c.attrCount=0,c.eltC…
10758 f=(f<<5)-f+this.hashValue(g,function(b,c,f,d){return!d||"mxGeometry"!=b.nodeName&&"mxPoint"!=b.node… argument
10759f^=this.hashValue(l,c,d)+this.hashValue(m,c,d))}}if(null!=b.childNodes)for(e=0;e<b.childNodes.leng…
10761 … c=mxUtils.createXmlDocument(),f=c.createElement("mxlibrary");mxUtils.setTextContent(f,JSON.string…
10762f=0;f<c.length;f++)c[f].parentNode.removeChild(c[f]);delete this.sidebar.palettes[b]}};EditorUi.pr…
10763 …());if("mxlibrary"==f.documentElement.nodeName){var d=JSON.parse(mxUtils.getTextContent(f.document…
10764f=this.sidebar.palettes[b.getHash()],f=null!=f?f[f.length-1].nextSibling:null;this.removeLibrarySi… argument
10765 d,null!=e?e:!0,mxUtils.bind(this,function(b){m(c,b)}));this.repositionLibrary(f);var k=g.parentNode…
10766 …ener(n,"click",mxUtils.bind(this,function(c){if(!mxEvent.isConsumed(c)){var f=mxUtils.bind(this,fu…
10767f,mxResources.get("cancel"),mxResources.get("discardChanges")):f();mxEvent.consume(c)}}));if(b.isE… argument
10769f){this.saveLibrary(b.getTitle(),c,b,b.getMode(),b.constructor==LocalLibrary,!0,function(){null==B… argument
10770f.x,-f.y)}g.appendChild(this.sidebar.createVertexTemplateFromCells(b,f.width,f.height,e||"",!0,!1,…
10771 …ctionCells(),f=y.view.getBounds(c),d=y.view.scale;f.x/=d;f.y/=d;f.width/=d;f.height/=d;f.x-=y.view…
10774f,d,e,k,p,n,q,t,y){if(null!=f&&"image/"==d.substring(0,6))f="shape=image;verticalLabelPosition=bot… argument
10775 …ction(f,d){if(null!=f&&"application/pdf"==d){var e=Editor.extractGraphModelFromPdf(f);null!=e&&0<e… argument
10777f,q)&&null!=y?this.parseFile(y,mxUtils.bind(this,function(b){4==b.readyState&&(this.spinner.stop()…
10779 …h+"px"}};EditorUi.prototype.addLibraryEntries=function(b,c){for(var f=0;f<b.length;f++){var d=b[f],
10785f=new ChangePageSetup(this,null,b);f.ignoreColor=!0;this.editor.graph.model.execute(f)}});var f=ne…
10788 …ild(c);return b};EditorUi.prototype.handleError=function(b,c,d,e,g,k,n){var f=null!=this.spinner&&…
10789 …rror");if(null!=l){null!=l.retry&&(m=mxResources.get("cancel"),p=function(){f();l.retry()});if(404…
10791 …;b++){var f=document.createElement("option");mxUtils.write(f,c[b].displayName);f.value=b;e.appendC…
10792f,"<"+c[b].email+">");f.setAttribute("disabled","disabled");e.appendChild(f)}f=document.createElem…
10793f=e.value,d=c.length!=f;d&&this.drive.setUser(c[f]);this.drive.authorize(d,mxUtils.bind(this,funct…
10796f=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},l=Math.min(200,28…
10798 f=document.createElement("img");f.setAttribute("src",IMAGE_PATH+"/logo.png");f.setAttribute("border…
10799 l.appendChild(f);mxUtils.write(l,c);document.body.appendChild(l);this.bannerShowing=!0;c=document.c…
10800 …gs.settings["close"+b]=Date.now(),mxSettings.save()))});mxEvent.addListener(f,"click",mxUtils.bind…
10801 …yle,"transform","translate(-50%,0%)")}),500);window.setTimeout(p,3E4);f=!0}return f};EditorUi.prot…
10802 …ype.saveCanvas=function(b,c,d,e,g){var f="jpeg"==d?"jpg":d;e=this.getBaseFilename(e)+(null!=c?".dr…
10803f,b.substring(b.lastIndexOf(",")+1),"image/"+d,!0)};EditorUi.prototype.isLocalFileSave=function(){…
10804 f.textarea.style.height="380px";this.showDialog(f.container,620,460,!0,!0,null,null,null,null,!0);f
10805 …,e);else{var f=document.createElement("a");k=(null==navigator.userAgent||0>navigator.userAgent.ind…
10806f.href=URL.createObjectURL(e?this.base64ToBlob(b,d):new Blob([b],{type:d}));k?f.download=c:f.setAt…
10807 …or(var f=atob(b),d=f.length,e=Math.ceil(d/1024),l=Array(e),g=0;g<e;++g){for(var k=1024*g,n=Math.mi…
10808 …nt(k);isLocalStorage&&g++;var f=4>=g?2:6<g?4:3;c=new CreateDialog(this,c,mxUtils.bind(this,functio… argument
10809f==App.MODE_DEVICE||"download"==f?this.doSaveLocalFile(b,c,d,e,null,v):null!=c&&0<c.length&&this.p…
10810f=window.open("about:blank");null==f||null==f.document?mxUtils.popup(b,!0):("image/svg+xml"!=c||mx…
10811 …ion(b){if(null!=urlParams.tags){this.tagsDialog=this.tagsComponent=null;var f=b(mxUtils.bind(this,…
10814 (this.tagsDialog.parentNode.removeChild(this.tagsDialog),this.tagsDialog=null)}));var c=f.getBoundi…
10815 …nt.CHANGE,mxUtils.bind(this,function(){var b=this.editor.graph.getAllTags();f.style.display=0<b.le…
10818 else{this.exportDialog=document.createElement("div");var f=d.getBoundingClientRect();mxUtils.setPre…
10819f.left+"px";this.exportDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+this.chro…
10820f=this.createImageDataUri(b,null,"png");b=document.createElement("img");b.style.maxWidth="140px";b…
10821 function(){this.openInNewWindow(f.substring(f.indexOf(",")+1),"image/png",!0);c.apply(this,argument…
10822f){return this.createEchoRequest(d,b,e,g,c,f)}),d,g,e)};EditorUi.prototype.saveRequest=function(b,… argument
10823f==App.MODE_DEVICE||"download"==f||"_blank"==f?l.simulate(document,"_blank"):this.pickFolder(f,mxU…
10824 …rces.get("download"),!1,!1,n,null,1<f,l,e,k,g);f=this.isServices(f)?4<f?390:270:160;this.showDialo…
10825 …(document.body,mxResources.get("export")))try{var f=this.editor.graph.isSelectionEmpty();d=null!=d…
10828f=document.createElement("input");f.style.marginRight="8px";f.style.marginTop="16px";f.setAttribut…
10829 c){var f=this.addCheckbox(b,mxResources.get("edit")+":",!0,null,!0);f.style.marginLeft="24px";var d…
10830 …ontainer,300,80,!0,!1);b.init()}}));mxEvent.addListener(f,"change",mxUtils.bind(this,function(){f.…
10831f.checked?"blank"===l.value?"_blank":e:null},getEditInput:function(){return f},getEditSelect:funct… function
10833 …ind(this,function(b){this.pickColor(l||"none",function(b){l=b;f()});mxEvent.consume(b)}));f();g.st…
10837f={};""!=g&&g!=mxConstants.NONE&&(f.highlight=g);"auto"!==e&&(f.target=e);A||(f.lightbox=!1);f.nav…
10838f.resize=!0,null!=this.pages&&null!=this.currentPage&&(f.page=mxUtils.indexOf(this.pages,this.curr…
10839 …')};EditorUi.prototype.showHtmlDialog=function(b,c,d,e){var f=document.createElement("div");f.styl…
10840 …le.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";f.appendChild(l);var g…
10842 …led","disabled");f.appendChild(g);var n=this.addLinkSection(f),B=this.addCheckbox(f,mxResources.ge…
10843f.appendChild(y);var C=this.addCheckbox(f,mxResources.get("fit"),!0),g=null!=this.pages&&1<this.pa…
10844f,mxUtils.bind(this,function(){e(m.checked?d:null,B.checked,y.value,n.getTarget(),n.getColor(),C.c…
10845 f.style.whiteSpace="nowrap";var l=document.createElement("h3");mxUtils.write(l,b||mxResources.get("…
10846 …m.getId())}));p.style.marginTop="12px";p.className="geBtn";l.appendChild(p);f.appendChild(l);p=doc…
10847 …1);b.init()}))}))}var q=null,t=null;if(null!=d||null!=e)b+=30,mxUtils.write(f,mxResources.get("wid…
10848f.appendChild(q),mxUtils.write(f,mxResources.get("height")+":"),t=document.createElement("input"),…
10849f,mxResources.get("allPages"),d,!d);var G=this.addCheckbox(f,mxResources.get("lightbox"),!0,null,n…
10850 …tEditSelect().setAttribute("disabled","disabled")});c=new CustomDialog(this,f,mxUtils.bind(this,fu…
10851 …Ui.prototype.showRemoteExportDialog=function(b,c,d,e,g){var f=document.createElement("div");f.styl…
10852f.appendChild(l);if(g){mxUtils.write(f,mxResources.get("zoom")+":");var m=document.createElement("…
10853f.appendChild(k);mxUtils.br(f)}var p=this.addCheckbox(f,mxResources.get("selectionOnly"),!1,this.e…
10854 …d,e,g,k,n,v,x){n=null!=n?n:Editor.defaultIncludeDiagram;var f=document.createElement("div");f.styl…
10855 f.appendChild(p);mxUtils.write(f,mxResources.get("zoom")+":");var q=document.createElement("input")…
10856 "0";f.appendChild(t);mxUtils.br(f);var u=this.addCheckbox(f,mxResources.get("selectionOnly"),!1,l.i…
10857f,mxResources.get("size")+":"),f.appendChild(D),mxUtils.br(f),m+=26,mxEvent.addListener(D,"change"…
10858f,mxResources.get("transparentBackground"),!1,null,null,"jpeg"!=v),M=null;Editor.isDarkMode()&&(M=…
10859f.appendChild(Q),mxUtils.write(f,mxResources.get("embedImages")),mxUtils.br(f),f.appendChild(P),mx…
10860 …==v)K=this.addCheckbox(f,mxResources.get("grid"),!1,this.isOffline()||!this.canvasSupported,!1,!0)…
10861 …g"==v&&(mxUtils.write(f,mxResources.get("links")+":"),f.appendChild(J),mxUtils.br(f),mxUtils.br(f)…
10862 …orUi.prototype.showEmbedImageDialog=function(b,c,d,e,g){var f=document.createElement("div");f.styl…
10863f.appendChild(m)}var k=this.addCheckbox(f,mxResources.get("fit"),!0),p=this.addCheckbox(f,mxResour…
10864 …tEditSelect().setAttribute("disabled","disabled")});c=new CustomDialog(this,f,mxUtils.bind(this,fu…
10865 …i.prototype.createEmbedImage=function(b,c,d,e,g,k,n,v){function f(c){var f=" ",p="";e&&(f=" onclic… function
10866 …ath.round(l.height)+'"');n('<img src="'+c+'"'+q+(""!=p?' style="'+p+'"':"")+f+"/>")}var l=this.edi…
10867 this.createImageDataUri(b,c,"png");f(b)}),null,null,null,mxUtils.bind(this,function(b){v({message:m…
10868f("data:image/png;base64,"+q.getText()):v({message:mxResources.get("unknownError")})}))}else v({me…
10869 f.setAttribute("content",this.getFileData(!0));c&&this.editor.graph.addSvgShadow(f);if(d){var q=" "…
10870f,mxUtils.bind(this,function(b){n('<img src="'+Editor.createSvgDataUri(mxUtils.getXml(b))+'"'+(""!…
10871f.getAttribute("width")),g=parseInt(f.getAttribute("height")),f.setAttribute("viewBox","-0.5 -0.5 …
10872 …orUi.prototype.decodeNodeIntoGraph=function(b,c){if(null!=b){var f=null;if("diagram"==b.nodeName)f=
10873f=d[0],e=c.getGlobalVariable;c.getGlobalVariable=function(b){return"page"==b?f.getAttribute("name"…
10874f=d))}return{scale:c,border:f}};EditorUi.prototype.getEmbeddedPng=function(b,c,d,e,g){try{var f=th…
10875f),m=d;else if(l||null!=this.pages&&this.currentPage!=this.pages[0]){var f=this.createTemporaryGra… method
10876f.container);f.model.setRoot(p.root)}this.editor.exportToCanvas(mxUtils.bind(this,function(d){try{…
10877f.shadowVisible,null,f,g,null,null,null,"diagram",null)}catch(z){null!=c&&c(z)}};EditorUi.prototyp…
10878 …){v?this.editor.convertImages(b,mxUtils.bind(this,function(b){f(b)})):f(b)}));else return f(k)};Ed…
10879f){try{null!=f&&this.editor.addFontCss(b,f),c(b)}catch(p){c(b)}}))}catch(m){c(b)}}))};EditorUi.pro… argument
10880 …ditorUi.prototype.importXml=function(b,c,d,e,g,k,n){c=null!=c?c:0;d=null!=d?d:0;var f=[];try{var l=
10883f=l.importGraphModel(p,c,d,e),null!=f))for(u=0;u<f.length;u++)this.updatePageLinksForCell(b,f[u]);…
10884f<c.length;f++)this.updatePageLinksForCell(b,c[f].root)};EditorUi.prototype.updatePageLinksForCell…
10885f=b[c.substring(c.indexOf(",")+1)];c=null!=f?"data:page/id,"+f:null}else if("data:action/json,"==c…
10886f:null==this.getPageById(g)&&delete l.open}}c="data:action/json,"+JSON.stringify(d)}}catch(v){}ret…
10887f?"remote":"local"})}catch(B){}if(f)if(null==VSD_CONVERT_URL||this.isOffline())d({message:"conf"==…
10888 …){var f=new FileReader;f.onload=mxUtils.bind(this,function(b){try{c(b.target.result)}catch(F){d({m…
10889f=new FileReader,f.onload=function(){d({message:JSON.parse(f.result).Message})},f.readAsText(p.res…
10890 f))};EditorUi.prototype.importGraphML=function(b,c,d){d=null!=d?d:mxUtils.bind(this,function(b){thi…
10892 function(b,c,d){var f=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeo…
10893f,0):(this.loadingExtensions=!0,"1"==urlParams.dev?mxscript("js/diagramly/Extensions.js",function(…
10895 …t(/\s+/),l=parseFloat(k[2]),g=parseFloat(k[3])}catch(B){l=l||100,g=g||100}d(f.convertDataUri(Edito…
10896f(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(c2&63);r+=l(c3&6… argument
10897f(b.charCodeAt(i),0,0):r+f(b.charCodeAt(i),b.charCodeAt(i+1),b.charCodeAt(i+2));return r}(Graph.ar…
10898f.result,b,l)}catch(D){e(D)}};c.src=f.result};f.onerror=function(b){e(b)}}else e(b)};g.onerror=fun…
10899 !0)}finally{f.getModel().endUpdate()}return e};EditorUi.prototype.insertTextAt=function(b,c,d,e,g,k…
10900 b.substring(0,5)||!this.isOffline()&&(g||/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(b))){var f=this.edi…
10901 …izeImage(e,b,mxUtils.bind(this,function(b,e,l){f.setSelectionCell(f.insertVertex(null,null,"",f.sn…
10902f.setSelectionCell(f.insertVertex(null,null,"",f.snap(c),f.snap(d),g,e,"shape=image;verticalLabelP…
10903f.snap(c),f.snap(d),1,1,"text;"+(e?"html=1;":"")),f.updateCellSize(l),f.fireEvent(new mxEventObjec…
10904f=this.editor.graph;g=null;f.getModel().beginUpdate();try{g=f.insertVertex(f.getDefaultParent(),nu…
10905 …ight}Graph.isLink(g.value)&&f.setLinkForCell(g,g.value);g.geometry.width+=f.gridSize;g.geometry.he…
11537 …ameWin||navigator.standalone)e();else{var c=null;try{c=window.open(b)}catch(f){}null==c||void 0===…
11554 …dow.location.hash&&"#_CONFIG_"==window.location.hash.substring(0,9))try{var f=function(b){if(null!… function
11555 …JSON.parse(Graph.decompress(window.location.hash.substring(9)));if(null!=l&&f(l.plugins)){EditorUi…
11559 …ASE,mxLanguage))}window.onerror=function(b,c,d,e,f){EditorUi.logError("Global: "+(null!=b?b:""),c,… argument
11564 …dow.location.protocol+"//"+window.location.host,k=!0,f=0;f<g.length&&k;f++)"/"!=g[f].charAt(0)&&g[
11565f=0;f<g.length;f++)try{null==App.pluginsLoaded[g[f]]&&(App.pluginsLoaded[g[f]]=!0,App.embedModePlu…
11610 c)}}}catch(f){}}))}};App.prototype.handleLicense=function(b,e){null!=b&&null!=b.plugins&&App.loadPl…
11615 …ll==this.thumbImageCache&&(this.thumbImageCache={});var n=this.editor.graph,f=n.backgroundImage,l=…
11616 …Page==p?n.setBackgroundImage(f):null!=p.viewState&&null!=p.viewState&&(f=p.viewState.backgroundIma…
11617 …ranslate,v=n.view.scale;null!=f&&(t=mxRectangle.fromRectangle(t),t.add(new mxRectangle((u.x+f.x)*v…
11618 …th.ceil(t.height+4));B.restore();if(null!=f){var C=new Image;C.src=f.src;B.drawImage(C,f.x*x,f.y*x…
11658 …null,b,c))}else this.openFileHandle(g.target.result,c.name,c,!1,b)}catch(f){d(f)}});g.onerror=d;"i…
11665 …OWSER?new StorageFile(this,c,d):new LocalFile(this,c,d))}),f=this.getCurrentFile();null!=f&&f.isMo…
11668 …his,function(b){this.spinner.stop();try{this.loadLibrary(b)}catch(f){this.handleError(f,mxResource…
11672f=this.createLibraryDataFromImages(e),l=mxUtils.bind(this,function(b){this.spinner.stop();null!=n&…
11673f,d,mxUtils.bind(this,function(b){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(b,e)}…
11674 f,mxUtils.bind(this,function(b){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(b,e)}),l…
11675f,mxUtils.bind(this,function(b){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(b,e)}),…
11676f,b);c.saveFile(b,!1,mxUtils.bind(this,function(){this.hideDialog(!0);this.libraryLoaded(c,e)}),l)…
11679 …,n=this.mode,f=this.getServiceCount(!0);isLocalStorage&&f++;var l=4>=f?2:6<f?4:3,g=new CreateDialo… argument
11680 …bind(this,function(){f.value=b.split(".").slice(0,-1).join(".");f.focus();mxClient.IS_GC||mxClient…
11682 …ll,null,null,this.editor.fileExtensions,!1);this.showDialog(g.container,400,f>l?390:270,!0,!0);g.i…
11683f=null!=c?c:b;this.editor.loadUrl(n,mxUtils.bind(this,function(c){try{var l=k?!window.atob||mxClie…
11684 …xOf(",")+1)),function(b){e(b)},d,f);else if(!this.isOffline()&&(new XMLHttpRequest).upload&&this.i…
11685f)||this.isPngData(l))l=this.extractGraphModelFromPng(c);e(l)}}catch(q){d(q)}}),d,/(\.png)($|\?)/i…
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
11690f&&c==App.MODE_DEVICE&&EditorUi.nativeFileSupport?(m(),this.showSaveFilePicker(mxUtils.bind(this,f…
11691 …?this.editor.extractGraphModel(mxUtils.parseXml(n).documentElement,!0):null,f=window.location.prot…
11692f));null!=m&&m.container.parentNode.removeChild(m.container);var p=mxUtils.bind(this,function(){th…
11693 …ar c=[],f=g.split(";"),k=0;k<f.length;k++)c.push(decodeURIComponent(f[k]));this.loadLibraries(c)}}…
11695 …("loading")))if("L"==b.charAt(0))if(this.spinner.stop(),isLocalStorage){var f=mxUtils.bind(this,fu…
11696 …fileLoaded(new StorageFile(this,d,b)),null!=c&&c()):f({message:mxResources.get("fileNotFound")})})…
11700 …=urlParams.title&&"1"!=urlParams.notitle){var f=k,g=k.lastIndexOf("."),l=f.lastIndexOf("/");g>l&&0…
11701 …rawio"),".svg"===g||".xml"===g||".html"===g||".png"===g||".drawio"===g)&&(e=f+g)}d=new LocalFile(t…
11704 …cation.hash="#"+b.getHash()}),null,null,"#"+t+b)}))}}),n=this.getCurrentFile(),f=mxUtils.bind(this,
11705 …dChanges"))});null==b||0==b.length?f():null==n||e?f():this.showDialog((new PopupDialog(this,this.g…
11708 …oadLibrary(g[d]);null!=e&&e()}});if(null!=b)for(var n=0;n<b.length;n++){var f=encodeURIComponent(d…
11709 b&&0<b.length&&null==this.pendingLibraries[b]&&null==this.sidebar.palettes[b]){c++;var f=mxUtils.bi…
11710f(new StorageLibrary(this,b,c)):l()}),l)}catch(z){l()}}),0);else if("U"==m){var n=decodeURICompone…
11711 …pLib)try{this.loadDesktopLib(decodeURIComponent(b.substring(1)),function(b){f(b)},l)}catch(A){l()}…
11712 …(b.substring(1)),mxUtils.bind(this,function(b){try{f(b)}catch(z){l()}}),function(b){l()}):l(!0)}}}…
11719 …g=null!=localStorage?parseInt(localStorage.getItem(d)):!0,f=0;f<c.length;f++)c[f].isNew=!g||c[f].t…
11726 …ent.addListener(c,"click",k)}else this.notificationBtn.style.display="";var f=0,l=document.getElem…
11727 if(null!=l){l.innerHTML='<div class="line"></div>';for(g=0;g<b.length;g++)(function(b,c){c.isNew&&f
11728 "notifWin")});l.appendChild(d)})(this,b[g]);d(f)}}};
11739f){var l=e;/\.svg$/i.test(l)||(l=l.substring(0,e.lastIndexOf("."))+c);var m=!1;null!=this.gitHub&&… argument
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,…
11770f=document.createElement("img");f.setAttribute("width","50");f.setAttribute("height","50");f.setAt…
11771f=document.createElement("small"),f.style.color="gray",mxUtils.write(f,b.email),d.appendChild(f));
11772 …le.borderSpacing="0";n.style.fontSize="10pt";n.style.width="100%";n.style.padding="10px";for(var f=
11773 0;f<e.length;f++)n.appendChild(d(e[f]));this.userPanel.appendChild(n);d=document.createElement("div…
11775 …dChild(n);this.userPanel.appendChild(d)}}d=mxUtils.bind(this,function(b,d,e,f){if(null!=b){c&&this… argument
11777 ….appendChild(d));null!=f&&(b=document.createElement("div"),b.style.marginTop="4px",d=document.crea…
11791 …G&&isLocalStorage&&(null==document.documentMode||10<=document.documentMode),f=("1"!=urlParams.embe…
11794f=e.libs,g=e.clibs;c.pickFolder(c.mode,function(e){c.createFile(d,b,null!=f&&0<f.length?f:null,nul… argument
11795f?!0:!1,function(c){for(var d=[],f=0;f<c.items.length;f++)d.push(e(c.items[f]));b(d)},d)},function… argument
11802f=c.addCheckbox(b,mxResources.get("selectionOnly"),!1,g.isSelectionEmpty()),k=c.addCheckbox(b,mxRe…
11803 …"url"),!0,null,null,function(b,d,e,f,g,k,l,m,n){l=[];n&&l.push("tags=%7B%7D");b=new EmbedDialog(c,… argument
11804 …ll,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
11805f,"text/html")}))})})}));c.actions.put("exportPdf",new Action(mxResources.get("formatPdf")+"...",f… function
11808 …d"),!1,!1);mxEvent.addListener(n,"change",f);mxEvent.addListener(p,"change",f);mxEvent.addListener…
11809f);var f=!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp&&"draw.io"==c.getServiceName(),A=null,N=n…
11818f,g,k,l,m,n,p,q,t,u,v){b=parseInt(b);!isNaN(b)&&0<b&&c.exportSvg(b/100,d,e,f,g,k,l,!m,!1,p,t,u,v)}… argument
11819 …port"),null,mxUtils.bind(this,function(b,d,e,f,g){c.downloadFile(d?"xmlpng":"png",null,null,b,null… argument
11820f,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",q,… argument
11825 …function(b,d){var e=g.isEnabled()&&(null==d||!mxEvent.isShiftDown(d)),f=e?"findReplace":"find",k=f+
11826 …on(){c.fireEvent(new mxEventObject(f))});this[k].window.addListener("hide",function(){c.fireEvent(…
11828 …r f=c.addCheckbox(d,mxResources.get("allPages"),!b,b);f.style.marginBottom="16px";b=new CustomDial…
11829 …value),f=window.location.protocol+"//"+window.location.host+"/"+c.getSearch()+"#_CONFIG_"+Graph.co…
11831 …=mxUtils.bind(this,function(e){var f=""==e?mxResources.get("automatic"):mxLanguageMap[e],g=null;""…
11832 …itor.checkmarkImage));return g});e("");b.addSeparator(d);for(var f in mxLanguageMap)e(f)})));var u…
11836 …hartLayout.js",k)})})}):mxscript("js/extensions.min.js",k))}var d=null,e=20,f=20,g=!0,k=function()…
11837 typeof mxOrgChartLayout&&null!=d&&g){var b=c.editor.graph,k=new mxOrgChartLayout(b,d,e,f),l=b.getDe…
11840 …e="number";t.value=f;t.style.width="200px";t.style.boxSizing="border-box";l.appendChild(t);mxEvent…
11841 …Mode()?"#505759":"whiteSmoke";e.style.cursor="default";var f=document.createElement("input");f.set…
11842 f.setAttribute("size","25");f.style.marginLeft="8px";mxEvent.addListener(f,"keydown",mxUtils.bind(t…
11843f.value="")}));e.firstChild.nextSibling.appendChild(f);mxEvent.addGestureListeners(f,function(b){d…
11848f[b]){for(;0<f[b].length;){var e=f[b].pop();c(e)}delete f[b]}}else mxLog.debug(d+": Visited: "+b)}…
11849f)))};"<"!=b.charAt(0)&&(b=Graph.decompress(b),mxLog.debug("See console for uncompressed XML"),con…
11853 …g.view.scale,e=mxUtils.createXmlDocument(),f=e.createElement("output");e.appendChild(f);e=new mxXm…
11854 mxLog.debug(mxUtils.getXml(f));mxLog.debug("stateCounter",k)}));c.actions.addAction("testShowConsol…
11856 …diagrams.net/doc/faq/embed-html-options",b,function(b,d,e,f,g,k,l,m,n,p,q){c.createHtml(b,d,e,f,g,… argument
11857 f=e.document;if(null!=f){"CSS1Compat"===document.compatMode&&f.writeln("<!DOCTYPE html>");f.writeln…
11858 …"script");b.type="text/javascript";b.src=/<script.*?src="(.*?)"/.exec(d)[1];f.body.appendChild(b);…
11860 …mbedImageDialog(function(b,d,e,f,g,k){c.spinner.spin(document.body,mxResources.get("loading"))&&c.… argument
11861 …EmbedImageDialog(function(b,d,e,f,g,k){c.spinner.spin(document.body,mxResources.get("loading"))&&c… argument
11862f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurrent… argument
11863f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurrent… argument
11864f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurrent… argument
11871 …var k=mxUtils.bind(this,function(b,d,e){var f=g.view,k=g.getGraphBounds(),l=g.snap(Math.ceil(Math.…
11872 f.translate.x)+4*g.gridSize)),m=g.snap(Math.ceil(Math.max(0,(k.y+k.height)/f.scale-f.translate.y)+4… argument
11875 …b.addItem(mxResources.get("dropbox")+"...",null,function(){e(c.dropbox)},d):f&&"function"===typeof…
11878f=b.addItem(mxResources.get("automatic"),null,function(){mxSettings.setUi("");c.alert(mxResources.…
11879f,Editor.checkmarkImage);f=b.addItem(mxResources.get("minimal"),null,function(){mxSettings.setUi("…
11880f=b.addItem(mxResources.get("dark"),null,function(){mxSettings.setUi("dark");c.alert(mxResources.g…
11888f){("plantUml"!=f||EditorUi.enablePlantUml&&!c.isOffline())&&b.addItem(e,null,mxUtils.bind(this,fu… argument
11889 …alog(c,e,f),c.showDialog(b.container,620,420,!0,!1);b.init()}),d,null,k())};var A=function(b,d,e,f argument
11892 …is,function(b,d,e){for(var f=0;f<e.length;f++)"-"==e[f]?b.addSeparator(d):c.addInsertItem(b,d,mxRe…
11894f=0;f<e.length;f++)(function(e){var f=e.mode;f==App.MODE_GOOGLE?f="googleDrive":f==App.MODE_ONEDRI…
11896 …urces.get("dropbox")+"...",null,function(){c.pickFile(App.MODE_DROPBOX)},d):f&&"function"===typeof…
11900 …ll,function(){c.showLibraryDialog(null,null,null,null,App.MODE_DROPBOX)},d):f&&"function"===typeof…
11904 …es.get("dropbox")+"...",null,function(){c.pickLibrary(App.MODE_DROPBOX)},d):f&&"function"===typeof…
11915f){var g=new Date;g.setDate(g.getDate()-7);c.drive.listFiles(null,g,f?!0:!1,function(c){for(var e=… argument
11916 e(d)},f)},function(b,d,e){c.drive.getFile(b.id,function(b){d(b.data)},e)},null,function(b){b({Test:…
11918 …share"],d);var f=this.addMenuItem(b,"synchronize",d);(!c.isOffline()||mxClient.IS_CHROMEAPP||Edito…
11919 …ddSeparator(d),f=this.addMenuItem(b,"synchronize",d),(!c.isOffline()||mxClient.IS_CHROMEAPP||Edito…
11923f=mxUtils.bind(this,function(f,g,k,l,m){var n=c.editor.graph;l=this.styleChange(d,l||f,"1"!=urlPar… argument
11924f,null!=g?encodeURIComponent(g):null,null]:[f],"cells",[n.cellEditor.getEditingCell()]))},function…
11925 …{delete Graph.recentCustomFonts[f.toLowerCase()];for(var e=0;e<this.customFonts.length;e++)if(this…
11926f){k.splice(e,1);break}for(var l=mxUtils.clone(this.customFonts),e=0;e<l.length;e++)if(l[e].name==
11927 …tring"===typeof l?f(l):null!=l.fontFamily&&null!=l.fontUrl&&(g[encodeURIComponent(l.fontFamily)+"@…
11928 …abel<c.label?-1:b.label>c.label?1:0});if(0<p.length){for(k=0;k<p.length;k++)f(p[k].name,p[k].url,!…
11929 …customFonts.length;k++)q=this.customFonts[k].name,l=this.customFonts[k].url,f(q,l,!0),this.editorU…
11930 …ts"]&&b.isEditing()){var f=b.getSelectedEditingElement();null!=f&&(f=mxUtils.getCurrentStyle(f),nu…
11931f=b.getView().getState(b.getSelectionCell()),null!=f&&(c=f.style[mxConstants.STYLE_FONTFAMILY]||c,…
11933 …orUi.editor.graph.addExtFont(c,d)));e=!0;for(var f=0;f<this.customFonts.length;f++)if(this.customF…
11949 …roperty("edit").changes,f=0;f<e.length;f++)if(e[f]instanceof SelectPage||e[f]instanceof RenamePage…
11951 …parseBackgroundImage(b.getAttribute("backgroundImage")),f=b.getAttribute("extFonts");if(f)try{f=f.…
11953 …s:null,defaultParent:null,scrollbars:this.defaultScrollbars,scale:1,hiddenTags:[],extFonts:f||[]}};
11974 b)+1);c.updateCustomLinks(c.createCellMapping(k,n),[d.root])}}catch(f){this.handleError(f)}return d…
11979 ….fontSize="13pt";this.tabContainer.appendChild(n);var f=this.createControlTab(4,"&nbsp;&#10095;");
11980 f.style.right=this.editor.chromeless?"0px":"29px";f.style.fontSize="13pt";this.tabContainer.appendC…
11981 …istener(f,"click",mxUtils.bind(this,function(b){e.scrollLeft+=Math.max(20,l-20);mxUtils.setOpacity…
11986 …s.selectPage(this.pages[d])}),c),f=this.pages[d].getId();e.setAttribute("title",this.pages[d].getN…
11992 …ents);this.resetCurrentMenu();n.destroy()});var f=mxEvent.getClientX(k),l=mxEvent.getClientY(k);n.…
12002 …;var b=Graph.prototype.foldCells;Graph.prototype.foldCells=function(c,d,e,n,f){d=null!=d?d:!1;null… argument
12003f=null!=e&&this.isTreeEdge(e);f&&c.push(e);b==d||null!=e&&!f||c.push(b);return(null==e||f)&&(b==d|… argument
12004 d,e,n,f,l),mxUtils.bind(this,function(b){return this.isTreeEdge(b)}))};Graph.prototype.getIncomingT…
12005 …,c=null!=(null!=c?c.style:v.getCellStyle(b)).childLayout);return c}function f(b){b=v.view.getState… function
12007 !0),!0);var k=f(b),l=d.geometry;k==mxConstants.DIRECTION_SOUTH||k==mxConstants.DIRECTION_NORTH?g[1]…
12008 …TION_NORTH,u=l=e=0;u<q.length;u++){var y=v.model.getTerminal(q[u],!1);if(k==f(y)){var x=v.view.get…
12009 …/n))}}t?l=0:e=0;for(u=0;u<q.length;u++)if(y=v.model.getTerminal(q[u],!1),k==f(y)&&(x=v.view.getSta…
12010 f(b),d=v.getIncomingTreeEdges(b),e=v.cloneCells([d[0],b]);v.model.setTerminal(d[0],e[1],!1);v.model…
12011 ….beginUpdate();try{var d=v.model.getParent(b),e=v.getIncomingTreeEdges(b),g=f(b);0==e.length&&(e=[…
12014 …te(d);var e=[];if(null!=d&&null!=b){for(var f=0;f<b.length;f++){var g=v.view.getState(v.model.getT…
12015 d.y-d.height})}return e}function t(b,c){var d=f(b),e=c==mxConstants.DIRECTION_EAST||c==mxConstants.…
12016 …==v.getSelectionCount()){d=v.getSelectionCell();var f=v.getOutgoingTreeEdges(d);c.addSeparator();0…
12019 …0,function(b,d){var f=null!=d&&v.isTreeEdge(d);f&&e.push(d);null!=d&&!f||null!=c&&mxEvent.isShiftD…
12020f=[],g=0;g<c.length;g++){var k=c[g];x.isEdge(k)&&e(k)&&(f.push(k),k=x.getTerminal(k,!1));if(b(k)){…
12021 f;return z.apply(this,arguments)};u.hoverIcons.getStateAt=function(c,d,e){return b(c.cell)?null:thi…
12022f]),k=v.getIncomingTreeEdges(c[f]);if(0==m.length&&0<k.length){var n=this.cloneCell(k[0]);this.add… argument
12024f)b(n)&&0>mxUtils.indexOf(c,this.model.getTerminal(t[0],!0))&&this.model.setTerminal(t[0],n,!0);el… argument
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…
12028 …rtex=function(c,d,e,g,k,n,q){var t=v.getIncomingTreeEdges(c);if(b(c)){var u=f(c),y=u==mxConstants.…
12050f=Math.min(e.container.clientWidth-10,218);b.sidebarWindow=new c(b,mxResources.get("shapes"),10,"1…
12051 e.container.clientHeight-30),function(c){function d(d,e){var g=b.menus.get(d),k=f.addMenu(e,mxUtils…
12052 …vent.addListener(e,"click",function(){b.actions.get("shapes").funct()});var f=new Menubar(b,c);if(…
12056 …ent.clientWidth||document.body.clientWidth}catch(y){}var c=function(b,c,d,e,f,g,k){var l=document.… argument
12057 new mxWindow(c,l,d,e,f,g,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.w…
12076 …);n.apply(this,arguments)};var f=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateAc…
12091f=c.actions.put("toggleDarkMode",new Action(mxResources.get("dark"),function(b){c.setDarkMode(!Edi…
12092 f.setToggleAction(!0);f.setSelectedCallback(function(){return Editor.sketchMode});f=c.actions.put("…
12105 …lTree verticalTree radialTree - organic circle".split(" "),p=function(b,d,e,f){b.addItem(e,null,mx… argument
12106 function(){var b=new CreateGraphDialog(c,e,f);c.showDialog(b.container,620,420,!0,!1);b.init()}),d)…
12107 c.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(e,f){0<c.getSelectionCo… argument
12109 f=t.addMenu(mxResources.get(b),mxUtils.bind(this,function(){e.funct.apply(this,arguments)}),q);f.cl…
12110f.style.backgroundRepeat="no-repeat",f.style.backgroundSize="24px 24px",f.style.width="34px",f.inn… function
12112f&&(b=function(){f.isEnabled()?(k.removeAttribute("disabled"),k.style.cursor="pointer"):(k.setAttr…
12115 …[k,f(mxResources.get("shapes"),m.actions.get("toggleShapes").funct,null,mxResources.get("shapes"),…
12116f(mxResources.get("delete"),m.actions.get("delete").funct,null,mxResources.get("delete"),m.actions…
12139 …=mxUtils.bind(this,function(){O.innerHTML="";if(!R){var b=function(b,c,e){b=f("",b.funct,null,c,b,…
12146 …t("toggleDarkMode");var ra=m.actions.get("undo"),V=m.actions.get("redo"),ea=f("",ra.funct,null,mxR…
12147f("",V.funct,null,mxResources.get("redo")+" ("+V.shortcut+")",V,Editor.redoImage),ja=f("",ha.funct…
12148 …("stateChanged",Z);Z();null!=urlParams.layers&&(Z=m.actions.get("layers"),Z=f("",Z.funct,null,mxRe…
12149f("",Z.funct,null,mxResources.get("tags"),Z,Editor.tagsImage),Z.style.opacity="0.4",N.appendChild(…
12150 …";S.style.opacity="0.4";N.appendChild(S);mxEvent.addListener(S,"click",Y);Y=f("",ia.funct,!0,mxRes…
12151 "1"==urlParams.embedInline&&(N.appendChild(ja),Y=m.actions.get("exit"),N.appendChild(f("",Y.funct,n…
12154 …;"1"==urlParams["format-toolbar"]&&this.installFormatToolbar(x)}else{var ma=f("",Y,!0,mxResources.…
12162f=d.y,g=d.x,k=!1,p=!1;if(null!=this.states&&null!=c&&null!=d){var q=this,t=new mxCellState,u=this.…
12165f=[],g;e?(e=I,g=0):(e=0,g=I);f.push(new mxPoint(b.x-e,b.y-g));f.push(new mxPoint(b.x+e,b.y+g));f.p…
12168f=0;z=x[0]==t?1:0;y=x[z].x+x[z].width;if(0<B)for(z=0;z<x.length-1;z++)u=x[z],L=x[z+1],t==u?(f=L.y-…
12169f=u.y+u.height+(z.y-u.y-u.height-t.height)/2,p.push(new mxPoint(y,u.y+u.height+I)),p.push(new mxPo…
12171 …;return function(){var f=this,g=arguments,k=d&&!e;clearTimeout(e);e=setTimeout(function(){e=null;d…
12172 f=window.cancelAnimationFrame||window.mozCancelAnimationFrame,l=this.RULER_THICKNESS,m=this;this.un…
12174 …x=function(b,c,e,f,g){b=Math.round(b);c=Math.round(c);e=Math.round(e);f=Math.round(f);u.beginPath(… argument
12175 …te,f=v.pageVisible,e=f?l+(d?c.y-v.container.scrollTop:c.x-v.container.scrollLeft):l+(d?e.y*b-v.con…
12177f?Math.min(e+(d?c.height:c.width),d?t.height:t.width):d?t.height:t.width;if(f)if(u.fillStyle=p.out…
12178 0,l,l);u.fillStyle=p.cornerClr;u.fillRect(0,0,l,l)},z=-1,B=function(){null!=n?(null!=f&&f(z),z=n(A)…
12179 ….origGuideMove=mxGuide.prototype.move;mxGuide.prototype.move=function(b,c,e,f){var g;if(d&&4<b.hei… argument
12187f=new mxPopupMenu(mxUtils.bind(this,function(c,d){b.menus.addMenuItems(c,["points","inches","milli…
12188f.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(f,arguments);b.resetC… argument
12189 …Drawing()}));var d=mxFreehand.prototype.NORMAL_SMOOTHING,c=null,g=[],k,n=[],f,l=!1,m=!0,p=!0,q=!0,…
12190 …mxUtils.bind(this,function(b){if(c){var d=f.length,e=x&&0<n.length&&null!=f&&2>f.length;e||n.push.…
12191f=n[0].y,k=n[0].y,p=1;p<n.length;p++)null!=n[p]&&(d=Math.max(d,n[p].x),e=Math.min(e,n[p].x),f=Math…
12193 …scale;x=b.view.translate;d=new mxCell("",new mxGeometry(e/v-x.x,k/v-x.y,d/v,f/v),p);d.vertex=1;b.m…
12196f=[];c.setAttribute("d",k);e.appendChild(c);g.consume()}}}),mouseMove:mxUtils.bind(this,function(d…
12197 …){var c=u.length;if(1===c%2||c>=d){var e=0,f=0,g,k=0;for(g=b;g<c;g++)k++,b=u[g],e+=b.x,f+=b.y;retu…