It's easy to zoom in/out graph using GraphZoomScrollPane in JUNG. However, I cannot make the graph background image zooming together with the graph 开发者_C百科itself. How to do it?
If I can understand you correctly, try to see JUNG's StaticLayout
example in WorldMapGraphDemo.class sample from JUNG example source package. In this example, you can zoom in/out both layout and view--in effect the background image will zoom in/out together with the elements of the graph.
精彩评论