Lines Matching refs:graph
162 // Stores a reference to the graph and creates the command history
164 final mxGraph graph = graphComponent.getGraph();
168 graph.setResetViewOnRootChange(false);
170 // Updates the modified flag if the graph model changes
171 graph.getModel().addListener(mxEvent.CHANGE, changeTracker);
174 graph.getModel().addListener(mxEvent.UNDO, undoHandler);
175 graph.getView().addListener(mxEvent.UNDO, undoHandler);
184 graph.setSelectionCells(graph
192 // Creates the graph outline component
199 // palettes and the graph outline on the left side of the window
208 // the graph component on the right side of the window
458 // Handles mouse wheel events in the outline and graph component
488 // Installs the popup menu in the graph component
755 * to create the layout instance for the commercial graph editor example.
813 mxGraph graph = graphComponent.getGraph();
817 layout = new mxHierarchicalLayout(graph);
821 layout = new mxHierarchicalLayout(graph, JLabel.WEST);
825 layout = new mxCompactTreeLayout(graph, false);
829 layout = new mxCompactTreeLayout(graph, true);
833 layout = new mxParallelEdgeLayout(graph);
837 layout = new mxEdgeLabelLayout(graph);
841 layout = new mxOrganicLayout(graph);
845 layout = new mxPartitionLayout(graph, false)
849 * graph control.
859 layout = new mxPartitionLayout(graph, true)
863 * graph control.
873 layout = new mxStackLayout(graph, false)
877 * graph control.
887 layout = new mxStackLayout(graph, true)
891 * graph control.
901 layout = new mxCircleLayout(graph);