For different Layout in Gephi

User's perspective on software quality
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
yuyaxuan
Posts:11
Joined:04 Oct 2012 20:18
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
For different Layout in Gephi

Post by yuyaxuan » 17 Oct 2012 14:27

Hey...I am now just doing some java programing integrating Gephi. So I downloaed the example code and I found that they are using YifanHuLayout like this YifanHuLayout layout = new YifanHuLayout(null, new StepDisplacement(1f));
So I am wondering despite YifanHulayout, Do we have other layout that can be used here? If so, is it also just like a class that we can directly call?

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: For different Layout in Gephi

Post by admin » 17 Oct 2012 16:08

Hi,

Any other layout can be used.

yuyaxuan
Posts:11
Joined:04 Oct 2012 20:18
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: For different Layout in Gephi

Post by yuyaxuan » 23 Oct 2012 12:39

admin wrote:Hi,

Any other layout can be used.

Hey, Thank you for your reply...But I just know that for example YifanHu algorithm can be used by just define the layout like

YifanHuLayout layout = new YifanHuLayout(null, new StepDisplacement(100));

But for outher layout algorithm, like force Atalas..How can we use it?

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable