Lines Matching refs:graph

158 					mxGraph graph = graphComponent.getGraph();  in ToggleGridItem()
159 boolean enabled = !graph.isGridEnabled(); in ToggleGridItem()
161 graph.setGridEnabled(enabled); in ToggleGridItem()
261 mxGraph graph = graphComponent.getGraph(); in actionPerformed() local
267 codec.decode(doc.getDocumentElement(), graph in actionPerformed()
269 graph.refresh(); in actionPerformed()
633 mxGraph graph = graphComponent.getGraph(); in actionPerformed() local
645 graph, null, graph.getView().getScale(), bg, in actionPerformed()
657 String xml = mxUtils.getXml(codec.encode(graph.getModel())); in actionPerformed()
787 mxGraph graph = graphComponent.getGraph(); in actionPerformed() local
788 mxIGraphModel model = graph.getModel(); in actionPerformed()
793 Object[] cells = graph.getSelectionCells(); in actionPerformed()
810 int steps = graph.getChildEdges(graph.getDefaultParent()).length; in actionPerformed()
812 .getShortestPath(graph, source, target, in actionPerformed()
815 graph.setSelectionCells(path); in actionPerformed()
850 mxGraph graph = graphComponent.getGraph(); in actionPerformed() local
851 mxIGraphModel model = graph.getModel(); in actionPerformed()
853 Object parent = graph.getDefaultParent(); in actionPerformed()
854 Object[] cells = graph.getSelectionCells(); in actionPerformed()
863 Object[] v = graph.getChildVertices(parent); in actionPerformed()
865 .getMinimumSpanningTree(graph, v, in actionPerformed()
867 graph.setSelectionCells(mst); in actionPerformed()
1142 mxGraph graph = null; in execute() local
1145 graph = (mxGraph) target; in execute()
1147 graph = ((mxGraphComponent) target).getGraph(); in execute()
1150 graph.refresh(); in execute()
1310 mxGraph graph = editor.getGraphComponent().getGraph(); in actionPerformed() local
1314 graph.getModel().setRoot(root); in actionPerformed()
1337 mxGraph graph = mxGraphActions.getGraph(e); in actionPerformed() local
1339 if (graph != null && !editor.getConfig().isNew()) { in actionPerformed()
1362 codec.decode(document.getDocumentElement(), graph.getModel()); in actionPerformed()
1416 mxGraph graph = mxGraphActions.getGraph(e); in actionPerformed() local
1418 if (graph != null) { in actionPerformed()
1419 graph.toggleCellStyles(key, defaultValue); in actionPerformed()
1448 mxGraph graph = mxGraphActions.getGraph(e); in actionPerformed() local
1450 if (graph != null && !graph.isSelectionEmpty()) { in actionPerformed()
1451 graph.getModel().beginUpdate(); in actionPerformed()
1458 graph.setCellStyles(mxConstants.STYLE_LABEL_POSITION, in actionPerformed()
1460 graph.setCellStyles(mxConstants.STYLE_ALIGN, alignment); in actionPerformed()
1462 graph.setCellStyles( in actionPerformed()
1465 graph.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN, in actionPerformed()
1469 graph.getModel().endUpdate(); in actionPerformed()
1498 mxGraph graph = mxGraphActions.getGraph(e); in actionPerformed() local
1500 if (graph != null && !graph.isSelectionEmpty()) { in actionPerformed()
1501 graph.setCellStyle(value); in actionPerformed()
1538 mxGraph graph = mxGraphActions.getGraph(e); in actionPerformed() local
1540 if (graph != null && !graph.isSelectionEmpty()) { in actionPerformed()
1541 graph.setCellStyles(key, value); in actionPerformed()
1571 mxGraph graph = mxGraphActions.getGraph(e); in actionPerformed() local
1573 if (graph != null && !graph.isSelectionEmpty()) { in actionPerformed()
1584 graph.setCellStyles(key, value); in actionPerformed()
1614 mxGraph graph = mxGraphActions.getGraph(e); in actionPerformed() local
1616 if (graph != null && !graph.isSelectionEmpty()) { in actionPerformed()
1617 graph.alignCells(align); in actionPerformed()
1632 mxGraph graph = mxGraphActions.getGraph(e); in actionPerformed() local
1634 if (graph != null && !graph.isSelectionEmpty()) { in actionPerformed()
1635 graph.updateCellSize(graph.getSelectionCell()); in actionPerformed()
1667 mxGraph graph = graphComponent.getGraph(); in actionPerformed() local
1669 if (!graph.isSelectionEmpty()) { in actionPerformed()
1674 graph.setCellStyles(key, mxUtils.hexString(newColor)); in actionPerformed()
1780 mxGraph graph = graphComponent.getGraph(); in actionPerformed() local
1781 String initial = graph.getModel().getStyle( in actionPerformed()
1782 graph.getSelectionCell()); in actionPerformed()
1789 graph.setCellStyle(value); in actionPerformed()