From owner-freebsd-questions@FreeBSD.ORG Mon Sep 15 16:06:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 072B51065673 for ; Mon, 15 Sep 2008 16:06:13 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 8F3228FC15 for ; Mon, 15 Sep 2008 16:06:07 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 25185 invoked by uid 89); 15 Sep 2008 16:06:06 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 15 Sep 2008 16:06:06 -0000 In-Reply-To: <89ce7f740809150801o37176df9oa7be4cc8f4d50a95@mail.gmail.com> References: <89ce7f740809150801o37176df9oa7be4cc8f4d50a95@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0A89B579-2549-4A12-9514-1597B61BCC07@identry.com> Content-Transfer-Encoding: 7bit From: John Almberg Date: Mon, 15 Sep 2008 12:06:05 -0400 To: Ivan "Rambius" Ivanov X-Mailer: Apple Mail (2.752.3) Cc: freebsd-questions@freebsd.org Subject: Re: Port for drawing directed graphs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 16:06:13 -0000 On Sep 15, 2008, at 11:01 AM, Ivan Rambius Ivanov wrote: > Hello, > > On Mon, Sep 15, 2008 at 10:31 AM, John Almberg > 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