The role activity diagram (Activity Diagram) What is the role of in the end?

2010-04-01  来源:本站原创  分类:Development  人气:369 

Today, I draw activity diagram, there is a feeling of paint more confused, and even begin to ask themselves the role of drawing activity diagram, activity diagram How to divide things to be done manually and the information systems function should be done? Question Points: 50, response times: 13

Activity diagram is based on the object's state changes by drawing view. Its main line is the state of change, not time, and timing diagram are objects in the different periods of performance.

Before you draw activity diagram, there must be use case diagram, for the use case diagram in each use case, there is a corresponding activity diagram (use case of course, some may continue to be broken down into sub use case), activity diagram is to represent a use case flow of events, for what you say to sub-divide to be done manually and the information systems function should be completed use case diagram shows you the difference between activity diagram and not clear? The use case diagram of each use case, should have a corresponding use case description, that is, to a use case for each documented (documenting), resulting use case description may be as follows (quoted other people's examples, Details can not be for lack of space to write)
-------------------------------------------------- -----------------
use case order configured computer
-------------------------------------------------- -----------------
brief decription this use case allows a customer to
enter a purchase order ....
-------------------------------------------------- ----------------- Actors Customer
-------------------------------------------------- -----------------
Preconditions Customer points an internet browser
to the computer manufacturer's order
entry web page. The page displays the
details of a configured computer to
-Gether with its price.
-------------------------------------------------- -----------------
Main flow The use case begins when the Cust
-Omer decides to order the
configured computer by choosing
the Continue (or similarynamed)
function when the order details
are displayed on the screen.
-------------------------------------------------- -----------------
Alternative flows The Customer activates the Purchase func-
tion before providing all mandatory
information.The system displays anerror
message and it requests that themissing
information be supplied.
The Customer chooses the Reset function
to revert to an empty purchase form.The
system allows the Customer to enter the
information again.
-------------------------------------------------- -----------------
Postconditions if the use case was successful, the
purchase order is recorded in the system
database. Otherwise, the system's state is
-------------------------------------------------- ----------------
use case description and activity models important difference: use case description is outside the system (we are to achieve the system) the role (actor) angle of view (from the above narrative can be seen), reflects the actor course of activities. The Activity model is the perspective from within the system, reflecting the system functions to complete the action process. So in the activities in the activity diagram should be the perspective from within the system for the

I think that the activity diagram showing the main flow of the event process, focusing on the performance of the process

Thank you for pointing:
My basic view is that activity diagrams: used to describe a business process use case; today I ask my brothers (as a teacher and teach basic view is the same), he said: The system can not complete all of the things Naturally, some features are accomplished by the people (such as do a marketing research, survey results may only be recorded in the system, the specific data collection or dignitaries to complete) so activity diagram, the angle from the manual describes a business process Some of them are manual, some functions of the system, activity diagrams describe the whole process
(Of course, this is a relatively thick activity diagram), but also easy to distinguish human-computer responsibility.

I think the analogy with the previous flowchart, can be expressed in order to determine, circulation.
sequence view of a general description of the process of use case
activity view a general description of the overall business process

I have come to receive them, unfortunately right brother made the most detailed multi-is in English, fail to understand the content.
Thank you for upstairs.

Activity diagram of the main technical idea of the event graph from Jim Odell, SDL state modeling techniques and Petri net techniques. These technologies were used to describe the process workflow and parallel behavior.

Activities, the interpretation of the term depends on the mapping purpose and level of abstraction. In describing the conceptual level view, the activities that need to complete some tasks; in the description and the implementation level view of the view layer, the activities that the class methods. An activity can be followed sequentially executed after another activity, which is simply the order of relations. If the triggering event is connected to a thick line with plus the Black Lands, said the synchronization bar, and the synchronization with the arrow article raises several trigger events, these events are triggered in parallel, meaning that the implementation of these activities in order can be arbitrary.

Activity diagram describes the activities and the need to do the order of implementation of these activities. Concurrent with the activities in that process, the activity diagram in order to give us the freedom to choose to do things. This is the activity diagram and flowchart of the fundamental difference. Retained in the model description of this parallel behavior for full discovery in the realization phase of the work that can be very beneficial in parallel, which can significantly improve business process efficiency and the sensitivity level of response.

Activity diagram is usually used for the following three conditions: analysis of use cases; understand the work involved in multiple use case flow; handling multi-threaded applications.

yihua_cai (consonance refers to) the statement seems to come from I've seen a book BUAA hope to some personal experience

studing ...

Activity diagram is a nexus of map

On the use case

Under the category of interior design

Description of activities based on use case diagram

Which describes each of the two ends of an arrow, it corresponds to some of the methods to design class or event

In order to meet the activity diagram, class methods can be some of the basic need for a preliminary OK

Together with the logical view, analysis of the relationship class

Can apply some design patterns can be further re-determine the number of class methods and properties

All of the plans, is to let you describe the demand scenarios - Use Case Design - logical view - kind of detailed

Abstract design of your class

In short, to object-oriented design process, ideas continuously, can be derived.

It is my understanding, I practice, feeling that such

My experience is:
Use case analysis is finished, always use the activity diagram first look at the user's operational processes that seems to draw er diagram the same, then the reference activity diagram, taking some typical scenarios, the performance into a sequence diagram it, as a design basis.
In addition, the activity diagram in each activity during the design stage into a class method of a control list of your activities, also verify that the design is complete and a means, which is why the rose inside, activity with the activity diagram shown together, not good as listed in the column associated with each activity diagram below.

Not necessarily the first, another use case activity diagram. General access requirements, you first use case of activity diagram only.