Plantuml

Posted by OOFTF Blog on November 22, 2021

安装 PlantUML

mac

1. Android studio 安装 PlantUML integration 插件

2. 系统安装 graphviz

brew install graphviz

3. 查找路径

输入 dot -version

会显示 graphviz 路径

libdir = “/opt/homebrew/Cellar/graphviz/2.49.0/lib/graphviz”

将路径 2.49.0 后面 替换为 bin/dot ,替换后的路径为

/opt/homebrew/Cellar/graphviz/2.49.0/bin/dot

4. 设置执行路径

打开 android studio preferences 页面

搜索 PlantUML

将 Graphviz dot executable :设置为刚才的路径

/opt/homebrew/Cellar/graphviz/2.49.0/bin/dot

window todo