Can’t render component diagram with PlantUML in IntelliJ

On a mac using Intellij, if Intellij cannot find graphviz, testdot doesn’t work and graphviz was installed with brew install graphviz:

  1. In Intellij, click the wrench icon on the far right of the menu panel that contains the plantuml view and editor arrangement.
  2. Click ‘Open settings’
  3. For ‘Graphviz dot executable’ add /opt/homebrew/bin/dot.
  4. 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.

Leave a Comment