Install Graphviz on Heroku.
This buildpack installs Graphviz to your application slug.
The installed Graphviz versions are:
The Graphviz packages are installed under the
/app/heroku-buildpack-graphviz directory, and the Graphviz executables are located in
/app/heroku-buildpack-graphviz/usr/bin. The latter directory is added to the
heroku buildpacks:set https://github.com/weibeld/heroku-buildpack-graphviz.git
See Heroku documentation here.
To use this buildpack together with other buildpacks, use for example:
heroku buildpacks:add heroku/ruby heroku buildpacks:add https://github.com/weibeld/heroku-buildpack-graphviz.git
See Heroku docmentation here.
You can always check which buildpacks are currently set with:
Verify the installation of Graphviz with:
heroku run dot -V
For development purposes, you can test the buildpack locally with the test.sh script:
This runs the buildpack script in a local Docker container of the Heroku-18 and Heroku-16 stacks.
Licensed under the MIT License. See LICENSE.md file.
Copy the snippet above into CLI.