With the use of the FreeHEP VectorGraphics library yFiles for Java (Swing) provides capabilities to export a graph in the PDF, EPS and EMF formats. It is also easy to add arbitrary objects to the GraphComponent
and interact with them via InputModes
.
The demo's ANT build file automatically downloads a suitable version of the VectorGraphics library.