Pregunta

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.

¿Fue útil?

Solución

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:

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top