Lines Matching refs:root

3666 	var childCount = model.getChildCount(model.root);
3730 })(model.getChildAt(model.root, i)));
7162 mxStencilRegistry.parseStencilSet = function(root, postStencilLoad, install) argument
7164 if (root.nodeName == 'stencils')
7166 var shapes = root.firstChild;
7181 var shape = root.firstChild;
7183 var name = root.getAttribute('name');
7537 var layers = tempModel.getChildren(this.cloneCell(tempModel.root,
7543 var lookup = this.createCellLookup([tempModel.root]);
7562 cellMapping[tempModel.getChildAt(tempModel.root, 0).getId()] =
7830 flatten(this.model.root);
9737 var root = (svgDoc.createElementNS != null) ?
9742 if (root.style != null)
9744 root.style.backgroundColor = background;
9748 root.setAttribute('style', 'background-color:' + background);
9754 root.setAttribute('xmlns', mxConstants.NS_SVG);
9755 root.setAttribute('xmlns:xlink', mxConstants.NS_XLINK);
9760 root.setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:xlink', mxConstants.NS_XLINK);
9769 root.setAttribute('version', '1.1');
9770 root.setAttribute('width', w + 'px');
9771 root.setAttribute('height', h + 'px');
9772 root.setAttribute('viewBox', ((crisp) ? '-0.5 -0.5' : '0 0') + ' ' + w + ' ' + h);
9773 svgDoc.appendChild(root);
9779 root.appendChild(group);
9922 imgExport.drawState(this.getView().getState(this.model.root), svgCanvas);
9923 this.updateSvgLinks(root, linkTarget, true);
9924 this.addForeignObjectWarning(svgCanvas, root);
9926 return root;
9942 Graph.prototype.addForeignObjectWarning = function(canvas, root) argument
9944 if (urlParams['svg-warning'] != '0' && root.getElementsByTagName('foreignObject').length > 0)
9954 … if (a.setAttributeNS == null || (root.ownerDocument != document && document.documentMode == null))
9975 root.appendChild(sw);