A brief summary of UML & Rational Rose –Activity Diagram & Statechart Diagram & other diagrams , Part V

7. Activity Diagram

The Activity Diagram is the closest to a flow chart, and the closest to a business process diagram.

 

7.1 A description of activity diagram elements

  • ­Initial state is where the diagram begins.
  • ­Control flow shows a transfer of control from one activity to another.
  • ­A state is one of the possible conditions in which an object may exist.
  • ­An activity is some behaviour that an object carries out while it is in a particular state.
  • ­Swin lane shows all of the activities carried out by a particular person or team arranged into a column.
  • ­Object in state shows an object that is produced or consumed in the course of an activity, with the production or consumption being represented by the dashed line.
  • ­Entry actions shows what must happen when the activity begins.
  • ­Stop state is where the diagram ends.

 

8. Statechart Diagram

­Statechart diagrams provide a way to model the various states in which an object can exist. Statechart diagrams focus on the state transition from one state to another.

A sample statechart diagram about purchase order object lists as follows.

9. Component Diagram

­A Component diagram displays the components in the system and the dependencies between them.

­The only type of relationship that exist between components is a component dependency.

­For a .NET application the components will be executables(.EXE) and libraries(.DLL) corresponding to the solution structure within Visual Studio .NET.


10. Deployment Diagram

­A Deployment diagram shows all of the physical nodes on the network, the connections between them and the processes that will run on each other.


OK. That's all.

原文地址:https://www.cnblogs.com/rickie/p/33978.html