GRF_TO_EPS
Convert a GRF file to EPS format


GRF_TO_EPS is a FORTRAN90 program 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.

Usage:

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

Licensing:

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

Related Data and Programs:

EPS is 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.

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

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

GRF_DISPLAY, a MATLAB program which reads a GRF file defining a mathematical graph and displays it in the MATLAB graphics window.

GRF_DISPLAY_OPEN_GL, a C++ program which reads a GRF file defining a mathematical graph and displays it in an OpenGL graphics window.

GRF_IO is 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 is a FORTRAN90 library which creates PostScript images.

XGED is a C program which is an X-Window based editor for GRF files.

Reference:

  1. Stephen Skiena,
    Implementing Discrete Mathematics: Combinatorics and Graph Theory in Mathematica,
    Addison Wesley, 1990.
  2. http://www.combinatorica.com/
    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:

Examples and Tests:

HEAWOOD is the Heawood graph:

KNIGHTSTOUR is the knight's tour graph:

PETERSEN is the Petersen graph:

TUTTE is the Tutte graph:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 15 November 2006.