grf_io, a FORTRAN90 code which reads or writes a GRF file containing information about an abstract graph.

The file includes information about:


The computer code and data files described and made available on this web page are distributed under the MIT license


grf_io is available in a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:


floyd, a FORTRAN90 code which implements Floyd's algorithm for finding the shortest distance between pairs of nodes on a directed graph.

graffiti, a dataset directory which contains 195 abstract graphs, with adjacency and embedding information, stored in the GRF format.

graph_representation, a data directory which contains examples of ways of representing abstract mathematical graphs

grf, a data directory which contains a description of the GRF format and some examples.

grf_to_eps, a Fortran90 code which converts a grf file to Encapsulated PostScript (EPS) format;


  1. Peter Eades, Ian Fogg, David Kelly,
    SPREMB: A System for Developing Graph Algorithms,
    Congressus Numerantium,
    Volume 66, December 1988.
  2. Stephen Skiena,
    Implementing Discrete Mathematics: Combinatorics and Graph Theory in Mathematica,
    Addison Wesley, 1990.
    the COMBINATORICA web page.

Source Code:

Last revised on 12 July 2020.