UML第一次作业:

一、用例

 用例用圆括号(),或者使用关键字来定义用例

@startuml

(First UML)

(Another UML)as(UC1)

usecase WTL

usecase(Last UML)as UC2

@enduml

用例

二、角色

   用两个冒号包裹来表示,或者通过关键字actor来定义角色

@startuml

:First role:

:Another\role:as NO1

actor wtl

actor:last role:as NO2

@enduml

三、用例描述

     用双引号来定义多行的用例描述

@startuml

usecase UC1 as"You can use

plantuml to write your uml.

--

Several separators are possible.

==

And you can add titles:

...wtl...

This allows large description."

@enduml

猜你喜欢

转载自www.cnblogs.com/97-ntu/p/10573266.html
今日推荐