/plugin/diagramsnet/lib/js/grapheditor/ |
H A D | Dialogs.js | 342 var graph = this.editorUi.editor.graph; 750 var graph = editorUi.editor.graph; 1266 var graph = editorUi.editor.graph; 1345 var graph = ui.editor.graph; 1907 var graph = editorUi.editor.graph; 2016 var graph = editorUi.editor.graph; 2105 graph.model.add(graph.model.root, new mxCell()); 2110 graph.setDefaultParent(graph.model.getChildAt(graph.model.root, index - 1)); 2142 if (graph.isEnabled() && !graph.isSelectionEmpty()) 2163 }))(graph.model.getChildAt(graph.model.root, i)); [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 | Format.js | 115 var graph = editor.graph; 448 var graph = ui.editor.graph; 711 var graph = ui.editor.graph; 1076 var graph = editor.graph; 1325 var graph = editor.graph; 1718 var graph = editor.graph; 2216 var graph = editor.graph; 2256 var graph = editor.graph; 2291 var graph = editor.graph; 3071 var graph = editor.graph; [all …]
|
H A D | Graph.js | 1212 var graph = state.view.graph; 1365 return graph; 4898 this.graph = graph; 5364 return this.graph.view.getState(this.graph.getCellAt(x, y)); 8134 graph = (graph != null) ? graph : new Graph(); 8140 graph.updateCustomLinksForCell(mapping, cells[i], graph); 9902 var graph = state.view.graph; 11822 …return this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.c… 11892 var graph = this.graph; 12106 var graph = this.graph; [all …]
|
H A D | Menus.js | 47 var graph = ui.editor.graph; 647 var graph = this.editorUi.editor.graph; 843 var graph = this.editorUi.editor.graph; 883 var graph = this.editorUi.editor.graph; 1088 var graph = this.editorUi.editor.graph; 1163 var graph = this.editorUi.editor.graph; 1307 var graph = ui.editor.graph; 1378 var graph = this.editorUi.editor.graph; 1506 var graph = this.editorUi.editor.graph; 1535 var graph = this.editorUi.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 …]
|
H A D | Toolbar.js | 309 var graph = ui.editor.graph; 499 graph.cellEditor.toggleViewMode(); 501 …if (graph.cellEditor.textarea.innerHTML.length > 0 && (graph.cellEditor.textarea.innerHTML != '&nb… 560 var cell = graph.getParentByNames(elt, ['TD', 'TH'], graph.cellEditor.text2); 561 var row = graph.getParentByName(elt, 'TR', graph.cellEditor.text2); 590 var table = graph.getParentByName(row, 'TABLE', graph.cellEditor.text2); 596 graph.selectNode(graph.insertColumn(table, (cell != null) ? cell.cellIndex : 0)); 609 graph.selectNode(graph.insertColumn(table, (cell != null) ? cell.cellIndex + 1 : -1)); 638 graph.selectNode(graph.insertRow(table, row.sectionRowIndex)); 651 graph.selectNode(graph.insertRow(table, row.sectionRowIndex + 1)); [all …]
|
/plugin/diagramsnet/lib/js/mermaid/ |
H A D | mermaid.min.js | 29 …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/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 …]
|
/plugin/diagramsnet/lib/js/ |
H A D | shapes-14-6-5.min.js | 576 …graph.getLabel(this.state.cell),isNaN(f)||(a.stroke(),f=g*Math.round(100*f)/1E3,10!=g&&0!=f&&a.tex…
|
H A D | shapes.min.js | 527 …graph.getLabel(this.state.cell),isNaN(f)||(a.stroke(),f=g*Math.round(100*f)/1E3,10!=g&&0!=f&&a.tex…
|
H A D | viewer-static.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 | 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 …]
|
/plugin/diagramsnet/lib/mxgraph/ |
H A D | mxClient.js | 552 …graph.getModel(),c=b.getGeometry(a);null!=this.graph.container&&(null==c&&b.isLayer(a)||a==this.gr… 1328 …graph){var b=this.graph.getModel();b.removeListener(this.undoHandler);this.graph.removeListener(th… 1339 …graph&&(this.graph.removeListener(this.addHandler),this.graph.removeListener(this.resizeHandler));… 1362 …graph.model.getParent(a);return b?(b=this.graph.model.isEdge(a)?null:this.graph.getCellGeometry(a)… 1399 …graph.model.getParent(a[l]);null==m||k.get(m)||(k.put(m,!0),g.push(m))}}a=this.graph.moveCells(a,b… 1400 …graph.view.getState(a);return null!=a&&(this.graph.model.isEdge(a.cell)||this.graph.model.isVertex… 1494 …graph.getCellGeometry(b);null!=c&&c.relative;)b=this.graph.getModel().getParent(b),c=this.graph.ge… 1504 …graph.getCellAt(b.x,b.y));if(null!=c&&!this.graph.isCellConnectable(c)){var d=this.graph.getModel(… 1620 …graph),b=this;a.getCell=function(a){var c=mxCellMarker.prototype.getCell.apply(this,arguments);c!=… 1660 …graph.isAllowDanglingEdges()&&(f=this.abspoints[this.isSource?0:this.abspoints.length-1],f.x=this.… [all …]
|
/plugin/diagramsnet/lib/plugins/ |
H A D | animation.js | 37 graph.executeAnimations(graph.createWipeAnimations(cells, true), null, steps, delay); 77 if (graph.getModel().isVertex(cell) || graph.getModel().isEdge(cell)) 139 graph.fadeNodes(graph.getNodesForCells([cell]), false); 160 graph.refresh(); 212 graph.setEnabled(false); 213 graph.setPanning(true); 219 graph.centerZoom = true; 277 graph.getModel().setRoot(graph.cloneCells([editorUi.editor.graph.getModel().getRoot()])[0]); 278 graph.maxFitScale = 1; 279 graph.fit(8); [all …]
|
H A D | anonymize.js | 42 var graph = editorUi.editor.graph; 43 var model = graph.model; 54 var label = graph.getLabel(cell); 56 if (graph.isHtmlLabel(cell))
|
H A D | edgeConnection.js | 9 var geo = this.graph.getCellGeometry(source); 13 source = this.graph.getModel().getParent(source); 14 geo = this.graph.getCellGeometry(source); 19 var geo = this.graph.getModel().getGeometry(clone); 23 var point = this.graph.getPointForEvent(evt); 24 geo.x = this.graph.snap(point.x - geo.width / 2) - this.graph.panDx / this.graph.view.scale; 25 geo.y = this.graph.snap(point.y - geo.height / 2) - this.graph.panDy / this.graph.view.scale; 36 if (Math.abs(this.graph.snap(this.first.x) - 37 this.graph.snap(point.x)) <= tol) 41 else if (Math.abs(this.graph.snap(this.first.y) - [all …]
|
H A D | explore.js | 17 var graph = ui.editor.graph; 19 if (graph.model.isVertex(graph.getSelectionCell())) 132 graph.setEnabled(false); 142 load(graph, cell); 172 graph.refresh(); 177 load(graph, cell); 207 if (tmp != graph.rootCell && graph.getModel().isVertex(tmp)) 218 var geo = graph.getModel().getGeometry(graph.rootCell); 226 graph.getModel().setGeometry(graph.rootCell, geo); 239 if (tmp != graph.rootCell && graph.getModel().isVertex(tmp) && [all …]
|
H A D | flow.js | 17 var graph = ui.editor.graph; 19 if (graph.model.isEdge(graph.getSelectionCell())) 32 if (ui.editor.graph.model.isEdge(cells[i])) 34 var state = ui.editor.graph.view.getState(cells[i]); 69 var cell = ui.editor.graph.getSelectionCell(); 71 if (ui.editor.graph.model.isEdge(cell)) 73 toggleFlow(ui.editor.graph.getSelectionCells()); 80 ui.editor.graph.click = function(me) 82 if (ui.editor.graph.model.isEdge(me.getCell()))
|
H A D | import.js | 7 var graph = ui.editor.graph; 17 var defaultParent = graph.getDefaultParent(); 86 var nodeVertex = graph.insertVertex(defaultParent, null, nodeName, x, y, defaultWidth, 88 graph.cellLabelChanged(nodeVertex, nodeName, true); 98 graph.insertEdge(defaultParent, null, '', nodeParent, nodeVertex, freeMindEdgeStyle); 120 graph.getModel().beginUpdate(); 124 var pt = graph.getFreeInsertPoint(); 147 graph.fireEvent(new mxEventObject('cellsInserted', 'cells', cells)); 151 graph.getModel().endUpdate(); 155 graph.setSelectionCells(cells); [all …]
|
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 | p1.js | 29 var graph = ui.editor.graph; 30 var graphGetGlobalVariable = graph.getGlobalVariable; 32 graph.getGlobalVariable = function(name) 49 var graphGetExportVariables = graph.getExportVariables;
|
H A D | page.js | 12 var graph = ui.editor.graph; 27 graph.getModel().beginUpdate(); 45 graph.getModel().endUpdate(); 69 var graph = ui.editor.graph; 84 graph.getModel().beginUpdate(); 95 graph.model.execute(change); 125 graph.getModel().endUpdate();
|