GraphStream Users

Archives de la liste Aide


GRAPH_IN_ANOTHER_THREAD breaks autoLayout


Chronologique Discussions 
  • From: klahaag AT googlemail.com
  • To: "graphstream" <graphstream-users AT litislab.fr>
  • Subject: GRAPH_IN_ANOTHER_THREAD breaks autoLayout
  • Date: Sat, 30 Jun 2012 23:53:15 +0200
  • Importance: Normal

Seems like I am out of luck:
With Viewer.ThreadingModel.GRAPH_IN_ANOTHER_THREAD the viewer.enableAutoLayout()
method does not work properly anymore.
Several nodes are directly on top of each other. This does not happen with GRAPH_IN_SWING_THREAD.
Offending code:
Tested on Win 7.
 
Can anyone confirm this? Does anyone know a workaround? I basically want to be able to
change the style of the node and use the autolayout option.
Regards
Klaus



Archives gérées par MHonArc 2.6.16.

Top of page