How to update the Tkinter graph?

Data Visualization: How can I build a LinkedIn Labs style graph of a network?

  • I'd like to create a LinkedIn Labs style network graph of connections. What are the best libraries to do graph layout to do this? Update: To be specific, I am well aware of libraries to draw graphs. I am interested in code that does the clustering.

  • Answer:

    Though not being overly familiar with the software, the graph you posted looks like it might have been done with Gephi, which is a tool frequently used in graph visualization. http://gephi.org/ If you are looking for a Javascript library you might want to check out Sigma.js. http://sigmajs.org/examples.html D3, as mentioned by Brian, is a powerful tool that might however require a bit of engineering before being able to produce graphs like the one shown above - unless somebody else has done this work for you already... The following link might be a good starting point searching for existing visualizations in D3. http://biovisualize.github.io/d3visualization/

David Müller at Quora Visit the source

Was this solution helpful to you?

Other answers

It's obviously going to have a lot to do with how you collect your data, and what you data looks like, but if you just mean the visual component(transferring some connection data to a network graph like this) then there is a powerful Javascript language that can do this and a whole lot more: http://d3js.org/ You can watch the tutorials to see the incredible flexibility of D3.

Bryan Bischof

As David mentionned, it was most likely generated with Gephy, which also had a "jar" version, supplying only the APIs. For the precise algorithm used to perform the clustering it looks like Fruchterman-Reignold followed by the ForceField. They are also included in Gephy's jar. I think that Gephy's ForceField2 is the most efficient implementation out there.

Andrei Kucharavy

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.