Lines Matching refs:i

177 	for (var i = 0; i < cells.length; i++)
179 var style = this.editorUi.editor.graph.getCurrentCellStyle(cells[i]);
183 this.updateSelectionStateForCell(result, cells[i], cells, initial);
409 for (var i = 0; i < this.panels.length; i++)
411 this.panels[i].destroy();
775 for (var i = 0; i < cells.length; i++)
777 if (graph.model.getChildCount(cells[i]) == 0)
779 graph.autoSizeCell(cells[i], false);
1615 for (var i = 0; i < elts.length; i++)
1617 mxUtils.setPrefixedStyle(elts[i].style, 'borderRadius', '3px');
1618 mxUtils.setOpacity(elts[i], 100);
1619 elts[i].style.border = '1px solid #a0a0a0';
1620 elts[i].style.padding = '4px';
1621 elts[i].style.paddingTop = '3px';
1622 elts[i].style.paddingRight = '1px';
1623 elts[i].style.margin = '1px';
1624 elts[i].style.marginRight = '2px';
1625 elts[i].style.width = '24px';
1626 elts[i].style.height = '20px';
1627 elts[i].className += ' geColorBtn';
1638 for (var i = 0; i < this.listeners.length; i++)
1640 this.listeners[i].destroy();
2753 for (var i = 0; i < cells.length; i++)
2755 if (graph.getModel().isVertex(cells[i]))
2757 var geo = graph.getCellGeometry(cells[i]);
2763 if (!fn(geo, value, cells[i]))
2765 var state = graph.view.getState(cells[i]);
2769 graph.resizeChildCells(cells[i], geo);
2772 graph.getModel().setGeometry(cells[i], geo);
2773 graph.constrainChildCells(cells[i]);
2826 for (var i = 0; i < cells.length; i++)
2828 if (graph.getModel().isEdge(cells[i]))
2830 var geo = graph.getCellGeometry(cells[i]);
2837 graph.getModel().setGeometry(cells[i], geo);
3326 for (var i = 0; i < directions.length; i++)
3329 positionOption.setAttribute('value', directions[i]);
3330 mxUtils.write(positionOption, mxResources.get(directions[i]));
3364 for (var i = 0; i < dirs.length; i++)
3367 dirOption.setAttribute('value', dirs[i]);
3368 mxUtils.write(dirOption, mxResources.get(dirs[i]));
3491 for (var i = 0; i < elts.length; i++)
3493 updateSize(elts[i]);
3542 for (var i = 0; i < elts.length; i++)
3544 if (elts[i].getAttribute('size') == '4')
3546 elts[i].removeAttribute('size');
3547 elts[i].style.fontSize = pendingFontSize + 'px';
3622 for (var i = 0; i < tmp.length; i++)
3626 node: tmp[i],
3627 color: tmp[i].getAttribute('color')
3640 for (var i = 0; i < newFonts.length; i++)
3642 if (i >= oldFonts.length || newFonts[i] != oldFonts[i].node ||
3643 (newFonts[i] == oldFonts[i].node &&
3644 newFonts[i].getAttribute('color') != oldFonts[i].color))
3646 var child = newFonts[i].firstChild;
3653 var parent = newFonts[i].parentNode;
3654 parent.insertBefore(child, newFonts[i]);
3660 newFonts[i].appendChild(tmp);
3664 child.appendChild(newFonts[i]);
4332 for (var i = 0; i < elts.length; i++)
4334 if (selection.containsNode(elts[i], true))
4336 temp = mxUtils.getCurrentStyle(elts[i]);
4338 var lh = getRelativeLineHeight(fontSize, temp, elts[i]);
4641 for (var i = 0; i < styles.length; i++)
4643 var rules = this.getCssRules(mxUtils.getTextContent(styles[i]));
4647 this.addSvgRule(container, rules[j], svg, styles[i], rules, j, regex);
4695 for (var i = 0; i < rules.length; i++)
4697 cssTxt += rules[i].cssText + ' ';
4849 for (var i = 0; i < directions.length; i++)
4852 gradientOption.setAttribute('value', directions[i]);
4853 mxUtils.write(gradientOption, mxResources.get(directions[i]));
4859 for (var i = 0; i < Editor.roughFillStyles.length; i++)
4862 fillStyleOption.setAttribute('value', Editor.roughFillStyles[i].val);
4863 mxUtils.write(fillStyleOption, Editor.roughFillStyles[i].dispName);
4925 for (var i = 0; i < custom.length; i++)
4927 …container.appendChild(this.createCellColorOption(custom[i].title, custom[i].key, custom[i].default…
4984 for (var i = 0; i < styles.length; i++)
4987 styleOption.setAttribute('value', styles[i]);
4988 mxUtils.write(styleOption, mxResources.get(styles[i]));
5010 for (var i = 0; i < keys.length; i++)
5012 graph.setCellStyles(keys[i], values[i], ss.cells);
5725 for (var i = 0; i < styles.length; i++)
5728 styleOption.setAttribute('value', styles[i]);
5729 mxUtils.write(styleOption, mxResources.get(styles[i]));
6061 for (var i = 0; i < cells.length; i++)
6063 var style = graph.getCellStyle(cells[i]);
6069 graphStyle.background : null, [cells[i]]);
6072 var edge = model.isEdge(cells[i]);
6073 var newStyle = model.getStyle(cells[i]);
6086 model.setStyle(cells[i], newStyle);
6408 for (var i = this.format.currentStylePage * maxEntries;
6409 i < Math.min((this.format.currentStylePage + 1) * maxEntries,
6410 Editor.styles.length); i++)
6412 var s = Editor.styles[i];
6413 addEntry(s.commonStyle, s.vertexStyle, s.edgeStyle, s.graph, i);
6440 for (var i = 0; i < pageCount; i++)
6459 }))(i, dot);