GraphStream Users

Archives de la liste Aide


how to update the layout after adding / removing node and edges ?


Chronologique Discussions 
  • From: Vincent Berenz <vberenz AT tuebingen.mpg.de>
  • To: graphstream-users AT litislab.fr
  • Subject: how to update the layout after adding / removing node and edges ?
  • Date: Thu, 13 Jul 2017 18:32:52 +0200

Hello,

I am a new happy user of graphstream. It is easy to use and looks great, I just have this issue:

- After creating a graph, I call its display function (passing true as argument)
- The ui appears and the graph pops out, the layout is applied and looks cool
- During later iterations, some node and edges are added or removed. The layout is either not applied at all on these new items, or partially applied (the graph starts to rearrange, but stops). See attached image.

After the first "display" call, I do not call any method for updating or refreshing (should I?).

I run on ubuntu 14.04. The issue is there whether or not I used the "ui.quality" attribute.

Anything I may be missing ?

Thanks,

Vincent


Attachment: Screenshot from 2017-07-13 18:29:08.png
Description: PNG image



  • how to update the layout after adding / removing node and edges ?, Vincent Berenz, 13/07/2017

Archives gérées par MHonArc 2.6.16.

Top of page