在Plugins中 安装PlantUML integration插件
http://www.graphviz.org/网站下载graphviz.exe并安装(这个软件可以支持更多的UML语法)或者使用https://graphviz.gitlab.io/_pages/Download/Download_windows.html dot.exe路径添加到PlantUML的设置中
1.安装插件
file->settings->plugins 
2.安装graphviz.exe
下载地址 https://graphviz.gitlab.io/_pages/Download/Download_windows.html ,下载安装后记住安装的地址,第三步要用

3.将graphviz安装目录下的dot.exe路径添加到PlantUML的设置中
File -> Settings -> Other Settings -> PlantUML

安装成功
新建文件选择plantUML File 即可创建

效果图

注意:
如果不安装graphviz.exe,出现一下效果

原文:https://www.cnblogs.com/houss/p/11926727.html