You can install graphviz via brew
. BrewInstall is a handy website to get steps of installing all mac apps. I found the below answer on BrewInstall.
Install brew first with the following command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
Now install graphviz
with brew with the following command
brew install graphviz
To install it with GUI version, run the following command instead of above command:
brew install graphviz --with-app