Lines Matching refs:graph
56 var graph = editorUi.editor.graph;
84 var graph = editorUi.editor.graph;
101 return graph.getTagsForCells(graph.model.getDescendants(
102 graph.model.getRoot()));
139 var graphIsCellVisible = graph.isCellVisible;
141 graph.isCellVisible = function(cell)
145 !matchTags(graph.getTagsForCell(cell), hiddenTags, hiddenTagCount));
150 var cells = graph.getCellsForTags([tag], null, true);
157 if (graph.model.isVertex(cells[i]) || graph.model.isEdge(cells[i]))
163 graph.setCellsVisible(cells, visible);
210 if (!graph.isSelectionEmpty())
212 graph.addTagsForCells(graph.getSelectionCells(), [tag])
222 graph.refresh();
228 if (!graph.isSelectionEmpty())
230 graph.removeTagsForCells(graph.getSelectionCells(), [tag])
240 graph.refresh();
266 if (graph.isSelectionEmpty())
274 …updateSelectedTags(getAllTags(), getLookup(graph.getCommonTagsForCells(graph.getSelectionCells()))…
282 graph.selectionModel.addListener(mxEvent.CHANGE, function(sender, evt)
287 graph.model.addListener(mxEvent.CHANGE, function(sender, evt)
302 graph.addTagsForCells(graph.getSelectionCells(), searchInput.value.toLowerCase().split(' '));
334 graph.container.focus();