Does anyone know if the JGoTreeAutoLayout can be configured to layout it’s tree within the center of the JGoDocument?
I am only able to get me nodes to layout and appear in the top, left hand position of my JGoDocument, but not in the center.
Here is my Use Case:
- My document has a size of 1000 x 1000 pixels.
- After performLayout, my tree appears in the top, left hand corner of the document and has a size of 600 x 600 pixels.
- I would like the complete tree to appear within the center of the document and have a 200 pixel margin surrounding it.
I have read the JGoTreeAutoLayout API… my apologies if I missed something.