Building a Statechart Diagram

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

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

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

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

Use to place the initial state, and to place the final states.


05. Adding States

Back  |  TOC  |  Next

It would be easiest to double-click on , and then to place and name your seven states. Use the broom tool 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

Next, add and name the Trigger for all of the transitions .

 


07. Adding a Composite State

Back  |  TOC  |  Next

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


08. Finish

Back  |  TOC

Now your diagram is complete!


Back to ArgoUML Tours
Back to ArgoUML Home

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值