1 / 10

Activity Diagrams

Activity Diagrams. Activity Diagrams Overview. A flexible model for examining the flow of activity Starts with an initial state and end with a final state Documents the flow of activities Shows the sequence of activities

nhung
Download Presentation

Activity Diagrams

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Activity Diagrams

  2. Activity Diagrams Overview • A flexible model for examining the flow of activity • Starts with an initial state and end with a final state • Documents the flow of activities • Shows the sequence of activities • Can use swimlanes to show how activities are split among different users, departments, or subsystems

  3. Activity Diagrams Overview • Uses transitions (pairs of solid lines) to show the beginning and end of • Actions that may be repeated • Branches where more than 1 action occurs in parallel • Uses a diamond shape (decision) to show where the next activitie(s) varies based upona condition

  4. Activity Diagrams Purpose • A flexible model for communication with users about how activities (use cases?) interact to implement a complete function or lifecycle of a key system element • Similar to, but less formal than a state machine model

  5. VISIO Activity Diagram Elements • States • Initial , Final • Action state • Note that the object name is displayed only for the action state • State do appear as objects in the model explorer & can be used across diagrams

  6. Visio Swimlanes • Swimlanes allow activities to be classified by the user doing them, the location, the sub-system, etc. • Swim lanes are not saved as objects that can appear across diagrams

  7. Control Flows • Control flows link 2 states • The control flow name is not displayed, but its guard body is • As a flow it is not saved as an object shared across diagrams

  8. Decision • The decision component creates and object that can be used across diagrams • It displays as a small diamond on the drawing and its name and description do not display • Can label the flows from it or could add a Note to describe it

  9. Transition (Fork) • Transitions are to be added in pairs to denote the beginning and end of a set of activities where • The activities between the transitions may be performed repeated before moving on to the succeeding activities or • Multiple activities or sets of activities occur over the same period and all must be completed before moving on to the steps below the last transition

  10. Transition Examples • Appear as bars on the diagram with no labels • Are saved as objects • Labels flows in and out or add notes if needed to describe actions

More Related