hocl icon indicating copy to clipboard operation
hocl copied to clipboard

Generated .dot graphs are not recognized by the dotty application

Open jserot opened this issue 5 years ago • 0 comments

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 installing HoCL:

./configure -dotviewer dotview [...]

jserot avatar Oct 04 '19 08:10 jserot