Building a Statechart Diagram

This tutorial consists of 8 screens, each of which is described in a section of this page:
This tutorial builds the Statechart Diagram of the Enroll.zargo project.
(The screenshots in this tour were made with ArgoUML v0.6.2)


Back to ArgoUML Tours
Back to ArgoUML Home


01. The Finished Diagram

TOC  |  Next
Building a Statechart Diagram

This is what the final appearance of the Statechart diagram inside the "Enroll.argo" example will look we are finished. The Explorer, To Do, and Details panes have all been omitted in order to show what the complete diagram will look like. Every statechart diagram is associated with exacltly one class. In this case, the statechart diagram above is associated with the Grad class from the class diagram of Enroll.argo.


02. Create a Statechart Diagram

Back  |  TOC  |  Next
Building a Statechart Diagram

To create a new statechart diagram, you must first select the class that you would like to make the statechart diagram for, and then choose Create-Diagrams-StatechartDiagram. Once this is done, name the state diagram "Grad states". Double-click on "Grad States" to go to the statechart diagram editor pane.


03. Change to Statechart Diagram

Back  |  TOC  |  Next
Building a Statechart Diagram

Change the explorer perspective to Diagram-centric. This does not have to be done to create the statechart diagram, but it helps keep the tutorial clear. Refer to Step #2 of Building a Use Case Diagram for more help.


04. Add Initial and Final States

Back  |  TOC  |  Next
Building a Statechart Diagram

Use Building a Statechart Diagram to place the initial state, and Building a Statechart Diagram to place the final states.


05. Adding States

Back  |  TOC  |  Next
Building a Statechart Diagram

It would be easiest to double-click on Building a Statechart Diagram, and then to place and name your seven states. Use the broom tool Building a Statechart Diagram as needed for alignment. (Note: Pressing the Control key and dragging the mouse allows you to use the broom tool without using the toolbar).


06. Adding Transitions

Back  |  TOC  |  Next
Building a Statechart Diagram

Next, add and name the Trigger for all of the transitions Building a Statechart Diagram.

 


07. Adding a Composite State

Back  |  TOC  |  Next
Building a Statechart Diagram

A composite state Building a Statechart Diagram contains other states. Place one of these in the diagram and then put the "writeDissertation" and "finalDefense" states within it.


08. Finish

Back  |  TOC
Building a Statechart Diagram

Now your diagram is complete!


Back to ArgoUML Tours
Back to ArgoUML Home

相关文章:

  • 2021-03-29
  • 2018-04-15
  • 2021-08-03
  • 2021-11-21
  • 2021-10-07
猜你喜欢
  • 2021-12-12
  • 2021-07-02
  • 2021-08-16
  • 2021-11-29
  • 2021-04-14
  • 2021-11-01
  • 2021-08-03
相关资源
相似解决方案