문제

I am using Prefuse java API in my java code to visualize a network. I was wondering, how can I save the image? I want to save it as a pdf? Thanks in advance.

도움이 되었습니까?

해결책

prefuse draws the graph visualization in a Display, which is a subclass of JComponent.

Thus you can apply tutorials to save Swing components on PDF:

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top