[TxMt] [PATCH] Graphviz bundle : Generate Graph
Allan Odgaard
throw-away-1 at macromates.com
Wed Sep 26 19:46:18 UTC 2007
On 16/09/2007, at 19:41, Guillaume Carbonneau wrote:
> Hi, this is a patch including a command to generate a graph using
> the dot command so you don't need the Graphviz gui program in OS X.
> You will need to have the dot command in your system. To do so,
> compile graphviz or get it from macports like so :
> [...]
Applied, thanks.
I made a few changes:
o require_cmd dot to output error when user does not have dotty
o use TMPDIR for temporary files (falls back to /tmp when unset)
o work with untitled buffers (the generated temporary filename was
wrong)
o escape HTML in potential errors
A minor problem is that with no input dot does not give an error. One
could test the date of the generated PDF, but probably not worth it.
More information about the textmate
mailing list