At the moment, a call to setSize() to resize any GraphLayout will result in the current layout being moved to the centre of the new window (see bug tracker for when this fails with AggregateLayout).
It would be really useful if the vertices were scaled to fill the new window space instead.
For example, start with a simple 100x100px window with vertices on each corner. If the window is resized to be 200x200px (the relevant setSize() methods are called on window movement - also listed in the bug tracker), then the 4 vertices will be move to be centred in the middle of the new window but will still have the 100x100px square shape. In this RFE, the vertices would be moved to be positioned at the corners of the 200x200px square.
Log in to post a comment.