时序图(Sequence Diagram),又名序列图、循序图,是一种UML交互图。它通过描述对象之间发送消息的时间顺序显示多个对象之间的动态协作。它可以表示用例的行为顺序,当执行一个用例行为时,其中的每条消息对应一个类操作或状态机中引起转换的触发事件。 基本用法 用->来绘制参与者之间传递的消息,-->表示虚线。 各种箭头的...
异步消息的接收者和发送者是并发工作的; 3)返回消息(Return Message): 返回消息表示从过程调用返回; 4)自关联消息(Self-Message): 表示方法的自身调用以及一个对象内的一个方法调用另外一个方法。 上述各个建模元素使用 plantuml 语言示意如下: @startuml actor 角色 activate 对象1角色 -> 对象1对象1-> 对象2...
7. All Skin Parameters — Ashley's PlantUML Doc 0.2.01 documentation 8. bschwarz/puml-themes: This repository is used to hold themes for plantuml (www.plantuml.com) diagraming tool. Users can use these themes to give there diagrams different looks. 9. plantuml/themes at master · plant...
1.用PlantUML命令创建一个文本文件,就像这个例子一样,叫做sequenceDiagram.txt。 @startuml Alice -> Bob: test @enduml 2.运行(或让你的软件调用)PlantUML,使用sequenceDiagram.txt作为输入。输出是一个图像,它或者出现在其他软件中,或者被写入磁盘上的图像文件。 例如。 java -jar plantuml.jar sequenceDiagram...
时序图(Sequence Diagram)用于展示对象之间的交互以及它们之间的消息传递顺序。它主要由以下元素组成: 参与者(Participant):图中的对象或实体。 消息(Message):参与者之间发送的消息。 激活(Activation):对象在处理一条消息的时间段。 基本语法 以下是创建一个简单时序图的基本语法: ...
时序图(Sequence Diagram),在软件工程中用于展示对象间交互的序列。这种图表特别强调消息流的时间顺序。PlantUML中的时序图不仅直观地展现了消息如何在不同对象间传递,还揭示了系统的运作机制。 7.1.1 时序图的基本元素 时序图由几个关键元素组成:参与者(Participant)、生命线(Lifeline)、消息(Message)和激活(Activat...
https://plantuml.com/zh/sequence-diagram 这种复杂的分组流程 用下列简单的文本就能描述出来了。 @startuml Alice -> Bob: 认证请求 Bob -> Alice: 认证失败 group 我自己的标签 [我自己的标签2] Alice -> Log : 开始记录攻击日志 loop 1000次 ...
Anchor does not work with the sequence diagram returnenhancementNew feature or request #1969 openedNov 5, 2024byzeljkot nwdiag : line core for network layertriage #1964 openedOct 28, 2024byJose-albino LineThickness not applied to start/end/stop nodesenhancementNew feature or request ...
end note:Use regular expression to match file name;if(filename?)then(yes):Return nil;else(no):Return error;endif stop @enduml 上面的代码创建了一个活动图,用于描述如何使用正则表达式匹配文件名。活动图从start开始,以stop结束。其中包含两个活动和一个条件。第一个活动是Define a regular expression,它...
State Machine Diagrams – models the behaviour of a single object, specifying the sequence of events that an object goes through during its lifetime in response to events. Object diagrams – use a subset of the elements of a class diagram in order to emphasize the relationship between instances...