

If you want to install it in 11.04 you can't use those packages, you will get an error. But that should be done by the networkx people, I guess.Ĭtrax is a video tracking software developed specifically to track trajectories of fruit flies.Ĭurrently (Jan 2012), there are packages available for Ubuntu 10.04. There is, for sure, a better workaround: modify the write_graphml function so that it accepts this "d" or "dd" as a parameter. This makes more sense if you are going to be exporting more graphs. Then reload networkx module and re-export (you might have to re-start python altogether). The slightly better workaround: open networkx/readwrite/graphml.py and change, in line 260 new_id = "d%i" % len(list(self.keys)) to new_id = "dd%i" % len(list(self.keys)) The simplest workaround: open your graphmlfile and replace all id= with idd= If you peak into the graphml you will see that that attribute is assigned id="d3" which gephi chooses to ignore. It turns out, if num_attributes >=4 then there's going to be one attribute you won't be able to use. Let G be some networkx graph object with num_nodes nodes and let attMatrix a num_attributes x num_nodes (numpy) matrix that contains some numbers you want to put on the nodes You create a graph with networkx and put attributes into the nodes using them as dictionaries. The problem is, networkx's write_graphml function produces id's that, sometimes, fall into this category. There's one dirty secret of gephi: some attribute-id's of graphml files have reserved status. You are exporting graphml files using networkx, loading them into gephi and not being able to see all the attributes your node has?
