[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
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •assigned dynamic attributes with postgres import
Page 1 of 1

assigned dynamic attributes with postgres import

Posted: 14 Jan 2012 16:07
by richie.kavanagh
Hi all,
I'm working with importing a graph from a postgres database. The example edge property I'm testing looks as follows in the data laboratory
<[2011-10-07T00:00:00.000, 2011-10-07T00:00:00.000, 1111111.0]; [2011-10-14T00:00:00.000, 2011-10-14T00:00:00.000, 2222222.0]>

When I create this value in a gexf file, it opens and behave correctly.
When I create this string in the 'amount' column of my postgres database, the following happens:
- the value seems to be assigned correctly (i.e. the string in the edge attribute is identical to the string created with the gexf import)
- gephi does not treat the attribute as dynamic. If I display the edge attribute and move through the time slider I see a constant edge attribute value of the dynamic string i.e. <[2011-10-07T00:00:00.000, 2011-10-07T00:00:00.000, 1111111.0]; [2011-10-14T00:00:00.000, 2011-10-14T00:00:00.000, 2222222.0]>

Is database import of dynamic attributes supported and if so could somebody please advise on what I am doing wrong?

Thanks,
Richie

Re: assigned dynamic attributes with postgres import

Posted: 19 Jan 2012 17:17
by mbastian
Dynamic attributes are not supported at this point in the database importer. Please open an issue on GitHub.

Re: assigned dynamic attributes with postgres import

Posted: 27 Jan 2012 16:26
by richie.kavanagh
Thanks mbastian.
Is the following the best currently available way to import a dynamic graph?
Generate static graphs at each time slice required
Import using the dynamic importer?

Thanks R

Re: assigned dynamic attributes with postgres import

Posted: 28 Jan 2012 19:28
by mbastian
The best way is probably using a GEXF file, as it has dynamic support built-in.