目录
目录
一、基础用法
1.1 开始和结束
开始一般使用start关键字;结束一般使用stop/end关键字。基础用法包括:
start ... stopstart ... end
@startuml
start
:执行操作A;
stop
@enduml
1.2 操作步骤
语法为 :operation,其中 operation 是你为该步骤定义的名称。例如:
@startuml
:开始;
:执行操作A;
:执行操作B;
:结束;
@enduml
1.3 条件判断
使用PlantUML语法通常使用if-else关键字。通常由三种语法:
if (...) then (...) ... [else (...) ...] endifif (...) is (...) then ... [else (...) ...] endifif

最低0.47元/天 解锁文章
1392

被折叠的 条评论
为什么被折叠?



