GraphStream Users

Archives de la liste Aide


Re: restart the automatic layout algorithm


Chronologique Discussions 
  • From: Antoine Dutot <antoine.dutot AT gmail.com>
  • To: graphstream-users AT litislab.fr
  • Subject: Re: restart the automatic layout algorithm
  • Date: Mon, 25 Jul 2011 16:44:51 +0200

Hi,

This is a known bug, corrected on github.

To disable the pausing, you can set an attribute on the graph
"layout.stabilization-limit" to the value 0. The auto-layout will
never stop with this value.

In fact, this attribute is fixed to a quite conservative value that
stops the layout early (0.9). The values are between 0 and 1. You can
set it to a higher value (0.95 or 0.96 for example) to let the layout
adjust the result (with a non bugged version :-)).

Antoine

2011/7/25 Luc Hogie
<luc.hogie AT i3s.unice.fr>:
> Hi,
>
> Once the layout algo has stabilized, it stops. Unfortunately I cannot get it
> to
> restart when I alter the topology of my graph.
> In particular "viewer.enableAutoLayout()" has no effect.
>
> Can you please indicate me how to restart the auto-layout?
>
> Actually it would be even better if it never stopped (like it did in the
> previous version of GS).
>
> Thanks,
> Luc.
>
> --
> Luc Hogie - CNRS Research Engineer
> COMRED Research Unit (I3S(CNRS-UNS) INRIA)
>
> http://www-sop.inria.fr/members/Luc.Hogie/
> luc.hogie AT inria.fr
> +33 4 89 73 24 25 (office)
> +33 6 80 91 40 71 (mobile)
> Skype ID: luchogie
>
>



Archives gérées par MHonArc 2.6.16.

Top of page