Install Graphviz on Heroku.
This buildpack installs Graphviz on and makes it available to your Heroku application.
The installed version of Graphviz is:
- Graphviz 2.42.2 for the Heroku-20 stack
- Graphviz 2.40.1 for the Heroku-18 stack
- Graphviz 2.38.0 for the Heroku-16 stack
The Graphviz executables are installed to the following directory (from where they are available to your app):
/app/.heroku-buildpack-graphviz/usr/bin
The buildpack also adds this directory to the PATH
, so your app can directly use the Graphviz executables (like dot
and neato
) as simple commands.
Add the buildpack in addition to other buildpacks:
heroku buildpacks:add https://github.com/weibeld/heroku-buildpack-graphviz
Or set the buildpack as the only buildpack:
heroku buildpacks:set https://github.com/weibeld/heroku-buildpack-graphviz
After running the buildpack, you can verify the installation of Graphviz with:
heroku run dot -V
For implementation notes, see NOTES.md.
Licensed under the MIT License. See LICENSE.md file.