Graph streaming from C++ library to Gephi as client
Posted: 28 May 2013 18:30
I have a C++ library I've been developing to study a particular dynamic graph construction that I'm using to model a physical system. I have a few different ways to visualize the graphs using policy classes (so it's easy to plug in different ways of doing this). One of the policies writes the dynamic data to a file in the GEXF format. But now I want to make it so the the data is streamed from the running application and viewed real time in Gephi.
My understanding of this is that I would set up Gephi as the Graph Streaming client, start an HTTP server from the C++ library, and then send the dynamic data over HTTP from C++ to Gephi.
Unfortunately this is about the extent of my understanding. So my question is: Has anyone done this before? I've seen some example videos but they seem to just show the visual outcome, not how it was actually done. Also I've never seen this done using C++ before and I'm a little lost as to how to do this over HTTP from C++.
Any information would be appreciated. Thanks
My understanding of this is that I would set up Gephi as the Graph Streaming client, start an HTTP server from the C++ library, and then send the dynamic data over HTTP from C++ to Gephi.
Unfortunately this is about the extent of my understanding. So my question is: Has anyone done this before? I've seen some example videos but they seem to just show the visual outcome, not how it was actually done. Also I've never seen this done using C++ before and I'm a little lost as to how to do this over HTTP from C++.
Any information would be appreciated. Thanks