hocl
hocl copied to clipboard
Generated .dot graphs are not recognized by the dotty application
It seems that the dotty
bundled application only accepts a subset of the .dot
syntax :(
A patch is in preparation. Meanwhile, a workaround is to use dot
to generate a pdf
or gif
file and view the generated graph with a classical viewer (xviewer
, ...).
The simplest way for doing this is
- write a small shell script (named
dotview
for ex):
#!/bin/bash
ofile=/tmp/${1/dot/gif}
dot -Tgif $1 > $ofile
xviewer $ofile
-
copy this script in a directory accessible from your
$PATH
(ex/usr/local/bin
) -
pass the name of this script to the
configure
script when installingHoCL
:
./configure -dotviewer dotview [...]