Lines Matching refs:getModel

286 …ion(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var…
446 …ull!=this.graph&&this.graph.getModel().removeListener(this.changeHandler);this.graph=a;null!=this.…
450 …+)this.animateCell(this.cells[b],a,!1);else this.animateCell(this.graph.getModel().getRoot(),a,!0)…
451getModel().isVertex(a)&&(0!=e.x||0!=e.y))){var f=this.graph.view.getTranslate(),g=this.graph.view.…
453 mxMorphing.prototype.getOriginForCell=function(a){var b=null;if(null!=a){var c=this.graph.getModel(…
744 …};mxGraphLayout.prototype.isVertexIgnored=function(a){return!this.graph.getModel().isVertex(a)||!t…
745 mxGraphLayout.prototype.isEdgeIgnored=function(a){var b=this.graph.getModel();return!b.isEdge(a)||!…
746 …ction(a){var b=new mxPoint;if(null!=a&&a!=this.parent){var c=this.graph.getModel();if(c.isAncestor…
748 mxGraphLayout.prototype.setVertexLocation=function(a,b,c){var d=this.graph.getModel(),e=d.getGeomet…
750getModel().getGeometry(a);if(this.useBoundingBox){var c=this.graph.getView().getState(a);if(null!=…
755 mxStackLayout.prototype.moveCell=function(a,b,c){var d=this.graph.getModel(),e=d.getParent(a),f=thi…
756 mxStackLayout.prototype.getParentSize=function(a){var b=this.graph.getModel(),c=b.getGeometry(a);nu…
757 mxStackLayout.prototype.getLayoutCells=function(a){for(var b=this.graph.getModel(),c=b.getChildCoun…
759 …null!=a){var b=this.getParentSize(a),c=this.isHorizontal(),d=this.graph.getModel(),e=null;null!=b&…
763 …c&&b.x==c.x&&b.y==c.y&&b.width==c.width&&b.height==c.height||this.graph.getModel().setGeometry(a,b…
764 …teParentGeometry=function(a,b,c){var d=this.isHorizontal(),e=this.graph.getModel(),f=b.clone();d?(…
766 mxPartitionLayout.prototype.moveCell=function(a,b,c){c=this.graph.getModel();var d=c.getParent(a);i…
767 mxPartitionLayout.prototype.execute=function(a){var b=this.isHorizontal(),c=this.graph.getModel(),d…
773 mxCompactTreeLayout.prototype.execute=function(a,b){this.parent=a;var c=this.graph.getModel();if(nu…
779 …rtexIgnored(a)){this.visited[c]=a;var d=this.createNode(a),c=this.graph.getModel(),e=null,f=this.g…
789 mxCompactTreeLayout.prototype.apply=function(a,b){var c=this.graph.getModel(),d=a.cell,e=c.getGeome…
803 mxFastOrganicLayout.prototype.execute=function(a){var b=this.graph.getModel();this.vertexArray=[];f…
813 mxCircleLayout.prototype.execute=function(a){var b=this.graph.getModel();b.beginUpdate();try{for(va…
816 …if(null!=b)for(var e=0;e<b.length;e++)d(b[e]);else for(var f=this.graph.getModel(),g=f.getChildCou…
818 …otype.layout=function(a){var b=a[0],c=this.graph.getView(),d=this.graph.getModel(),e=d.getGeometry…
820 …ents)};mxCompositeLayout.prototype.execute=function(a){var b=this.graph.getModel();b.beginUpdate()…
821 …ut.prototype.execute=function(a){for(var b=this.graph.view,c=this.graph.getModel(),d=[],e=[],f=c.g…
822 mxEdgeLabelLayout.prototype.placeLabels=function(a,b){var c=this.graph.getModel();c.beginUpdate();t…
823 mxEdgeLabelLayout.prototype.avoid=function(a,b){var c=this.graph.getModel(),d=a.text.boundingBox;if…
861 mxMedianHybridCrossingReduction.prototype.execute=function(a){a=this.layout.getModel();this.nestedB…
871 mxMinimumCycleRemover.prototype.execute=function(a){a=this.layout.getModel();for(var b={},c=a.verte…
876 mxCoordinateAssignment.prototype.printStatus=function(){var a=this.layout.getModel();mxLog.show();m…
877 mxCoordinateAssignment.prototype.execute=function(a){this.jettyPositions={};a=this.layout.getModel(…
907 mxSwimlaneOrdering.prototype.execute=function(a){a=this.layout.getModel();var b=mxUtils.clone(a.ver…
911 …geStyle=mxHierarchicalEdgeStyle.POLYLINE;mxHierarchicalLayout.prototype.getModel=function(){return… method in mxHierarchicalLayout
927 …e.edgeStyle=mxHierarchicalEdgeStyle.POLYLINE;mxSwimlaneLayout.prototype.getModel=function(){return… method in mxSwimlaneLayout
1038 …oot=function(){var a=this.graph.view.currentRoot;null==a&&(a=this.graph.getModel().getRoot());retu…
1068 …getView().getState(this.editingCell)&&this.stopEditing(!0)});this.graph.getModel().addListener(mxE…
1078 …l==a)this.stopEditing(!0);else if(null!=this.textarea){var b=this.graph.getModel().isEdge(a.cell),…
1097getModel().beginUpdate();try{null!=b&&this.applyValue(a,b),null!=this.align&&this.graph.setCellSty…
1099 mxCellEditor.prototype.getEditorBounds=function(a){var b=this.graph.getModel().isEdge(a.cell),c=thi…
1102 …dth),c.height=Math.max(c.height,a.text.boundingBox.height)));this.graph.getModel().isVertex(a.cell…
1104 …his.textarea),this.textarea=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(…
1110 …his.getShape(a.style[mxConstants.STYLE_SHAPE]);null==b&&(b=a.view.graph.getModel().isEdge(a.cell)?…
1116 mxCellRenderer.prototype.createLabel=function(a,b){var c=a.view.graph;c.getModel().isEdge(a.cell);i…
1137 mxCellRenderer.prototype.getLabelBounds=function(a){var b=a.view.graph,c=a.view.scale,d=b.getModel(…
1142 …rlays.visit(function(d,k){var g=k.overlay.getBounds(a);if(!a.view.graph.getModel().isEdge(a.cell)&…
1145 …){var d=a.view.scale,e=a.getCenterX(),f=a.getCenterY();if(!a.view.graph.getModel().isEdge(a.cell)&…
1146 f),g,k,new mxPoint(a.getCenterX(),a.getCenterY())),e=f.x,f=f.y)}return a.view.graph.getModel().isEd…
1173 …nction(a,b,c,d,e){var f=a.view.graph,g=null==l?!1:f.getModel().isEdge(l.cell),k=null==m?!1:f.getMo…
1190 …unds=function(a){var b=null;if(null!=a&&0<a.length)for(var c=this.graph.getModel(),d=0;d<a.length;…
1194 …alidate()};mxGraphView.prototype.clear=function(a,b,c){var d=this.graph.getModel();a=a||d.getRoot(…
1195 mxGraphView.prototype.invalidate=function(a,b,c){var d=this.graph.getModel();a=a||d.getRoot();b=nul…
1197 …(this.validateCell(a||(null!=this.currentRoot?this.currentRoot:this.graph.getModel().getRoot()))));
1200 …text.boundingBox):c=a.text.boundingBox.clone()),b))for(var d=this.graph.getModel(),e=d.getChildCou…
1208 …graph.isCellVisible(a),null==this.getState(a,b)||b)for(var c=this.graph.getModel(),d=c.getChildCou…
1209 …0;var c=null;if(null!=a&&(c=this.getState(a),null!=c)){var d=this.graph.getModel();if(c.invalid){c…
1211 …0;a.origin.y=0;a.length=0;if(a.cell!=this.currentRoot){var b=this.graph.getModel(),c=this.getState…
1214 mxGraphView.prototype.updateVertexState=function(a,b){var c=this.graph.getModel(),d=this.getState(c…
1219 …idated=function(a){var b=this.graph.getModel().isEdge(a.cell)&&this.graph.keepEdgesInForeground||t…
1229 …ORT:mxConstants.STYLE_TARGET_PORT);null!=a&&(a=this.getState(this.graph.getModel().getCell(a)),nul…
1234 mxGraphView.prototype.getVisibleTerminal=function(a,b){for(var c=this.graph.getModel(),d=c.getTermi…
1239 mxGraphView.prototype.getRelativePoint=function(a,b,c){var d=this.graph.getModel().getGeometry(a.ce…
1259 …null==b;if(!this.isUp)for(var c=this.view.currentRoot,d=this.view.graph.getModel();null!=c;){if(c=…
1276 …eCellEditor=function(){return new mxCellEditor(this)};mxGraph.prototype.getModel=function(){return… method in mxGraph
1338 …Count(a),d=0;d<c;d++)this.autoSizeCell(this.model.getChildAt(a,d));this.getModel().isVertex(a)&&th…
1379 0;if(this.getModel().isVertex(b.cell)){var m=b.style[mxConstants.STYLE_FLIPH],n=b.style[mxConstants…
1387 …Point(d,e,g,f)),d=this.view.getPerimeterPoint(a,d,!1);else if(l+=k,this.getModel().isVertex(a.cell…
1426 …type.getFoldingImage=function(a){if(null!=a&&this.foldingEnabled&&!this.getModel().isEdge(a.cell))…
1455 …toSizeCells=a};mxGraph.prototype.isExtendParent=function(a){return!this.getModel().isEdge(a)&&this…
1456 …inChild=function(a){return this.isConstrainChildren()&&!this.getModel().isEdge(this.getModel().get…
1464 …?d:!0;e=null!=e?e:!0;null==c&&(c=this.getCurrentRoot(),null==c&&(c=this.getModel().getRoot()));if(…
1473 …tion(a,b,c,d,e,f,g,k,l){f=null!=f?f:[];if(0<c||0<d||null!=g){var m=this.getModel(),n=a+c,p=b+d;nul…
1475 …,b,c){b=null!=b?b:!1;c=null!=c?c:!1;var d=[];if(null!=a){for(var e=this.getModel(),f=e.getChildCou…
1505 mxCellOverlay.prototype.getBounds=function(a){var b=a.view.graph.getModel().isEdge(a.cell),c=a.view…
1508 …teHandler=mxUtils.bind(this,function(a,c){this.update(!0)});this.source.getModel().addListener(mxE…
1523 …r),this.source.getView().removeListener(this.updateHandler),this.source.getModel().removeListener(…
1532getModel();b.removeListener(this.undoHandler);this.graph.removeListener(this.moveHandler);this.gra…
1534 …ontainer,mxEvent.getClientX(b),mxEvent.getClientY(b)),d=this.getGraph().getModel(),e=0;e<a.length;…
1535 …lsResized=function(a,b,c){if(null!=a&&null!=b)for(var d=this.getGraph().getModel(),e=0;e<a.length;…
1537getModel();this.addAncestorsWithLayout(c.getParent(a),b)}return b};mxLayoutManager.prototype.addDe…
1538 …rototype.layoutCells=function(a,b){if(0<a.length){var c=this.getGraph().getModel();c.beginUpdate()…
1544 …ager.prototype.cellsAdded=function(a){if(null!=a){var b=this.getGraph().getModel();b.beginUpdate()…
1545 mxSwimlaneManager.prototype.swimlaneAdded=function(a){for(var b=this.getGraph().getModel(),c=b.getP…
1546 mxSwimlaneManager.prototype.cellsResized=function(a){if(null!=a){var b=this.getGraph().getModel();b…
1548 mxSwimlaneManager.prototype.resizeSwimlane=function(a,b,c,d){var e=this.getGraph().getModel();e.beg…
1555 mxCellStatePreview.prototype.translateState=function(a,b,c){if(null!=a){var d=this.graph.getModel()…
1556 …rototype.revalidateState=function(a,b,c,d){if(null!=a){var e=this.graph.getModel();e.isEdge(a.cell…
1557 g)),b,c,d)}};mxCellStatePreview.prototype.addEdges=function(a){for(var b=this.graph.getModel(),c=b.…
1561 this.updatePreview())):this.reset()}}),0)});this.graph.getModel().addListener(mxEvent.CHANGE,this.r…
1567 …teSelectionCell(b.cell,!0,a);)b=d,d=this.graph.view.getState(this.graph.getModel().getParent(b.cel…
1570 …nt(b.getEvent())&&mxEvent.isAltDown(b.getEvent())))for(var c=this.graph.getModel(),d=c.getParent(a…
1574 …GuideStates=function(){var a=this.graph.getDefaultParent(),b=this.graph.getModel(),c=mxUtils.bind(…
1576 …gBox=function(a){var b=null;if(null!=a&&0<a.length)for(var c=this.graph.getModel(),d=0;d<a.length;…
1584 …ouseEvent(b),null==d&&c.isEnabled()&&c.isCellMovable(b.getCell())&&(d=c.getModel().isEdge(b.getCel…
1586 …!0):(this.target=null,this.connectOnDrop&&null!=g&&1==this.cells.length&&c.getModel().isVertex(g)&&
1598 …raph,d=b.getCell();if(this.connectOnDrop&&null==this.target&&null!=d&&c.getModel().isVertex(d)&&c.…
1601 mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(a,b,c){if(this.graph.getModel().isVer…
1602getModel().getParent(this.cell);null==e&&null!=f&&this.isRemoveCellsFromParent()&&this.shouldRemov…
1603 …ent(g[l])&&b.push(g[l]);this.graph.removeCells(b,!1)}finally{this.graph.getModel().endUpdate()}d&&…
1606 …andler),this.escapeHandler=null);null!=this.refreshHandler&&(this.graph.getModel().removeListener(…
1631 …ion(){this.graph.getView().removeListener(this.resetHandler);this.graph.getModel().removeListener(…
1632 …ctionModel().addListener(mxEvent.CHANGE,this.refreshHandler);this.graph.getModel().addListener(mxE…
1640 …raph.getSelectionModel().removeListener(this.refreshHandler),this.graph.getModel().removeListener(…
1646 …this.graph.view.getState(this.previous.cell)&&this.reset()});this.graph.getModel().addListener(mxE…
1649 …=c&&!this.graph.isCellConnectable(c)){var d=this.graph.getModel().getParent(c);this.graph.getModel
1692getModel(),f=!1,g=null;e.beginUpdate();try{if(null!=a&&null==b&&!this.graph.isIgnoreTerminalEvent(…
1698 …relative;)b=this.graph.getModel().getParent(b),c=this.graph.getCellGeometry(b);var d=this.graph.cl…
1701 …oy(),this.constraintHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(…
1708 …=c&&!this.graph.isCellConnectable(c)){var d=this.graph.getModel().getParent(c);this.graph.getModel
1710 …ll!=this.currentFocusArea&&null!=this.currentFocus&&null==k&&this.graph.getModel().isVertex(this.c…
1784 …nvalidate(this.state.cell,!1,!1),this.state.view.validate());this.graph.getModel().beginUpdate();t…
1786 ….roundLength(p/q),d,g,this.isConstrainedEvent(b),r)}}finally{this.graph.getModel().endUpdate()}b.c…
1787 mxVertexHandler.prototype.rotateCell=function(a,b,c){if(0!=b){var d=this.graph.getModel();if(d.isVe…
1793 …rtexHandler.prototype.moveChildren=function(a,b,c){for(var d=this.graph.getModel(),e=d.getChildCou…
1824 …{var e=this.graph.getModel().getParent(c);this.graph.getModel().isVertex(e)&&this.graph.isCellConn…
1825 …ectable(c)||(c=null);return c};a.isValidState=function(a){var c=b.graph.getModel(),c=b.graph.view.…
1844 …ll(this.constraintHandler.currentFocus.cell,"transparent"),a=this.graph.getModel(),a=this.graph.vi…
1862 d>mxEvent.VIRTUAL_HANDLE){if(null!=this.customHandles){var f=this.graph.getModel();f.beginUpdate();…
1863 …shape.stroke&&(d=this.marker.validState.cell),null!=d){var f=this.graph.getModel(),g=f.getParent(c…
1864 …this.graph.view.translate.y),k=this.graph.getView().getState(this.graph.getModel().getParent(c)),n…
1868 …x);a.y=Math.round(a.y/c-d.y);c=this.graph.getView().getState(this.graph.getModel().getParent(this.…
1869 mxEdgeHandler.prototype.moveLabel=function(a,b,c){var d=this.graph.getModel(),e=d.getGeometry(a.cel…
1870 …l,e)}};mxEdgeHandler.prototype.connect=function(a,b,c,d,e){d=this.graph.getModel();d.getParent(a);…
1871 mxEdgeHandler.prototype.changeTerminalPoint=function(a,b,c,d){var e=this.graph.getModel();e.beginUp…
1872 mxEdgeHandler.prototype.changePoints=function(a,b,c){var d=this.graph.getModel();d.beginUpdate();tr…
1874 ….y*c+e.y);null==d.points?d.points=[b]:d.points.splice(c,0,b);this.graph.getModel().setGeometry(a.c…
1875 …null!=c&&null!=c.points&&(c=c.clone(),c.points.splice(b-1,1),this.graph.getModel().setGeometry(a.c…
1876 …etHandleFillColor=function(a){a=0==a;var b=this.state.cell,c=this.graph.getModel().getTerminal(b,a…
1877 …tate){this.abspoints=this.state.absolutePoints.slice();var b=this.graph.getModel().getGeometry(thi…
1898 mxElbowEdgeHandler.prototype.redrawInnerBends=function(a,b){var c=this.graph.getModel().getGeometry…
1907 mxEdgeSegmentHandler.prototype.connect=function(a,b,c,d,e){var f=this.graph.getModel(),g=f.getGeome…
1929 …addListener(mxEvent.SCALE_AND_TRANSLATE,this.repaintHandler),this.graph.getModel().addListener(mxE…
1935 …er);this.graph.getView().removeListener(this.repaintHandler);this.graph.getModel().removeListener(…
1969 …,c){return this.encodeCell(a,c,c.graph.getModel().getRoot())};a.encodeCell=function(a,c,d){var b=c…
2014 …ty("edit"):null;null!=d&&d.ignoreEdit||this.setModified(!0)};this.graph.getModel().addListener(mxE…
2057getModel())}finally{this.graph.model.endUpdate()}this.fireEvent(new mxEventObject("resetGraphView"…
2059 …ll!=b?b:1)?(new mxCodec(mxUtils.createXmlDocument())).encode(this.graph.getModel()):this.graph.enc…
2063getModel().addListener(mxEvent.UNDO,e);b.getView().addListener(mxEvent.UNDO,e);e=function(c,e){var…
2129 …h.isTableCell(d[l])||this.graph.isTableRow(d[l]))return!1;if(this.graph.getModel().isVertex(d[l]))…
2134 …ype.getCellForPopupEvent=function(b){b=b.getCell();for(var d=this.graph.getModel(),f=d.getParent(b…
2137 …in d.style)c[e]!=d.style[e]&&(b.push(d.style[e]),f.push(e));for(var l=k.getModel().getStyle(d.cell…
2138 c[e]&&"none"==n&&(b.push(n),f.push(e))}}k.getModel().isEdge(d.cell)?k.currentEdgeStyle={}:k.current…
2140 …VertexStyle;l=null!=l?l:k.currentEdgeStyle;g=null!=g?g:!0;c=null!=c?c:k.getModel();if(m){m=[];for(…
2153 e=!1,g=!1;if(0<c.length)for(var q=0;q<c.length&&(e=k.getModel().isVertex(c[q])||e,!(g=k.getModel().…
2158 ….setFontSize(d)}),k.getSelectionModel().addListener(mxEvent.CHANGE,b),k.getModel().addListener(mxE…
2159 …),c=d.getProperty("parent");null!=c&&k.getModel().isLayer(c)&&!k.isCellVisible(c)&&null!=f&&0<f.le…
2164 …vent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));b.getModel().addListener(mxE…
2166 …_AND_TRANSLATE,e);b.getSelectionModel().addListener(mxEvent.CHANGE,e);b.getModel().addListener(mxE…
2210 Editor.layersImage,mxResources.get("layers")),D=b.getModel();D.addListener(mxEvent.CHANGE,function(…
2229 …}};EditorUi.prototype.isDiagramEmpty=function(){var b=this.editor.graph.getModel();return 1==b.get…
2251 …;b.isCellEditable(f)&&(p.push(f),g=!0,b.getModel().isEdge(f)&&(k=!0),b.getModel().isVertex(f)&&(c=…
2253 …abled(e);this.actions.get("removeFromGroup").setEnabled(k&&b.getModel().isVertex(b.getModel().getP…
2291getModel().beginUpdate();try{b()}catch(g){throw g;}finally{this.allowAnimation&&c&&(null==navigato…
2297getModel().beginUpdate();try{var c=k.getSelectionCells();for(f=0;f<c.length;f++)if(k.getModel().is…
2375 null==f&&(f=this.getModel().getRoot()));if(null!=f)for(var l=this.model.getChildCount(f)-1;0<=l;l--…
2376 …nction(b){for(var d=this.getCellGeometry(b);null!=d&&d.relative;)b=this.getModel().getParent(b),d=…
2412 …ocument.createElement("div");e.style.position="absolute";for(var k=this.getModel(),g=k.getChildCou…
2474getModel().contains(b)){if(this.graph.getModel().isVertex(b)&&!this.graph.isCellConnectable(b)){va…
2485 Graph.prototype.setTableRowHeight=function(b,c,e){e=null!=e?e:!0;var k=this.getModel();k.beginUpdat…
2487 Graph.prototype.setTableColumnWidth=function(b,c,e){e=null!=e?e:!1;var k=this.getModel(),g=k.getPar…
2489 TableLayout.prototype.isVertexIgnored=function(b){return!this.graph.getModel().isVertex(b)||!this.g…
2491 TableLayout.prototype.layoutRow=function(b,c,e,k,g){var p=this.graph.getModel(),t=p.getChildCells(b…
2494 …esizeLast","0"),k="1"==mxUtils.getValue(k,"fixedRows","0"),t=this.graph.getModel(),d=0;t.beginUpda…
2547 …height)));return d};Graph.prototype.turnShapes=function(b,d){var f=this.getModel(),c=[];f.beginUpd…
2559 Graph.prototype.getDropTarget=function(b,d,f,c){this.getModel();if(mxEvent.isAltDown(d))return null…
2566getModel().beginUpdate();try{this.addCells([c],null!=f?f.cell:null),this.fireEvent(new mxEventObje…
2573 …=this.model.getParent(b[f]));b=this.model.getTopmostCells(b);var c=this.getModel(),e=this.gridSize…
2577 …l!=d&&1<d.length){for(var f=[],c=null,e=null,g=0;g<d.length;g++)if(this.getModel().isVertex(d[g]))…
2578 …ew.translate;k=this.view.scale;e=e/k-(b?l.x:l.y);c=c/k-(b?l.x:l.y);this.getModel().beginUpdate();t…
2579 2)-q.origin.y,this.getModel().setGeometry(f[g].cell,n))}}finally{this.getModel().endUpdate()}}}retu…
2593 f.push(k[c])}return f};Graph.prototype.insertTableColumn=function(b,d){var f=this.getModel();f.begi…
2594 …nally{f.endUpdate()}};Graph.prototype.deleteLane=function(b){var d=this.getModel();d.beginUpdate()…
2595getModel();f.beginUpdate();try{var c=null,e=b;if("stackLayout"==this.getCurrentCellStyle(e).childL…
2596 …c,n))}}finally{f.endUpdate()}};Graph.prototype.deleteTableColumn=function(b){var d=this.getModel();
2598 …y{d.endUpdate()}};Graph.prototype.deleteTableRow=function(b){var d=this.getModel();d.beginUpdate()…
2611 …his.graph.getModel().getParent(b),c=this.graph.getCellGeometry(b);if(this.graph.getModel().isEdge(…
2625getModel().beginUpdate();try{F.apply(this,arguments),""==d&&this.graph.isCellDeletable(b.cell)&&0=…
2672 …pe.getBoundingBox=function(b){if(null!=b&&1==b.length){var d=this.graph.getModel(),f=d.getParent(b…
2673 …lectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(b){var d=this.graph.getModel(),
2674 …Down;mxVertexHandler.prototype.mouseDown=function(b,d){var f=this.graph.getModel(),c=f.getParent(t…
2679 …ectionModel().addListener(mxEvent.CHANGE,this.changeHandler);this.graph.getModel().addListener(mxE…
2685 …ectionModel().addListener(mxEvent.CHANGE,this.changeHandler);this.graph.getModel().addListener(mxE…
2691 …graph.getSelectionModel().removeListener(this.changeHandler),this.graph.getModel().removeListener(…
2693 …his.linkHint),this.linkHint=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(…
2954 …onEmpty()){g.getModel().beginUpdate();try{for(var b=g.getSelectionCells(),d=0;d<b.length;d++)g.cel…
2959 …odelFromClipboard(function(b){if(null!=b){g.getModel().beginUpdate();try{e.pasteXml(b,!0)}finally{…
2961getModel().beginUpdate();try{d(mxClipboard.paste(g))}finally{g.getModel().endUpdate()}}if(g.isEnab…
2962getModel().beginUpdate();try{for(var b=g.getResizableCells(g.getSelectionCells()),d=0;d<b.length;d…
2963 …+V");this.addAction("copyData",function(){var b=g.getSelectionCell()||g.getModel().getRoot();g.isE…
2964 g.convertValueToString(d));c.setValue(d,f)}b=null!=d?d:b;var c=g.getModel();if(g.isEnabled()&&!g.is…
2967 …+A");this.addAction("lockUnlock",function(){if(!g.isSelectionEmpty()){g.getModel().beginUpdate();t…
2968 …stants.STYLE_EDITABLE,c,b);g.setCellStyles("connectable",c,b)}finally{g.getModel().endUpdate()}}},…
2971 …);this.addAction("editData...",function(){var b=g.getSelectionCell()||g.getModel().getRoot();e.sho…
2976 !0);g.getModel().beginUpdate();try{d=g.addCell(d),g.fireEvent(new mxEventObject("cellsInserted","ce…
2977 …addAction("autosize",function(){var b=g.getSelectionCells();if(null!=b){g.getModel().beginUpdate();
2978getModel().getChildCount(c)?g.updateGroupBounds([c],0,!0):g.updateCellSize(c)}}finally{g.getModel(…
2980 …Changed","keys",["html"],"values",[null!=b?b:"0"],"cells",d))}finally{g.getModel().endUpdate()}});…
2993 …f(null!=c&&g.cellEditor.isContentEditing())c();else{g.stopEditing(!1);g.getModel().beginUpdate();t…
2995 !1)}finally{g.getModel().endUpdate()}}},null,null,e)});t("bold",mxConstants.FONT_BOLD,function(){do…
2997getModel().beginUpdate();try{g.setCellStyles(mxConstants.STYLE_DASHED,null),g.setCellStyles(mxCons…
2998 …cells",g.getSelectionCells()))}finally{g.getModel().endUpdate()}});this.addAction("dotted",functio…
2999getModel().endUpdate()}});this.addAction("sharp",function(){g.getModel().beginUpdate();try{g.setCe…
3000getModel().beginUpdate();try{g.setCellStyles(mxConstants.STYLE_ROUNDED,"1"),g.setCellStyles(mxCons…
3001 …ells",g.getSelectionCells()))}finally{g.getModel().endUpdate()}}});this.addAction("curved",functio…
3002 …LE_CURVED],"values",["0","1"],"cells",g.getSelectionCells()))}finally{g.getModel().endUpdate()}});…
3003 …getEditableCells(g.getSelectionCells());if(null!=b&&0<b.length){var d=g.getModel(),d=new TextareaD…
3004getModel().isEdge(b)){var d=k.graph.selectionCellsHandler.getHandler(b);if(d instanceof mxEdgeHand…
3005 …etSelectionCells();if(null!=c){c=g.getEditableCells(g.addAllEdges(c));g.getModel().beginUpdate();t…
3006getModel().isEdge(e)){var l=g.getCellGeometry(e);mxEvent.isShiftDown(b)?(g.setCellStyles(mxConstan…
3008 ….getSelectionCells();if(null!=b&&(0<b.length||0<f.length)){var e=null;g.getModel().beginUpdate();t…
3009 …E,null,f);if(1==g.getSelectionCount()&&null!=d&&null!=c){var n=f[0],q=g.getModel().getGeometry(n);…
3010 q.height=c,g.getModel().setGeometry(n,q))}}finally{g.getModel().endUpdate()}null!=e&&(g.setSelectio…
3209 …ialog.getDisplayIdForCell=function(b,d){var c=null;null!=b.editor.graph.getModel().getParent(d)?c=…
3241 …rmatPanel.prototype.addProperties=function(b,d,c){function f(b,d,c,f){u.getModel().beginUpdate();t…
3243 …eChanged","keys",e,"values",g,"cells",u.getSelectionCells()))}finally{u.getModel().endUpdate()}}fu…
3259getModel().beginUpdate();try{for(var f=this.format.getSelectionState().cells,g=0;g<f.length;g++){f…
3260 …)),mxEvent.isControlDown(d)||mxClient.IS_MAC&&mxEvent.isMetaDown(d)||!c.getModel().isVertex(f[g])|…
3262getModel().isVertex(f[g])&&(l=mxUtils.setStyle(l,mxConstants.STYLE_FONTCOLOR,mxUtils.getValue(k,mx…
3404 …" ");b={};for(e=0;e<g.length;e++)b[g[e]]=!0;for(var k=this.editor.graph.getModel(),u=k.getChildren…
3414 …ement:null,null!=b&&"updates"==b.nodeName)){var g=this.editor.graph,k=g.getModel();k.beginUpdate()…
3482 …onsume(b)}),Editor.tagsImage,mxResources.get("tags"));this.editor.graph.getModel().addListener(mxE…
3566 …totype.insertAsPreText=function(b,c,e){var d=this.editor.graph,f=null;d.getModel().beginUpdate();t…
3567 !0)}finally{d.getModel().endUpdate()}return f};EditorUi.prototype.insertTextAt=function(b,c,e,g,k,n…
3570 …geAspect=0;image="+b+";"))}}),mxUtils.bind(this,function(){var f=null;d.getModel().beginUpdate();t…
3571 …f),d.fireEvent(new mxEventObject("textInserted","cells",[f]))}finally{d.getModel().endUpdate()}d.s…
3572 else{d=this.editor.graph;k=null;d.getModel().beginUpdate();try{k=d.insertVertex(d.getDefaultParent(…
3573 …e);k.geometry.width+=d.gridSize;k.geometry.height+=d.gridSize}finally{d.getModel().endUpdate()}ret…
4023 …("xmlNodeChanged",g);g();urlParams.page=d.currentPage;g=null;this.graph.getModel().beginUpdate();t…
4024 …!=this.graphConfig.border?this.graphConfig.border:8)}finally{this.graph.getModel().endUpdate()}thi…
4032 …Visible=function(b){var c=!0;if(!this.autoOrigin){var e=[],k=this.graph.getModel();k.beginUpdate()…
4033 …graph.getModel().beginUpdate();try{this.graph.getModel().clear(),this.editor.setGraphXml(b),c=this…
4044 …k&&0<k.length,p=!1;if(0<e.length||g||null!=c){var t=null!=c?c.getModel():null,p=b.getModel();p.beg…
4054 …)||"Fit"));else if("layers"==x){if(this.layersEnabled){var B=this.graph.getModel(),F=b(mxUtils.bin…