Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2008 16:36:59 +0200
From:      Polytropon <freebsd@edvax.de>
To:        John Almberg <jalmberg@identry.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Port for drawing directed graphs?
Message-ID:  <20080915163659.90ca2a0b.freebsd@edvax.de>
In-Reply-To: <D99E9FAD-34F9-4040-A261-F8F950DF0EE5@identry.com>
References:  <D99E9FAD-34F9-4040-A261-F8F950DF0EE5@identry.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Sep 2008 10:31:57 -0400, John Almberg <jalmberg@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.

-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080915163659.90ca2a0b.freebsd>