Need more space for ZEST2 GraphNodes in GraphContainer [message #718751] |
Thu, 25 August 2011 05:00  |
Eclipse User |
|
|
|
Hello,
I use the 'ZEST 2' GraphContainer to cluster some Nodes.
I need space for much more nodes than the default provides.
If I try to resize the container with GraphContainer#setSize
the GraphContainer scales up with the content instead of providing
more space for more nodes (see attachements).
GraphContainer#setScale has no effect with a value < 1 and enlarges
the inner scroll pane with value > 1.
Any ideas ?
|
|
|
|
|
|
|
Re: Need more space for ZEST2 GraphNodes in GraphContainer [message #761069 is a reply to message #753883] |
Mon, 05 December 2011 16:02  |
Eclipse User |
|
|
|
Hello Daniel
I am currently using the modified GraphContainer class you posted here. It solved the problem, thanks a lot.
But I am having some issues with the layout inside of the containers.
1 - the scrollPane is quite bigger than it should be, and it starts showing the right of the container, but the nodes are drawn on the left part of it, so unless i manually scroll left the scrollPane, it is only showing half of the nodes inside of it.
2 - when i expand the first container, the graph loses its layout (there are 2 containers connected by an edge, and i am using the HorizontalShiftAlgorithm layout) and the second container goes below the first one
Any idea on how to solve these problems? Any advice is welcome
|
|
|
Powered by
FUDForum. Page generated in 0.04173 seconds