GraphStream Users

Archives de la liste Aide


Re: Disabling auto-panning/zooming


Chronologique Discussions 
  • From: guilhelm savin <guilhelm.savin AT gmail.com>
  • To: graphstream-users AT litislab.fr, klahaag AT googlemail.com
  • Subject: Re: Disabling auto-panning/zooming
  • Date: Sun, 1 Jul 2012 12:31:42 +0200

Hi Klaus,

Camera.setAutoFitView(false) should do that.

|
| Graph g = ... ;
| Viewer v  = new Viewer(g,  ThreadingModel.GRAPH_IN_ANOTHER_THREAD);
| View view = v.addDefaultView();
|
| view.getCamera().setAutoFitView(false);
|

Regards.
Guilhelm


2012/7/1 <klahaag AT googlemail.com>
Hello,
is it possible to disable the auto-panning/zooming of the Swing Viewer temporarily?
 
Best regards,
Klaus



--
Guilhelm Savin
PhD Student of Computer Science




Archives gérées par MHonArc 2.6.16.

Top of page