Displaying the graph layout process on the web

Graphs inside the browser
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
User avatar
WeezyF
Posts:48
Joined:03 May 2012 02:29
[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
Displaying the graph layout process on the web

Post by WeezyF » 25 Jun 2012 03:39

Yooo- I love, how in Gephi, when you run an algorithm, you see all the nodes like dancing around. Like... when you first load in some data, then as soon as you hit that run the algorithm, they all start going ape shit, then they start to self organize...

Is it possible to export that process to be viewable on a webpage..?
Basically, to export what you see in Gephi 'graph' window. The only way i have been able to do so so far is to record my screen. but thats just not the same .

for example from the Gephi youtube video, the link below at around 30sec to 50sec.
http://youtu.be/bXCBh6QH5W0?t=33s

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[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: Displaying the graph layout process on the web

Post by eduramiba » 25 Jun 2012 15:03

Hi,
I think you can use sigma.js, done with javascript, which implements Force Atlas 2.
http://sigmajs.org/examples/random_clusters.html

Eduardo

User avatar
WeezyF
Posts:48
Joined:03 May 2012 02:29
[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: Displaying the graph layout process on the web

Post by WeezyF » 26 Jun 2012 02:21

Thanks. I've been looking into the sigma.js plugin. however, I haven't figured out a way to run the algorithm on a non-random generated nodes...
https://forum.gephi.org/viewtopic.php?f=28&t=1900#p6766

User avatar
WeezyF
Posts:48
Joined:03 May 2012 02:29
[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: Displaying the graph layout process on the web

Post by WeezyF » 02 Jul 2012 23:04

stirring up the pot again;
http://mbostock.github.com/d3/ex/force.html

d3 seems to nail this. It would be so amazing if we could have this type of interactivity for our gephi graphs. However, to use this, one must convert to the gexf file to JSON. Is there any easy way to do this? zzz

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