Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
GEXF conversion #54
(based on PR #56)
This PR adds a conversion of Nengo model to the GEXF format, which can be opened with Gephi, a visualization and explanatory analysis software for graphs. The motivation behind this is that Nengo GUI currently is not powerful enough to get a good overview over complex models (e.g., no support to color or temporarily hide objects, no possibility to identify inhibitory or modulatory connections).
The main class is
Furthermore, there is a
The GEXF format supports a hierarchical graph representation that can be activated with the
Cool! Seems like a good thing to have.
Could you put an example of how to visualize a model using Gephi in the examples? I think that would really help others start to make use of this.
I think that effort is worth it. Whether you prepare the example now, or for the lab meeting in the future, an example is necessary if you want others to use this, IMO. The problem with only presenting it in a lab meeting is that a) the people who saw the presentation will forget the details, and not have anything to reference, b) anybody who didn't see the presentation (whether they were away, or someone outside our immediate lab group) won't have anything to work from. Examples become especially useful when things like the Nengo summer school come up, and we want to help introduce these extra tools to new people.
I'm fine to merge this without an example for now, so that it's easier for you to use and maintain, as long as the plan is to add an example eventually.
I've rebased this and changed it slightly so it works with the new docs organization. Looks like there are a few Python 2.7 issues, which I should be able to fix. Aside from that, I would also like to convert
guide.rst to a notebook and put the images somewhere else (outside the repository, to keep it small) but have them still show up in the notebook. Are all those changes OK with you @jgosmann ?
I was going to just upload them to imgur and include them with
As of Feb 2015 images are only deleted upon request, as long as they're uploaded by a logged in user (which I would be).