Lines Matching refs:cell

778 Sidebar.prototype.cloneCell = function(cell, value)  argument
780 var clone = cell.clone();
1198 var cell = new mxCell('List', new mxGeometry(0, 0, 140, 120),
1201 cell.vertex = true;
1202 cell.insert(sb.cloneCell(field, 'Item 1'));
1203 cell.insert(sb.cloneCell(field, 'Item 2'));
1204 cell.insert(sb.cloneCell(field, 'Item 3'));
1206 …return sb.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'List');
1214 var cell = new mxCell('', new mxGeometry(0, 0, 50, 50), 'curved=1;endArrow=classic;html=1;');
1215 cell.geometry.setTerminalPoint(new mxPoint(0, 50), true);
1216 cell.geometry.setTerminalPoint(new mxPoint(50, 0), false);
1217 cell.geometry.points = [new mxPoint(50, 50), new mxPoint(0, 0)];
1218 cell.geometry.relative = true;
1219 cell.edge = true;
1221 …return this.createEdgeTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'Curve'…
1305 … var cell = new mxCell('', new mxGeometry(0, 0, 20, 14), 'shape=message;html=1;outlineConnect=0;');
1306 cell.geometry.relative = true;
1307 cell.vertex = true;
1308 cell.geometry.offset = new mxPoint(-10, -7);
1309 edge.insert(cell);
1363 …var cell = new mxCell('Link', new mxGeometry(0, 0, 60, 40), 'text;html=1;strokeColor=none;fillColo…
1364 cell.vertex = true;
1365 this.graph.setLinkForCell(cell, 'https://www.draw.io');
1367 …return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'Link…
1371 …var cell = new mxCell('%date{ddd mmm dd yyyy HH:MM:ss}%', new mxGeometry(0, 0, 160, 20), 'text;htm…
1372 cell.vertex = true;
1373 this.graph.setAttributeForCell(cell, 'placeholders', '1');
1375 …return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'Time…
1379 …var cell = new mxCell('%name% Text', new mxGeometry(0, 0, 80, 20), 'text;html=1;strokeColor=none;f…
1380 cell.vertex = true;
1381 this.graph.setAttributeForCell(cell, 'placeholders', '1');
1382 this.graph.setAttributeForCell(cell, 'name', 'Variable');
1384 …return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'Vari…
1413 var cell = new mxCell('Label', new mxGeometry(0, 0, 160, 70),
1415 cell.vertex = true;
1419 cell.insert(symbol);
1421 …return sb.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'Shape …
1508 var cell = new mxCell('List', new mxGeometry(0, 0, 140, 110),
1511 cell.vertex = true;
1512 cell.insert(sb.cloneCell(field, 'Item 1'));
1513 cell.insert(sb.cloneCell(field, 'Item 2'));
1514 cell.insert(sb.cloneCell(field, 'Item 3'));
1516 …return sb.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'List');
1569 var cell = new mxCell('List', new mxGeometry(0, 0, 140, 110),
1572 cell.vertex = true;
1573 cell.insert(sb.cloneCell(field, 'Item 1'));
1574 cell.insert(sb.cloneCell(field, 'Item 2'));
1575 cell.insert(sb.cloneCell(field, 'Item 3'));
1577 …return sb.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'List');
1627 var cell = new mxCell('Classname', new mxGeometry(0, 0, 160, 90),
1629 cell.vertex = true;
1630 cell.insert(field.clone());
1631 cell.insert(divider.clone());
1632 cell.insert(sb.cloneCell(field, '+ method(type): type'));
1634 …return sb.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'Class'…
1638 var cell = new mxCell('Classname', new mxGeometry(0, 0, 140, 110),
1640 cell.vertex = true;
1641 cell.insert(field.clone());
1642 cell.insert(field.clone());
1643 cell.insert(field.clone());
1645 …return sb.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'Class …
1653 …var cell = new mxCell('item: attribute', new mxGeometry(0, 0, 120, field.geometry.height), 'label;…
1655 cell.vertex = true;
1657 …return sb.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'Item 2…
1665 …var cell = new mxCell('', new mxGeometry(0, 0, 20, 14), 'text;strokeColor=none;fillColor=none;alig…
1666 cell.vertex = true;
1668 …return sb.createVertexTemplateFromCells([cell.clone()], cell.geometry.width, cell.geometry.height,…
1674 …var cell = new mxCell('&laquo;Annotation&raquo;<br/><b>Component</b>', new mxGeometry(0, 0, 180, 9…
1675 cell.vertex = true;
1681 cell.insert(symbol);
1683 …return sb.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'Compon…
1687 …var cell = new mxCell('<p style="margin:0px;margin-top:6px;text-align:center;"><b>Component</b></p…
1690 cell.vertex = true;
1696 cell.insert(symbol);
1698 …return sb.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, 'Compon…
1716 var cell = new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;">' +
1720 cell.vertex = true;
1722 …return sb.createVertexTemplateFromCells([cell.clone()], cell.geometry.width, cell.geometry.height,…
1726 var cell = new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;">' +
1730 cell.vertex = true;
1732 …return sb.createVertexTemplateFromCells([cell.clone()], cell.geometry.width, cell.geometry.height,…
1736 var cell = new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;">' +
1741 cell.vertex = true;
1743 …return sb.createVertexTemplateFromCells([cell.clone()], cell.geometry.width, cell.geometry.height,…
1747 var cell = new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;">' +
1755 cell.vertex = true;
1757 …return sb.createVertexTemplateFromCells([cell.clone()], cell.geometry.width, cell.geometry.height,…
1773 var cell = new mxCell('', new mxGeometry(0, 0, 30, 30),
1775 cell.vertex = true;
1782 cell.insertEdge(edge, true);
1784 return sb.createVertexTemplateFromCells([cell, edge], 30, 90, 'Start');
1788 var cell = new mxCell('Activity', new mxGeometry(0, 0, 120, 40),
1790 cell.vertex = true;
1797 cell.insertEdge(edge, true);
1799 return sb.createVertexTemplateFromCells([cell, edge], 120, 100, 'Activity');
1803 var cell = new mxCell('Composite State', new mxGeometry(0, 0, 160, 60),
1805 cell.vertex = true;
1809 cell.insert(cell1);
1816 cell.insertEdge(edge, true);
1818 return sb.createVertexTemplateFromCells([cell, edge], 160, 120, 'Composite State');
1822 …var cell = new mxCell('Condition', new mxGeometry(0, 0, 80, 40), 'rhombus;whiteSpace=wrap;html=1;f…
1823 cell.vertex = true;
1831 cell.insertEdge(edge1, true);
1839 cell.insertEdge(edge2, true);
1841 return sb.createVertexTemplateFromCells([cell, edge1, edge2], 180, 100, 'Condition');
1845 …var cell = new mxCell('', new mxGeometry(0, 0, 200, 10), 'shape=line;html=1;strokeWidth=6;strokeCo…
1846 cell.vertex = true;
1853 cell.insertEdge(edge, true);
1855 return sb.createVertexTemplateFromCells([cell, edge], 200, 80, 'Fork/Join');
1871 …var cell = new mxCell('', new mxGeometry(0, 0, 10, 80), 'html=1;points=[];perimeter=orthogonalPeri…
1872 cell.vertex = true;
1879 cell.insertEdge(edge, false);
1881 return sb.createVertexTemplateFromCells([cell, edge], 10, 80, 'Found Message');
1885 …var cell = new mxCell('', new mxGeometry(0, 0, 10, 80), 'html=1;points=[];perimeter=orthogonalPeri…
1886 cell.vertex = true;
1893 cell.insertEdge(edge1, false);
1900 cell.insertEdge(edge2, true);
1902 return sb.createVertexTemplateFromCells([cell, edge1, edge2], 10, 80, 'Synchronous Invocation');
1906 …var cell = new mxCell('', new mxGeometry(-5, 20, 10, 40), 'html=1;points=[];perimeter=orthogonalPe…
1907 cell.vertex = true;
1915 cell.insertEdge(edge, false);
1917 return sb.createVertexTemplateFromCells([cell, edge], 10, 60, 'Self Call');
1949 …var cell = new mxCell('1', new mxGeometry(-1, 0, 0, 0), 'edgeLabel;resizable=0;html=1;align=left;v…
1950 cell.geometry.relative = true;
1951 cell.setConnectable(false);
1952 cell.vertex = true;
1953 edge.insert(cell);
2485 return !graph.isContainer(state.cell);
2548 var offset = (tmpState.cell != graph.view.currentRoot) ?
2776 return this.graph.isSwimlane(state.cell) || this.graph.isTableCell(state.cell) ||
2777 this.graph.isTableRow(state.cell) || this.graph.isTable(state.cell);
2821 …tmp = graph.isCellSelected(currentStyleTarget.cell) ? graph.getSelectionCells() : [currentStyleTar…
2822 …var updatedCells = this.updateShapes((graph.model.isEdge(currentStyleTarget.cell)) ? cells[0] : ce…
2827 …var index = (graph.model.isEdge(currentTargetState.cell) || freeSourceEdge == null) ? firstVertex …
2828 …graph.setSelectionCells(this.dropAndConnect(currentTargetState.cell, cells, direction, index, evt)…
2976 this.previewElement.style.display = (graph.model.isEdge(currentStyleTarget.cell)) ? 'none' : '';
2990 …var index = (graph.model.isEdge(currentTargetState.cell) || freeSourceEdge == null) ? firstVertex …
2991 …var geo = sidebar.getDropAndConnectGeometry(currentTargetState.cell, cells[index], direction, cell…
2992 …r geo2 = (!graph.model.isEdge(currentTargetState.cell)) ? graph.getCellGeometry(currentTargetState…
2994 var parent = graph.model.getParent(currentTargetState.cell);
3029 graph.model.isEdge(dragSource.currentHighlight.state.cell))
3058 var cell = (!mxEvent.isAltDown(evt) && cells != null) ?
3061 return graph.isContainer(state.cell);
3065 if (cell != null && !this.graph.isCellConnectable(cell) &&
3066 !this.graph.model.isEdge(cell))
3068 var parent = this.graph.getModel().getParent(cell);
3073 cell = parent;
3078 if (graph.isCellLocked(cell))
3080 cell = null;
3083 var state = graph.view.getState(cell);
3124 … timeOnTarget > 1500 || graph.model.isEdge(state.cell)) && (timeOnTarget > this.dropTargetDelay) &&
3125 …!this.isDropStyleTargetIgnored(state) && ((graph.model.isVertex(state.cell) && firstVertex != null…
3126 (graph.model.isEdge(state.cell) && graph.model.isEdge(cells[0]))))
3128 if (graph.isCellEditable(state.cell))
3131 var tmp = (graph.model.isEdge(state.cell)) ? graph.view.getPoint(state) :
3163 …var tmp = (graph.model.isEdge(currentStyleTarget.cell)) ? graph.view.getPoint(currentStyleTarget) …
3175 if (graph.model.isEdge(currentTargetState.cell))
3207 var handler = this.graph.selectionCellsHandler.getHandler(currentTargetState.cell);
3266 ((graph.model.isEdge(cell) && firstVertex != null) ||
3267 (graph.model.isVertex(cell) && graph.isCellConnectable(cell)));
3277 graph.model.isEdge(cell)) ? state : null;
3291 if (graph.model.isEdge(cell))
3308 if (graph.model.getTerminal(cell, true) == null)
3313 if (graph.model.getTerminal(cell, false) == null)
3332 var handler = this.graph.selectionCellsHandler.getHandler(state.cell);
3376 currentStateHandle = graph.selectionCellsHandler.getHandler(state.cell);
3653 var cell = new mxCell((value != null) ? value : '', new mxGeometry(0, 0, width, height), style);
3654 cell.geometry.setTerminalPoint(new mxPoint(0, height), true);
3655 cell.geometry.setTerminalPoint(new mxPoint(width, 0), false);
3656 cell.geometry.relative = true;
3657 cell.edge = true;
3659 …return this.createEdgeTemplateFromCells([cell], width, height, title, showLabel, allowCellsInserte…