Lines Matching refs:graph

30 	    var graph = editorUi.editor.graph;
83 var graph = ui.editor.graph;
84 graph.popupMenuHandler.hideMenu();
91 240, Math.min(566, graph.container.clientHeight - 10), function(container)
121 var graph = ui.editor.graph;
122 graph.popupMenuHandler.hideMenu();
127 var w = Math.min(graph.container.clientWidth - 10, 218);
131 w - 6, Math.min(650, graph.container.clientHeight - 30),
329 var graph = this.editor.graph;
334 …this.setGridColor(Editor.isDarkMode() ? graph.view.defaultDarkGridColor : graph.view.defaultGridCo…
335 graph.defaultPageBackgroundColor = (urlParams['embedInline'] == '1') ? 'transparent' :
337 graph.defaultPageBorderColor = Editor.isDarkMode() ? '#505759' : '#ffffff';
338 graph.shapeBackgroundColor = Editor.isDarkMode() ? Editor.darkColor : '#ffffff';
339 graph.shapeForegroundColor = Editor.isDarkMode() ? Editor.lightColor : '#000000';
340 graph.defaultThemeName = Editor.isDarkMode() ? 'darkTheme' : 'default-style2';
341 graph.graphHandler.previewColor = Editor.isDarkMode() ? '#cccccc' : 'black';
344 graph.loadStylesheet();
374 Graph.prototype.defaultPageBackgroundColor = graph.defaultPageBackgroundColor;
375 Graph.prototype.defaultPageBorderColor = graph.defaultPageBorderColor;
376 Graph.prototype.shapeBackgroundColor = graph.shapeBackgroundColor;
377 Graph.prototype.shapeForegroundColor = graph.shapeForegroundColor;
378 Graph.prototype.defaultThemeName = graph.defaultThemeName;
747 var graph = this.editorUi.editor.graph;
753 if (graph.isEnabled())
757 if (graph.getSelectionCount() == 1)
765 if (graph.getSelectionCount() == 1)
767 if (graph.isCellFoldable(graph.getSelectionCell()))
769 this.addMenuItems(menu, (graph.isCellCollapsed(cell)) ? ['expand'] : ['collapse'], null, evt);
776 else if (graph.isSelectionEmpty() && graph.isEnabled())
785 else if (graph.isEnabled())
791 if (graph.isEnabled() && graph.isSelectionEmpty())
813 if (this.editorUi.editor.graph.isSelectionEmpty())
940 var graph = ui.editor.graph;
976 graph.popupMenuHandler.hideMenu();
1026 var graph = this.editorUi.editor.graph;
1027 var cell = graph.getSelectionCell();
1032 if (graph.model.isVertex(cell))
1252 }, parent, null, mxUtils.bind(graph, graph.isEnabled));
1378 var graph = this.editor.graph;
1385 graph.getSelectionModel().addListener(mxEvent.CHANGE, mxUtils.bind(this, function(sender, evt)
1387 if (graph.getSelectionCount() > 0)
1390 div.innerHTML = 'Selected: ' + graph.getSelectionCount();
1522 var graph = ui.editor.graph;
1659 graph.addListener('enabledChanged', updateState);
1764 this.editor.graph.popupMenuHandler.hideMenu();
1808 this.sidebar.graph.stylesheet.styles =
1809 mxUtils.clone(graph.stylesheet.styles);
1821 graph.refresh();
1822 graph.view.validateBackground();
1861 var gb = graph.getGraphBounds();
1957 graph.panningHandler.isPanningTrigger = function(me)
1962 !graph.freehand.isDrawing())) ||
1975 if (!graph.freehand.isDrawing())
1983 if (graph.freehand != null)
1985 var freehandCreateStyle = graph.freehand.createStyle;
1987 graph.freehand.createStyle = function(stencil)
2169 var cell = new mxCell('', new mxGeometry(0, 0, graph.defaultEdgeLength, 0), edgeStyle);
2183 cell.geometry.width = graph.defaultEdgeLength + 20;
2276 graph.popupMenuHandler.hideMenu();
2315 graph.isEditing()) ? 'inline-block' : 'none';
2477 elt.innerHTML = Math.round(ui.editor.graph.view.scale * 100) + '%';
2480 ui.editor.graph.view.addListener(mxEvent.EVENT_SCALE, updateZoom);
2715 graph.popupMenuHandler.hideMenu();
2728 graph.popupMenuHandler.hideMenu();