Port for drawing directed graphs?

Anton Shterenlikht mexas at bristol.ac.uk
Mon Sep 15 14:51:58 UTC 2008


On Mon, Sep 15, 2008 at 04:36:59PM +0200, Polytropon wrote:
> On Mon, 15 Sep 2008 10:31:57 -0400, John Almberg <jalmberg at identry.com> wrote:
> > I am working on some software that must, as it's final output,  
> > produce a printout of a directed graph... nodes, connected by  
> > directed links.
> > 
> > The printout could be generated by a postscript file, jpg, whatever.
> > 
> > Does anyone know of a utility (in ports?) that can take a data set  
> > (for example, a two dimensional array that defines the nodes and the  
> > links between them), and produce a printable graph?
> > 
> > Any help much appreciated.
> 
> I think it's possible to use LaTeX for this, as long as you're
> willing to provide the document basis, put an \include for the
> drawing contents and then have a small processing script that
> generates this file. There is some LaTeX document class that
> supports graphs, I think. The output would be PS or PDF.
> 
> For manual work, xfig can be used, but I'm not sure if it can
> be "remote controlled" by a data file.

graphviz?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list