assigned dynamic attributes with postgres import

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
richie.kavanagh
Posts:8
Joined:10 Jan 2012 21:23
[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
assigned dynamic attributes with postgres import

Post by richie.kavanagh » 14 Jan 2012 16:07

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

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[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: assigned dynamic attributes with postgres import

Post by mbastian » 19 Jan 2012 17:17

Dynamic attributes are not supported at this point in the database importer. Please open an issue on GitHub.

richie.kavanagh
Posts:8
Joined:10 Jan 2012 21:23
[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: assigned dynamic attributes with postgres import

Post by richie.kavanagh » 27 Jan 2012 16:26

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

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[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: assigned dynamic attributes with postgres import

Post by mbastian » 28 Jan 2012 19:28

The best way is probably using a GEXF file, as it has dynamic support built-in.

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