VScode中使用plantuml画流程图

基础环境配置

  1. Windows10 操作系统
  2. Windows Java环境安装(Oracle)(下载链接 https://www.oracle.com/technetwork/java/javase/downloads/index.html)
  3. VScode安装 (下载链接:https://code.visualstudio.com/)

graphviz软件安装

  1. 下载graphviz软件,
    a. 下载graphviz软件,版本号为2.38。链接如下: http://graphviz.org/download/
    b. 安装graphviz,默认的安装路径为C:\Program Files (x86)\Graphviz2.38
    c. 设置graphviz软件的系统变量:右击“此计算机”的属性选项——>单击“高级系统设置”——>单击“环境变量”——>“新建”变量
    VScode中使用plantuml画流程图_第1张图片
    VScode中使用plantuml画流程图_第2张图片
  2. VScode插件安装
    a. 安装plantuml扩展
    VScode中使用plantuml画流程图_第3张图片
  3. 画图(写好代码之后,按Alt+D快捷键就可以预览了),示例代码如下,注意文件后缀名 :
    VScode中使用plantuml画流程图_第4张图片
@startuml
title 类图
note “类图部分符号示意” as comment
@enduml
  1. 效果预览
    VScode中使用plantuml画流程图_第5张图片

参考文献:

https://blog.csdn.net/xiaozhengchenxxm/article/details/82861433

你可能感兴趣的:(论文,流程图,plantuml,VScode)