Port for drawing directed graphs?

John Almberg jalmberg at identry.com
Mon Sep 15 16:06:13 UTC 2008

On Sep 15, 2008, at 11:01 AM, Ivan Rambius Ivanov wrote:

> Hello,
> On Mon, Sep 15, 2008 at 10:31 AM, 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?
> I am using graphics/graphviz, http://www.graphviz.org/, for graphs
> drawing. It uses an input .dot file containing the graph description
> and produces a image (.jpg or .ps) with the visual representation of
> the graph. I used to generate those .dot files from the data in my
> programs and process them with graphviz. I am not sure that may be it
> even exports API to be directly called.

Oooo, nice... graphviz looks very promising!

Thanks: John

More information about the freebsd-questions mailing list