GraphStream Users

Archives de la liste Aide

Re: How much control do we have over the layout algorithm?

Chronologique Discussions 
  • From: Mauricio Carvalho <mauricio0copo AT>
  • To: graphstream-users AT, guilhelm savin <guilhelm.savin AT>
  • Subject: Re: How much control do we have over the layout algorithm?
  • Date: Sun, 30 Jun 2013 21:19:32 -0300

Sorry, but you give further instrunctions on how to use the openord algorithm?

2013/6/12 guilhelm savin <guilhelm.savin AT>
Hi Szabolcs,

You can get more control over the layout algorithm by building a viewer by yourself :

Graph g = ... ;


Viewer v = new Viewer(g, Viewer.TheadingModel.GRAPH_IN_ANOTHER_THREAD);

LinLog layout = new LinLog();

You can find two layouts in gs-core, LinLog and SpringBox. There is also an adaptation of the OpenOrd layout here :
We want to implement new layout algorithms since a long time but ... 


2013/6/12 Szabolcs Horvat <szhorvat AT>
Hello again,

I was wondering, how much control can be exercised over the automatic graph layout algorithm?

Is there any other algorithm available than the default force directed one?  Is it possible to control some parameters of the default algorithm?  From what I could get from the docs, it seems that it should be possible to implement a new layout algorithm, but there is only a single built-in one.  Is this correct?

Thanks for any help in advance,

Guilhelm Savin
PhD Student of Computer Science

Archives gérées par MHonArc 2.6.16.

Top of page