/plugin/diagramsnet/lib/js/ |
H A D | viewer.min.js | 1532 …graph){var b=this.graph.getModel();b.removeListener(this.undoHandler);this.graph.removeListener(th… 1566 …graph.model.getParent(a);return b?(b=this.graph.model.isEdge(a)?null:this.graph.getCellGeometry(a)… 1604 …graph.view.getState(a);return null!=a&&(this.graph.model.isEdge(a.cell)||this.graph.model.isVertex… 1864 …graph.isAllowDanglingEdges()&&(f=this.abspoints[this.isSource?0:this.abspoints.length-1],f.x=this.… 2052 …graph.gridEnabled=this.graph.defaultGridEnabled&&(!this.isChromelessView()||"1"==urlParams.grid);t… 2053 …graph.pageScale=mxGraph.prototype.pageScale;this.graph.pageFormat=mxGraph.prototype.pageFormat;thi… 2055 …graph.foldingEnabled="0"!=b.getAttribute("fold");this.isChromelessView()&&this.graph.foldingEnable… 2133 …graph.model.getParent(b);if(d)c=this.graph.model.isEdge(b)?null:this.graph.getCellGeometry(b),c=!t… 2335 …graph.isCellSelected(d[e])?this.graph.model.getParent(d[e]):this.graph.isTableRow(b)&&this.graph.i… 2474 …graph.getModel().contains(b)){if(this.graph.getModel().isVertex(b)&&!this.graph.isCellConnectable(… [all …]
|
H A D | extensions.min.js | 1053 …graph,w=null;null!=n.themes&&"darkTheme"==n.defaultThemeName&&(w=n.stylesheet,n.stylesheet=n.getDe… 1054 …(D)}A!=f.currentPage&&f.selectPage(A,!0);f.editor.graph.setSelectionCells(x)}}else{var e=f.editor.… 1728 …graph());return r.forEach(t.nodes(),(function(n){e.setNode(n,t.node(n))})),r.forEach(t.edges(),(fu… method in a
|
/plugin/diagramsnet/lib/plugins/ |
H A D | number.js | 9 var graph = format.editorUi.editor.graph; 11 return graph.view.redrawNumberShape != null; 12 }, onChange: function(graph, newValue) argument 14 graph.refresh(); 17 var graph = ui.editor.graph; 23 graph.view.resetValidationState = function() 73 var scale = graph.getView().getScale(); 85 var destroy = graph.cellRenderer.destroy; 86 graph.cellRenderer.destroy = function(state) 109 graph.refresh(); [all …]
|
H A D | random.js | 8 var graph = ui.editor.graph; 16 var cells = graph.getSelectionCells().slice(); 68 var cells = graph.getSelectionCells().slice(); 94 graph.getModel().beginUpdate(); 129 graph.getModel().endUpdate(); 166 var graph = ui.editor.graph; 167 var cells = graph.getSelectionCells().slice(); 197 graph.getModel().beginUpdate(); 354 graph.getModel().endUpdate(); 411 graph.getModel().beginUpdate(); [all …]
|
H A D | replay.js | 8 var graph = ui.editor.graph; 9 var model = graph.model;
|
H A D | sql.js | 59 var graph = ui.editor.graph; 69 var graph = ui.editor.graph; 108 var size = ui.editor.graph.getPreferredSizeForCell(rowCell); 559 var size = ui.editor.graph.getPreferredSizeForCell(rowCell); 580 var graph = ui.editor.graph; 581 var view = graph.view; 582 var bds = graph.getGraphBounds(); 585 … var x = Math.ceil(Math.max(0, bds.x / view.scale - view.translate.x) + 4 * graph.gridSize); 586 … Math.ceil(Math.max(0, (bds.y + bds.height) / view.scale - view.translate.y) + 4 * graph.gridSize); 588 graph.setSelectionCells(graph.importCells(cells, x, y)); [all …]
|
H A D | text.js | 12 var dlg = new EmbedDialog(ui, ui.editor.graph.getIndexableText(),
|
/plugin/diagramsnet/lib/js/diagramly/ |
H A D | Trees.js | 149 var graph = ui.editor.graph; 247 if (graph.isEnabled() && graph.getSelectionCount() == 1) 269 if (graph.isEnabled() && graph.getSelectionCount() == 1) 296 if (graph.isEnabled() && graph.getSelectionCount() == 1) 303 graph.setSelectionCell(graph.model.getTerminal(edges[0], true)); 312 if (graph.isEnabled() && graph.model.isVertex(cell)) 316 graph.setSelectionCells(graph.model.getTreeEdges(cell, 1052 graph.setSelectionCell(graph.model.getTerminal(sib[0], false)); 1094 if (graph.isEnabled() && !graph.isEditing() && 1130 graph.startEditingAtCell(graph.getSelectionCell()); [all …]
|
H A D | Dialogs.js | 949 var graph = editorUi.editor.graph; 1668 var graph = editorUi.editor.graph; 1907 var graph = editorUi.editor.graph; 1969 var graph = editorUi.editor.graph; 4577 var graph = editorUi.editor.graph; 6757 var graph = ui.editor.graph; 6951 graph = ui.editor.graph; 7485 var graph = editorUi.editor.graph; 7579 var graph = editorUi.editor.graph; 8554 var graph = editorUi.editor.graph; [all …]
|
H A D | DrawioFile.js | 707 var graph = this.ui.editor.graph; 715 var fold = graph.foldingEnabled; 716 var math = graph.mathEnabled; 732 graph.model.beginUpdate(); 758 graph.model.endUpdate(); 761 graph.cellRenderer.redraw = redraw; 775 if (math != graph.mathEnabled) 778 graph.refresh(); 784 graph.view.revalidate(); 788 graph.view.validate(); [all …]
|
H A D | DriveClient.js | 1945 this.ui.editor.graph.reset(); 2499 this.ui.editor.graph.openLink('https://drive.google.com/open?id=' + id);
|
H A D | Editor.js | 402 var graph = format.editorUi.editor.graph; 409 var graph = format.editorUi.editor.graph; 418 var graph = format.editorUi.editor.graph; 3372 graph = (graph != null) ? graph : this.graph; 4054 var graph = editor.graph; 4106 var graph = editor.graph; 4561 var graph = this.editorUi.editor.graph; 4609 var graph = this.editorUi.editor.graph; 5193 var graph = ui.editor.graph; 5509 var graph = this.editorUi.editor.graph; [all …]
|
H A D | EditorUi.js | 807 var graph = this.editor.graph; 996 var graph = this.editor.graph; 1069 graph = (graph != null) ? graph : this.editor.graph; 1598 var graph = this.editor.graph; 1655 if (graph != this.editor.graph) 2073 var graph = this.editor.graph; 3256 var graph = this.editor.graph; 5641 var graph = this.editor.graph; 5762 var graph = this.editor.graph; 5977 var graph = this.editor.graph; [all …]
|
H A D | Embed.js | 78 function addMathJaxGraph(graph) argument 201 graph.setEnabled(false); 230 graph.cellRenderer.forceControlClickHandler = graph.foldingEnabled; 267 graph.setPanning(true); 276 graph.border = border; 339 graph.addMouseListener( 456 graph.fit(border); 461 addMathJaxGraph(graph); 713 graph.zoomIn(); 718 graph.zoomOut(); [all …]
|
H A D | GitHubFile.js | 24 this.ui.editor.graph.openLink('https://github.com/' +
|
H A D | GraphViewer.js | 577 var graph = Graph.createOffscreenGraph(this.graph.getStylesheet()); 578 graph.getGlobalVariable = this.graph.getGlobalVariable; 689 if (this.graph != null) 977 …this.graph.view.setTranslate(Math.floor(this.graph.border - bounds.x / this.graph.view.scale) + or… 1008 var graph = this.graph; 1237 var graph = this.graph; 1391 this.graph.view.scaleAndTranslate(this.graph.initialViewState.scale, 1426 this.graph.originalViewState = this.graph.initialViewState; 1714 graph.linkPolicy = this.graphConfig.target || graph.linkPolicy; 1947 var graph = ui.editor.graph; [all …]
|
/plugin/diagramsnet/lib/js/diagramly/sidebar/ |
H A D | Sidebar.js | 1367 var graph = this.editorUi.editor.graph; 1370 if (cells != null && graph.getSelectionCount() == 1 && graph.getModel().isVertex(cells[0])) 1375 …if (graph.getModel().isEdge(graph.getSelectionCell()) && graph.getModel().getTerminal(graph.getSel… 1378 graph.getModel().beginUpdate(); 1381 var edgeState = graph.view.getState(graph.getSelectionCell()); 1385 var tr = graph.view.translate; 1386 var s = graph.view.scale; 1393 graph.addCell(target); 1394 graph.getModel().setTerminal(graph.getSelectionCell(), target, false); 1407 graph.getModel().endUpdate(); [all …]
|
/plugin/diagramsnet/lib/js/diagramly/vsdx/ |
H A D | VsdxExport.js | 106 var sc = graph.view.scale; 633 var t = graph.view.translate; 634 var s = graph.view.scale; 650 var layers = graph.model.getChildCells(graph.model.root); 858 var layers = graph.model.getChildCells(graph.model.root); 880 var graph = editorUi.editor.graph; 885 if (graph.themes != null && graph.defaultThemeName == 'darkTheme') 888 graph.stylesheet = graph.getDefaultStylesheet(); 889 graph.refresh(); 905 graph.refresh(); [all …]
|
/plugin/diagramsnet/lib/shapes/rack/ |
H A D | mxRack.js | 47 onChange: function(graph, newValue) 49 graph.setCellStyles('marginLeft', (newValue == 'off') ? 9 : 33, graph.getSelectionCells());
|
/plugin/diagramsnet/lib/js/grapheditor/ |
H A D | Actions.js | 21 var graph = editor.graph; 157 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent())) 253 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent())) 473 graph.setSelectionCells(graph.duplicateCells()); 486 graph.turnShapes(graph.getResizableCells(graph.getSelectionCells()), 495 graph.addSelectionCells(graph.getEdges(cell)); 712 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent())) 720 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent())) 989 graph.getBoundingBox(graph.getSelectionCells()) 1127 graph.setGridEnabled(!graph.isGridEnabled()); [all …]
|
H A D | Editor.js | 12 this.graph = graph || this.createGraph(themes, model); 440 this.graph.scrollbars = this.graph.defaultScrollbars; 640 var graph = this.graph; 672 var graph = this.graph; 1173 var graph = editorUi.editor.graph; 1464 var graph = editorUi.editor.graph; 2069 var graph = editorUi.editor.graph; 2381 var graph = this.graph; 2471 var graph = this.graph; 2472 …var color = (graph.background == null || graph.background == mxConstants.NONE) ? graph.defaultPage… [all …]
|
H A D | EditorUi.js | 15 var graph = this.editor.graph; 1113 var graph = this.editor.graph; 1198 var graph = this.editor.graph; 1432 var graph = this.editor.graph; 1455 var graph = this.editor.graph; 1622 var graph = this.editor.graph; 1677 var graph = this.editor.graph; 1836 var graph = this.editor.graph; 1985 var graph = this.editor.graph; 3370 var graph = this.editor.graph; [all …]
|
H A D | Shapes.js | 15 var graph = state.view.graph; 16 var start = graph.getActualStartSize(state.cell); 47 var geo = graph.getCellGeometry(cols[i]); 180 var graph = this.state.view.graph; 190 var geo = graph.getCellGeometry(rows[0]); 200 geo = graph.getCellGeometry(rows[i]); 202 var data = {y: 0, cells: graph.model. 247 geo = graph.getCellGeometry(cols[i]); 5827 var graph = state.view.graph; 5829 if (graph.isTableRow(state.cell) || graph.isTableCell(state.cell)) [all …]
|
H A D | Sidebar.js | 2220 var graph = this.editorUi.editor.graph; 2432 var graph = this.editorUi.editor.graph; 2482 var tempTarget = graph.getCellAt((geo.x + dx + graph.view.translate.x) * graph.view.scale, 2601 var graph = this.editorUi.editor.graph; 2787 var graph = ui.editor.graph; 2856 !graph.isCellLocked(graph.getDefaultParent())) 3475 var graph = this.editorUi.editor.graph; 3480 graph.model.isVertex(graph.getSelectionCell())) 3499 graph.scrollCellToVisible(graph.getSelectionCell()); 3505 var temp = graph.getEditableCells(graph.getSelectionCells()); [all …]
|
/plugin/diagramsnet/lib/js/orgchart/ |
H A D | mxOrgChartLayout.js | 21 mxGraphLayout.call(this, graph); 82 this.graph.model.beginUpdate(); 89 this.graph.model.endUpdate(); 106 RPOrgChart.graph = graph; 148 var graph = RPOrgChart.graph; 160 var incomingEdge = graph.getIncomingEdges(cell)[0]; 401 var geo = RPOrgChart.graph.model.cells[boxId].geometry; 420 var graph = RPOrgChart.graph; 421 var cells = graph.model.cells; 437 graph.model.setGeometry(cell, geo); [all …]
|