Real-Time Data

Asked by Chris Cannon

Hi:

I would like to import real-time data into Gephi and have the view of the graph update. For example, let's say I have a graph with four nodes and I want to add a fifth node. First, is there a way to add the fifth node without having to open a new GML file (e.g., somehow through the API)? Second, if I am able to add the node programmatically, will the graph view in Gephi update automatically?

Thanks,
Chris Cannon

Question information

Language:
English Edit question
Status:
Solved
For:
Gephi Edit question
Assignee:
No assignee Edit question
Solved by:
Sébastien Heymann
Solved:
Last query:
Last reply:
Revision history for this message
Best Sébastien Heymann (sebastien.heymann) said :
#1

Hi,

Is there a way to add the fifth node without having to open a new GML file (e.g., somehow through the API)?
Not for the moment, but a student may develop the graph streaming API: http://wiki.gephi.org/index.php/Google_Summer_Of_Code_2010#Graph_Streaming_API

If I am able to add the node programmatically, will the graph view in Gephi update automatically?
Yes: http://wiki.gephi.org/index.php?title=Graph_API

Revision history for this message
Chris Cannon (cannon-drexel) said :
#2

Thank you for your prompt response. If I understand correctly, through the Graph API I can add/removes nodes in real-time programatically on the same Java instance, correct?

The graph streaming API sounds like you would be receiving information from some external source, and that's why the proposal suggests a socket connection approach?

Thanks,
Chris

Revision history for this message
Sébastien Heymann (sebastien.heymann) said :
#3

That's right.