`
gstarwd
  • 浏览: 1537260 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Activity diagram

    博客分类:
  • UML
 
阅读更多

     Activity diagrams show the procedural flow of control between two or more class objects while processing an activity. Activity diagrams can be used to model higher-level business process at the business unit level, or to model low-level internal class actions. In my experience, activity diagrams are best used to model higher-level processes, such as how the company is currently doing business, or how it would like to do business. This is because activity diagrams are "less technical" in appearance, compared to sequence diagrams, and business-minded people tend to understand them more quickly.

An activity diagram's notation set is similar to that used in a statechart diagram. Like a statechart diagram, the activity diagram starts with a solid circle connected to the initial activity. The activity is modeled by drawing a rectangle with rounded edges, enclosing the activity's name. Activities can be connected to other activities through transition lines, or to decision points that connect to different activities guarded by conditions of the decision point. Activities that terminate the modeled process are connected to a termination point (just as in a statechart diagram). Optionally, the activities can be grouped into swimlanes, which are used to indicate the object that actually performs the activity, as shown in Figure 6.

 

Figure 6: Activity diagram, with two swimlanes to indicate control of activity by two objects: the band manager, and the reporting tool

In our example activity diagram, we have two swimlanes because we have two objects that control separate activities: a band manager and a reporting tool. The process starts with the band manager electing to view the sales report for one of his bands. The reporting tool then retrieves and displays all the bands that person manages and asks him to choose one. After the band manager selects a band, the reporting tool retrieves the sales information and displays the sales report. The activity diagram shows that displaying the report is the last step in the process.

分享到:
评论

相关推荐

    UML建模之活动图介绍(Activity_Diagram)

    【UML建模之活动图介绍(Activity Diagram)】 活动图是统一建模语言(UML)中的一个重要组成部分,主要用于描述系统或过程的动态行为。它以一种流程图的形式展现了控制流从一个活动到另一个活动的顺序,尤其适用于...

    Activity Diagram0.asta

    Activity Diagram0.asta

    活动框图(Activity_Diagram)简介

    活动框图,即Activity Diagram,是UML(统一建模语言)中用于描述系统内部动态行为的图表之一。它主要用于展示系统内部操作的流程,包括计算过程中的顺序和并发步骤。活动图特别适用于工作流、算法以及计算机指令等...

    tcm.src.tar.gz_ER_TCM_activity diagram_diagram_event

    ER-diagrams, data and event flow diagrams and state-transition diagrams,class-diagram editor, a use-case diagram editor and an activity diagram editor

    ATM机系统UML图

    3. **活动图**(Activity Diagram):活动图展示了系统中某个过程或功能的详细工作流程。对于ATM系统,可以创建一个活动图来表示取款过程,包括输入密码、选择操作、确认金额、出钞等步骤。 4. **类图**(Class ...

    Using UML Activity Diagrams for the Process View

    本文档由资深软件架构师Ben Lieberman撰写,旨在介绍如何利用统一建模语言(Unified Modeling Language, UML)中的活动图(Activity Diagram)来描绘系统的流程视图(Process View)。活动图是一种图形化的表示方法,...

    软件工程ATM系统UML设计

    7. **活动图(Activity Diagram)**:活动图是流程图的一种形式,用于表示工作流或控制流。在ATM系统中,活动图可以用来描绘从用户插入卡片到完成交易的整个过程,包括验证身份、选择服务、输入金额、确认交易等步骤...

    Net Activity Diagram v2.3

    可以监视你的网络连接,监视本地连接和网络联机,并显示出数据传输量,通过它独一无二的过滤技术,你可以统计每一个程序的数据传输量。

    Simulating Software Behavior based on UML Activity Diagram

    本文讨论了如何基于UML活动图模拟软件行为来发现软件设计模型中的设计缺陷。研究的关键点在于,虽然UML活动图在工业和学术界得到了广泛的应用,但直到目前为止,通过自动化手段寻找软件设计模型中的缺陷仍然不被支持...

    DiagramDesigner

    6. **活动图(Activity Diagram)**:活动图类似于流程图,用于描述系统或对象的动态行为,比如工作流程、业务过程等。用户可以通过DiagramDesigner设置决策点、分支和并行活动。 7. **组件图(Component Diagram)**:...

    Visual Diagram

    5. **活动图(Activity Diagram)**:类似于流程图,用来表示业务流程或系统操作的控制流。 6. **组件图(Component Diagram)**:在软件工程中,显示系统中物理或逻辑组件的组织和依赖关系。 7. **部署图(Deployment ...

    UML2.2-Visio2007.zip.

    class diagram, package diagram, object diagram, composite structure diagram, interaction diagram, sequence diagram, communication diagram, interaction overview diagram, activity diagram, state ...

    软件工程 课程设计

    Use case diagram(用例图)、Class diagram(类图)、Object diagram(对象图,Rose中没有)、Sequence diagram(序列图)、Collaboration diagram(协作图)、Statechart diagram(状态图)、Activity diagram(活动图)、...

    软件设计说明书打飞机游戏大厅系统样本.doc

    在本文档中,我们使用了 Activity Diagram 来描述打飞机游戏大厅系统的活动过程。 Component Diagram Component Diagram 是指用于描述软件系统的组件结构的图表。在本文档中,我们使用了 Component Diagram 来描述...

    网上商店uml及数据库详细设计文档和ppt展示(英文)

    文档条理清晰,是对网上书店的业务流程经过仔细考虑后进行的的系统分析和设计过程,该文档为英文版本,对网上书店的主要6个业务流程分别画了sequence diagram,collaborationdiagram和activity diagram这三种uml图来...

    UML建模-面向对象设计

    《UML建模-面向对象设计》系列文章描述了常见的一些UML图,主要包括了用例图(Use Case Diagram)、类图(Class Diagram)、活动图(Activity Diagram)、时序图(Sequence Diagram)、状态图(Statechart Machine ...

    UML运用于开发过程的流程

    2. **Activity Diagram**:对于复杂的用例,可以使用Activity Diagram来进一步细化其工作流程,展示一系列连续的动作和决策。虽然有些人推荐在这个阶段使用Sequence Diagram,但Activity Diagram更适合描绘流程性...

    Modeling Activity Diagram on Eclipse-开源

    这是一个从活动图生成代码的建模工具。 主要目标是实现良好的代码生成。 我希望有不同的可能性,例如来自图HTML映射和用户选择的Java代码生成(也许其他)。

    设计模式课程作业.zip

    用例图(Use Case View)、类图(Class Diagram)、对象图(Object Diagram)、构件图(Component Diagram)、部署图(Deployment Diagram)、状态图(StateChart Diagram)、活动图(Activity Diagram)、序列图...

    UML Classroom

    the state machine diagram, the activity diagram, and the use case diagram), as well as their interrelationships, in a step-by-step manner. The topics covered include not only the syntax and the ...

Global site tag (gtag.js) - Google Analytics