[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) 2012-04-18T14:10:01+01:00 https://forum-gephi.org/app.php/feed/topic/1795 2012-04-18T14:10:01+01:002012-04-18T14:10:01+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6182#p6182 <![CDATA[Re: gexf4j and spells]]>
admin wrote:Yup, Github seems a better place: https://github.com/

I'll get the code when it's on this platform.

thanks!
https://github.com/francesco-ficarola/gexf4j

Statistics:Posted by redcrow — 18 Apr 2012 14:10


]]>
2012-04-18T11:05:59+01:002012-04-18T11:05:59+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6177#p6177 <![CDATA[Re: gexf4j and spells]]> https://github.com/

I'll get the code when it's on this platform.

thanks!

Statistics:Posted by admin — 18 Apr 2012 11:05


]]>
2012-04-17T22:55:05+01:002012-04-17T22:55:05+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6175#p6175 <![CDATA[Re: gexf4j and spells]]>
admin wrote:It's the second one.
Ok, I've changed the methods:

startDate(Date d) --> startValue(Object o)
endDate(Date d) --> endValue(Object o)

Then, in the DynamicEntityWriter class, I check if the Object "o" is a istance of the chosen type in the timeformat attribute, otherwise an exception is thrown.

Now, would you like to test it before publishing? I've done some tests, but if somebody wants to contribute... you're welcome.

Maybe it needs to create a google code project... what do you think of that?

Bye,
Francesco Ficarola

Statistics:Posted by redcrow — 17 Apr 2012 22:55


]]>
2012-04-17T20:09:40+01:002012-04-17T20:09:40+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6166#p6166 <![CDATA[Re: gexf4j and spells]]> Statistics:Posted by admin — 17 Apr 2012 20:09


]]>
2012-04-16T23:03:34+01:002012-04-16T23:03:34+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6159#p6159 <![CDATA[Re: gexf4j and spells]]>
First possibility:
I have a date (Date object in java) and I have to convert it to an integer (i.e., epoch timestamp, like this: http://www.epochconverter.com/). If this is the case, what kind of conversion should I use for double?

Second possibility:
I've just got a number (e.g., 234 or 123.45678) and simply put it in start(open)/end(open) attributes.

Which is the case, the first one or the second one?

Thank you,
Francesco Ficarola

Statistics:Posted by redcrow — 16 Apr 2012 23:03


]]>
2012-04-16T18:51:40+01:002012-04-16T18:51:40+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6157#p6157 <![CDATA[Re: gexf4j and spells]]>
admin wrote:No I mean, time can be encoded as an integer, like when you have snapshots. It could also be any floating point number.
Ah ok, so it can be any number, like a "user-timestamp". I'll fix that.

Statistics:Posted by redcrow — 16 Apr 2012 18:51


]]>
2012-04-16T17:16:24+01:002012-04-16T17:16:24+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6153#p6153 <![CDATA[Re: gexf4j and spells]]> Statistics:Posted by admin — 16 Apr 2012 17:16


]]>
2012-04-16T16:05:23+01:002012-04-16T16:05:23+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6152#p6152 <![CDATA[Re: gexf4j and spells]]>
- "timetype" attribute is renamed to "timeformat".
- <slices> and "slice" are renamed <spells> and "spell" correspondingly.
- Now the "timeformat" can be integer, double (default), date, dateTime
- Open intervals (non-inclusive) are added: "startopen" and "endopen" attributes.
- Bug fix on all "Attribute setTitle(String title)": the expression in checkArgument was wrong.

Now, how do we organize the update?

Bye,
Francesco Ficarola

Statistics:Posted by redcrow — 16 Apr 2012 16:05


]]>
2012-04-16T14:59:28+01:002012-04-16T14:59:28+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6150#p6150 <![CDATA[Re: gexf4j and spells]]>
admin wrote:Hi,

Yes it is.
Ok, so the integer part is the year, while the decimal part is the month.

Good, thanks.

Francesco

Statistics:Posted by redcrow — 16 Apr 2012 14:59


]]>
2012-04-16T14:49:51+01:002012-04-16T14:49:51+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6149#p6149 <![CDATA[Re: gexf4j and spells]]>
Yes it is.

Statistics:Posted by admin — 16 Apr 2012 14:49


]]>
2012-04-16T13:00:56+01:002012-04-16T13:00:56+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6145#p6145 <![CDATA[Re: gexf4j and spells]]>
I've almost completed the changes, but I have to implement timeformat in DOUBLE and INTEGER form (date and dateTime are done).
I haven't found anything on GEXF schema... What's their official form? E.g., 2012 for integer and 2012.04 for double?

Thanks,
Francesco

Statistics:Posted by redcrow — 16 Apr 2012 13:00


]]>
2012-04-15T16:26:23+01:002012-04-15T16:26:23+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6139#p6139 <![CDATA[Re: gexf4j and spells]]> Statistics:Posted by admin — 15 Apr 2012 16:26


]]>
2012-04-15T16:00:57+01:002012-04-15T16:00:57+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6138#p6138 <![CDATA[Re: gexf4j and spells]]>
admin wrote:Hi,

You need to use "spells". Unfortunately, gexf4j seems not maintained anymore, and may not be compliant with the latest changes of the GEXF format.
Hi,

since yesterday I've worked on gexf4j source to change it in according to latest version of GEXF draft, that is 1.2 (Gephi 0.8 compatible).

I'll let you know when I finish the changes.

Regards,
Francesco

Statistics:Posted by redcrow — 15 Apr 2012 16:00


]]>
2012-04-15T14:18:12+01:002012-04-15T14:18:12+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6133#p6133 <![CDATA[Re: gexf4j and spells]]>
You need to use "spells". Unfortunately, gexf4j seems not maintained anymore, and may not be compliant with the latest changes of the GEXF format.

Statistics:Posted by admin — 15 Apr 2012 14:18


]]>
2012-04-13T17:21:59+01:002012-04-13T17:21:59+01:00 https://forum-gephi.org/viewtopic.php?t=1795&p=6122#p6122 <![CDATA[[SOLVED] gexf4j and spells]]>
I'm working on a parser to transform a file from "log-style" to a GEXF graph. Then I'd like to import that graph into Gephi 0.8. In order to build the GEXF file I'm using the gexf4j library. Unfortunately I've noticed that there's nothing for the "spell" attribute. I've just found a "Slice" class, but the history of Gephi (http://gexf.net/format/history.html) says that slice are renamed to spell... so, I want to be consistent with the last version of Gephi.

What should I use?

Thank you for your help.

Regards,
Francesco

Statistics:Posted by redcrow — 13 Apr 2012 17:21


]]>