GraphStream Users

Archives de la liste Aide


A question about Viewer.DisableAutoLayout()


Chronologique Discussions 
  • From: wbh <wangbaohua2009 AT 163.com>
  • To: graphstream-users AT litislab.fr
  • Subject: A question about Viewer.DisableAutoLayout()
  • Date: Mon, 25 Jan 2016 17:48:40 +0800 (CST)

Hello Dears,
I am confused that:
why following code work
Viewer viewer = graph.display();
viewer.disableAutoLayout();

and following code not?
Viewer viewer = new Viewer(graph, Viewer.ThreadingModel.GRAPH_IN_GUI_THREAD);
viewer.disableAutoLayout();
graph.display();

Thanks!
baohua


 




Archives gérées par MHonArc 2.6.16.

Top of page