Lines Matching refs:node

584 	var node = new mxCell();
585 node.vertex = true;
586 node.geometry = new mxGeometry(0,0,30,30); //some node has no geometry, this is the default
588 graph.addCell(node, parent);
606 this.addNodeGeo(node, dataObj, dx, dy);
622 this.addNodeStyle(node, dataObj, style);
664 this.addNodeGeo(node, shape[mxGraphMlConstants.GEOMETRY], dx, dy);
673 this.addNodeStyle(node, dataObj, style);
688 this.handleTemplates(mlTemplate, mlUserTags, node, style);
691 this.handleFixedRatio(node, style);
694 this.handleCompoundShape(node, style, mlStyleObj, lbls);
702 node.style = this.styleMap2Str(style);
708 this.importGraph(subGraphs[i], graph, node, portsMap);
713 lbls = this.addLabels(node, lblObj, style, graph);
715 this.nodesMap[id] = {node: node, ports: portsMap}; property in mxGraphMlCodec.importNode.nodesMap
718 mxGraphMlCodec.prototype.addNodeStyle = function (node, dataObj, style) argument
1007 mxGraphMlCodec.prototype.handleTemplates = function (template, userTags, node, styleMap) argument
1011 var w = node.geometry.width;
1012 var h = node.geometry.height;
1101 mxGraphMlCodec.prototype.handleCompoundShape = function (node, styleMap, mlStyleObj, lbls) argument
1116 this.handleCompoundShape(node, styleMap, mlStyleObj, lbls)
1138 node.insert(cell2);
1146 node.insert(cell1);
1154 node.insert(cell1);
1168 var pGeo = node.geometry;
1171 node.insert(cell1);
1177 node.value = lbls.lblTxts[0];
1241 node.insert(item1);
1295 node.insert(item1);
1435 var pGeo = node.geometry;
1454 y = this.addRow(rows[i], node, (i & 1), y, xShift, rowMapping, defRowStyle);
1469 x = this.addColumn(columns[i], node, (i & 1), x, yShift, colMapping, defColStyle);
1574 this.addTbl2Rows(node, rows, th, tw, rowStartSize, colStartSize, atts4Rows, tmpMap);
1575 this.addTbl2Cols(node, cols, th, tw, rowStartSize, colStartSize, atts4Rows, tmpMap);
1579 this.addTbl2Cols(node, cols, th, tw, rowStartSize, colStartSize, atts4Rows, tmpMap);
1580 this.addTbl2Rows(node, rows, th, tw, rowStartSize, colStartSize, atts4Rows, tmpMap);
1617 mxGraphMlCodec.prototype.addTbl2Rows = function(node, rows, th, tw, rowStartSize, colStartSize, att… argument
1649 cell.geometry = new mxGeometry(tw, y - dh, node.geometry.width - tw, height + dh);
1656 node.insert(cell);
1660 mxGraphMlCodec.prototype.addTbl2Cols = function(node, cols, th, tw, rowStartSize, colStartSize, att… argument
1691 cell.geometry = new mxGeometry(x - dw, th, width + dw, node.geometry.height - th);
1698 node.insert(cell);
1823 mxGraphMlCodec.prototype.handleFixedRatio = function (node, styleMap) argument
1826 var geo = node.geometry;
1856 mxGraphMlCodec.prototype.addNodeGeo = function (node, geoObj, dx, dy) argument
1876 var geo = node.geometry;
1897 var edge = graph.insertEdge(parent, null, "", src.node, trg.node, "graphMLId=" + id);
2218 mxGraphMlCodec.prototype.addLabels = function (node, lblObj, nodeStyle, graph, absPoints) argument
2220 var lastChildIndex = node.getChildCount();
2346 var geo = node.geometry;
2350 node.insert(lblCell, lastChildIndex);
2531 if (node.edge)
2536 var dx = node.source.geometry.getCenterX() - node.target.geometry.getCenterX();
2537 var dy = node.source.geometry.getCenterY() - node.target.geometry.getCenterY();
2600 var node = codec.encode(graph.getModel());
2601 node.setAttribute("style", "default-style2");
2602 var modelString = mxUtils.getXml(node);