networkx
a graph/network python package that stops the development of many similar packages
- 2006-03-24 installation
- download
- source code from http://sourceforge.net/projects/networkx/, or(2006-11-15) svn co https://networkx.lanl.gov/svn/networkx/trunk networkx
- uncompress
- tar
- install
- python setup.py install --home=/tmp/networkx (the home directory could be anything to hold data temporarily)
- library
- mv /tmp/networkx/lib/python/networkx/ /usr/local/lib/python2.3/site-packages/
- doc
- mv /tmp/networkx/share/doc/networkx-0.28/ (somewhere)
- 2006-11-15
- The other way easy to install is to copy the networkx directory already installed somewhere because all codes are in python.
- 2007-09-18 plot
- check section
- 2007-09-18 access to edge data for class XGraph
- XGraph is for graphs with weighted edges. To access or change the weight of an edge (i.e. (a,b) in graph g), g.adj[a][b] and g.adj[b][a]. You have to change both if you want to change its weight.
bug in paths.py
"
for neighbor, label in G.neighbors(v,with_labels=True):
nextlevel[neighbor] = label
"