[FIXED] GEXF and timestamps

Evolution and dynamics on networks in Gephi: UI, data formats, algorithms...
Post Reply
admin
Gephi Community Manager
Posts: 964
Joined: 09 Dec 2009 14:41

[FIXED] GEXF and timestamps

Post by admin » 04 Aug 2010 21:26

Hi all,

In GEXF a date can be encoded in 2 different types :
* the international standard date YYYY-MM-DD = discrete time
* a float = continuous time

I realize that it may be very useful to add a third one: timestamp.

What do you think about it?

User avatar
jbilcke
Gephi Core Developer
Posts: 41
Joined: 10 Dec 2009 17:48
Location: Paris, France
Contact:

Re: GEXF and timestamps

Post by jbilcke » 05 Aug 2010 09:50

Hi,
I agree with this addition, which should be easy to implement for most GEXF clients (and faster to parse and check for semantic corectness than the date string, when dealing with hundred of thousands of entries).

trumpets
Posts: 3
Joined: 22 Sep 2010 22:13

Re: GEXF and timestamps

Post by trumpets » 22 Sep 2010 22:20

Hi All ! :)

I'm rather new to the forums and Gephi, but once I found out about your project via you winning the Duke award I was immediately hooked :)

I already incorporated Gephi into my MSc thesis and I could not thank you enough for the great tool you have!

On to my question: Timestamps!

I noticed that the last post in this topic is from a month ago, so I was wondering, what is the progress on Timestamps in dynamic graphs in GEXF ? The thing is that I do real time network monitoring and I am logging everything (!!!) in the GEXF file of my network, and events happen almost every second!

I have created a workaround, which is using discrete time, which is actually the date and time converted in seconds (manually, by my GEXF generator), but that kind of feels dirty :) I would really like to be able to just stick with plain normal timestamps :)

Again, many congratz for your award and great tool and please let me know your thoughts and progress on this issue!

;)

Best,
I

admin
Gephi Community Manager
Posts: 964
Joined: 09 Dec 2009 14:41

Re: GEXF and timestamps

Post by admin » 23 Sep 2010 10:55

Hi,

Thanks for your support! Some changes should be made in the current GEXF format (which is a draft), also by supporting Timestamps. I plan to work on it during the next month.

You can help us by sharing your experience of Gephi and the dynamics, and participating in the forum! We'll continue to put our efforts on it this year, and study some practical usages with researchers by participating in some workshops like this one.

cheers,
Seb

admin
Gephi Community Manager
Posts: 964
Joined: 09 Dec 2009 14:41

Re: GEXF and timestamps

Post by admin » 06 Oct 2010 22:37

I'm not sure what kind of timestamp we are talking about. Two definitions exists :

* Unix Time, the number of seconds since 00:00:00 UTC on January 1, 1970
* dateTime defined in XSD Schema and ISO 8601

They serve different purposes: Unix Time certifies an exact point in time, while dateTime has a precision in seconds.

admin
Gephi Community Manager
Posts: 964
Joined: 09 Dec 2009 14:41

Re: GEXF and timestamps

Post by admin » 28 Nov 2010 17:39

Final decision: GEXF will support xsd:dateTime to be consistent with XML data types.

galwarion
Posts: 15
Joined: 19 Mar 2011 16:16

Re: GEXF and timestamps

Post by galwarion » 08 Apr 2011 21:13

Code: Select all

		 <attvalues>
			        <attvalue for="3cef13eb-db7c-4695-a1e4-7f1177927e5c" value="9" start="2011-03-22T07:30:17+01:00" end="2011-03-22T09:30:17+01:00"/>
			        <attvalue for="3cef13eb-db7c-4695-a1e4-7f1177927e5c" value="7" start="2011-03-21T22:46:32+01:00" end="2011-03-22T07:30:17+01:00"/>
			        <attvalue for="3cef13eb-db7c-4695-a1e4-7f1177927e5c" value="5" start="2011-03-21T22:38:31+01:00" end="2011-03-21T22:46:32+01:00"/>
			        <attvalue for="3cef13eb-db7c-4695-a1e4-7f1177927e5c" value="3" start="2011-03-21T22:37:49+01:00" end="2011-03-21T22:38:31+01:00"/>
			        <attvalue for="3cef13eb-db7c-4695-a1e4-7f1177927e5c" value="1" start="2011-03-21T22:33:38+01:00" end="2011-03-21T22:37:49+01:00"/>
			        <attvalue for="3cef13eb-db7c-4695-a1e4-7f1177927e5c" value="0" start="2011-03-21T22:29:33+01:00" end="2011-03-21T22:33:38+01:00"/>
			 </attvalues>
Which version of Gephi supports xsd:datetime? I dont want to waste my time with source compilation if it havent been implemented yet... Upper code is not working for me in Gephi 0.7b. With UTC settings (Z) on the end is it ok...

admin
Gephi Community Manager
Posts: 964
Joined: 09 Dec 2009 14:41

Re: GEXF and timestamps

Post by admin » 10 Apr 2011 11:23

It will be ready in Gephi 0.8 alpha.

galwarion
Posts: 15
Joined: 19 Mar 2011 16:16

Re: GEXF and timestamps

Post by galwarion » 10 Apr 2011 12:00

Gephi 0.8 has been already to download, so there hasnt been this feature yet? Well we recompiled gexf4j to support datetime and only UTC time zone and it works :) .

Post Reply