Lines Matching refs:root

505 …function(){};function mxXmlCanvas2D(a){mxAbstractCanvas2D.call(this);this.root=a;this.writeDefault…
507root.appendChild(a);a=this.createElement("fontsize");a.setAttribute("size",mxConstants.DEFAULT_FON…
508root.appendChild(a)};mxXmlCanvas2D.prototype.format=function(a){return parseFloat(parseFloat(a).to…
509root.appendChild(this.createElement("restore"))};mxXmlCanvas2D.prototype.scale=function(a){var b=t…
510 …,f.setAttribute("cx",this.format(d)),f.setAttribute("cy",this.format(e)),this.root.appendChild(f)};
511root.appendChild(b)};mxXmlCanvas2D.prototype.setFillAlpha=function(a){if(this.compressed){if(this.…
512 …this.createElement("strokealpha");b.setAttribute("alpha",this.format(a));this.root.appendChild(b)};
513 …eElement("fillcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)};
514 …null!=k&&m.setAttribute("alpha1",k);null!=l&&m.setAttribute("alpha2",l);this.root.appendChild(m)}};
515 …lement("strokecolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)};
516 …this.createElement("strokewidth");b.setAttribute("width",this.format(a));this.root.appendChild(b)};
517 …tribute("dashed",a?"1":"0");null!=b&&c.setAttribute("fixDash",b?"1":"0");this.root.appendChild(c)};
518root.appendChild(b)};mxXmlCanvas2D.prototype.setLineCap=function(a){if(this.compressed){if(this.st…
519root.appendChild(b)};mxXmlCanvas2D.prototype.setMiterLimit=function(a){if(this.compressed){if(this…
520 …Element("fontcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)}};
521 …ontbackgroundcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)}};
522 …t("fontbordercolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)}};
523 …rguments)}var b=this.createElement("fontsize");b.setAttribute("size",a);this.root.appendChild(b)}};
524 …ents)}var b=this.createElement("fontfamily");b.setAttribute("family",a);this.root.appendChild(b)}};
525 …uments)}var b=this.createElement("fontstyle");b.setAttribute("style",a);this.root.appendChild(b)}};
526 …)}var b=this.createElement("shadow");b.setAttribute("enabled",a?"1":"0");this.root.appendChild(b)};
527 …lement("shadowcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)};
528 …ments)}var b=this.createElement("shadowalpha");b.setAttribute("alpha",a);this.root.appendChild(b)};
529 …ateElement("shadowoffset");c.setAttribute("dx",a);c.setAttribute("dy",b);this.root.appendChild(c)};
530 …));e.setAttribute("w",this.format(c));e.setAttribute("h",this.format(d));this.root.appendChild(e)};
531 …;g.setAttribute("dx",this.format(e));g.setAttribute("dy",this.format(f));this.root.appendChild(g)};
532 …));e.setAttribute("w",this.format(c));e.setAttribute("h",this.format(d));this.root.appendChild(e)};
533 …"0");l.setAttribute("flipH",g?"1":"0");l.setAttribute("flipV",k?"1":"0");this.root.appendChild(l)};
534root.appendChild(this.createElement("begin"));this.lastY=this.lastX=0};mxXmlCanvas2D.prototype.mov…
535root.appendChild(c);this.lastX=a;this.lastY=b};mxXmlCanvas2D.prototype.quadTo=function(a,b,c,d){va…
536 …e("y3",this.format(f));this.root.appendChild(g);this.lastX=e;this.lastY=f};mxXmlCanvas2D.prototype…
538root.appendChild(r)}};mxXmlCanvas2D.prototype.stroke=function(){this.root.appendChild(this.createE…
539 function mxSvgCanvas2D(a,b){mxAbstractCanvas2D.call(this);this.root=a;this.gradients=[];this.defs=n…
545 …{if(null!=this.root.ownerDocument.createElementNS)return this.root.ownerDocument.createElementNS(b…
550 …is.createGradientId(a,b,c,d,e),g=this.gradients[f];if(null==g){var k=this.root.ownerSVGElement,l=0…
554 …this.originalRoot||c.setAttribute("pointer-events","none");d.shadow&&this.root.appendChild(this.cr…
555 …ute("pointer-events"))&&this.root.appendChild(c);this.node=null}};mxSvgCanvas2D.prototype.addToler…
556 …dientColor),a.gradientFillAlpha,a.gradientAlpha,a.gradientDirection),this.root.ownerDocument==docu…
563root=this.originalRoot;else{this.originalRoot=this.root;var c=this.createElement("a");null==c.setA…
568 …ransform",e);this.pointerEvents||m.setAttribute("pointer-events","none");this.root.appendChild(m)};
572 …(mxUtils.isNode(a)){var c=document.createElement("div"),d=c.cloneNode(!1);this.root.ownerDocument!=
574 …hild(r);q.appendChild(u);this.updateTextNodes(a,b,c,d,f,g,k,m,n,p,q);this.root.ownerDocument!=docu…
585 …Attribute("dir",q),this.addForeignObject(a,b,c,d,e,f,g,k,l,m,n,p,q,r,this.root))}else this.plainTe…
588 …efs.appendChild(n):this.root.appendChild(n),mxClient.IS_CHROMEAPP||mxClient.IS_IE||mxClient.IS_IE1…
590 …scale)+this.textOffset),mxUtils.write(q,t[m]),r.appendChild(q)),n+=p;this.root.appendChild(r);this…
593 …cale,d*m.scale,(e-2)*m.scale,(f+2)*m.scale);else if(null!=a.getBBox&&this.root.ownerDocument==docu…
596 …?Math.max(1,this.format(m.scale)):0,b.setAttribute("stroke-width",m),this.root.ownerDocument==docu…
615 …(a),this.paint(a),this.afterPaint(a),this.node!=a.root&&this.node.insertAdjacentHTML("beforeend",a…
626 …,n.height/e),e.appendChild(a.createTransparentFill()),e.stroked="false",a.root.appendChild(e))}nul…
805 …pactTreeLayout.prototype.maxRankHeight=null;mxCompactTreeLayout.prototype.root=null;mxCompactTreeL… method in mxCompactTreeLayout
807root=a;else{var d=this.graph.findTreeRoots(a,!0,this.invert);if(0<d.length)for(var e=0;e<d.length;…
808root&&null!=c.isVertex(a)&&this.maintainParentLocation){var f=this.graph.getCellGeometry(a);null!=…
830 …type.execute.apply(this,arguments);var c=null,d=this.getVertexBounds(this.root);this.centerX=d.x+d…
834 Math.max(f.x+f.width/2,this.rowMaxCenX[b]);this.rowRadi[b]=f.y-this.getVertexBounds(this.root).y;nu…
946 …y||(b=[b]);if(null!=b||null!=a){this.parentY=this.parentX=null;if(a!=this.root&&null!=c.isVertex(a…
962 …{null==a&&(a=c.getParent(b[0]));this.parentY=this.parentX=null;if(a!=this.root&&null!=c.isVertex(a…
977 …new mxEventSource;mxGraphModel.prototype.constructor=mxGraphModel;mxGraphModel.prototype.root=null; method in mxGraphModel
980 …(a,f));return c};mxGraphModel.prototype.getRoot=function(a){var b=a||this.root;if(null!=a)for(;nul…
981root;this.root=a;this.nextId=0;this.cells=null;this.cellAdded(a);return b};mxGraphModel.prototype.…
985 …t(c):this.getNearestCommonAncestor(c,d),null!=c&&(this.getParent(c)!=this.root||this.isAncestor(c,…
987 …h(e);d=f}}}return null};mxGraphModel.prototype.remove=function(a){a==this.root?this.setRoot(null):…
1008 …At(a,e),this.getChildAt(b,e),c)};function mxRootChange(a,b){this.model=a;this.previous=this.root=b}
1009 mxRootChange.prototype.execute=function(){this.root=this.previous;this.previous=this.model.rootChan…
1293 function mxCurrentRootChange(a,b){this.view=a;this.previous=this.root=b;this.isUp=null==b;if(!this.…
1996root,d);return d};a.beforeDecode=function(a,c,d){if(null!=c.firstChild&&c.firstChild.nodeType==mxC…
1997 d){d.previous=d.root;return d};return a}());
2244 …addListener(mxEvent.CHANGE,function(){t.style.display=1<w.getChildCount(w.root)?"":"none"})}("1"!=…
2263 …s.editor.graph.getModel();return 1==a.getChildCount(a.root)&&0==a.getChildCount(a.getChildAt(a.roo…
2546 …=new mxGraphModel;g.decode(a.documentElement,l);a=this.graph.cloneCells(l.root.getChildAt(0).child…
2661 …d.style.position="absolute";for(var e=this.getModel(),c=e.getChildCount(e.root),f=0;f<c;f++)mxUtil…
2663 …tion(){e.setVisible(c,!e.isVisible(c));f();null!=a&&a(c)});f()})(e.getChildAt(e.root,f));return d};
2778 …},k=f.getChildren(this.cloneCell(f.root,this.isCloneInvalidEdges(),e));if(null!=k){var h=this.crea…
2779 …!=J&&(a=this.moveCells(J,b,c,!1,this.getDefaultParent()),g[f.getChildAt(f.root,0).getId()]=this.ge…
2785 …s.model.getChildCount(b);c++)g(this.model.getChildAt(b,c))});g(this.model.root);0<f.length&&(e=nul…
2835 …&&C.apply(this,arguments)};k.drawState(this.getView().getState(this.model.root),w);this.updateSvgL…
3714 …w.scale));l.scale(c/h.view.scale);(new mxImageExport).drawState(h.getView().getState(h.model.root),
3739 …addListener(e,"dragend",function(a){null!=p&&null!=q&&g.addCell(c,g.model.root,q);q=p=null;a.stopP…
3744 …vent.addListener(h,"click",function(b){g.isEnabled()&&g.addCell(c,g.model.root,a-1);mxEvent.consum…
3745 …vent.addListener(h,"click",function(b){g.isEnabled()&&g.addCell(c,g.model.root,a+1);mxEvent.consum…
3746root);n.innerHTML="";C.clear();for(var b=u-1;0<=b;b--)mxUtils.bind(this,function(c){a(b,g.convertV…
3750 …date();try{var b=g.model.root.getIndex(v);g.removeCells([v],!1);0==g.model.getChildCount(g.model.r…
3751 …nt(null)):0<b&&b<=g.model.getChildCount(g.model.root)?g.setDefaultParent(g.model.getChildAt(g.mode…
3752 …())&&a.addCheckmark(d,Editor.checkmarkImage)})(g.model.getChildAt(g.model.root,c))}),c.x,c.y+z.off…
3754 …,mxResources.get("untitledLayer")),a.setVisible(!0),a=g.addCell(a,g.model.root),g.setDefaultParent…
3755 try{var b=g.addCell(new mxCell(mxResources.get("untitledLayer")),g.model.root);g.setDefaultParent(b…
9984 …(null!=b)for(var c=0;c<b.length;c++){var g=e.encode(new mxGraphModel(b[c].root));"1"!=urlParams.de…
10148 …);var m=new mxCodec(f.ownerDocument),p=new mxGraphModel;m.decode(f,p);f=p.root.getChildAt(0).child…
10265 …teTemporaryGraph(p.getStylesheet()),b.updatePageRoot(m),p.model.setRoot(m.root),c=(c+1)%b.pages.le…
10357 m.decode(d,g);d=g.root.getChildAt(0).children||[];b.sidebar.createTooltip(f,d,Math.min((window.inne…
10410 …roundColor=k;c=new mxCodec(e.ownerDocument);b=g.getModel();c.decode(e,b);e=b.getChildCount(b.root);
10411 c=null==d;for(k=0;k<e;k++){var n=b.getChildAt(b.root,k);b.setVisible(n,c||d==n.id)}g.maxFitScale=1;…
10642 this.model.root||this.model.isVertex(c[g])||this.model.isEdge(c[g])){var p=this.getTagsForCell(c[g]…
10652 …arent){var b=this.model.getChildCount(this.model.root),c,f=0;do c=this.model.getChildAt(this.model…
10671 …aryGraph(e.stylesheet),g=!0,u=!1,C=null,D=null;null==x.viewState&&null==x.root&&b.updatePageRoot(x…
10672 …s,arguments)};document.body.appendChild(m.container);b.updatePageRoot(x);m.model.setRoot(x.root)}t=
10712 …or.setGraphXml(b),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root);if(…
10718 … g=new mxCodec(mxUtils.createXmlDocument()),g=g.encode(new mxGraphModel(l.root));this.editor.graph…
10719 …(g=new mxCodec(mxUtils.createXmlDocument()),g=g.encode(new mxGraphModel(l.root)),this.editor.graph…
10727 …this,arguments)};document.body.appendChild(f.container);f.model.setRoot(p.root)}}n=null!=n?n:this.…
10736root=this.editor.graph.model.root);if(null!=urlParams["layer-ids"])try{var e=urlParams["layer-ids"…
10757 …Root(b[l]);var g=b[l].node.cloneNode(!1);g.removeAttribute("name");d.root=b[l].root;var k=e.encode…
10876 arguments)};document.body.appendChild(f.container);f.model.setRoot(p.root)}this.editor.exportToCanv…
10884 0;f<c.length;f++)this.updatePageLinksForCell(b,c[f].root)};EditorUi.prototype.updatePageLinksForCel…
11524 …eURIComponent(n.replace(/\'/g,"\\'"));C=b?"/drives/"+b+"/root/search(q='"+n+"')":"/me/drive/root/s…
11525 b:"/me/drive")+(c?"/items/"+c:"/root")+"/children"}q||(C+=(0<C.indexOf("?")?"&":"?")+"select=id,nam…
11616 …GlobalVariable=m;document.body.appendChild(n.container);n.model.setRoot(p.root)}if(mxClient.IS_CHR…
11619 ….getView().getState(n.model.root),G);G.finish(mxUtils.bind(this,function(){try{E.drawState(n.getVi…
11853 …);mxLog.debug("leaving shape",b,k)};b.drawState(g.getView().getState(g.model.root),e);mxLog.show();
11934 …"id",Editor.guid())}DiagramPage.prototype.node=null;DiagramPage.prototype.root=null;DiagramPage.pr…
11938root=d.model.root;null!=b.model&&b.model.rootChanged(b.root);d.view.clear(b.root,!0);d.clearSelect…
11945 this.updatePageRoot(b);g.model.setRoot(b.root);b=g.getSvg(null,null,null,null,null,null,null,null,n…
11966root){var d=this.editor.extractGraphModel(b.node,null,e),c=Editor.extractParserError(d);if(c)throw…
11973 …e("id");var k={},n=c.createCellLookup([c.model.root]),d=new DiagramPage(g);d.root=c.cloneCell(c.mo…
11974 b)+1);c.updateCustomLinks(c.createCellMapping(k,n),[d.root])}}catch(f){this.handleError(f)}return d…
12001 b)?c:void 0})),null!=c.relatedPage.root&&b.encodeCell(c.relatedPage.root,g));return g};b.beforeDeco…
12002 c=c.cloneNode(!0);d=c.firstChild;if(null!=d)for(e.relatedPage.root=b.decodeCell(d,!1),e=d.nextSibli…