Lines Matching refs:cell

351     var cell = cells[id];
352 var state = view.getState(cell);
354 var bounds = model.getGeometry(cell);
359 if (cell.isVertex() && this.isLeafOrCollapsed(cell) && activeVertices[cell.id])
367 node.name = cell.value;
375 nodeCells[colaId] = cell;
382 var cell = cells[id];
383 var state = view.getState(cell);
384 if (cell.isEdge() && cell.getTerminal(true) != null && cell.getTerminal(false) != null)
387 var terminal_id1 = inactiveToActiveMap[cell.source.id];
388 var terminal_id2 = inactiveToActiveMap[cell.target.id];
414 edgeIds[cell] = id;
415 linkCells[link] = cell;
429 var cell = cells[id];
430 if (!cell.isVertex() || !this.isLeafOrCollapsed(cell))
432 var parent = cell.getParent();
440 directParentChildren[parent.id][id] = cell;
529 var cell = cells[id];
530 if (cell.isEdge() && cell.source != null && cell.target != null)
533 var sourceId = cell.source.id;
534 var targetId = cell.target.id;
568 var cell = cells[id];
569 if (cell.isVertex())
572 var vertexDegree = this.vertexDegrees.get(cell);
577 var parent = cell;
609 mxWebColaAdaptor.prototype.isInZeroConnectedGroup = function(cell) argument
611 var parent = cell.parent;
614 return this.isZeroConnected(cell);
622 mxWebColaAdaptor.prototype.isLeafOrCollapsed = function(cell) argument
629 if (cell.isCollapsed() ||
630 cell.children == null || cell.children.length == 0 ||
631 typeof this.graph.getCellStyle(cell)['childLayout'] != 'undefined')
635 if (this.isZeroConnected(cell))
662 var cell = currentCellInfo.vertex;
663 if (cell.isEdge())
670 if (cell.isVertex())
674 activeVertices[cell.id] = true;
678 activeVertices[cell.id] = false;
683 var isActive = isActive && !this.isLeafOrCollapsed(cell);
684 var children = cell.children;
718 var cell = cellsToExplore.shift();
719 if (!cell.isVertex() || !activeVertices[cell])
724 if (this.isLeafOrCollapsed(cell))
726 activeChildren.push(cell);
730 var children = cell.children;
757 var cell = cellsToExplore.shift();
758 if (!cell.isVertex())
763 if (this.isLeafOrCollapsed(cell))
765 result.push(cell);
769 var children = cell.children;
780 mxWebColaAdaptor.prototype.hasVertexChildren = function(cell) argument
787 if (cell.children == null || cell.children.length == 0)
792 toBeExamined = toBeExamined.concat(cell.children);
795 var cell = toBeExamined.shift();
796 if (cell.isVertex())
798 if (cell.children != null && cell.children.length > 0)
800 toBeExamined = toBeExamined.concat(cell.children);
806 mxWebColaAdaptor.prototype.isInCollapsedTree = function(cell) argument
809 while (cell != null)
811 cell = cell.getParent();
812 if (cell != null && cell.isCollapsed())
820 mxWebColaAdaptor.prototype.isGroup = function(cell) argument
827 return cell.children != null && cell.children.length > 0;