用代码写uml并在线生成uml图

可以用PlantUml写uml,并在线生成uml图。

@startuml
start

:登录系统;
if (用户名和密码正确?) then (yes)
  :进入系统首页;
  :展示主菜单;
else (no)
  :显示登录错误;
  stop
endif

:选择模块;
partition "课程信息" {
  :查看课程列表;
  :查看课程详情;
}
partition "课程签到" {
  :查看学习课程;
  :对未签到课程进行签到;
}
partition "公告信息" {
  :查看公告信息;
}
partition "签到提醒" {
  :查看未签到课程;
}

stop
@enduml

用这个在线编辑器,支持中文。

PlantUML EditorPlantUML online demo clienticon-default.png?t=N7T8https://plantuml-editor.kkeisuke.com/

相关推荐

  1. UML

    2023-12-17 12:10:02       29 阅读
  2. uml基础-类

    2023-12-17 12:10:02       52 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-17 12:10:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-17 12:10:02       100 阅读
  3. 在Django里面运行非项目文件

    2023-12-17 12:10:02       82 阅读
  4. Python语言-面向对象

    2023-12-17 12:10:02       91 阅读

热门阅读

  1. MySQL数据库存储

    2023-12-17 12:10:02       58 阅读
  2. pytorch之导出ONNX相关问题

    2023-12-17 12:10:02       60 阅读
  3. 如何在PHP中使用PDO预处理语句?

    2023-12-17 12:10:02       59 阅读
  4. fastadmin 导出

    2023-12-17 12:10:02       60 阅读
  5. RHCSA 9版本考试资料

    2023-12-17 12:10:02       85 阅读
  6. 【tcmalloc】(六)pagecache设计(申请)

    2023-12-17 12:10:02       58 阅读
  7. 防抖与节流:Vue中的优化技巧

    2023-12-17 12:10:02       72 阅读
  8. nginx中的root and alias命令的区别

    2023-12-17 12:10:02       77 阅读