Automatic layout size in Zest [message #246815] |
Fri, 09 January 2009 12:20 |
Eclipse User |
|
|
|
Originally posted by: csaad.gmx.net
Hi,
I'd like to know wheter there is any possibility to let Zest compute the
optimal size for the layouted graph instead of passing the required size
in the applyLayout() method.
The problem with the specification of a concrete size is that it depends
of the number of elements and the selected layouting algorithm, so it is
not possible to do this automatically without manual adjustments by the
user.
Thanks,
Chris
|
|
|
Re: Automatic layout size in Zest [message #246858 is a reply to message #246815] |
Wed, 14 January 2009 16:51 |
Eclipse User |
|
|
|
Originally posted by: irbull.cs.uvic.ca
C. Saad wrote:
> Hi,
>
> I'd like to know wheter there is any possibility to let Zest compute the
> optimal size for the layouted graph instead of passing the required size
> in the applyLayout() method.
In general, no. Spring algorithms (for example) would continue to push
away forever, if it was not bounded. However, tree based algorithms
could probably be made to work this way.
Can you file an enhancement request under GEF->Zest for this?
> The problem with the specification of a concrete size is that it depends
> of the number of elements and the selected layouting algorithm, so it is
> not possible to do this automatically without manual adjustments by the
> user.
>
> Thanks,
> Chris
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02874 seconds