Lines Matching refs:graph

732 		if (state.view.graph.isHtmlLabel(state.cell))
740 result = state.view.graph.sanitizeHtml(result);
789 if (this.graph.pageVisible)
793 var pf = this.graph.pageFormat;
794 var ps = this.graph.pageScale;
797 var t = this.graph.view.translate;
798 var s = this.graph.view.scale;
800 var layout = this.graph.getPageLayout();
833 …this.previewColor = (this.graph.background == '#000000') ? '#ffffff' : mxGraphHandler.prototype.pr…
853 var cell = (this.graph.isTableCell(initialCell) &&
854 this.graph.isTableCell(cells[i]) &&
855 this.graph.isCellSelected(cells[i])) ?
856 this.graph.model.getParent(cells[i]) :
857 ((this.graph.isTableRow(initialCell) &&
858 this.graph.isTableRow(cells[i]) &&
859 this.graph.isCellSelected(cells[i])) ?
860 cells[i] : this.graph.getCompositeParent(cells[i]));
880 if (this.graph.isTableCell(cell))
882 if (!this.graph.isCellSelected(cell))
884 cell = this.graph.model.getParent(cell);
892 if (!ignoreParent && (!this.graph.isTableRow(cell) || !this.graph.isCellSelected(cell)))
894 cell = this.graph.getCompositeParent(cell);
903 source = this.graph.getCompositeParent(source);
965 (mxUtils.hasScrollbars(this.graph.container) && mxClient.IS_FF &&
1128 if (this.graph.isCellSelected(parent))
1206 this.graph.setSelectionCell(target || edge);
1212 var graph = state.view.graph;
1214 return source && (graph.isCellSelected(state.cell) || (graph.isTableRow(state.cell) &&
1215 graph.selectionCellsHandler.isHandled(graph.model.getParent(state.cell))));
1349 var graph = new Graph(document.createElement('div'));
1350 graph.stylesheet.styles = mxUtils.clone(stylesheet.styles);
1351 graph.resetViewOnRootChange = false;
1352 graph.setConnectable(false);
1353 graph.gridEnabled = false;
1354 graph.autoScroll = false;
1355 graph.setTooltips(false);
1356 graph.setEnabled(false);
1359 graph.container.style.visibility = 'hidden';
1360 graph.container.style.position = 'absolute';
1361 graph.container.style.overflow = 'hidden';
1362 graph.container.style.height = '1px';
1363 graph.container.style.width = '1px';
1365 return graph;
2057 var tol = state.view.graph.tolerance;
2084 state.view.graph.labelLinkClicked(state, elt, evt);
2119 if (href != null && this.graph.isCustomLink(href) &&
2121 this.graph.customLinkClicked(href))
2541 if (this.graph.useCssTransforms)
2543 s /= this.graph.currentScale;
2558 if (this.graph.useCssTransforms)
2560 var t = this.graph.currentTranslate;
2561 var s = this.graph.currentScale;
2577 if (this.graph.useCssTransforms)
2580 this.graph.sizeDidChange();
2585 this.graph.sizeDidChange();
2596 if (this.graph.useCssTransforms)
2598 this.graph.currentScale = this.scale;
2599 this.graph.currentTranslate.x = this.translate.x;
2600 this.graph.currentTranslate.y = this.translate.y;
2609 if (this.graph.useCssTransforms)
2611 this.graph.updateCssTransform();
2613 this.scale = this.graph.currentScale;
2614 this.translate.x = this.graph.currentTranslate.x;
2615 this.translate.y = this.graph.currentTranslate.y;
2705 var useCssTranforms = this.graph.useCssTransforms, scale = this.scale,
2710 this.scale = this.graph.currentScale;
2711 this.translate = this.graph.currentTranslate;
2922 return this.graph.getCellStyle(cell)['childLayout'] != null;
2927 var parent = this.graph.model.getParent(cell);
2934 var style = this.graph.getCellStyle(cell);
2938 var stackLayout = new mxStackLayout(this.graph, true);
2961 var treeLayout = new mxCompactTreeLayout(this.graph);
2974 var flowLayout = new mxHierarchicalLayout(this.graph, mxUtils.getValue(style,
2994 return new mxCircleLayout(this.graph);
2998 return new mxFastOrganicLayout(this.graph);
3002 return new TableLayout(this.graph);
4895 HoverIcons = function(graph) argument
4898 this.graph = graph;
5019 this.graph.selectionModel.addListener(mxEvent.CHANGE, this.resetHandler);
5020 this.graph.model.addListener(mxEvent.CHANGE, this.repaintHandler);
5021 this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE, this.repaintHandler);
5022 this.graph.view.addListener(mxEvent.TRANSLATE, this.repaintHandler);
5023 this.graph.view.addListener(mxEvent.SCALE, this.repaintHandler);
5024 this.graph.view.addListener(mxEvent.DOWN, this.repaintHandler);
5025 this.graph.view.addListener(mxEvent.UP, this.repaintHandler);
5026 this.graph.addListener(mxEvent.ROOT, this.repaintHandler);
5027 this.graph.addListener(mxEvent.ESCAPE, this.resetHandler);
5028 mxEvent.addListener(this.graph.container, 'scroll', this.resetHandler);
5031 this.graph.addListener(mxEvent.ESCAPE, mxUtils.bind(this, function()
5037 mxEvent.addListener(this.graph.container, 'mouseleave', mxUtils.bind(this, function(evt)
5040 if (evt.relatedTarget != null && mxEvent.getSource(evt) == this.graph.container)
5047 this.graph.addListener(mxEvent.START_EDITING, mxUtils.bind(this, function(evt)
5053 var graphClick = this.graph.click;
5054 this.graph.click = mxUtils.bind(this, function(me)
5056 graphClick.apply(this.graph, arguments);
5058 if (this.currentState != null && !this.graph.isCellSelected(this.currentState.cell) &&
5059 mxEvent.isTouchEvent(me.getEvent()) && !this.graph.model.isVertex(me.getCell()))
5070 this.graph.addMouseListener(
5101 else if (!this.graph.isMouseDown && !mxEvent.isTouchEvent(evt))
5107 if (this.graph.connectionHandler != null &&
5108 this.graph.connectionHandler.shape != null)
5116 var pt = mxUtils.convertPoint(this.graph.container,
5131 if (this.graph.getSelectionCount() != 1 || !this.graph.model.isEdge(
5132 this.graph.getSelectionCell()))
5134 this.update(this.getState(this.graph.view.getState(
5135 this.graph.getCellAt(me.getGraphX(), me.getGraphY()))));
5166 (mxEvent.isPopupTrigger(evt) && !this.graph.isCloneEvent(evt));
5192 this.mouseDownPoint = mxUtils.convertPoint(this.graph.container,
5202 mxEvent.redirectMouseEvents(arrow, this.graph, this.currentState);
5214 this.graph.connectionHandler.constraintHandler.reset();
5232 if (!this.graph.isMouseDown)
5328 this.graph.popupMenuHandler.hideMenu();
5329 this.graph.stopEditing(false);
5334 this.graph.connectionHandler.start(this.currentState, x, y);
5335 this.graph.isMouseTrigger = mxEvent.isMouseEvent(evt);
5336 this.graph.isMouseDown = true;
5339 var handler = this.graph.selectionCellsHandler.getHandler(this.currentState.cell);
5347 var es = this.graph.connectionHandler.edgeState;
5364 return this.graph.view.getState(this.graph.getCellAt(x, y));
5378 if (tmp != null && this.graph.model.isEdge(tmp.cell) && !this.graph.isCloneEvent(evt) &&
5381 this.graph.setSelectionCell(tmp.cell);
5399 this.graph.selectCellsForConnectVertex(this.graph.connectVertex(
5400 state.cell, dir, this.graph.defaultEdgeLength, evt, this.graph.isCloneEvent(evt),
5401 this.graph.isCloneEvent(evt)), evt, this);
5439 this.graph.model.isVertex(this.currentState.cell) &&
5440 this.graph.isCellConnectable(this.currentState.cell))
5450 bds.grow(this.graph.tolerance);
5453 var handler = this.graph.selectionCellsHandler.getHandler(this.currentState.cell);
5455 if (this.graph.isTableRow(this.currentState.cell))
5457 handler = this.graph.selectionCellsHandler.getHandler(
5458 this.graph.model.getParent(this.currentState.cell));
5528 var right = this.graph.getCellAt(bds.x + bds.width +
5530 …var left = this.graph.getCellAt(bds.x - this.triangleLeft.width / 2, this.currentState.getCenterY(…
5531 …var top = this.graph.getCellAt(this.currentState.getCenterX(), bds.y - this.triangleUp.height / 2)…
5532 …var bottom = this.graph.getCellAt(this.currentState.getCenterX(), bds.y + bds.height + this.triang…
5543 var currentGeo = this.graph.getCellGeometry(this.currentState.cell);
5547 var geo = this.graph.model.isVertex(cell) && this.graph.getCellGeometry(cell);
5550 if (cell != null && !this.graph.model.isAncestor(cell, this.currentState.cell) &&
5551 !this.graph.isSwimlane(cell) && (geo == null || currentGeo == null ||
5575 if (this.graph.tooltipHandler.isEnabled())
5614 …var bbox = (!this.graph.model.isEdge(this.currentState.cell)) ? mxRectangle.fromRectangle(this.cur…
5645 if (!this.graph.getModel().contains(cell))
5652 if (this.graph.getModel().isVertex(cell) && !this.graph.isCellConnectable(cell))
5654 var parent = this.graph.getModel().getParent(cell);
5656 if (this.graph.getModel().isVertex(parent) && this.graph.isCellConnectable(parent))
5663 if (this.graph.isCellLocked(cell) || this.graph.model.isEdge(cell))
5668 state = this.graph.view.getState(cell);
5685 if (!this.graph.connectionArrowsEnabled || (state != null &&
5693 this.graph.model.isEdge(state.cell.parent))
5717 if (!this.isActive() && !this.graph.isMouseDown &&
5718 !this.graph.panningHandler.isActive())
5743 if (state != null && this.graph.isEnabled())
5750 if (this.graph.connectionHandler.constraintHandler.currentFocus != state)
5752 this.graph.connectionHandler.constraintHandler.reset();
5771 this.graph.container.appendChild(this.arrowUp);
5772 this.graph.container.appendChild(this.arrowDown);
5775 this.graph.container.appendChild(this.arrowRight);
5776 this.graph.container.appendChild(this.arrowLeft);
6114 function TableLayout(graph) argument
6116 mxGraphLayout.call(this, graph);
6142 return !this.graph.getModel().isVertex(vertex) ||
6143 !this.graph.isCellVisible(vertex);
6159 var geo = this.graph.getCellGeometry(cells[i]);
6178 var cells = this.graph.model.getChildCells(row, true);
6179 var off = this.graph.getActualStartSize(row, true);
6187 var cell = this.graph.getCellGeometry(cells[i]);
6208 var model = this.graph.getModel();
6210 var off = this.graph.getActualStartSize(row, true);
6223 var cell = this.graph.getCellGeometry(cells[i]);
6288 var style = this.graph.getCurrentCellStyle(cells[i], true);
6323 var offset = this.graph.getActualStartSize(parent, true);
6324 var table = this.graph.getCellGeometry(parent);
6325 var style = this.graph.getCellStyle(parent);
6332 var model = this.graph.getModel();
6347 var row = this.graph.getCellGeometry(rows[rows.length - 1]);
6364 var row = this.graph.getCellGeometry(rows[i]);
6435 if (state != null && recurse && this.graph.model.isEdge(state.cell) &&
6439 this.graph.cellRenderer.redraw(state, false, this.isRendering());
6445 if (state != null && recurse && this.graph.model.isEdge(state.cell) &&
6465 this.state.view.graph.enableFlowAnimation &&
6466 this.state.view.graph.model.isEdge(this.state.cell) &&
6478 var anim = this.state.view.graph.getFlowAnimationStyle();
6508 if (this.graph.model.isEdge(state.cell) &&
6822 var orth = this.graph.isOrthogonal(edge);
6858 var constraints = this.graph.getAllConnectionConstraints(start)
6866 var cp = this.graph.getConnectionPoint(start, constraints[i]);
6902 result = shape.state.view.graph.replacePlaceholders(shape.state.cell, result);
7269 this.graph.isTableRow(vertex) || this.graph.isTableCell(vertex);
7277 this.graph.isEdgeIgnored(edge);
7285 return this.graph.isCloneEvent(evt) || mxConnectionHandlerCreateTarget.apply(this, arguments);
7304 var style = this.graph.createCurrentEdgeStyle();
7305 var edge = this.graph.createEdge(null, null, null, null, null, style);
7306 var state = new mxCellState(this.graph.view, edge, this.graph.getCellStyle(edge));
7308 for (var key in this.graph.currentEdgeStyle)
7310 state.style[key] = this.graph.currentEdgeStyle[key];
7313 state.style = this.graph.postProcessCellStyle(state.style);
7324 shape.isDashed = this.graph.currentEdgeStyle[mxConstants.STYLE_DASHED] == '1';
8132 Graph.prototype.updateCustomLinks = function(mapping, cells, graph) argument
8134 graph = (graph != null) ? graph : new Graph();
8140 graph.updateCustomLinksForCell(mapping, cells[i], graph);
9118 var graph = this;
9126 new mxCellHighlight(graph, highlight, 4) : null,
9136 if (tmp == null || graph.getLinkForCell(tmp.cell) == null)
9138 … var cell = graph.getCellAt(me.getGraphX(), me.getGraphY(), null, null, null, function(state, x, y)
9140 return graph.getLinkForCell(state.cell) == null;
9143 … tmp = (tmp != null && !graph.model.isAncestor(cell, tmp.cell)) ? null : graph.view.getState(cell);
9165 this.scrollLeft = graph.container.scrollLeft;
9166 this.scrollTop = graph.container.scrollTop;
9168 if (this.currentLink == null && graph.container.style.overflow == 'auto')
9170 graph.container.style.cursor = 'move';
9177 if (graph.isMouseDown)
9206 if (graph.tooltipHandler != null && this.currentLink != null && this.currentState != null)
9208 graph.tooltipHandler.reset(me, true, this.currentState);
9212 graph.intersects(this.currentState, me.getGraphX(), me.getGraphY()))
9236 (((Math.abs(this.scrollLeft - graph.container.scrollLeft) < tol &&
9237 Math.abs(this.scrollTop - graph.container.scrollTop) < tol) &&
9244 var blank = graph.isBlankLink(this.currentLink);
9256 ((blank) ? graph.linkTarget : '_top'));
9258 graph.openLink(this.currentLink, target);
9263 (Math.abs(this.scrollLeft - graph.container.scrollLeft) < tol &&
9264 Math.abs(this.scrollTop - graph.container.scrollTop) < tol) &&
9276 this.currentLink = graph.getAbsoluteUrl(graph.getLinkForCell(state.cell));
9280 this.currentTarget = graph.getLinkTargetForCell(state.cell)
9281 graph.container.style.cursor = 'pointer';
9291 if (graph.container != null)
9293 graph.container.style.cursor = cursor;
9305 if (graph.tooltipHandler != null)
9307 graph.tooltipHandler.hide();
9313 graph.click = function(me) {}; method
9314 graph.addMouseListener(mouseListener);
9891 return (result != null && !state.view.graph.isCustomLink(result)) ? result : null;
9896 return state.view.graph.getLinkTargetForCell(state.cell);
9902 var graph = state.view.graph;
9904 graph.isCellSelected(state.cell);
9905 var parent = graph.model.getParent(state.cell);
9912 graph.isCellSelected(parent);
9913 parent = graph.model.getParent(parent);
10775 return this.graph.connectionHandler.first != null;
10875 var state = this.graph.view.getState(this.editingCell);
10885 return this.graph.getParentByName(
10886 this.graph.getSelectedElement(),
10962 this.graph.processElements(this.textarea, function(node)
10977 this.graph.cellEditor.setAlign(align);
11094 cell = this.graph.getStartEditingCell(cell, trigger);
11100 var state = this.graph.view.getState(cell);
11118 this.graph.setSelectionCell(cell);
11121 var parent = this.graph.getModel().getParent(cell);
11122 var geo = this.graph.getCellGeometry(cell);
11124 if ((this.graph.getModel().isEdge(parent) && geo != null && geo.relative) ||
11125 this.graph.getModel().isEdge(cell))
11267 var state = this.graph.view.getState(this.editingCell);
11293 …content = this.graph.sanitizeHtml((nl2Br) ? content.replace(/\n/g, '').replace(/&lt;br\s*.?&gt;/g,…
11327 content = this.graph.sanitizeHtml((nl2Br) ? content.replace(/\n/g, '<br/>') : content, true)
11391 var state = this.graph.getView().getState(this.editingCell);
11457 var result = this.graph.getEditingValue(state.cell, trigger)
11464 result = this.graph.sanitizeHtml(result, true);
11479 var result = this.graph.sanitizeHtml(this.textarea.innerHTML, true);
11513 this.graph.container.focus();
11525 this.graph.getModel().beginUpdate();
11531 if (value == '' && this.graph.isCellDeletable(state.cell) &&
11532 this.graph.model.getChildCount(state.cell) == 0 &&
11533 this.graph.isTransparentState(state))
11535 this.graph.removeCells([state.cell], false);
11540 this.graph.getModel().endUpdate();
11570 var scale = this.graph.getView().scale;
11632 this.graph.container.appendChild(this.hint);
11635 var t = this.graph.view.translate;
11636 var s = this.graph.view.scale;
11639 var unit = this.graph.view.unit;
11669 var style = this.graph.getCellStyle(cell);
11673 var parent = this.graph.model.getParent(cell);
11674 var geo = (parent != null) ? this.graph.getCellGeometry(parent) : null;
11678 style = this.graph.getCellStyle(parent);
11684 var start = this.graph.getActualStartSize(parent);
11696 this.graph.model.setGeometry(parent, geo);
11710 var model = this.graph.model;
11726 if (this.graph.isTableCell(cell))
11730 else if (this.graph.isTableRow(cell))
11786 return this.graph.isRecursiveVertexResize(state) &&
11795 return (!(!this.graph.isSwimlane(state.cell) && this.graph.model.getChildCount(state.cell) > 0 &&
11796 !this.graph.isCellCollapsed(state.cell) &&
11810 !this.graph.isTableCell(this.state.cell) &&
11811 !this.graph.isTableRow(this.state.cell) &&
11812 !this.graph.isTable(this.state.cell);
11820 if (this.graph.isTableCell(this.state.cell))
11822 …return this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.c…
11837 !this.graph.isTableCell(this.state.cell) &&
11838 !this.graph.isTableRow(this.state.cell);
11849 (!this.graph.isTable(this.state.cell) ||
11850 this.graph.isCellSelected(this.state.cell)));
11860 if (this.graph.isTableRow(this.state.cell))
11864 else if (this.graph.isTableCell(this.state.cell))
11890 if (this.graph.isTable(this.state.cell))
11892 var graph = this.graph;
11893 var model = graph.model;
11904 var rows = graph.view.getCellStates(model.getChildCells(this.state.cell, true));
11915 var colState = graph.view.getState(cols[index]);
11916 var geo = graph.getCellGeometry(cols[index]);
11921 colState = new mxCellState(graph.view, cols[index],
11922 graph.getCellStyle(cols[index]));
11923 colState.x = tableState.x + geo.x * graph.view.scale;
11924 colState.y = tableState.y + geo.y * graph.view.scale;
11925 colState.width = g.width * graph.view.scale;
11926 colState.height = g.height * graph.view.scale;
11931 var ngeo = (nextCol != null) ? graph.getCellGeometry(nextCol) : null;
11950 var start = graph.getActualStartSize(tableState.cell);
11953 dx) * this.graph.view.scale;
11956 0 : start.y * this.graph.view.scale);
11959 (start.height + start.y) * this.graph.view.scale);
11982 graph.setTableColumnWidth(this.state.cell,
11987 var temp = graph.getCellAt(me.getGraphX(), me.getGraphY()) || tableState.cell;
11988 graph.graphHandler.selectCellForEvent(temp, me);
12035 dy * this.graph.view.scale;
12051 graph.setTableRowHeight(this.state.cell, dy,
12056 var temp = graph.getCellAt(me.getGraphX(), me.getGraphY()) || tableState.cell;
12057 graph.graphHandler.selectCellForEvent(temp, me);
12106 var graph = this.graph;
12107 var model = graph.model;
12141 this.graph.popupMenuHandler.hideMenu();
12142 this.graph.stopEditing(false);
12144 if (this.graph.isToggleEvent(evt) ||
12145 !this.graph.isCellSelected(rowState.cell))
12147 this.graph.selectCellForEvent(rowState.cell, evt);
12152 this.graph.graphHandler.start(this.state.cell,
12154 this.graph.getSelectionCells());
12155 this.graph.graphHandler.cellWasClicked = true;
12156 this.graph.isMouseTrigger = mxEvent.isMouseEvent(evt);
12157 this.graph.isMouseDown = true;
12165 this.graph.popupMenuHandler.popup(mxEvent.getClientX(evt),
12172 this.graph.container.appendChild(moveHandle);
12175 }))(this.graph.view.getState(model.getChildAt(this.state.cell, i)));
12194 if (this.graph.isTable(this.state.cell))
12217 var handlePadding = this.graph.isTable(this.state.cell) ||
12218 this.graph.cellEditor.getEditingCell() == this.state.cell;
12252 if (this.graph.isTable(this.state.cell))
12278 this.state.view.graph.container.appendChild(this.hint);
12334 this.graph.graphHandler != null && this.graph.graphHandler.first != null)
12363 this.state.view.graph.container.appendChild(this.hint);
12366 var t = this.graph.view.translate;
12367 var s = this.graph.view.scale;
12370 var unit = this.graph.view.unit;
12517 return (mxEvent.isMouseEvent(me.getEvent())) ? 4 : this.graph.getTolerance();
12537 if (mxEvent.isTouchEvent(me.getEvent()) && this.graph.isCellSelected(me.getCell()) &&
12538 this.graph.getSelectionCount() > 1)
12561 return this.graph.isEnabled() && !this.graph.isCellLocked(this.graph.getDefaultParent()) &&
12600 dx = (this.currentX - x0) / this.graph.view.scale;
12601 dy = (this.currentY - y0) / this.graph.view.scale;
12605 dx = this.graph.snap(dx);
12606 dy = this.graph.snap(dy);
12608 if (!this.graph.isGridEnabled())
12610 if (Math.abs(dx) < this.graph.tolerance)
12615 if (Math.abs(dy) < this.graph.tolerance)
12629 this.graph.model.beginUpdate();
12632 var cells = this.graph.getCellsBeyond(x0, y0, this.graph.getDefaultParent(), true, true);
12636 if (this.graph.isCellMovable(cells[i]))
12638 var tmp = this.graph.view.getState(cells[i]);
12639 var geo = this.graph.getCellGeometry(cells[i]);
12645 this.graph.model.setGeometry(cells[i], geo);
12652 this.graph.model.endUpdate();
12658 this.graph.selectRegion(rect, me.getEvent());
12671 var origin = mxUtils.getScrollOrigin(this.graph.container);
12672 var offset = mxUtils.getOffset(this.graph.container);
12679 var tol = this.graph.tolerance;
12697 var scale = this.graph.view.scale;
12701 this.width = this.graph.snap(this.width / scale) * scale;
12702 this.height = this.graph.snap(this.height / scale) * scale;
12704 if (!this.graph.isGridEnabled())
12706 if (this.width < this.graph.tolerance)
12711 if (this.height < this.graph.tolerance)
12733 this.div.style.height = this.graph.container.clientHeight + 'px';
12744 this.secondDiv.style.width = this.graph.container.clientWidth + 'px';
12820 this.graph.getConnectionConstraint(this.state, terminalState, source) : null;
12821 …var pt = (c != null) ? this.graph.getConnectionPoint(this.state.getVisibleTerminalState(source), c…
12861 var model = this.graph.getModel();
12863 var geo = this.graph.getCellGeometry(cells[0]);
12867 var state = this.graph.view.getState(cells[0]);
12904 var model = this.graph.getModel();
12906 var geo = this.graph.getCellGeometry(state.cell);
12925 var model = this.graph.getModel();
12927 var geo = this.graph.getCellGeometry(this.state.cell);
12945 if (this.state.view.graph.model.isVertex(this.state.cell) &&
12949 this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION, angle, [this.state.cell]);
12953 this.state.view.graph.turnShapes([this.state.cell]);
12964 if (this.graph.graphHandler.first != null)
12987 this.rotationShape.node.style.display = (this.graph.getSelectionCount() == 1) ? '' : 'none';
13010 if (this.graph.isTable(this.state.cell))
13015 else if (this.graph.getSelectionCount() == 1 &&
13016 (this.graph.isTableCell(this.state.cell) ||
13017 this.graph.isTableRow(this.state.cell)))
13026 shape.init(this.graph.view.getOverlayPane());
13035 this.specialHandle.node.style.display = (this.graph.isEnabled() &&
13036 this.graph.getSelectionCount() < this.graph.graphHandler.maxCells) ?
13045 this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),
13046 this.graph.getLinksForState(this.state));
13050 this.graph.getSelectionModel().addListener(mxEvent.CHANGE, this.changeHandler);
13051 this.graph.getModel().addListener(mxEvent.CHANGE, this.changeHandler);
13059 this.graph.addListener(mxEvent.EDITING_STOPPED, this.editingHandler);
13061 var link = this.graph.getLinkForCell(this.state.cell);
13062 var links = this.graph.getLinksForState(this.state);
13081 this.graph.getSelectionCount() > 1)
13098 this.graph.container.appendChild(this.linkHint);
13102 this.graph.tooltipHandler.hide();
13110 this.linkHint.appendChild(this.graph.createLinkForHint(link));
13112 if (this.graph.isEnabled() && typeof this.graph.editLink === 'function')
13126 this.graph.setSelectionCell(this.state.cell);
13127 this.graph.editLink();
13134 this.graph.setLinkForCell(this.state.cell, null);
13146 div.appendChild(this.graph.createLinkForHint(
13172 return this.state.view.graph.connectionHandler.isEnabled();
13179 this.linkHint.style.display = (this.graph.getSelectionCount() == 1) ? '' : 'none';
13184 this.labelShape.node.style.display = (this.graph.isEnabled() &&
13185 this.graph.getSelectionCount() < this.graph.graphHandler.maxCells) ?
13192 this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),
13193 this.graph.getLinksForState(this.state));
13198 this.graph.getSelectionModel().addListener(mxEvent.CHANGE, this.changeHandler);
13199 this.graph.getModel().addListener(mxEvent.CHANGE, this.changeHandler);
13201 var link = this.graph.getLinkForCell(this.state.cell);
13202 var links = this.graph.getLinksForState(this.state);
13220 return this.graph.connectionHandler.isEnabled();
13261 this.cornerHandles[i].node.style.display = (this.graph.getSelectionCount() == 1) ? '' : 'none';
13269 (this.graph.getSelectionCount() == 1 && (this.index == null ||
13346 this.graph.getSelectionModel().removeListener(this.changeHandler);
13347 this.graph.getModel().removeListener(this.changeHandler);
13353 this.graph.removeListener(this.editingHandler);
13407 this.graph.getModel().removeListener(this.changeHandler);
13408 this.graph.getSelectionModel().removeListener(this.changeHandler);