From owner-freebsd-questions@FreeBSD.ORG Mon Sep 15 14:51:58 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 A604A1065684 for ; Mon, 15 Sep 2008 14:51:58 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 595388FC18 for ; Mon, 15 Sep 2008 14:51:58 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KfFQg-00055n-Uo; Mon, 15 Sep 2008 15:51:56 +0100 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1KfFQd-00026C-L1; Mon, 15 Sep 2008 15:51:52 +0100 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m8FEpoou035671; Mon, 15 Sep 2008 15:51:50 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m8FEpn5c035582; Mon, 15 Sep 2008 15:51:49 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 15 Sep 2008 15:51:49 +0100 From: Anton Shterenlikht To: Polytropon Message-ID: <20080915145149.GA27163@mech-cluster238.men.bris.ac.uk> References: <20080915163659.90ca2a0b.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080915163659.90ca2a0b.freebsd@edvax.de> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.4 X-Spam-Level: - Cc: John Almberg , 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 14:51:58 -0000 On Mon, Sep 15, 2008 at 04:36:59PM +0200, Polytropon wrote: > On Mon, 15 Sep 2008 10:31:57 -0400, 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? > > > > 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