grf_to_eps, a FORTRAN90 code which converts a GRF "graph" file (a format used by the Combinatorica program) to a EPS image file.

In other words, it can draw a picture of an abstract graph.


grf_to_eps file.grf file.eps
reads the GRF file file.grf and makes an Encapsulated PostScript image file in file.eps.


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


grf_to_eps is available in a FORTRAN90 version.

Related Data and Programs:


eps, a data format which is used when an image is to be printed on a PostScript printer, or displayed with programs such as GhostView or GhostScript.

eps_to_jpg, a BASH script which converts a collection of EPS files to JPEG format.

eps_to_png, a BASH script which converts a collection of EPS files to PNG format.

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_io, a FORTRAN90 library which reads and writes GRF files.

grf_to_xyl, a FORTRAN90 program which converts information describing the adjacency and embedding of an abstract graph from GRF to XYL format.

ps_write, a FORTRAN90 library which creates PostScript images.


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

Source Code:

Last revised on 08 September 2022.