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
assigned dynamic attributes with postgres import
-
- 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
- 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
Dynamic attributes are not supported at this point in the database importer. Please open an issue on GitHub.
-
- 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
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
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
- 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
The best way is probably using a GEXF file, as it has dynamic support built-in.