How to manually set the zoom on a Jung visualisation?
I have a jung tree displayed in a JPanel. The constructor of my tree looks like this: Forest<String, Integer> graph = new DelegateForest<String, Integer>(); static GraphZoomScrollPane panel = null; static DefaultModalGraphMouse graphMouse = null; static JComboBox modeBox = null; static ScalingControl scaler; public PanelTree(List<Cluster> clist) { setBounds(215, 10, 550, 550); updateData(clist); // adds vertex and edges to graph treeLayout = new TreeLayout<String, Integer>(graph); vv = new VisualizationViewer<String, Integer>(treeLayout, new Dimension(500, 500)); vv.setBackground(Color.white);