1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
start
:ClickServlet.handleRequest();
:new page;
if (Page.onSecurityCheck) then (true)
:Page.onInit();
if (isForward?) then (no)
:Process controls;
if (continue processing?) then (no)
stop
endif

if (isPost?) then (yes)
:Page.onPost();
else (no)
:Page.onGet();
endif
:Page.onRender();
endif
else (false)
endif

if (do redirect?) then (yes)
:redirect process;
else
if (do forward?) then (yes)
:Forward request;
else (no)
:Render page template;
endif
endif
stop
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
start
:ClickServlet.handleRequest();
:new page;
if (Page.onSecurityCheck) then (true)
:Page.onInit();
if (isForward?) then (no)
:Process controls;
if (continue processing?) then (no)
stop
endif

if (isPost?) then (yes)
:Page.onPost();
else (no)
:Page.onGet();
endif
:Page.onRender();
endif
else (false)
endif

if (do redirect?) then (yes)
:redirect process;
else
if (do forward?) then (yes)
:Forward request;
else (no)
:Render page template;
endif
endif
stop

title uml模型图题目支持MD center header 在此处添加标头 endheader start ‘开始’ ‘»»> 活动关系模块 支持嵌套,条件/循环/并行»»»’ if(环境条件) then (分流线名) :分支1活动; -[颜色]-> 线备注; note left 活动备注 end note elseif(分流线名) :分支2活动; else (分流线名) :分支3活动; endif

repeat :循环活动; repeat while (环境条件)

while (环境条件) :循环活动; endwhile

fork :并行活动; fork again :并行活动; end fork

‘&&&&& 活动图组合模块 &&&&&&’ partition 活动组名{ :单元活动名称; }

|#颜色 | 泳道名称| :当前泳道活动;

stop ‘结束/end关键字’ center footer 在此处添加脚注 endfooter