Research Brief outline of some of my research interests. | |
Meetings Some meetings of interest. | |
Institutions Various institutions doing relevant work. | |
Other Resources includes some general literature, numerical and computational resources including complete software packages, computational libraries and data sets, websites with references and discussion of these, visualisation examples, blogs, etc. | |
Old Meetings These have already happened. | |
Networks and Archaeology Page on my work applying network ideas to archaeology. |
The problem I found is that there is no immediate visualisation here. You seem to have to install other packages to link through to Graphviz drawing programmes or matlab graph drawing.
The NetworkX I installed by downloading the source code, following instructions on the web site. The easy_install suggested on the web site would be easier and better. See my Python Tips page for more informatio on installation. Note that other packages are also needed for networkX to work.
I wanted to use the links to Graphviz (for the dot file conversion for instance) but I never got the pygraphviz package to install. One tip I found and tried is that a lot of these pythons things want some Microsoft C libraries which come with the Visual Studio Express 2008 which is free to download. The 2008 is critical here, versions from other years don't work. In the end I found the pydot package did what I wanted and installed without a problem using easy_install.
0 1 1 1 0 1 1 1 0
1 2 2 3 3 1
*Vertices 3 1 "AAA" 2 "Vertex 2" *Edges 2 1 2 1.0 3 1 *Arcs 1 2 3 1.5Here are some issues I have encountered:-
.graphml
files) is an XML based format, seems widely used
e.g. read only in JUNG, read and write in igraph, used by visone
yED and yfiles. However the core format only covers basic graph topology so other features (e.g. edge colour or style)
are additions that must be defined in the relevant packages.
According to the Gephi notes,
NodeXL, Sonivis, GUESS, NetworkX and Gephi can handle this format to some extent.
.net
files) uses a simple format and is produced or read by many other systems.
.gv
and DOT
files are often read or written by other systems. I found the description of .dot
files extremely confusing. However a few simple examples shows it is basically very simple. I used the python packages of NetworkX and pydot to find out what was going on. Here are some simple examples, one undirected, one directed.
strict graph G { 0; 1; 2; 3; 0 -- 1; 0 -- 2; 0 -- 3; 1 -- 2; 1 -- 3; 2 -- 3; } |
digraph G { 0 1 2 3 1 -> 3; 1 -> 2; 0 -> 1; 0 -> 3; 0 -> 2; 2 -> 3; } |
.gml
files) seems like an old format born in 1995. According to the Gephi notes, Pajek (my version doesn't seem to) , yEd, LEDA, NetworkX and Gephi can handle this format.
Used for instance for the various network data sets of Mark Newman.
This is quite different from GraphML.
This can be related to some network analysis.