You can also build the Graphviz GUI app using homebrew if you have Xcode installed:
brew install graphviz --with-app
If you already installed the graphviz brew, you will want to do this:
brew reinstall graphviz --with-app
At the time of writing, this doesn't appear to install a symlink to the app into /Applications
like cask does, so if you want that you'll need to do it manually (or copy the application out).
To find the location of the app bundle, have a look at the build log, you should see a line like this:
./configure --prefix=/usr/local/Cellar/graphviz/2.40.1
If you don't have the build log anymore, you can determine this path by running brew list graphviz
or brew info graphviz
.
Open up the folder (replace this with the actual path you determined in the previous step):
open /usr/local/Cellar/graphviz/2.40.1
Inside here you should see Graphviz.app. You can move/copy it to /Applications
or create an alias by dragging it to /Applications
and holding the ⌘ and option keys.
Warning! May currently be broken on Mojave.
Please see comment below from Kim Stacks:
As of 2018-12-21, for macOS mojave, there's an issue with using the
--with-app flag in the brew install command. See gitlab.com/graphviz/graphviz/issues/1445. Will update this when the
fix is working.
It appears as if there is an issue with Graphviz itself currently preventing builds on macOS Mojave. Please do not comment on this answer saying that it doesn't work, it will accomplish nothing. You may follow the issue above for more updates and we'll try to update this answer if/when the situation is resolved by the Graphviz devs.
If people want to help get this fixed, there is a partially implemented upgrade PR that needs some love to take it over the finish line (see comments.)