Port for drawing directed graphs?
Ivan "Rambius" Ivanov
rambiusparkisanius at gmail.com
Mon Sep 15 15:01:44 UTC 2008
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.
Tangra Mega Rock: http://www.radiotangra.com
More information about the freebsd-questions