开发者

How to zoom background together with graph using JUNG?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜