JUNG Export editable Graph in a VisualizationViewer into an image [duplicate]

StackOverflow https://stackoverflow.com/questions/17686576

  •  03-06-2022
  •  | 
  •  

سؤال

I have an editable VisualizationViewer inside a GraphZoomScrollPane. After moving and reorganizing the graph I want to save the edited version into a image file.

When I tried using VisualizationImageServer it requires the layout which removes the modifications and set up the nodes to the original layout.

By printing the JPanel into the image, I only get the visible portion and I need the full image to be saved.

هل كانت مفيدة؟

المحلول

I'm not an expert on Jung, but this question seems to provide a workable approach to what you want to do:

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top