[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Sigma.js ForceAtlas2 animation NOT on a random graph.
Page 1 of 1

Sigma.js ForceAtlas2 animation NOT on a random graph.

Posted: 30 Jul 2013 05:49
by WeezyF
Sup homies!

So, I've use the sigma.js exporter thing to put a visualization i have on the web. And it worked super well. However, what I like most about gephi is to actually watch the algo run and see all the nodes organize themselves as if it were directed by magic.
Now, there is a sigma.js working example of an animated ForcedAtlas2 algo running in browser http://bit.ly/GOnRLF... BUT, in the example, he uses a random graph to animate run the algo on. And I cannot figure out how to use my own network data in his example.

My question is if anyone knows how to use your own gephi generated data in the sigma.js ForceAtlas2 instead of just using it on a randomly generated graph as he does in the example file.

Please, any help or guidance would be totally most excellently awesome.
Thanks! WEEZY

Re: Sigma.js ForceAtlas2 animation NOT on a random graph.

Posted: 31 Jul 2013 16:53
by eduramiba
Hi,
I think you just need to replace the graph generation code with loading the gexf file like here http://sigmajs.org/examples/gexf_example.html

Eduardo

Re: Sigma.js ForceAtlas2 animation NOT on a random graph.

Posted: 15 Aug 2013 03:22
by computermacgyver
Look at the comment and reply on this blog: http://blogs.oii.ox.ac.uk/vis/?page_id= ... ment-25061 for one way of doing this (requiring a bit of html/js editing).