[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 •dynamic graph model via API
Page 1 of 1

dynamic graph model via API

Posted: 13 Dec 2016 13:11
by alexpgp
Hi all,
i import some network data from a database.
I manged to create a gephi graph (adding nodes and edges), saving it to a gephi project file or gexf file.

Now I try to make a dynamic graph.
I followed the api example ImportDynamic. However my exported gexf files are static, while the example files have <graph mode="slice" defaultedgetype="directed" timerepresentation="timestamp" timestamp="2007">.
-> so how can I turn a 'static' gephi graph into a dynamic snapshot in order to export it to gexf?

An alternative approach would be to directly create a dynamic graph adding dynamic nodes / attributes via the API. However, I could not finde some example code illustrating how this could be done.
Any hints?
Thanks!
Alexander