G&G Graph Library
Last update=6 Feb, 2009
A number of graph files are available via ftp. See also the G & G overview, where pictures of many of these graphs are shown. If you have interesting graphs/digraphs/groups, please consider posting them on this website. Examples are strongly regular graphs, distance regular graphs, incidence graphs of finite geometries or BIBDs, catalogs of cubic graphs, quartic graphs, torus maps, transitive graphs, etc. Send them by e-mail, together with any additional information that may be useful.
The Macintosh and Windows versions of G&G can now read and write the same files. The files are stored as self-extracting stuffit archives. Graphs can be downloaded in G&G binary format and in G&G text format. Locate to the anonymous ftp server to download them in text format. Use your e-mail address as your password.The "Draw Symmetric" command in G & G can be used to produce interesting drawings of graphs. Click for an example illustrating 4 very different-looking symmetric views of Q4, the 4-cube.
G&G text format for graphsGraphs are stored in a standard text format. The graph of the cube is used as an example.
The first line indicates that a graph follows. The second line is the name of the graph. The third line is the number n of vertices. The vertices are numbered 1..n. Vertex 1 is indicated by -1. Its adjacent points follow. Vertex 2 is indicated by -2, then its adjacent points, etc. The end of the list is indicated by 0.
Graphs in this format are very easily input.
The graph adjacencies can be followed by the (h,v)-coordinates of the vertices. These are the horizontal and vertical offsets (integers) from the top left corner of the window. For the example above, coordinates appear as follows.
&Coordinates of vertices:
Additional optional information can also be included, such as the colour of the vertices, and a renaming of the points. Save some graphs in text format using G&G to see the format used.
Download:The Vertex-Transitive Graphs up to 17 vertices.
The Grinberg and Tutte graphs are planar, 3-regular, 3-connected, non-hamiltonian graphs. The Horton and Thomassen graphs are hypotraceable -- ie, they have no hamilton path, but if any vertex is deleted, there is a hamilton path. The Coxeter graph has an automorphism mapping any 3-path to any 3-path.
A number of other miscellaneous graphs are available. Locate to the ftp server to download them.
Back to the Groups & Graphs home page.