开发者

How to zoom background together with graph using JUNG?

开发者 https://www.devze.com 2023-04-08 18:29 出处:网络
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 understan

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消