Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在PhpStorm中设置了 PlantUML插件。
我已经下载了Graphviz 2.36并安装在我的机器上。
我已经搜索了如何设置Graphviz以便使用PlantUML在PhpStorm中执行UseCase,但我找不到任何信息
我不太清楚如何安装这个东西,所以这里有一些带图片的说明。
首先安装插件:
设置“Graphviz dot 可执行文件”:
可选择与.dot文件关联:
.dot
你必须用它来包装你的代码@startuml并@enduml让它做任何事情,所以它不是一个真正的点文件,但足够好:
@startuml
@enduml
我错过了设置“环境变量”。
http://plantuml.sourceforge.net/graphvizdot.html
设置好后,重启你的 PHPstorm 应该没问题。