问题描述
我已经在 PhpStorm 中设置了 PlantUML 插件.
I have already setup PlantUML plugin in PhpStorm.
并且我已经下载了 Graphviz 2.36 并安装在我的计算机上.
and I have download Graphviz 2.36 and install in my machine.
我已经搜索了如何设置 Graphviz ,以便使用 PlantUML 在 PhpStorm 中执行 UseCase ,但我找不到任何信息
I have searched how to setup Graphviz in order to use PlantUML to do a UseCase in PhpStorm, but I can't found any information
推荐答案
我对如何安装此东西还不太了解,所以这里有一些图片说明.
It wasn't really clear to me how to install this thing, so here's some instructions with pictures.
首先安装插件:
设置"Graphviz点可执行文件" :
(可选)与.dot
个文件关联:
Optionally associate with .dot
files:
您必须用@startuml
和@enduml
包装代码才能执行任何操作,因此它不是确实一个点文件,但足够好:
You have to wrap your code with @startuml
and @enduml
for it to do anything, so its not really a dot file, but good enough:
这篇关于PlantUML和Graphviz插件设置PHPstorm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!