idea安装 PlantUML插件
File -> Settings -> Plugins 搜索 PlantUML ,找到 PlantUML integration 并安装
电脑安装graphviz
idea 配置graphviz
File -> Settings -> Other Settings -> PlantUML
使用plantUML画流程图
新建uml 文件
输入测试文字
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
右边会实时现实流程图
其他
如果不想装graphviz,想直接用,可以下载chrome插件PlantUML Viewer,安装之后直接编辑文本,可以在浏览器直接显示。