Lines Matching refs:graph
168 final mxGraph graph = graphComponent.getGraph(); in BasicGraphEditor() local
172 graph.setResetViewOnRootChange(false); in BasicGraphEditor()
175 graph.getModel().addListener(mxEvent.CHANGE, changeTracker); in BasicGraphEditor()
178 graph.getModel().addListener(mxEvent.UNDO, undoHandler); in BasicGraphEditor()
179 graph.getView().addListener(mxEvent.UNDO, undoHandler); in BasicGraphEditor()
188 graph.setSelectionCells(graph in BasicGraphEditor()
781 final mxGraph graph = graphComponent.getGraph();
782 Object cell = graph.getSelectionCell();
785 || graph.getModel().getChildCount(cell) == 0)
787 cell = graph.getDefaultParent();
790 graph.getModel().beginUpdate();
808 graph.getModel().endUpdate();
844 mxGraph graph = graphComponent.getGraph();
848 layout = new mxHierarchicalLayout(graph);
852 layout = new mxHierarchicalLayout(graph, JLabel.WEST);
856 layout = new mxCompactTreeLayout(graph, false);
860 layout = new mxCompactTreeLayout(graph, true);
864 layout = new mxParallelEdgeLayout(graph);
868 layout = new mxEdgeLabelLayout(graph);
872 layout = new mxOrganicLayout(graph);
876 layout = new mxPartitionLayout(graph, false)
890 layout = new mxPartitionLayout(graph, true)
904 layout = new mxStackLayout(graph, false)
918 layout = new mxStackLayout(graph, true)
932 layout = new mxCircleLayout(graph);