[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: input/regression/graphviz.ly
From: |
Joe Neeman |
Subject: |
Re: input/regression/graphviz.ly |
Date: |
Sat, 1 Dec 2007 12:07:11 +1100 |
User-agent: |
KMail/1.9.7 |
On Sat, 1 Dec 2007 11:28:11 Graham Percival wrote:
> Stan Sanderson wrote:
> > Would you briefly explain what I might expect from the the graphviz.ly
> > example? I'm not sure whether #(graph-write graph (current-error-port))
> > would/should do anything on my Mac. I do have Graphviz.app v.1.13 on my
> > machine, but have not worked with it.
The contents of a graphviz-readable file should be dumped to the console (or a
log file?). If you save lilypond's output (from "digraph G" to the end) to a
file named test.dot and run
$ dot -Tps test.dot -o test.ps
(or using graphviz somehow from the gui -- I don't know how, sorry) then you
should get a .ps file that shows internal interactions between grobs.
Since this output is mainly used for internal debugging, I'm not exactly sure
what counts as a regression. I suppose as long as the output works with
graphviz to correctly render a graph, it counts as working. I've just checked
that it works for me with graphviz version 2.12; if it doesn't work with your
version, I'll add a comment to that effect in the file.
Joe