On a mac using Intellij, if Intellij cannot find graphviz, testdot doesn’t work and graphviz was installed with brew install graphviz
:
- In Intellij, click the wrench icon on the far right of the menu panel that contains the plantuml view and editor arrangement.
- Click ‘Open settings’
- For ‘Graphviz dot executable’ add
/opt/homebrew/bin/dot
. - Click OK and restart Intellij.
This fixes the issue for me.
You can check first that you really are missing the /opt/local/bin/dot
(or whatever path you’re shown is broken) and the /opt/homebrew/bin/dot
exists, but likely the reason is that brew put dot under its own path.