SpreadSheet Import - Dynamic start; no end

Once it's running
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
clucernoni
Posts:3
Joined:24 May 2012 15:40
[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
SpreadSheet Import - Dynamic start; no end

Post by clucernoni » 24 May 2012 15:45

I was able to figure out how to make edge and node spreadsheets with the "time interval" configured so that my nodes/edges show up dynamically. My question is, I don't ever have a "end time" for them. How can I make it so that I just specify the "Start time" and then they are there for the rest of time in my timeline?

For example this is what I have:
Id;Label;Time Interval
192.168.249.134;"192.168.249.134";"<(1337793167,133779316)>" <---this makes it show up for just one moment in time and then disappear.

But I really want something like this:
Id;Label;Time Interval
192.168.249.134;"192.168.249.134";"<(1337793167,infinity)>"

User avatar
seinecle
Gephi Community Support
Posts:546
Joined:08 Feb 2010 16:55
Location:Lyon, France
Contact:

Re: SpreadSheet Import - Dynamic start; no end

Post by seinecle » 24 May 2012 16:13

You will probably get a precise reply soon, but here is first: why not use a very large number instead of infinity? This could be the number corresponding to the most recent of your nodes, for example.

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: SpreadSheet Import - Dynamic start; no end

Post by eduramiba » 24 May 2012 16:21

Hi,
You can indeed write <(1337793167,Infinity)>.
Note that Infinity needs an upper case i at the beginning.

Eduardo

clucernoni
Posts:3
Joined:24 May 2012 15:40
[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: SpreadSheet Import - Dynamic start; no end

Post by clucernoni » 24 May 2012 16:23

seinecle wrote:You will probably get a precise reply soon, but here is first: why not use a very large number instead of infinity? This could be the number corresponding to the most recent of your nodes, for example.
I was considering this, but was curious if there was an actual solution to my case.

I was concerned that a "very large number" might skew the timeline proportions, but worst case I will put the latest node's time in there.

@eduramiba
I will certainly try that! Thank you very much!

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