Using Jgraph...


Running 'jgraph'

Copy and paste this simple jg_script into your favorite text editor...
  echo -- processing $1.jgr -- 
  echo y | rm $1.ps                # remove the old one
  jgraph -P $1.jgr > $1.ps         # parse .jgr and create .ps
  ps2pdf $1.ps $1.ps.pdf           # .ps -> .pdf
  echo -- done --
...or get it from here.

Save it as 'jg_script' and then type the following...

  chmod u+x jg_script
You can use this jg_script by typing
  jg_script filename
where filename is the name of your .jgr file. Note: you don't have to add .jgr to the name of the file; the jg_script will do it for you.

Type the following to get more information about jgraph:

  man jgraph

Sample files


Yefim Shuf | CS Department | Princeton University
Last modified: Thu Sep 20 21:12:00 EDT 1999 by Georg Essl