Lines Matching refs:firstVertex
2753 Sidebar.prototype.isDropStyleEnabled = function(cells, firstVertex) argument
2757 if (firstVertex != null && cells.length == 1)
2759 var vstyle = this.graph.getCellStyle(cells[firstVertex]);
2789 var firstVertex = null;
2794 if (firstVertex == null && graph.model.isVertex(cells[i]))
2796 firstVertex = i;
2804 if (firstVertex != null && freeSourceEdge != null)
2810 var dropStyleEnabled = this.isDropStyleEnabled(cells, firstVertex);
2822 …s.updateShapes((graph.model.isEdge(currentStyleTarget.cell)) ? cells[0] : cells[firstVertex], tmp);
2827 …aph.model.isEdge(currentTargetState.cell) || freeSourceEdge == null) ? firstVertex : freeSourceEdg…
2990 …aph.model.isEdge(currentTargetState.cell) || freeSourceEdge == null) ? firstVertex : freeSourceEdg…
3125 …!this.isDropStyleTargetIgnored(state) && ((graph.model.isVertex(state.cell) && firstVertex != null…
3265 var validTarget = (firstVertex == null || graph.isCellConnectable(cells[firstVertex])) &&
3266 ((graph.model.isEdge(cell) && firstVertex != null) ||
3482 var firstVertex = null;
3484 for (var i = 0; i < cells.length && firstVertex == null; i++)
3488 firstVertex = i;
3492 if (firstVertex != null)
3498 firstVertex, evt));