Automatic layout size in Zest [message #246815] |
Fri, 09 January 2009 07: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 #246891 is a reply to message #246858] |
Thu, 15 January 2009 04:02  |
Eclipse User |
|
|
|
Hi Ian,
thanks for your answer. I've entered the request in bugzilla (261163).
Regards,
Chris
Ian Bull wrote:
> 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.05867 seconds