Home
last modified time | relevance | path

Searched refs:graph (Results 26 – 50 of 191) sorted by path

12345678

/plugin/diagramsnet/lib/js/diagramly/
H A DEditor.js402 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 DEditorUi.js807 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 DElectronApp.js300 var graph = this.editor.graph;
466 graph.setSelectionCell(graph.insertVertex(null, null, '', pt.x, pt.y, w, h,
528 var graph = new Graph();
534 return graph;
623 var graph = this.editor.graph;
628 (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent())));
1921 var graph = this.editor.graph;
1957 var bg = graph.background;
1973 size: graph.gridSize,
1975 color: graph.view.gridColor
[all …]
H A DEmbed.js78 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 DExtensions.js5634 addCustomData(cell, p, graph);
5822 function createVertex(obj, graph) argument
5836 updateCell(v, obj, graph);
6207 graph.getModel().beginUpdate();
6440 graph.addCell(layerCell, graph.model.root);
6493 graph.getModel().endUpdate();
6501 var graph = new Graph();
6507 return graph;
6758 var graph = createGraph();
13553 addCustomData(v, p, graph);
[all …]
H A DGitHubFile.js24 this.ui.editor.graph.openLink('https://github.com/' +
H A DGitLabFile.js23 this.ui.editor.graph.openLink(DRAWIO_GITLAB_URL + '/' +
H A DGraphViewer.js577 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 …]
H A DMenus.js57 var graph = editorUi.editor.graph;
171 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent()))
856 graph.setShadowVisible(!graph.shadowVisible);
1296 var graph = editorUi.editor.graph;
3021 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent()))
3030 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent()))
3038 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent()))
3046 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent()))
3964 var graph = this.ui.editor.graph;
3997 var graph = editorUi.editor.graph;
[all …]
H A DMinimal.js30 var graph = editorUi.editor.graph;
83 var graph = ui.editor.graph;
121 var graph = ui.editor.graph;
329 var graph = this.editor.graph;
747 var graph = this.editorUi.editor.graph;
767 if (graph.isCellFoldable(graph.getSelectionCell()))
791 if (graph.isEnabled() && graph.isSelectionEmpty())
940 var graph = ui.editor.graph;
1026 var graph = this.editorUi.editor.graph;
1378 var graph = this.editor.graph;
[all …]
H A DOneDriveFile.js77 this.ui.editor.graph.openLink(url);
H A DP2PCollab.js8 var graph = ui.editor.graph;
43 graph.addMouseListener(
52 var tr = graph.view.translate;
53 var s = graph.view.scale;
100 var tr = graph.view.translate;
101 var s = graph.view.scale;
H A DPages.js167 var graph = editor.graph;
419 var graph = this.editor.graph;
546 var graph = this.editor.graph;
1102 var graph = this.editor.graph;
1165 var graph = this.editor.graph;
1212 var graph = this.editor.graph;
1260 var graph = this.editor.graph;
1601 var graph = this.editor.graph;
1648 var graph = this.editor.graph;
1672 if (graph.isEnabled() && !graph.isMouseDown &&
[all …]
H A DTrees.js149 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 DmxFreehand.js1 function mxFreehand(graph) argument
4 …var svgElement = (graph.view != null && graph.view.canvas != null) ? graph.view.canvas.ownerSVGEle…
6 if (graph.container == null || svgElement == null)
201 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent()))
204 var s = graph.view.scale;
223 graph.setSelectionCells([cell]);
262 graph.addMouseListener(
266 if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent()))
316 if (path && graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent()))
325 var tr = graph.view.translate;
[all …]
H A DmxRuler.js109 var graph = editorUi.editor.graph;
110 this.graph = graph;
152 var scale = graph.view.scale;
154 var t = graph.view.translate;
155 var hasPageView = graph.pageVisible;
159 …: RULER_THICKNESS + (isVertical? t.y * scale - graph.container.scrollTop : t.x * scale - graph.co…
166 var layout = graph.getPageLayout();
318 var div = graph.container;
356 var newScroll = isVertical? graph.container.scrollTop : graph.container.scrollLeft;
558 this.graph.removeListener(this.sizeListener);
[all …]
/plugin/diagramsnet/lib/js/diagramly/graphml/
H A DmxGraphMlCodec.js25 var graph = this.createMxGraph();
26 var model = graph.getModel();
33 this.importGraph(pageElement, graph, graph.getDefaultParent());
62 var cells = graph.getModel().cells;
63 var tr = graph.view.translate;
78 var state = graph.view.getState(edge);
115 mxFile += this.processPage(graph, i+1);
489 var graph = new mxGraph();
495 return graph;
588 graph.addCell(node, parent);
[all …]
/plugin/diagramsnet/lib/js/diagramly/sidebar/
H A DSidebar-Advanced.js79 var cell = sb.graph.cloneCell(flow);
H A DSidebar.js1367 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 DVsdxExport.js106 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 …]
H A Dimporter.js127 var model = graph.getModel();
492 var graph = new Graph();
493 graph.setExtendParents(false);
496 graph.setHtmlLabels(true);
498 return graph;
630 graph.getModel().setValue(graph.getDefaultParent(), page.getPageName());
632 graph.addCell(backCell, graph.getModel().getRoot(), 0, null, null);
633 this.importPage(backPage, graph, graph.getDefaultParent());
686 graph.addCell(layerCell, graph.model.root, layerIndex);
744 this.sanitiseGraph(graph);
[all …]
/plugin/diagramsnet/lib/js/
H A Dembed.dev.js78 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 Dexport.js26 var graph = new Graph(container);
95 return graph;
370 var view = graph.view;
424 graph.setEnabled(false);
570 graph.pageScale = ps;
618 if (!graph.pdfPageVisible)
701 bounds = (graph.pdfPageVisible) ? graph.view.getBackgroundPageBounds() : graph.getGraphBounds();
707 if (graph.pdfPageVisible)
741 graph.container.parentNode.removeChild(graph.container);
789 graph.addSvgShadow(graph.view.canvas.ownerSVGElement, null, true);
[all …]
H A Dextensions.min.js1053graph,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.
1728graph());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/grapheditor/
H A DActions.js21 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 …]

12345678