[SOLVED] Changing Edge Weights over Time

Evolution and dynamics on networks in Gephi: UI, data formats, algorithms...
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
shoshibell
Posts:4
Joined:01 Aug 2012 17:27
[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
[SOLVED] Changing Edge Weights over Time

Post by shoshibell » 01 Aug 2012 17:30

Hello

I've got a social network I would like to map over time where the strengths of relationships (Weight) changes year to year. However, when I import my edge list, Gephi groups the nodes into one weighting. How can I keep them as separate edge records?

I have my EdgeList set up like this right now:
Source Target Type Weight TimeInterval
5 11 Directed 1 <[2004.0, 2005.0]>
5 11 Directed 6 <[2005.0, 2008.0]>


Sho

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: Changing Edge Weights over Time

Post by eduramiba » 01 Aug 2012 18:32

Hi Sho,
You need to specify the edge in one line. So, your example would be:

Code: Select all

Source Target Type Weight 
5 11 Directed "<[2004.0, 2005.0, 1]; [2005.0, 2006.0, 6]>"
Add time interval if you need to, too.

But there is a small problem, read this thread first http://forum.gephi.org/viewtopic.php?t=1668, open the empty dynamic file, then import you data. We still need a button in the UI to convert weight to dynamic.

Eduardo

shoshibell
Posts:4
Joined:01 Aug 2012 17:27
[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: Changing Edge Weights over Time

Post by shoshibell » 01 Aug 2012 20:08

Perfect - Works fine now, thank you!

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