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 email, 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 selfextracting 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 email 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 differentlooking symmetric views of Q4, the 4cube.
G&G text format for graphsGraphs are stored in a standard text format. The graph of the cube is used as an example.
&Graph 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 VertexTransitive Graphs up to 17 vertices.The connected cubic graphs on 10 points (submitted by R. Figuero) 4 views of the Petersen graph, and 4 views of Q4, the 4cube The Grinberg and Tutte graphs are planar, 3regular, 3connected, nonhamiltonian 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 3path to any 3path.
Some of the cages  (3,5), (3,6), (3,7), (3,8), (4,5), (4,6), etc.
A number of other miscellaneous graphs are available. Locate to the ftp server to download them.
Back to the Groups & Graphs home page.
