Lines Matching refs:cells

1412 				if (diff.cells != null)
1416 var cellDiffs = diff.cells[key];
1448 delete diff.cells[key];
1456 if (Object.keys(diff.cells).length == 0)
1458 delete diff.cells;
2210 this.importCsv(realData, mxUtils.bind(this, function(cells) argument
3321 var addCells = mxUtils.bind(this, function(cells, bounds, evt, title) argument
3323 cells = graph.cloneCells(mxUtils.sortCells(graph.model.getTopmostCells(cells)));
3326 for (var i = 0; i < cells.length; i++)
3328 var geo = graph.getCellGeometry(cells[i]);
3337 cells, bounds.width, bounds.height, title || '', true, false, false));
3339 var xml = Graph.compress(mxUtils.getXml(this.editor.graph.encodeCells(cells)));
3361 var cells = graph.getSelectionCells();
3362 var bounds = graph.view.getBounds(cells);
3374 addCells(cells, bounds);
3470 var cells = [new mxCell('', new mxGeometry(0, 0, w, h), style)];
3471 cells[0].vertex = true;
3473 …addCells(cells, new mxRectangle(0, 0, w, h), evt, (mxEvent.isAltDown(evt)) ? null : img.substring(…
3526 var cells = this.stringToCells(Editor.getDiagramNodeXml(pages[i]));
3527 var size = this.editor.graph.getBoundingBoxFromGeometry(cells);
3528 addCells(cells, new mxRectangle(0, 0, size.width, size.height), evt);
3671 var cells = this.stringToCells(Graph.decompress(img.xml));
3673 if (cells.length > 0)
3676 cells, img.w, img.h, img.title || '', true, false, true));
6957 var cells = []
7043 cells = graph.importGraphModel(node, dx, dy, crop);
7045 if (cells != null)
7047 for (var i = 0; i < cells.length; i++)
7049 this.updatePageLinksForCell(mapping, cells[i]);
7056 this.insertHandler(cells, null, null,
7080 return cells;
10545 EditorUi.prototype.copyImage = function(cells, xml, scale) argument
10578 (cells.length > 0) ? cells : null);
10609 var cells = mxUtils.sortCells(graph.model.getTopmostCells(graph.getSelectionCells()));
10610 var xml = mxUtils.getXml(graph.encodeCells(cells));
10615 graph.removeCells(cells, false);
10639 var cells = null;
10647 cells = mxUtils.sortCells(graph.getExportableCells(
10649 var xml = mxUtils.getXml(graph.encodeCells(cells));
10654 return cells;
10663 var cells = null;
10679 cells = this.importXml(xml, dx, dx);
10680 graph.setSelectionCells(cells);
10726 cells = this.insertTextAt(xml, pt.x + dx, pt.y + dx, true);
10727 graph.setSelectionCells(cells);
10740 return cells;
11115 var cells = [];
11127 cells.push(model.getChildAt(parent, j));
11131 return cells;
11583 var cells = graph.model.cells;
11586 for (var id in cells)
11588 var cell = cells[id];
12838 var cells = graph.getSelectionCells();
12854 layout.execute(graph.getDefaultParent(), cells.length == 0 ? null : cells);
12869 var cells = [];
13175 if (mxUtils.indexOf(cells, cell) < 0)
13177 cells.push(cell);
13264 cells.push(graph.addCell(cell));
13291 var roots = cells.slice();
13292 var select = cells.slice();
13420 if (cells.length > 0)
13434 for (var i = 0; i < cells.length; i++)
13436 var geo = graph.getCellGeometry(cells[i]);
13476 mxUtils.indexOf(cells, vertex) < 0;
13488 (layout == 'auto' && select.length == 2 * cells.length - 1 && roots.length == 1))
13529 select.length > cells.length))
13545 mxUtils.indexOf(cells, vertex) < 0;