Exporting JUNG graphs to hi-res images (preferably vector based)

前端 未结 4 1142
被撕碎了的回忆
被撕碎了的回忆 2020-12-03 09:16

In one of my projects I use JUNG2 to visualize a very large multiple-parent hierarchy graph, displayed in an applet. I would need to export the whole/parts of the graph to h

4条回答
  •  醉酒成梦
    2020-12-03 09:36

    Basically a PNG suffices. The dimension of resolution in a BufferedImage is pixels, not dpi. So you need to double/triple your width and height to receive a better resolution.

    Graphics2D could scale too for the JUNG graphs.

提交回复
热议问题