Eben King wrote:
> On Mon, 22 Feb 2010, Dylan William Hardison wrote:
>
>> On Monday, February 22, 2010 at 06:00PM -0500, Eben King wrote:
>>> What's an application in which I can draw a graph? I don't mean graphs
>>> as in "charts and graphs", I mean a set of nodes connected by edges,
>>> possibly with weights or direction attached to those edges. Think the
>>> railway network, or an airline's flights.
>>
>> I think you may want http://www.graphviz.org.
>>
>> Way back when, I used graphviz to visualize the PSTA routes.
>
> Great, thanks. Sounds like what I need. BTW, I have this version:
>
> eben@pc:~$ dot -V
> dot - Graphviz version 2.16 (Fri Feb 8 12:54:58 UTC 2008)
>
> How is it used? I can't figure out squat. Running "dot" just hangs,
> and the web page apparently only says what it's used for, not how to
> use it.
>
You have to make a text file that defines the nodes in your graph. Then
you run dot to process that text file. It is probably hanging, expecting
the contents of that text file to come-in on stdin (like "cat myfile |
dot"), since you didn't specify a filename on the command-line. For a
language-guide (and other info):
http://www.graphviz.org/Documentation.php
--ronan
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 14:49:34 EDT