[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
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2016-08-09T11:56:01+01:00 https://www.forum-gephi.org/app.php/feed/topic/3449 2016-08-09T11:56:01+01:002016-08-09T11:56:01+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=12960#p12960 <![CDATA[Re: [Solved] Dynamic graphs and edge aggregation]]>
Good luck!

Statistics:Posted by maryjohn — 09 Aug 2016 11:56


]]>
2014-11-20T00:23:43+01:002014-11-20T00:23:43+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=10890#p10890 <![CDATA[Re: [Solved] Dynamic graphs and edge aggregation]]> Statistics:Posted by mars0i — 20 Nov 2014 00:23


]]>
2014-10-14T19:44:29+01:002014-10-14T19:44:29+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=10781#p10781 <![CDATA[Re: [Solved] Dynamic graphs and edge aggregation]]> Statistics:Posted by TammaraBa8 — 14 Oct 2014 19:44


]]>
2014-06-19T17:18:39+01:002014-06-19T17:18:39+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=10469#p10469 <![CDATA[Re: [Solved] Dynamic graphs and edge aggregation]]>
Thank you for the kind note. I appreciate it very much. And, no apologies necessary for your English--it's quite good actually, and you should proud of it.

In answering your question about Gephi losing duplicate edges on a CSV import, I lost track of your requirement that edges can have different weights upon their reappearance. Let me look into that because it would help me, too. I can think of a solution that might work, but I haven't tried it yet.

Finally, I didn't "waste" any time in helping to answer your questions. It helped me, too, and because I am an enthusiastic supporter of network research and Gephi, I'm happy to help out from time to time on the forum.

Francis

Statistics:Posted by francis_flavin — 19 Jun 2014 17:18


]]>
2014-06-19T08:46:14+01:002014-06-19T08:46:14+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=10467#p10467 <![CDATA[[Solved] Dynamic graphs and edge aggregation]]>
Thank you for :
  • All your answers.
  • Your patience
  • The accuracy of your answers
  • Helping me
  • Many other things
I'm quite disappointed by the fact that this function does not exist (the edge weight that could vary with time). It was pretty important to me. Well, back to R.
Gephi is still a great software, easy to manipulate and with many possibilities.

The multiple intervals trick that you pointed out is very valuable, I didn't know it. I'll use it in other projects.

As I said, English is not my mother tongue, and sometimes I try to use fancy words instead of being simple and clear, and I shouldn't. My bad. I'll edit my previous messages.

In a nutshell, thank you Francis, and sorry for the time you wasted with me when I should have been looking for existing answers in this forum (well, actually I did but obviously not enough).

Fare well,
Vongo

Statistics:Posted by Vongow — 19 Jun 2014 08:46


]]>
2014-06-18T18:35:58+01:002014-06-18T18:35:58+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=10465#p10465 <![CDATA[Re: Dynamic graphs and edge aggregation]]>
I think that the key point is that, to my understanding, the current version of Gephi does not allow for duplicate edges (defined as having the same source and target) via a CSV import. This might change at some point, or so it says elsewhere on this site.

Here's a helpful link: https://forum.gephi.org/viewtopic.php?f ... dges#p9136

In your most recent example, the import function will treat all edges as the same and, it seems, use some formula to increase the weight of that edge.

Here's a solution, I think: use "spells" if you're interested in building a .GEXF file or, if you're working with spreadsheet data, to include an edge's on/off times in the edges time interval field.

For the CSV approach, try to specify a time interval like this: "<[i1] [i2] ... [iN]>" where each interval has its own start_time and end_time specified appropriately. Note, you can use square brackets ("[" or "]") to include a start or end time, or a parenthesis ("(" or ")") to start immediately after a start time or end immediately before an end time.

Here's an example:

CODE:

IdSourceTargetDurationTypeLabel112<[1.0, 2.0] [3.0, 4.0] (5.0, 6.0]>DirectedVariable Dynamic Edge223<[0.5,6.0]>DirectedDynamic Edge324<[0.5,6.0]>DirectedDynamic Edge435<[0.5,5.0]>DirectedDynamic Edge
Be sure to import the "Duration" field as a field of type "Time Interval" during the import phase.

Also, one point on the description below: a "vertex" is the same as a node, but it seem like you're using it to mean "edge." I should also point out that vertices (i.e., nodes) as well as edges can be dynamic. You can specify a node's start/end times the way you would for an edge.

Good luck on this and let me know how it goes for you.


Francis

Statistics:Posted by francis_flavin — 18 Jun 2014 18:35


]]>
2014-06-19T08:48:58+01:002014-06-18T10:05:42+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=10462#p10462 <![CDATA[Re: Dynamic graphs and edge aggregation]]>
Thank you again for spending time helping me.
Your example works well, but doesn't do all the trick.

Let me be more specific about my issue here :
Let's assume my data has a scheme like (Id, Source, Target, Begin, End, Type). Let's also assume two edges v1 & v2 have the same source S and the same target T, but edge v1 begins @ time t1 and ends @ t1+x, whereas edge v2 begins @ time t1+2x and ends @t1+3x.
According to this data, there shouldn't be an edge from S to T between t1+x & t1+2x.
If I import this very same data into Gephi, however, half the data is lost. All I have is an edge [ST]:[t1,t1+x]...

Example :

CODE:

Id,Source,Target,Start,End1,1,2,1,32,1,2,5,73,1,2,6,94,1,2,12,13
==Gephi==>

CODE:

Source Destination Type Id Label Weight Start End12Orienté14.013
Which is fundamentally false.

PS : please forgive me if I'm not making myself clear, English is not my mother tongue.

[EDIT : misuse of the word 'vertex']

Statistics:Posted by Vongow — 18 Jun 2014 10:05


]]>
2014-06-17T21:37:15+01:002014-06-17T21:37:15+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=10461#p10461 <![CDATA[Re: Dynamic graphs and edge aggregation]]>
If you're using Gephi 0.8.2, try this for your edge list:

IdSourceTargetDurationType
112<[1.0, 4.99]>Directed
513<[3.0, 4.99]>Directed
731<[5.0, 5.99]>Directed
821<[3.0, 4.99]>Directed
1023<[2.0, 3.99]>Directed


Make sure that the "Duration" field is set to type "Time Interval" during the import. You'll notice that I combined some of your edge entries to build this table.

When Gephi 0.9 comes out, it will be using time stamps rather than time intervals, and your way of entering the data might work better then.


Good luck!


Francis

Statistics:Posted by francis_flavin — 17 Jun 2014 21:37


]]>
2014-06-19T08:50:44+01:002014-06-17T15:09:52+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=10457#p10457 <![CDATA[Re: Dynamic graphs and edge aggregation]]>
Unfortunately it doesn't seem to do the trick. I tested the dataset below in data lab :

CODE:

Id,Source,Target,Time1,1,2,12,1,2,23,1,2,34,1,2,45,1,3,36,1,3,47,3,1,58,2,1,39,2,1,410,2,3,2
Once imported, these are all the edges I have :

CODE:

Source Destination TypeId Label   Weight Time1 2Orienté1    4.011 3Orienté5    2.032 1Orienté8    2.032 3Orienté10      1.023 1Orienté7    1.05
And of course, the dynamic view won't extrapolate and recover the original data.

How can I specify that Id has to strongly identify an edge ?

Thank you :)

Statistics:Posted by Vongow — 17 Jun 2014 15:09


]]>
2014-06-16T21:49:24+01:002014-06-16T21:49:24+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=10449#p10449 <![CDATA[Re: Dynamic graphs and edge aggregation]]>
Good luck!


Francis

Statistics:Posted by francis_flavin — 16 Jun 2014 21:49


]]>
2014-06-19T08:52:14+01:002014-06-13T10:48:16+01:00 https://www.forum-gephi.org/viewtopic.php?t=3449&p=10440#p10440 <![CDATA[[Solved] Dynamic graphs and edge aggregation]]>
I'm currently working on dynamic graphs with Gephi (that's quite a surprise, isn't it ?) and I'm facing a very common (I guess) issue, but I wasn't able to find a solution, neither on this forum nor on the Internet.

The data I use to build my graph is composed by :
A list of nodes (id, label, etc., date of birth). I use DoB to build a time interval column (one-bound).
A list of edges (source, target, etc., date/time). I use date to build a time interval column (two-bounds).
The semantic of my edge list can be seen like a phone call between two nodes. Therefore, there can be multiple occurrences of one edge, but at different times.
Example :

CODE:

Src   Trgt  Time 1     2     42 1     3     44 1     3     73 1     4     37 2     1     13
When I import my data within the Data Lab, the edges are aggregated (and given a weight) automatically.
For the previous example data it would give me :

CODE:

Src   Trgt  Time  Weight 1     2     42      1 1     3     44      2    1     4     37      1 2     1     13      1
I lose a lot of information here : when I go to dynamic view, the edge weights remain steady and the call frequency over a period can't be seen.

My question is : how can I import my data so that I don't loose information ?

Statistics:Posted by Vongow — 13 Jun 2014 10:48


]]>