Lines Matching refs:setAttribute

4 …(b.insertBefore(f,b.firstChild||null),e(f,{left:d.left,top:d.top})),f.setAttribute("role","progres…
179setAttribute("d",this.opsToPath(l,h));m.setAttribute("stroke",c.stroke);m.setAttribute("stroke-wid…
180setAttribute("d",this.opsToPath(l,h));m.setAttribute("stroke","none");m.setAttribute("stroke-width…
181setAttribute("d",this.opsToPath(b,c.fixedDecimalPlaceDigits)),a.setAttribute("stroke",c.fill||""),…
210 e.setAttribute("rel",a);e.setAttribute("href",b);e.setAttribute("charset","UTF-8");e.setAttribute("…
214setAttribute("width","100%");b.setAttribute("height","100%");var c=document.createElement("tbody")…
215setAttribute("readOnly","true");mxLog.textarea.style.height="100%";mxLog.textarea.style.resize="no…
241 …ibutes&&0<b.attributes.length)for(var e=0;e<b.attributes.length;e++)d.setAttribute(b.attributes[e]…
246 a.setAttribute("xmlns",a.namespaceURI)),a.nodeType==mxConstants.NODETYPE_DOCUMENT)f.push(mxUtils.ge…
277 …Image:function(a){var b;b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("bo…
292 …ld(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","tr…
294 …eateElement("div");e.style.padding="20px";var f=document.createElement("img");f.setAttribute("src",
295 d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChi…
296 c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("sty…
343 …r d=a.createElement("form");d.setAttribute("method",this.method);d.setAttribute("action",this.url)…
344 …odeURIComponent(g));var l=a.createElement("textarea");l.setAttribute("wrap","off");l.setAttribute(…
356 …s.resize.style.bottom="2px";this.resize.style.right="2px";this.resize.setAttribute("src",this.resi…
361setAttribute("src",this.minimizeImage),this.minimizeImg.setAttribute("title","Minimize"),this.cont…
362 this.normalizeImage);this.minimizeImg.setAttribute("title","Normalize");this.contentWrapper.style.d…
364 …ent.createElement("img");this.minimizeImg.setAttribute("src",this.minimizeImage);this.minimizeImg.
366 …document.createElement("img");this.maximize.setAttribute("src",this.maximizeImage);this.maximize.s…
367 !1;this.maximize.setAttribute("src",this.maximizeImage);this.maximize.setAttribute("title","Maximiz…
368 …MALIZE,"event",g))}else{a=!0;this.maximize.setAttribute("src",this.normalizeImage);this.maximize.s…
373 …=document.createElement("img");this.closeImg.setAttribute("src",this.closeImage);this.closeImg.set…
374 …){this.image=document.createElement("img");this.image.setAttribute("src",a);this.image.setAttribut…
379setAttribute("type",c||"text");d.value=b;return this.addField(a,d)};mxForm.prototype.addCheckbox=f…
380setAttribute("size",c);b&&d.setAttribute("multiple","true");return this.addField(a,d)};mxForm.prot…
404setAttribute("src",b);null!=a&&(null!=b?g.setAttribute("title",a):mxUtils.write(g,a));this.contain…
405 mxUtils.bind(this,function(a){null!=d?g.setAttribute("src",d):g.style.backgroundColor="gray";if(nul…
407 …ement("option");mxUtils.writeln(d,b);"function"==typeof c?d.funct=c:d.setAttribute("value",c);a.ap…
408setAttribute("src",b);f.altIcon=d;null!=a&&f.setAttribute("title",a);mxEvent.addListener(f,"click"…
409 …selectedMode=f;a=f.altIcon;null!=a?(f.altIcon=f.getAttribute("src"),f.setAttribute("src",a)):f.cla…
410 …mxToolbarMode";g.className=g.initialClassName;g.setAttribute("src",b);g.altIcon=d;null!=a&&g.setAt…
412setAttribute("src",c)):this.selectedMode.className=this.selectedMode.initialClassName}this.selecte…
414 …tion(){var a=document.createElement("hr");a.style.marginRight="6px";a.setAttribute("size","1");thi…
438 …ndex;a.div.appendChild(a.table);var b=document.createElement("img");b.setAttribute("src",this.subm…
441 …t("td");d.style.padding="0 0 0 0px";d.setAttribute("colSpan","2");var e=document.createElement("hr…
473setAttribute("family",mxConstants.DEFAULT_FONTFAMILY);this.root.appendChild(a);a=this.createElemen…
474 a=this.createElement("shadowoffset");a.setAttribute("dx",mxConstants.SHADOW_OFFSET_X);a.setAttribut…
475setAttribute("scale",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.translate=function(a,b){…
476setAttribute("theta",this.format(a)),f.setAttribute("flipH",b?"1":"0"),f.setAttribute("flipV",c?"1…
477setAttribute("alpha",this.format(a));this.root.appendChild(b)};mxXmlCanvas2D.prototype.setFillAlph…
478 …Alpha.apply(this,arguments)}var b=this.createElement("strokealpha");b.setAttribute("alpha",this.fo…
479 …llColor.apply(this,arguments)}var b=this.createElement("fillcolor");b.setAttribute("color",null!=a…
480setAttribute("c1",a);m.setAttribute("c2",b);m.setAttribute("x",this.format(c));m.setAttribute("y",…
481 …Color.apply(this,arguments)}var b=this.createElement("strokecolor");b.setAttribute("color",null!=a…
482 …Width.apply(this,arguments)}var b=this.createElement("strokewidth");b.setAttribute("width",this.fo…
483 …arguments)}var c=this.createElement("dashed");c.setAttribute("dashed",a?"1":"0");null!=b&&c.setAtt…
484setAttribute("pattern",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.setLineCap=function(a)…
485setAttribute("join",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.setMiterLimit=function(a)…
486 …ntColor.apply(this,arguments)}var b=this.createElement("fontcolor");b.setAttribute("color",null!=a…
487 …ply(this,arguments)}var b=this.createElement("fontbackgroundcolor");b.setAttribute("color",null!=a…
488 …r.apply(this,arguments)}var b=this.createElement("fontbordercolor");b.setAttribute("color",null!=a…
489 …FontSize.apply(this,arguments)}var b=this.createElement("fontsize");b.setAttribute("size",a);this.…
490 …Family.apply(this,arguments)}var b=this.createElement("fontfamily");b.setAttribute("family",a);thi…
491 …ntStyle.apply(this,arguments)}var b=this.createElement("fontstyle");b.setAttribute("style",a);this…
492 ….setShadow.apply(this,arguments)}var b=this.createElement("shadow");b.setAttribute("enabled",a?"1"…
493 …Color.apply(this,arguments)}var b=this.createElement("shadowcolor");b.setAttribute("color",null!=a…
494 …Alpha.apply(this,arguments)}var b=this.createElement("shadowalpha");b.setAttribute("alpha",a);this…
495 …this,arguments)}var c=this.createElement("shadowoffset");c.setAttribute("dx",a);c.setAttribute("dy…
496 …Element("rect");e.setAttribute("x",this.format(a));e.setAttribute("y",this.format(b));e.setAttribu…
497setAttribute("x",this.format(a));g.setAttribute("y",this.format(b));g.setAttribute("w",this.format…
498 …ment("ellipse");e.setAttribute("x",this.format(a));e.setAttribute("y",this.format(b));e.setAttribu…
499setAttribute("x",this.format(a));l.setAttribute("y",this.format(b));l.setAttribute("w",this.format…
500 …eTo=function(a,b){var c=this.createElement("move");c.setAttribute("x",this.format(a));c.setAttribu…
501setAttribute("x",this.format(a));c.setAttribute("y",this.format(b));this.root.appendChild(c);this.…
502setAttribute("x1",this.format(a));g.setAttribute("y1",this.format(b));g.setAttribute("x2",this.for…
503setAttribute("x",this.format(a));r.setAttribute("y",this.format(b));r.setAttribute("w",this.format…
504 m);null!=n&&r.setAttribute("clip",n?"1":"0");null!=p&&r.setAttribute("rotation",p);null!=q&&r.setAt…
509 …prototype.setCssText=function(a,b){mxClient.IS_IE||mxClient.IS_IE11?a.setAttribute("style",b):mxUt…
510 …s2D.prototype.createStyle=function(a){a=this.createElement("style");a.setAttribute("type","text/cs…
511 …s.NS_SVG,a);var c=this.root.ownerDocument.createElement(a);null!=b&&c.setAttribute("xmlns",b);retu…
512 …,g.setAttribute("x",Math.round(b+d.dx)),g.setAttribute("y",Math.round(c+d.dy+k*d.fontSize)),g.setA…
513setAttribute("font-size",Math.round(d.fontSize)+"px"),"start"!=e&&g.setAttribute("text-anchor",e),…
514 0<b.length&&g.setAttribute("text-decoration",b.join(" ")),mxUtils.write(g,a),g):null};
516 …"id"+ ++this.refCount;null==g&&(g=this.createSvgGradient(a,b,c,d,e),g.setAttribute("id",m),null!=t…
517setAttribute("x1","0%");f.setAttribute("y1","0%");f.setAttribute("x2","0%");f.setAttribute("y2","0…
518 …("stop");e.setAttribute("offset","0%");e.style.stopColor=a;e.style.stopOpacity=c;f.appendChild(e);…
519setAttribute("d",this.path.join(" "));else return;a&&null!=d.fillColor?this.updateFill():this.styl…
520setAttribute("transform",d.transform);this.pointerEvents?c.setAttribute("pointer-events",this.poin…
522setAttribute("fill-opacity",a.alpha*a.fillAlpha);if(null!=a.fillColor)if(null!=a.gradientColor&&a.…
523 b+"#"+a+")")}else this.node.setAttribute("fill","url(#"+a+")");else this.node.setAttribute("fill",S…
524setAttribute("stroke",String(a.strokeColor).toLowerCase());(1>a.alpha||1>a.strokeAlpha)&&this.node…
525setAttribute("stroke-linejoin",a.lineJoin);if(null!=a.lineCap){var b=a.lineCap;"flat"==b&&(b="butt…
527setAttribute("pointer-events","stroke");a.setAttribute("visibility","hidden");a.removeAttribute("s…
528setAttribute("fill",b.shadowColor);"none"!=a.getAttribute("stroke")&&a.setAttribute("stroke",b.sha…
529 …ocument.documentMode?c.setAttribute("xlink:href",a):c.setAttributeNS(mxConstants.NS_XLINK,"xlink:h…
531setAttribute("x",this.format((a+e.dx)*e.scale));f.setAttribute("y",this.format((b+e.dy)*e.scale));…
532setAttribute("rx",this.format(e*this.state.scale));0<f&&this.node.setAttribute("ry",this.format(f*…
533setAttribute("x",this.format(a*l.scale)+this.imageOffset);m.setAttribute("y",this.format(b*l.scale…
534setAttribute("preserveAspectRatio","none");(1>l.alpha||1>l.fillAlpha)&&m.setAttribute("opacity",l.…
540 …nObject");this.setCssText(u,"overflow: visible; text-align: left;");u.setAttribute("pointer-events…
541 p),null!=a&&(u.setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility"),…
543 …le("+p+")":"");this.setCssText(q.firstChild,g);this.setCssText(q,f);q.setAttribute("data-drawio-co…
544setAttribute("width",Math.ceil(1/Math.min(1,p)*100)+"%");k.setAttribute("height",Math.ceil(1/Math.…
551 …is.foEnabled&&"html"==l){var r=this.createDiv(e);null!=r&&(null!=q&&r.setAttribute("dir",q),this.a…
552 …h");clip.setAttribute("id",g);e=this.createElement("rect");e.setAttribute("x",a);e.setAttribute("y…
553 …t||r.setAttribute("pointer-events","none");0!=n&&(t+="rotate("+n+","+this.format(a*k.scale)+","+th…
554 …nt!=document?r.setAttribute("clip-path","url(#"+n.getAttribute("id")+")"):(p=this.getBaseUrl().rep…
555setAttribute("text-anchor",n);this.styleEnabled&&q==mxConstants.DEFAULT_FONTSIZE||r.setAttribute("…
556 ….length&&(q=this.createElement("text"),q.setAttribute("x",this.format(a*k.scale)+this.textOffset),…
557setAttribute("fill",b.fontColor);this.styleEnabled&&b.fontFamily==mxConstants.DEFAULT_FONTFAMILY||…
558 …=mxConstants.FONT_STRIKETHROUGH&&c.push("line-through");0<c.length&&a.setAttribute("text-decoratio…
562setAttribute("fill",m.fontBackgroundColor||"none"),b.setAttribute("stroke",m.fontBorderColor||"non…
583 …=this.svgPointerEvents;var b=this.getSvgScreenOffset();0!=b?this.node.setAttribute("transform","tr…
593 …xShape(a,f,g,k,l));null!=m&&null!=a.state&&null!=a.state.transform&&m.setAttribute("transform",a.s…
612setAttribute("x",a);e.setAttribute("y",b);e.setAttribute("width",c);e.setAttribute("height",d);e.s…
687setAttribute("style",d);d=mxUtils.isNode(this.value)?this.value.outerHTML:this.getHtmlValue();null…
698 …s.TEXT_DIRECTION_LTR||b==mxConstants.TEXT_DIRECTION_RTL?a[a.length-1].setAttribute("dir",b):a[a.le…
712 a;this.node.style.borderColor=b;a=document.createElement("img");a.setAttribute("border","0");a.styl…
721 …ge){var a=document.createElement("img");a.style.position="relative";a.setAttribute("border","0");v…
982 …is.previous?this.cell.value.removeAttribute(this.attribute):this.cell.setAttribute(this.attribute,…
991 mxCell.prototype.setAttribute=function(a,b){var c=this.getValue();null!=c&&c.nodeType==mxConstants.… method in mxCell
1028 …this.printBackgroundImage&&this.insertBackgroundImage(a,-D,-v)}),G);f.setAttribute("id","mxPage-"+…
1033setAttribute("border","0");for(var e=c.createElement("tbody"),f=0;f<a;f++){for(var g=c.createEleme…
1039 …awPane().parentNode;q.getAttribute("transform");q.setAttribute("transformOrigin","0 0");q.setAttri…
1042 c.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c…
1044 …nTop=Math.round((c+d.y)*this.scale)+"px";e.setAttribute("width",Math.round(d.width*this.scale));e.
1092 …s.TEXT_DIRECTION_LTR||d==mxConstants.TEXT_DIRECTION_RTL?this.textarea.setAttribute("dir",d):this.t…
1401 …s.dialect==mxConstants.DIALECT_SVG)if(0==a&&0==b){if(mxClient.IS_IE?c.setAttribute("transform","tr…
1402 …tNode.removeChild(this.shiftPreview2);this.shiftPreview2=null}}else{c.setAttribute("transform","tr…
1511 …verflow="visible";a.style.cursor="default";a.setAttribute("shape-rendering","optimizeSpeed");a.set…
1516 …his.container.appendChild(this.svg));var a=this.getViewBox();this.svg.setAttribute("viewBox",Math.…
1518 …te("stroke-width")||1);isNaN(c)||a.setAttribute("stroke-width",Math.max(mxClient.IS_IE11?4:1,c/(5*…
1520 …is.viewport.setAttribute("x",a.x);this.viewport.setAttribute("y",a.y);this.viewport.setAttribute("…
1521setAttribute("stroke-width",mxClient.IS_IE11?"12":"3");a.setAttribute("stroke",HoverIcons.prototyp…
1832 …ode,this.graph,this.state,null,null,null,b);mxClient.IS_TOUCH&&a.node.setAttribute("pointer-events…
1943 …ull!=d&&d.insertEdge(a,!1)};mxCodec.prototype.setAttribute=function(a,b,c){null!=b&&null!=c&&a.set… method in mxCodec
1946 …Encode(a,b,c)};mxObjectCodec.prototype.encodeObject=function(a,b,c){a.setAttribute(c,"id",a.getId(…
1948 …ild(a.document.createTextNode(d)):a.setAttribute(b,"value",d),e.appendChild(b)):"function"!=typeof…
1949 …omplexAttribute=function(a,b,c,d,e){a=a.encode(d);null!=a?(null!=c&&a.setAttribute("as",c),e.appen…
1959 …Node(a.document,c.value,!0);d.appendChild(b);a=b.getAttribute("id");d.setAttribute("id",a);b.remov…
1964 …ns(d)};a.afterEncode=function(a,c,d){this.isReference(c,"child",c.child,!0)?d.setAttribute("child",
1970setAttribute("label",c.graph.getLabel(d)),c.graph.isHtmlLabel(d)&&n.setAttribute("html",!0));if(nu…
1971setAttribute(p,g);g=f.absolutePoints;if(null!=g&&0<g.length){l=Math.round(g[0].x)+","+Math.round(g…
1973setAttribute("as",e);for(var k in f){var l=this.getStringValue(k,f[k]);if(null!=l){var m=a.documen…
2011 …",q),mxJSColor.addEvent(u,"input",q),mxJSColor.addEvent(u,"blur",l),u.setAttribute("autocomplete",…
2059setAttribute("dx",Math.round(100*this.graph.view.translate.x)/100),b.setAttribute("dy",Math.round(…
2060setAttribute("guides",this.graph.graphHandler.guidesEnabled?"1":"0");b.setAttribute("tooltips",thi…
2061 b.setAttribute("pageHeight",this.graph.pageFormat.height);null!=this.graph.background&&b.setAttribu…
2068 …);c.style.overflowX="hidden";if(p&&(p=document.createElement("img"),p.setAttribute("src",Dialog.pr…
2069 p.setAttribute("title",mxResources.get("close")),p.className="geDialogClose",p.style.top=I+14+"px",…
2076 …extOverflow="ellipsis";n.style.overflow="hidden";mxUtils.write(n,c);n.setAttribute("title",c);m.ap…
2080 …r d=document.createElement("input");d.setAttribute("type","checkbox");g=document.createElement("td…
2081 …endChild(k);k=k.cloneNode(!1);var l=document.createElement("input");l.setAttribute("type","checkbo…
2082 …nt("input");q.setAttribute("value","1");q.setAttribute("type","number");q.setAttribute("min","1");…
2083setAttribute("disabled","disabled");d.checked=!l.checked});k=k.cloneNode(!1);g=document.createElem…
2084 g.style.paddingTop="20px";g.setAttribute("align","right");f=mxUtils.button(mxResources.get("cancel"…
2088 …rc)&&(d=b.createImageForPageLink(d.src,null));null!=d&&null!=d.src?(u.setAttribute("src",d.src),u.…
2090 …ent("td");p.style.whiteSpace="nowrap";document.createElement("input").setAttribute("type","text");…
2091 …idSize")+":");var m=document.createElement("input");m.setAttribute("type","number");m.setAttribute
2092 …xResources.get("change")+"...");var u=document.createElement("img");u.setAttribute("valign","middl…
2093 …=document.createElement("td");p.colSpan=2;p.style.paddingTop="16px";p.setAttribute("align","right"…
2097setAttribute("checked","checked"),p.defaultChecked=!0,p.checked=!0,t.removeAttribute("checked"),t.…
2098setAttribute("name",c);p.setAttribute("type","radio");p.setAttribute("value","portrait");var t=doc…
2100setAttribute("size","7");m.style.textAlign="right";q.appendChild(m);mxUtils.write(q," in x ");var …
2108 x.setAttribute("value",c||"");x.style.marginLeft="4px";x.style.width=null!=m?m+"px":"180px";var D=m…
2112 null!=q?"12px":"20px";u.style.whiteSpace="nowrap";u.setAttribute("align","right");q=mxUtils.button(…
2114 …"16px";mxUtils.setOpacity(k,70);var g=function(){k.setAttribute("src",Editor.helpImage);k.setAttri…
2115 e[b].ext.length-1)=="."+e[b].ext){k.setAttribute("title",mxResources.get(e[b].title));break}};mxEve…
2117 …ct");for(b=0;b<e.length;b++){var g=document.createElement("option");g.setAttribute("value",b);mxUt…
2145 …ientY(b)-d.y-this.diagramContainer.clientHeight?this.diagramContainer.setAttribute("title",mxResou…
2151 k.container.setAttribute("tabindex","0");k.container.style.cursor="default";if(window.self===window…
2202 …er(c,"click",b);null!=f&&c.setAttribute("title",f);b=document.createElement("img");b.setAttribute(…
2220 …omFactor-1),b.container.scrollTop-=q*(b.cumulativeZoomFactor-1)));null!=N&&K.setAttribute("filter",
2262 …eFooterContainer");this.hsplit=this.createDiv("geHsplit");this.hsplit.setAttribute("title",mxResou…
2285 …ontent(c,b),asHtml=!1)));asHtml&&Graph.removePasteFormatting(c)}asHtml||c.setAttribute("data-type",
2340 …l!=b[d].getAttribute("href")&&null==b[d].getAttribute("target")&&b[d].setAttribute("target","_blan…
2360setAttribute("viewBox",l.x+" "+l.y+" "+l.width+" "+l.height),c.getElementsByTagName("svg")[0].setA…
2362 …eElement("img");e.setAttribute("src",Dialog.prototype.clearImage);e.setAttribute("title",b);e.setA…
2381 …getAttribute("transform");b.setAttribute("transformOrigin","0 0");var f=Math.round(100*this.curren…
2412 …n(g){function d(){k.isVisible(g)?(q.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(l,7…
2413setAttribute("title",mxResources.get(k.isVisible(g)?"hideIt":"show",[f]));var q=document.createEle…
2442 …nimationStyle=document.createElement("style");this.flowAnimationStyle.setAttribute("id","geEditorF…
2457 …e.height=b.height+"px";k.style.padding=this.tolerance+"px";null!=c&&k.setAttribute("title",c);k.st…
2471 …ility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResou…
2472 …ht.setAttribute("title",mxResources.get("plusTooltip")),this.arrowUp.setAttribute("title",mxResour…
2499 …")&&b[1].setAttribute("stroke-dasharray",8*this.state.view.scale);var d=this.state.view.graph.getF…
2553 d?d:"span"),c=Array.prototype.slice.call(b.attributes);attr=c.pop();)f.setAttribute(attr.nodeName,a…
2555 …asAttribute("label_"+Graph.diagramLanguage)?g.setAttribute("label_"+Graph.diagramLanguage,d):g.set…
2558 …eateXmlDocument().createElement("UserObject"),c.setAttribute("label",b.value||""));null!=f?c.setAt…
2567 null!=c&&(b[f].setAttribute("rel",this.linkRelation),b[f].setAttribute("href",c),null!=d&&mxEvent.a…
2575 …1)for(g=b.length-1;0<=g;g--)if(0==g||b[g]!=e[g-1]){b[g].setAttribute("width",d);b[g].setAttribute(…
2582setAttribute("style","background-color:"+b));null==J.createElementNS?(t.setAttribute("xmlns",mxCon…
2583 y+"px");t.setAttribute("viewBox",(e?"-0.5 -0.5":"0 0")+" "+G+" "+y);J.appendChild(t);var B=null!=J.…
2587setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility");var e=b.create…
2588 …teElement("text");g.setAttribute("text-anchor","middle");g.setAttribute("font-size","10px");g.setA…
2601 …inkTitle(b):b;var c=document.createElement("a");c.setAttribute("rel",this.linkRelation);c.setAttri…
2602 ….getAbsoluteUrl(b));c.setAttribute("title",f(this.isCustomLink(b)?this.getLinkTitle(b):b,80));null…
2678 null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateToolt…
2682 …("img");c.setAttribute("src",Editor.editImage);c.setAttribute("title",mxResources.get("editLink"))…
2963 …||isNaN(e.nodeType)||f.setAttribute("placeholders",e.getAttribute("placeholders"));null!=b&&mxEven…
3024 …del(b[k].root));"1"!=urlParams.dev&&(g=this.ui.anonymizeNode(g,!0));g.setAttribute("id",b[k].getId…
3165 …olorSchemes));if(null!=b.css){var c=document.createElement("style");c.setAttribute("type","text/cs…
3171 …(null!=d&&null!=d.parentNode){var c=document.createElement("style");c.setAttribute("type","text/cs…
3172 e.setAttribute("rel","preload");e.setAttribute("href",f);e.setAttribute("as","font");e.setAttribute
3177 …this.graph.currentStyle&&"default-style2"!=this.graph.currentStyle&&f.setAttribute("style",this.gr…
3178setAttribute("backgroundImage",JSON.stringify(e));f.setAttribute("math",this.graph.mathEnabled?"1"…
3184 ….length){var e=document.createElement("script");e.setAttribute("type","text/javascript");e.setAttr…
3190 …(m,function(f){null!=f&&(g[m]=f,c.setAttribute(l,f));e--;0==e&&d(b)})):c.setAttribute(l,k)}else nu…
3201 …reateElementNS(mxConstants.NS_SVG,"style"):f.createElement("style");f.setAttribute("type","text/cs…
3203 …axCanvasScale(n,q,m);n=Math.ceil(m*n);q=Math.ceil(m*q);k.setAttribute("width",n);k.setAttribute("h…
3212 …er)}});Editor.enableShadowOption||(f.getElementsByTagName("input")[0].setAttribute("disabled","dis…
3239 …ils.bind(this,function(b){this.editorUi.actions.get("copyStyle").funct()}));c.setAttribute("title",
3240 …this,function(b){this.editorUi.actions.get("pasteStyle").funct()})),c.setAttribute("title",mxResou…
3247setAttribute("data-pName",d);t.setAttribute("data-pValue",c);u=!1;null!=n.index&&(t.setAttribute("…
3249 …efVal,n.size,t,v)):"readOnly"==x?(v=document.createElement("input"),v.setAttribute("readonly",""),…
3264 …LOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor));null!=b.title&&d.setAttribute("title",b.title…
3269setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi.actions.get("editStyle").shor…
3270 …bind(this,function(b){this.editorUi.actions.get("image").funct()})),d.setAttribute("title",mxResou…
3271 …eElement("link"),c.setAttribute("rel","stylesheet"),c.setAttribute("type","text/css"),c.setAttribu…
3280 …){n.innerHTML="";if(0<b.length){var g=document.createElement("table");g.setAttribute("cellpadding",
3281 …;var u=document.createElement("img");u.setAttribute("src",g?Editor.visibleImage:Editor.hiddenImage…
3283 "ellipsis";q.style.verticalAlign="middle";q.style.cursor="pointer";q.setAttribute("title",b);a=docu…
3284 …le.width="16px";u=document.createElement("img");u.setAttribute("src",Editor.crossImage);u.setAttri…
3285setAttribute("type","checkbox");v.style.margin="0px";v.defaultChecked=null!=c&&0<=mxUtils.indexOf(…
3287 …;mxEvent.isShiftDown(b)||(m=l.hiddenTags.slice());f();l.refresh()});q.setAttribute("title",mxResou…
3288 …esources.get("add"),function(){null!=c&&c(m,function(b){m=b;v()})});u.setAttribute("title",mxResou…
3290 ….getAttribute("face")==b&&c[f].getAttribute("data-font-src")!=d&&c[f].setAttribute("data-font-src"…
3294 …"style");null!=A.setAttributeNS?N.setAttributeNS("type","text/css"):N.setAttribute("type","text/cs…
3306 …ribute("href"),null!=c&&"data:action/json,"==c.substring(0,17)&&(e[l].setAttribute("href",this.upd…
3315setAttribute("id",this.shadowId);var l=null!=e.createElementNS?e.createElementNS(mxConstants.NS_SV…
3316setAttribute("result","blur");g.appendChild(l);l=null!=e.createElementNS?e.createElementNS(mxConst…
3317setAttribute("result","offsetColor");g.appendChild(l);l=null!=e.createElementNS?e.createElementNS(…
3318setAttribute("filter","url(#"+this.shadowId+")"),!isNaN(parseInt(b.getAttribute("width")))&&f&&(b.
3319setAttribute("viewBox",d[0]+" "+d[1]+" "+w+" "+h))))));return g};Graph.prototype.setShadowVisible=…
3342 …"margin-right:8px;margin-bottom:8px;";q.setAttribute("value","all");q.setAttribute("type","radio")…
3343setAttribute("checked","checked");u.setAttribute("value","range");n.appendChild(u);l=document.crea…
3344 …urrentPage==b.pages[l]){k=l+1;v.value=k;p.value=k;break}v.setAttribute("max",m);p.setAttribute("ma…
3345setAttribute("value","adjust");t.setAttribute("type","radio");t.setAttribute("name","printZoom");x…
3346 …pendChild(x);var n=n.cloneNode(!1),C=t.cloneNode(!0);C.setAttribute("value","fit");t.setAttribute(…
3347 …");K.style.cssText="margin:0 8px 0 8px;";K.setAttribute("value","1");K.setAttribute("min","1");K.s…
3350 E.setAttribute("value","100 %");E.style.width="60px";n.appendChild(E);g.appendChild(n);l=document.c…
3381 …toLowerCase()){if(t){var n=b.ownerDocument.createElement("diagram");n.setAttribute("id",Editor.gui…
3382 n.setAttribute("id",Editor.guid());mxUtils.setTextContent(n,l)}l=b.ownerDocument.createElement("mxf…
3383setAttribute("host","Chrome"):EditorUi.isElectronApp?l.setAttribute("host","Electron"):l.setAttrib…
3389 …].data).documentElement.cloneNode(!1);null!=c.getAttribute("name")&&c.setAttribute("name",this.ano…
3391 …s)for(var d=0;d<b.attributes.length;d++)"as"!=b.attributes[d].name&&b.setAttribute(b.attributes[d]…
3392setAttribute("value","["+d[f].getAttribute("value").length+"]"),null!=d[f].getAttribute("xmlValue"…
3397setAttribute("x0",k);b.setAttribute("y0",l)}null!=b&&(b.setAttribute("pan","1"),b.setAttribute("zo…
3403 …ges=[];for(var e=0;e<d.length;e++)null==d[e].getAttribute("id")&&d[e].setAttribute("id",e),b=new D…
3420 ….fnameWrapper.style.display="none",this.fname.innerHTML="",this.fname.setAttribute("title",mxResou…
3433setAttribute("title",this.getLibraryStorageHint(b)+"\n"+g);var p=document.createElement("div");p.s…
3434 t.setAttribute("title",mxResources.get("close"));t.setAttribute("valign","absmiddle");t.setAttribut…
3435 …e&&F.parentNode.removeChild(F),F=t.cloneNode(!1),F.setAttribute("src",Editor.spinImage),F.setAttri…
3436 …odes.length+"px")})):null==I&&(I=t.cloneNode(!1),I.setAttribute("src",Editor.saveImage),I.setAttri…
3446setAttribute("src",Editor.editImage);t.setAttribute("title",mxResources.get("edit"));p.insertBefor…
3447 g.setAttribute("title",mxResources.get("help")),g.style.cssText="color:#a3a3a3;text-decoration:none…
3459 ….innerHTML="&nbsp;&nbsp;&nbsp;";mxUtils.write(c,"<"+d[b].email+">");c.setAttribute("disabled","dis…
3465 …=document.createElement("img");d.setAttribute("src",IMAGE_PATH+"/logo.png");d.setAttribute("border…
3466 …t("img");d.setAttribute("src",Dialog.prototype.closeImage);d.setAttribute("title",mxResources.get(…
3467setAttribute("type","checkbox");l.setAttribute("id","geDoNotShowAgainCheckbox");l.style.marginRigh…
3473 …eObjectURL(g?this.base64ToBlob(b,e):new Blob([b],{type:e}));n?d.download=c:d.setAttribute("target",
3488 …backgroundColor="white";b.setAttribute("title",mxResources.get("openInNewWindow"));b.setAttribute(…
3494 …(b)}))});var q=mxUtils.bind(this,function(b){this.spinner.stop();k&&b.setAttribute("content",this.…
3496setAttribute("type",p?"radio":"checkbox");p="geCheckbox-"+Editor.guid();d.id=p;null!=t&&d.setAttri…
3497 …n");e.setAttribute("value","blank");mxUtils.write(e,mxResources.get("makeCopy"));g.appendChild(e);…
3498 …ion(){d.checked&&(null==c||c.checked)?g.removeAttribute("disabled"):g.setAttribute("disabled","dis…
3500setAttribute("value","auto");mxUtils.write(f,mxResources.get("automatic"));e.appendChild(f);f=docu…
3501 …isWindow"));e.appendChild(f);c&&(f=document.createElement("option"),f.setAttribute("value","frame"…
3508 …8px;";k.setAttribute("value","url");k.setAttribute("type","radio");k.setAttribute("name","type-emb…
3510setAttribute("checked","checked");null==e&&k.setAttribute("disabled","disabled");d.appendChild(l);…
3511 …ddListener(C,"change",function(){C.checked?O.removeAttribute("disabled"):O.setAttribute("disabled",
3512 …ecked?L.getEditSelect().removeAttribute("disabled"):L.getEditSelect().setAttribute("disabled","dis…
3516setAttribute("type","text"),q.style.marginRight="16px",q.style.width="50px",q.style.marginLeft="6p…
3518setAttribute("disabled","disabled"),C.setAttribute("disabled","disabled"));C.checked&&E.checked?K.…
3520setAttribute("type","text");l.style.marginRight="16px";l.style.width="60px";l.style.marginLeft="4p…
3523setAttribute("type","text");q.style.marginRight="16px";q.style.width="60px";q.style.marginLeft="4p…
3524 …tyle.marginRight="8px";K.style.marginLeft="24px";K.setAttribute("disabled","disabled");K.setAttrib…
3525setAttribute("value",b[m]);C.appendChild(L)}y?(mxUtils.write(d,mxResources.get("size")+":"),d.appe…
3526 …tSibling.nextSibling.style.display="none",l-=30):(C.value="diagram",K.setAttribute("checked","chec…
3527setAttribute("type","checkbox");var T=document.createElement("input");T.style.marginTop="16px";T.s…
3528 …Right="10px";A.className="geBtn";c=document.createElement("option");c.setAttribute("value","auto")…
3529 …c.setAttribute("value","blank");mxUtils.write(c,mxResources.get("openInNewWindow"));A.appendChild(…
3532setAttribute("disabled","disabled"),F.setAttribute("disabled","disabled"));F.checked&&t.checked?B.…
3537 d.setAttribute("content",this.getFileData(!0));c&&this.editor.graph.addSvgShadow(d);if(e){var q=" "…
3538 …"'+t+'"':"")+q+"/>")}))}else t="",g&&(c=this.getSelectedPageIndex(),d.setAttribute("onclick","(fun…
3539 …ght")),d.setAttribute("viewBox","-0.5 -0.5 "+b+" "+k),t+="max-width:100%;max-height:"+k+"px;",d.re…
3545 …le||I)&&c.addSvgShadow(n,null,null,0==D);null!=b&&n.setAttribute("content",b);null!=e&&n.setAttrib…
3552 …"),k=!1,p=0;p<g.length;p++)f=g[p].getAttribute("href"),null!=f&&(g[p].setAttribute("href",this.upd…
4018 …Change=function(){var b=this.view.graphBounds,c=this.view.translate;e.setAttribute("viewBox",b.x+c…
4025 …addToolbar():null!=this.graphConfig.title&&this.showTitleAsTooltip&&b.setAttribute("title",this.gr…
4046 …null!=d&&g.setAttribute("title",d);g.style.display="inline-block";b=document.createElement("img");…
4061 …font-family:Helvetica,Arial;font-size:12px;top:4px;cursor:default;",l.setAttribute("title",this.gr…
4071 …dy.appendChild(b);var c=document.createElement("img");c.setAttribute("border","0");c.setAttribute(…
4078 ….container.setAttribute("title",b);null!=this.filename&&(this.filename.innerHTML="",mxUtils.write(…