Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated .dot graphs are not recognized by the dotty application #1

Open
jserot opened this issue Oct 4, 2019 · 0 comments
Open

Comments

@jserot
Copy link
Owner

jserot commented Oct 4, 2019

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 [...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant