Writing GEXF for dynamic graphs using Toolkit
Posted: 02 Jun 2013 18:05
Hey all,
I'm going crazy here after several hours with Gephi and would really appreciate some help.
I'm trying to write Java code that will generate a dynamic graph in code and export it into GEXF using the toolkit. Ultimately this graph will be constructed by reading database tables.
I've looked at the Dynamic Graph and Manual graph examples in the toolkit and tried to hack a minimal example from them. The graph that's created has 50 nodes before I've even added any nodes in code!
I would be very grateful if somebody could provide code to demonstrate:
(1) instantiate a dynamic graph
(2) add/remove a node or edge with dynamic properties
(3) export to GEXF
I'm trying to justify use of Gephi for a client and I feel like I'm 'at the point where these simple stumbling blocks will force me to write it off altogether.
Richie
I'm going crazy here after several hours with Gephi and would really appreciate some help.
I'm trying to write Java code that will generate a dynamic graph in code and export it into GEXF using the toolkit. Ultimately this graph will be constructed by reading database tables.
I've looked at the Dynamic Graph and Manual graph examples in the toolkit and tried to hack a minimal example from them. The graph that's created has 50 nodes before I've even added any nodes in code!
I would be very grateful if somebody could provide code to demonstrate:
(1) instantiate a dynamic graph
(2) add/remove a node or edge with dynamic properties
(3) export to GEXF
I'm trying to justify use of Gephi for a client and I feel like I'm 'at the point where these simple stumbling blocks will force me to write it off altogether.
Richie