Open sbhbenjamin opened 2 years ago
Thanks! This was super helpful! π
Thank you! I was struggling with this issue as well, this approach certainly works on my M1 mac too!
I'm using a Mac, but this unfortunately didn't work for me. π’ I found a StackOverflow thread on how to find the dot executable file and now it's working. https://stackoverflow.com/questions/54966989/where-do-i-add-graphvizs-executable-on-a-mac
TLDR:
Download GraphViz via homebrew
brew install graphviz
Now, you need to get the directory of the dot executable. I tried to find it in my finder but couldn't do so as the folder is not visible to me. What you need to do is to run
which dot
This returns the directory in which the dot executable file is at.
Lastly, just copy the directory and paste it into the GraphViz dot executable section.
Click "Ok" and restart Intellij to see your diagrams π―
Hello, I thought I'd share this in case someone runs into the same problem while setting up PlantUML on a mac.
When you are setting up PlantUML following the SE-EDU Tutorial, you will first have to install GraphWiz:
For step 2.ii, I was unable to find the dot file. After some peering around, the
dot
file was stored at/opt/homebrew/Cellar/graphviz/3.0.0/bin/dot
for homebrew users. You can key this path in into theGraphiz dot executable
field in step 2.ii.Hope this helps in some way!