Lines Matching refs:getState

267 …instanceof mxChildChange||l instanceof mxStyleChange){var m=a.getView().getState(l.cell||l.child,!…
268 …tChildCount(b),e=0;e<d;e++){var f=a.model.getChildAt(b,e),g=a.getView().getState(f);null!=g&&(mxUt…
269 …)}b=a.model.getEdges(b);if(null!=b)for(e=0;e<b.length;e++)d=a.getView().getState(b[e]),null!=d&&mx…
350 …Y};mxMouseEvent.prototype.getState=function(){return this.state};mxMouseEvent.prototype.getCell=fu… method in mxMouseEvent
434 …ed()&&(this.currentDropTarget=this.getDropTarget(a,e,c,b),d=a.getView().getState(this.currentDropT…
485 mxMorphing.prototype.animateCell=function(a,b,c){var d=this.graph.getView().getState(a),e=null;if(n…
490 …=a.view.graph,e=d.model.getChildCount(a.cell),f=0;f<e;f++){var g=d.view.getState(d.model.getChildA…
782 …,c,e.width,e.height);if(this.useBoundingBox){var g=this.graph.getView().getState(a);if(null!=g&&nu…
784 …del().getGeometry(a);if(this.useBoundingBox){var c=this.graph.getView().getState(a);if(null!=c&&nu…
789 …a&&null!=e){var g=0,k=d.getChildCount(e);c=f?b:c;b=this.graph.getView().getState(e);null!=b&&(c-=f…
814 this.setEdgePoints(l,null));var m=g.getState(l),l=null!=m?m.getVisibleTerminal(this.invert):g.getVi…
851 …t(c);b=mxObjectIdentity.get(b);if(this.checkOverlap&&(a=this.graph.view.getState(a),null!=a&&null!…
855 …d=[],e=[],f=c.getChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g),l=b.getState(k);null!=l&&(this…
935 …erminal(n,!0);this.layout.isPort(y)&&k.model.getParent(y)==p&&(t=k.view.getState(y),t=null!=t?t.x:…
937 …erminal(n,!1),this.layout.isPort(r)&&k.model.getParent(r)==p&&(t=k.view.getState(r),t=null!=t?t.x:…
951 …urceTermCache);var d=c.get(a);if(null!=d)return d;var d=this.graph.view.getState(a),e=null!=d?d.ge…
970 …urceTermCache);var d=c.get(a);if(null!=d)return d;var d=this.graph.view.getState(a),e=null!=d?d.ge…
1102 …ind(this,function(a){null!=this.editingCell&&null==this.graph.getView().getState(this.editingCell)…
1112 mxCellEditor.prototype.resize=function(){var a=this.graph.getView().getState(this.editingCell);if(n…
1123 …ler&&this.graph.tooltipHandler.hideTooltip();var c=this.graph.getView().getState(a);if(null!=c){th…
1130 …style.visibility="visible",this.textNode=null);a=a?null:this.graph.view.getState(this.editingCell)…
1149 …&&(d[b]=a.style[mxConstants.STYLE_STROKECOLOR]);null!=g&&(a=e.getView().getState(g),d[b]=null,null…
1152 …=mxEvent.getClientY(b),b=mxUtils.convertPoint(c.container,d,b),d=c.view.getState(c.getCellAt(b.x,b…
1163 …=mxEvent.getClientY(c),c=mxUtils.convertPoint(b.container,d,c),d=b.view.getState(b.getCellAt(c.x,c…
1224 …el(),d=0;d<a.length;d++)if(c.isVertex(a[d])||c.isEdge(a[d])){var e=this.getState(a[d]);null!=e&&(n…
1229 …ph.getModel();a=a||d.getRoot();b=null!=b?b:!0;c=null!=c?c:!0;var e=this.getState(a);null!=e&&(e.in…
1234 …),e=d.getChildCount(a.cell),f=0;f<e;f++){var g=this.getBoundingBox(this.getState(d.getChildAt(a.ce…
1242 …{if(null!=a)if(b=(null!=b?b:!0)&&this.graph.isCellVisible(a),null==this.getState(a,b)||b)for(var c…
1243 …teCellState=function(a,b){b=null!=b?b:!0;var c=null;if(null!=a&&(c=this.getState(a),null!=c)){var …
1245 …ength=0;if(a.cell!=this.currentRoot){var b=this.graph.getModel(),c=this.getState(b.getParent(a.cel…
1248 mxGraphView.prototype.updateVertexState=function(a,b){var c=this.graph.getModel(),d=this.getState(c…
1263 …tants.STYLE_SOURCE_PORT:mxConstants.STYLE_TARGET_PORT);null!=a&&(a=this.getState(this.graph.getMod…
1276 mxGraphView.prototype.getState=function(a,b){b=b||!1;var c=null;null!=a&&(c=this.states.get(a),b&&(… method in mxGraphView
1277 …(null==a)return this.states;for(var b=[],c=0;c<a.length;c++){var d=this.getState(a[c]);null!=d&&b.…
1283 …ientX(c),c=mxEvent.getClientY(c),c=mxUtils.convertPoint(b,d,c),d=a.view.getState(a.getCellAt(c.x,c…
1316 …!1,!1):a instanceof mxStyleChange?(this.view.invalidate(a.cell,!0,!0),a=this.view.getState(a.cell),
1318 …b){null==a.overlays&&(a.overlays=[]);a.overlays.push(b);var c=this.view.getState(a);null!=c&&this.…
1319 …verlays.splice(c,1),0==a.overlays.length&&(a.overlays=null),c=this.view.getState(a),null!=c&&this.…
1320 …unction(a){var b=a.overlays;if(null!=b){a.overlays=null;var c=this.view.getState(a);null!=c&&this.…
1326 …(b)))){d=c;for(a=[];null!=d;){var d=this.model.getParent(d),f=this.view.getState(d);this.isSwimlan…
1328 …d(b)&&!c.isConsumed()&&this.connectionHandler.isEnabled()&&(b=this.view.getState(this.connectionHa…
1344 mxGraph.prototype.getCurrentCellStyle=function(a,b){var c=b?null:this.view.getState(a);return null!…
1359 …null,null,!0);for(var b=b.concat(d),g=0;g<d.length;g++){var k=this.view.getState(d[g]),l=this.getC…
1364 …[c])||this.model.isEdge(a[c])){var d=this.view.getBoundingBox(this.view.getState(a[c]),!0);null!=d…
1365 …,!1)))e[g]=null;else{var m=this.model.getGeometry(e[g]);if(null!=m){var n=this.view.getState(a[g]),
1366 p=this.view.getState(this.model.getParent(a[g]));if(null!=n&&null!=p)if(c=d?0:p.origin.x,p=d?0:p.or…
1370getState(b):null,m=null!=l?l.origin:null,n=new mxPoint(0,0),l=0;l<a.length;l++)if(null==a[l])c--;e…
1373 …=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<c.length;e++)null!=this.view.getState(c[e])||d.get(c[e]…
1375 …e]==m){l=!0;break}m=this.model.getParent(m)}l&&(g=g.clone(),l=this.view.getState(d),null!=l&&null!…
1376 …Point(k[m].x/b-c.x-l.origin.x,k[m].y/b-c.y-l.origin.y),f)):(k=this.view.getState(k),null!=k&&g.set…
1377 …model.beginUpdate();try{if(null==c){c=this.cloneCell(a);var l=this.view.getState(a),m=this.getCell…
1410 …l.getEdges(a[c]);if(null!=d)for(var e=0;e<d.length;e++){var f=this.view.getState(d[e]),g=null!=f?f…
1426 …f=this.model.getGeometry(a[e]);if(null!=f){var g=this.view.getState(a[e]),k=this.view.getState(thi…
1429getState(b)&&this.setSelectionCell(b)}};mxGraph.prototype.home=function(){var a=this.getCurrentRoo…
1442 …this.centerZoom;var c=Math.round(this.view.scale*a*100)/100,d=this.view.getState(this.getSelection…
1447 …(a,b){var c=-this.view.translate.x,d=-this.view.translate.y,e=this.view.getState(a);null!=e&&(c=ne…
1497 …!=g)return g;if(this.isCellVisible(f)&&this.isSwimlane(f)&&(g=this.view.getState(f),this.intersect…
1498 …(k)&&(e&&this.model.isEdge(k)||d&&this.model.isVertex(k))&&(l=this.view.getState(k),null!=l&&(null…
1500 mxGraph.prototype.hitsSwimlaneContent=function(a,b,c){var d=this.getView().getState(a);a=this.getSt…
1502 …cat(this.model.getEdges(a,c,d));k=[];for(m=0;m<g.length;m++)n=this.view.getState(g[m]),l=null!=n?n…
1504 …new mxDictionary;if(null!=a)for(var g=0;g<a.length;g++){var k=this.view.getState(a[g]),l=null!=k?k…
1505 …:!1;for(var d=this.getEdges(a),e=[],f=0;f<d.length;f++){var g=this.view.getState(d[f]),k=null!=g?g…
1507 …r q=m.getChildCount(e),r=0;r<q;r++){var t=m.getChildAt(e,r),u=this.view.getState(t);if(null!=u&&th…
1508 …ChildCount(c),k=0;k<g;k++){var l=this.model.getChildAt(c,k),m=this.view.getState(l);this.isCellVis…
1514 ….getChildAt(d,0),this.setSelectionCell(a)):null!=e&&!b||null==this.view.getState(d)||null==this.mo…
1515 …rDescendants(mxUtils.bind(this,function(b){return b!=a&&null!=this.view.getState(b)}),a):this.mode…
1516 …aultParent();var e=mxUtils.bind(this,function(c){return null!=this.view.getState(c)&&((d||0==this.…
1521 ….getCell()&&this.isMouseDown&&b==mxEvent.MOUSE_MOVE&&(a.state=this.view.getState(this.getCellAt(c.…
1522 …tClientY(a);b=mxUtils.convertPoint(this.container,b,a);return this.view.getState(this.getCellAt(b.…
1531 …));return}}if(!this.isEventIgnored(a,b,c)){b.state=this.getEventState(b.getState());this.fireEvent…
1589 …or(var e=d.getChildCount(a.cell),f=0;f<e;f++)this.translateState(a.view.getState(d.getChildAt(a.ce…
1590getState(e.getParent(a.cell));0==b&&0==c||null==f||!f.relative||!e.isVertex(a.cell)||null!=g&&!e.i…
1591 …his.graph.getModel(),c=b.getEdgeCount(a.cell),d=0;d<c;d++){var e=a.view.getState(b.getEdgeAt(a.cel…
1601getState();if(!(this.graph.isToggleEvent(a.getEvent())&&mxEvent.isAltDown(a.getEvent())||null==b||…
1604getState(a);if(null!=c){if(!(b.isSource(c.control)||this.graph.isToggleEvent(b.getEvent())&&mxEven…
1606 …){if(!b.isConsumed()&&this.isEnabled()&&this.graph.isEnabled()&&null!=b.getState()&&!mxEvent.isMul…
1608 …getModel(),c=mxUtils.bind(this,function(a){return null!=this.graph.view.getState(a)&&b.isVertex(a)…
1610 …a.length;d++)if(c.isVertex(a[d])||c.isEdge(a[d])){var e=this.graph.view.getState(a[d]);if(null!=e)…
1613 …getEdges(this.cell),this.cell);for(b=0;b<a.length;b++)c=this.graph.view.getState(a[b]),null==c||g.…
1614 …;mxGraphHandler.prototype.addStates=function(a,b){var c=this.graph.view.getState(a),d=0;if(null!=c…
1618 …()&&!this.isCloneEnabled()||!this.updateCursor||b.isConsumed()||null==b.getState()&&null==b.source…
1620 …led&&(l=c.getDropTarget(this.cells,b.getEvent(),g,e));var m=c.getView().getState(l),n=!1;null!=m&&…
1621 c.isCellConnectable(g)&&(m=c.getView().getState(g),null!=m&&(g=null==c.getEdgeValidationError(null,…
1624 …is.allCells.visit(mxUtils.bind(this,function(d,e){var f=this.graph.view.getState(e.cell);f!=e&&(e.…
1635 …on(a,b,c){if(this.graph.getModel().isVertex(a)&&(a=this.graph.getView().getState(a),null!=a)){c=mx…
1638 mxGraphHandler.prototype.shouldRemoveParent=function(a){a=this.graph.view.getState(a);return null!=…
1646 …tion(a){var b=a.getEvent();return this.useLeftButtonForPanning&&null==a.getState()&&mxEvent.isLeft…
1662 mxCellMarker.prototype.process=function(a){var b=null;this.isEnabled()&&(b=this.getState(a),this.se…
1663 mxCellMarker.prototype.markCell=function(a,b){var c=this.graph.getView().getState(a);null!=c&&(this…
1664 …or};mxCellMarker.prototype.getState=function(a){var b=this.graph.getView(),c=this.getCell(a),b=thi… method in mxCellMarker
1670 …etHandledSelectionCells(),!1),c=0;c<b.length;c++){var d=this.graph.view.getState(b[c]);if(null!=d)…
1671 b.destroy()}));for(c=0;c<b.length;c++)d=this.graph.view.getState(b[c]),null!=d&&(e=this.handlers.ge…
1680getState(this.iconState.cell));null!=this.iconState?(this.redrawIcons(this.icons,this.iconState),t…
1697 ….isAltDown(a.getEvent())&&null!=a.getState()||this.marker.highlight.isHighlightAt(d,c)||(f!=d||b!=…
1702 this.marker.getValidState()!=a.getState()?(this.marker.highlight.shape.stroke="transparent",this.cu…
1718 …function(a,b,c){};mxConnectionHandler.prototype.isStopEvent=function(a){return null!=a.getState()};
1726 …Edge(d))d=this.graph.getDefaultParent();else{var k=this.graph.getView().getState(d);if(null!=k){va…
1733 if(0<g){var k=this.graph.view.getState(b);if(null!=k){var l=k.x/f-e.x,e=k.y/f-e.y;Math.abs(l-c.x)<=…
1737 ….bind(this,function(a,c){null!=this.currentFocus&&null==this.graph.view.getState(this.currentFocus…
1743 … mxRectangle(a.getGraphX()-e,a.getGraphY()-e,2*e,2*e),k=this.graph.view.getState(this.getCellForEv…
1747 …s&&null!=this.constraints&&null!=this.focusIcons){var a=this.graph.view.getState(this.currentFocus…
1757 …){if(!b.isConsumed()&&this.isEnabled()&&this.graph.isEnabled()&&null==b.getState()&&!mxEvent.isMul…
1796 (this.parentState=this.state.view.graph.view.getState(b));this.selectionBorder.node.style.display=c…
1841 …sible(),b=this.graph.model.getParent(this.state.cell),c=this.graph.view.getState(b);null!=this.par…
1845 …ht){var a=this.graph.model.getParent(this.state.cell),a=this.graph.view.getState(a);null!=a&&a.par…
1859 …{var c=b.graph.getModel(),c=b.graph.view.getTerminalPort(a,b.graph.view.getState(c.getTerminal(b.s…
1878 …getModel(),a=this.graph.view.getTerminalPort(this.state,this.graph.view.getState(a.getTerminal(thi…
1884 ….isAltDown(a.getEvent())&&null!=a.getState()||this.marker.highlight.isHighlightAt(d,c)||(f!=d||b!=…
1887 …is.graph.isCellConnectable(d.getCell())&&this.marker.getValidState()!=d.getState()?"transparent":m…
1892 …OutlineConnectEvent(b):!1;d?c=this.marker.highlight.state:null!=c&&c!=b.getState()&&this.graph.isC…
1898 …is.graph.view.scale-this.graph.view.translate.y),k=this.graph.getView().getState(this.graph.getMod…
1902 …=Math.round(a.x/c-d.x);a.y=Math.round(a.y/c-d.y);c=this.graph.getView().getState(this.graph.getMod…
1908 …arent(this.state.cell);this.graph.model.isVertex(f)&&(e=this.graph.view.getState(f),e=new mxPoint(…
1924 …ht){var a=this.graph.model.getParent(this.state.cell),a=this.graph.view.getState(a);null!=a&&a.par…
1954 …)})))};mxTooltipHandler.prototype.getStateForEvent=function(a){return a.getState()};mxTooltipHandl…
1962 …mxUtils.bind(this,function(){if(null!=this.state){var a=this.graph.view.getState(this.state.cell);…
2003 …).getRoot())};a.encodeCell=function(a,c,d){var b=c.graph.getModel(),f=c.getState(d),g=b.getParent(…
2098 c.length;h++)null!=a.view.getState(c[h])&&e.push(c[h]);a.setSelectionCells(e)}};b.addListener(mxEve…
2168 …ll();for(var b=this.graph.getModel(),c=b.getParent(a),d=this.graph.view.getState(c),e=this.graph.i…
2171 …l endSize".split(" ");this.setDefaultStyle=function(a){try{var b=e.view.getState(a);if(null!=b){va…
2186 …ow.setTimeout(function(){null!=y.hoverIcons&&y.hoverIcons.update(e.view.getState(c[c.length-1]))},…
2192 …"Helvetica",b=String(e.currentVertexStyle.fontSize||"12"),c=e.getView().getState(e.getSelectionCel…
2203 …nd(this,function(c){k(c);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(c))}),d)}),30)}),…
2205 b.hoverIcons.update(a.view.getState(c))},function(b){a.selectCellsForConnectVertex(b)},f,this.hover…
2208 …var l=this,m=this.editor.graph,g=document.createElement("div");c=m.view.getState(d);var n=null==d|…
2211 …;m.startEditingAtCell(d);null!=l.hoverIcons&&l.hoverIcons.update(m.view.getState(d))}null!=f&&f()}…
2226 0),p=0;p<f.length;p++){m.add(n,f[p]);var q=b.view.getState(c[p]);if(null!=q){var u=b.getCellGeometr…
2287 …tEnabled(e&&a.getModel().isVertex(a.getModel().getParent(f[0])));a.view.getState(a.getSelectionCel…
2336 …le(e.getSelectionCell()),null!=d.hoverIcons&&d.hoverIcons.update(e.view.getState(e.getSelectionCel…
2509 ….constructor==mxStackLayout&&(p=!1)}var k=h.model.isEdge(a)?null:h.view.getState(n),u=q=0;if(null!…
2510 …unction(a,b,c){return!h.isContainer(a.cell)});if(null!=x&&x!=n)k=h.view.getState(x),null!=k&&(v=k.…
2511 …f.getTerminalPoint(!1),!1);else if(w&&h.model.isVertex(n)){var E=h.view.getState(n),v=E.cell!=h.vi…
2513getState(a),h=a.absolutePoints,b=h[0],c=h[h.length-1],d==mxConstants.DIRECTION_NORTH?(e.x=b.x/f.sc…
2521 …;null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(a.view.getState(a.getSelectionCel…
2525 …scale;null!=k&&!k.relative&&a.model.isVertex(p)&&p!=d.currentRoot&&(v=d.getState(p),q=v.x,v=v.y);k…
2527 …ph.isCellConnectable(f)&&(g=f)}a.isCellLocked(g)&&(g=null);var h=a.view.getState(g),f=K=null;Q!=h?…
2568 …operty("eventName")&&this.isEnabled()){var c=b.getProperty("event"),d=c.getState(),e=this.view.sca…
2572 …ngth+1,f.start(c.getGraphX(),c.getGraphY(),q),c.consume())),d=this.view.getState(this.model.getPar…
2576 …his.isCellSelected(c.cell)||e.destroy());m=!1;k=h=g=l=null}}else if(c=b.getState(),null!=c&&this.i…
2580 "row-resize")}n=this.view.getState(this.model.getParent(n.cell))}}null!=e&&c.setCursor(e)}}),mouseU…
2586 …ler.isOutlineConnectEvent=function(a){return null!=this.currentState&&a.getState()==this.currentSt…
2587 …ollbars(this.graph.container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==a.getState()&&mxEvent.isTouc…
2592 …f("mouseDown"==b.getProperty("eventName")){var c=b.getProperty("event").getState();L=null==c||this…
2619 …ommonStyle=function(a){for(var b={},c=0;c<a.length;c++){var d=this.view.getState(a[c]);this.mergeS…
2624 …(k)&&(e&&this.model.isEdge(k)||d&&this.model.isVertex(k))&&(h=this.view.getState(k),null!=h&&(null…
2642 …esForCells=function(a){for(var b=[],d=0;d<a.length;d++){var e=this.view.getState(a[d]);if(null!=e)…
2643 …imations=function(a,b){for(var d=[],e=0;e<a.length;e++){var c=this.view.getState(a[e]);null!=c&&nu…
2666 …llToVisible(a[1]),null!=d&&(mxEvent.isTouchEvent(b)?d.update(d.getState(this.view.getState(a[1])))…
2668 ….x-d:m.x+(l.geometry.width+d),m.y+=l.geometry.height/2);var n=this.view.getState(this.model.getPar…
2669getState(a),q=null,u=null;if(null!=f){f=f.reverse();for(var v=0;v<f.length;v++)if(!this.isCellLock…
2679 …s),null!=this.layoutManager)for(var f=0;f<d.length;f++){var k=this.view.getState(d[f]),h=this.getC…
2681 ….x,a.y,b,!0,!0);for(b=0;b<c.length;b++)if(c[b]!=a.cell){var f=this.view.getState(c[b]),k=this.getC…
2682 …orizontal==c&&!b.resizeLast;){var f=this.getCellGeometry(a),k=this.view.getState(a);null!=k&&null!…
2703getState(e.getState());null==d&&mxEvent.isTouchEvent(c)||this.update(d)}this.setDisplay("none")}),…
2704 …his.graph.getSelectionCell())?this.reset():this.update(this.getState(this.graph.view.getState(this…
2712 …;HoverIcons.prototype.getStateAt=function(a,b,d){return this.graph.view.getState(this.graph.getCel…
2715 …ion(){this.bbox=null;if(null!=this.currentState){this.currentState=this.getState(this.currentState…
2723getState=function(a){if(null!=a)if(a=a.cell,this.graph.getModel().contains(a)){if(this.graph.getMo…
2746 …iew.prototype.validateCellState=function(a,c){c=null!=c?c:!0;var d=this.getState(a);null!=d&&c&&th…
2780 …hildAt(g.getRoot(),0),e=0;e<c.length;e++){g.add(k,c[e]);var h=this.view.getState(a[e]);if(null!=h)…
2784 …onCell(),e=null,f=[],g=mxUtils.bind(this,function(b){if(null!=this.view.getState(b)&&(this.model.i…
2785 …tion(a,b){var c=!1;if(null!=b&&1==a.length){var d=this.view.getState(b),e=this.view.getState(a[0])…
2797 …lPoint(m,!0);c.setGeometry(f,h);var J=this.view.getState(f),n=this.view.getState(g),p=this.view.ge…
2798 …=h.width;h.width=h.height;h.height=t;c.setGeometry(f,h)}var v=this.view.getState(f);if(null!=v){va…
2800 …ent(b));this.isTableRow(b)&&(b=this.model.getParent(b));var c=this.view.getState(b);null!=c&&null!…
2801 …escendants(a);if(0<a.length)for(var b=0;b<a.length;b++){var c=this.view.getState(a[b]);null!=c&&nu…
2805 …b.get(e)||(b.put(e,!0),d.push(e))}for(c=0;c<d.length;c++)if(e=this.view.getState(d[c]),null!=e&&(t…
2806 [],c=0;c<a.length;c++)this.isCellDeletable(a[c])&&this.isTransparentState(this.view.getState(a[c]))…
2809getState();this.firstClickSource=a.getSource()};Graph.prototype.dblClick=function(a,b){this.isEnab…
2810 …_SVG&&e==this.view.getCanvas().ownerSVGElement)||(null==d&&(d=this.view.getState(this.getCellAt(c.…
2817 …getLinkForCell(a.cell)}),b=null==b||g.model.isAncestor(a,b.cell)?g.view.getState(a):null;b!=this.c…
2818 …ooltipHandler.reset(b,!0,this.currentState),(null==this.currentState||b.getState()!=this.currentSt…
2826 …l,f=0;f<b.length;f++)if(this.getModel().isVertex(b[f])){var g=this.view.getState(b[f]);if(null!=g)…
2827 …{for(var h=(d-e)/(c.length-1),d=e,f=1;f<c.length-1;f++){var l=this.view.getState(this.model.getPar…
2835 …e);(f&&null==J||d)&&C.apply(this,arguments)};k.drawState(this.getView().getState(this.model.root),…
2852getState()){var c=this.getCellAt(b.graphX,b.graphY);null!=c&&this.isSwimlane(c)&&this.hitsSwimlane…
2853 …popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==e.getState()||!e.isSource(e.getState().co…
2854 …xCellEditor.prototype.isContentEditing=function(){var a=this.graph.view.getState(this.editingCell);
2859 ….getStartEditingCell(a,b);t.apply(this,arguments);var c=this.graph.view.getState(a);this.textarea.…
2863 …;mxCellEditor.prototype.toggleViewMode=function(){var a=this.graph.view.getState(this.editingCell)…
2869 …e.resize=function(a,b){if(null!=this.textarea)if(a=this.graph.getView().getState(this.editingCell)…
2883 function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model…
2885 ….cell,!0),c=0;c<k.length;c++)mxUtils.bind(this,function(c){var g=b.view.getState(k[c]),h=b.getCell…
2893 …eHandles.push(c);this.graph.container.appendChild(c)}})(this.graph.view.getState(a.getChildAt(this…
2910 …{var b=a.getEvent();return null==a.getState()&&!mxEvent.isMouseEvent(b)||mxEvent.isPopupTrigger(b)…
2911 …rn mxEvent.isLeftMouseButton(b)&&(this.useLeftButtonForPanning&&null==a.getState()||mxEvent.isCont…
2913 …c<k.length;c++)if(this.graph.isCellMovable(k[c])){var h=this.graph.view.getState(k[c]),l=this.grap…
2919 function(a){return null!=this.currentTerminalState&&a.getState()==this.currentTerminalState&&2E3<fa…
2921 …graph.getCellGeometry(a[0]);if(b.isEdge(c)&&null!=d&&d.relative&&(b=this.graph.view.getState(a[0]),
2966 …&&(a.edges.push(b),a.resizable=!1,a.rotatable=!1,a.movable=!1);b=d.view.getState(b);null!=b&&(a.au…
2998 …or.graph,g=this;return this.createColorOption(a,function(){var a=h.view.getState(g.format.getSelec…
2999 d||mxConstants.NONE,{install:function(a){this.listener=function(){var c=h.view.getState(g.format.ge…
3004 …c=parseInt(h.value),c=Math.min(100,Math.max(0,isNaN(c)?100:c)),d=f.view.getState(this.format.getSe…
3051 …CellGeometry(g[l]);if(null!=m&&(m=m.clone(),!b(m,k,g[l]))){var n=e.view.getState(g[l]);null!=n&&e.…
3090 …px";h=e.filterSelectionCells(mxUtils.bind(this,function(a){var b=e.view.getState(a);return null==b…
3523 …bleCells(c.getSelectionCells()),e=0;e<b.length;e++)if(state=c.getView().getState(b[e]),null!=state…
3525 …).endUpdate()}});this.addAction("wordWrap",function(){var a=c.getView().getState(c.getSelectionCel…
3526 function(){var a="0",b=c.getView().getState(c.getSelectionCell());null!=b&&(a=b.style[mxConstants.S…
3547 …l().endUpdate()}});this.addAction("collapsible",function(){var a=c.view.getState(c.getSelectionCel…
3552 …mxResources.get("image")+" ("+mxResources.get("url")+"):",b=c.getView().getState(c.getSelectionCel…
3571 c)})));this.put("line",new Menu(mxUtils.bind(this,function(a,c){var d=b.view.getState(b.getSelectio…
3607 …bind(this,function(){var a=this.editorUi.editor.graph,b=e,f=a.getView().getState(a.getSelectionCel…
3610 …Dialog(this.editorUi));this.colorDialog.currentColorKey=a;d=c.getView().getState(c.getSelectionCel…
3618 …MenuCellItems=function(a,b,d){var e=this.editorUi.editor.graph,c=e.view.getState(b);a.addSeparator…
3621 …nuCellEditItems=function(a,b,d,e){var c=this.editorUi.editor.graph.view.getState(b);this.addMenuIt…
3714 …w.scale));l.scale(c/h.view.scale);(new mxImageExport).drawState(h.getView().getState(h.model.root),
3820 …&&e.getModel().isVertex(g)){e.getModel().beginUpdate();try{var h=e.view.getState(e.getSelectionCel…
10266 d,e)}for(X=0;X<m.length;X++){J=p.view.getState(m[X]);d&&null!=K&&(B=B||J==t);if(null!=J&&null!=J.ce…
10349 …tEnabled(!1);var q=b.editor.graph.cloneCell(e);p.addCells([q]);d=p.view.getState(q);var t="";null!…
10569 …[e].type){l=!0;break}l||delete c[e]}},e=this.editorUi.editor.graph.view.getState(b);null!=e&&null!…
10601 …ndChild(f));var d=this.editorUi.editor.graph,d=1==c.cells.length?d.view.getState(c.cells[0]):null;…
10646 …c=null!=c?c:mxConstants.DEFAULT_VALID_COLOR;f=null!=f?f:1E3;b=this.view.getState(b);if(null!=b){va…
11619 …};E.drawState(n.getView().getState(n.model.root),G);G.finish(mxUtils.bind(this,function(){try{E.dr…
11812 g.getSelectionCell(),d=g.view.getState(b);null!=d&&null!=d.shape&&null!=d.shape.stencil&&(b=new Edi…
11853 …is,arguments);mxLog.debug("leaving shape",b,k)};b.drawState(g.getView().getState(g.model.root),e);…
11890 …ow.setTimeout(function(){null!=c.hoverIcons&&c.hoverIcons.update(g.view.getState(k))},0);return k}…
11931 …e&&(Graph.isGoogleFontUrl(e)?(e=null,d="g"):d="w")))}else f=b.getView().getState(b.getSelectionCel…
12005getState(b),c="tree"==(null!=c?c.style:v.getCellStyle(b)).containerType);return c}function n(b){va…
12007 …urrentRoot!=d&&(g[1].geometry.x-=l.x,g[1].geometry.y-=l.y);var m=v.view.getState(b),n=v.view.scale…
12008 …length;u++){var y=v.model.getTerminal(q[u],!1);if(k==f(y)){var x=v.view.getState(y);y!=b&&null!=x&…
12009 …u=0;u<q.length;u++)if(y=v.model.getTerminal(q[u],!1),k==f(y)&&(x=v.view.getState(y),y!=b&&null!=x&…
12014 …tOutgoingTreeEdges(b);d=v.view.getState(d);var e=[];if(null!=d&&null!=b){for(var f=0;f<b.length;f+…
12015 …b),null!=d&&0<d.length&&(e=q(v.model.getTerminal(d[0],!0),e,b),d=v.view.getState(b),null!=d&&(d=mx…
12021getState(this.graph.getCellAt(d,e))};var B=v.duplicateCells;v.duplicateCells=function(c,d){c=null!…
12023 ….getState(c[0])){var t=v.getIncomingTreeEdges(c[0]);if(0<t.length){var u=v.view.getState(v.model.g…
12026 …ctionCell(d[d.length-1]),null!=u.hoverIcons&&u.hoverIcons.update(v.view.getState(v.getSelectionCel…
12132 …gHandler.isPanningTrigger=function(b){var c=b.getEvent();return null==b.getState()&&!mxEvent.isMou…
12133 mxEvent.isPopupTrigger(c)&&(null==b.getState()||mxEvent.isControlDown(c)||mxEvent.isShiftDown(c))})…