CÁCH VẼ ACTIVITY DIAGRAM

      8
Visio Plan 2 Gói Visio 1 Visio Professional 2019 Visio Standard 2019 Visio Professional năm 2016 Visio Standard năm nhâm thìn Visio Professional 2013 Visio 2013 Visio Premium 2010 Visio 2010 Visio Standard 2010 Visio 2007 Xem thêm...Ít hơn

A UML activity diagram in Visio looks like a flow chart. The flow of control is triggered by the completion of actions (or activities) within the system. The flow may be sequential, concurrent, or branched, indicated by shapes such as swimlanes, forks, và joins.

Bạn đang xem: Cách vẽ activity diagram

Use an activity diagram to describe how several activities are coordinated khổng lồ provide a service or other end result. Activity diagrams can show how the events in a use case relate khổng lồ one another, or how a collection of use cases coordinate to represent a business workflow.

*

If you want to lớn represent a flow in response to lớn external events instead, use a state machine diagram.


Newer desktop versionsWeb2010 - 2007

Start an activity diagram

Start Visio. Or if you have a file open already, click File > New.

In the Search box, type UML activity.

Select the UML Activity diagram.

In the dialog box, select either Metric Units or US Units.

Select Create.

The diagram opens. You should see the Shapes window next lớn the diagram. If you don’t see it, go lớn View > Task Panes và make sure that Shapes is selected. If you still don’t see it, cliông xã the Expand the Shapes window button on the left.

On the View tab, make sure the kiểm tra box next to Connection Points is selected. This option makes connection points appear when you start connecting shapes.

You can now insert swimlanes & build the activity control flow in the diagram.

Design your diagram

If you want to lớn indicate responsibility in the activity diagram, drag a Swimlane shape onkhổng lồ the page for each class, person, or organizational unit you want to represent. To vì that:

Drag a Swimlane shape onlớn the drawing page.

Double-clichồng each label on the shape lớn change the default name.

Repeat steps a and b until you"ve added all the partitions or organizational units you need.

Drag the side selection handles on the swimlane shapes to lớn make the lanes the kích cỡ you want.

Use the Initial node & Final node shapes khổng lồ represent initial và final pseubởi vì states.

Add an Action shape for each action or activity state you want to lớn represent.

Use a Decision shape with guard conditions to lớn indicate a possible transition from an action state.

Use the Fork node to lớn represent the forking of one action state inlớn multiple parallel states.

Use the Join node to represent the synchronization of multiple action states inlớn one state.


Note: Creating và editing UML diagrams on Visio for the web requires a Visio Plan 1 or Visio Plan 2 license, which is purchased separately from vychi.com.vn 365. For more information, tương tác your vychi.com.vn 365 admin. If your admin has turned on "self-service purchasing," you can buy a license for Visio yourself. For more details, see Self-service purchase FAQ.


Start an activity diagram

Near the upper right corner of the page, select More templates.

Search for UML Activity or scroll down in the Gallery lớn the UML Activity row.

Start with a blank UML activity template or a UML activity starter diagram. Select Create on the one you want to lớn use.

You can now insert swimlanes and build the activity control in the diagram.

Design your diagram

If you want khổng lồ indicate responsibility in the activity diagram, drag a Swimlane shape onkhổng lồ the page for each class, person, or organizational unit you want lớn represent. To vì chưng that:

Drag a Swimlane shape onto the drawing page.

Xem thêm: Giáo Án Thơ " Hoa Kết Trái", Giáo Án Lqvh: Thơ Hoa Kết Trái

Double-cliông chồng each label on the shape lớn change the default name.

Repeat steps ab until you"ve added all the partitions or organizational units you need.

Drag the side selection handles on the swimlane shapes lớn make the lanes the size you want.

Use the Initial nodeFinal node shapes to represent initial và final pseuvày states.

Add an Action shape for each action or activity state you want to represent.

Use a Decision shape with guard conditions lớn indicate a possible transition from an action state.

Use the Fork node to represent the forking of one action state into lớn multiple parallel states.

Use the Join node to lớn represent the synchronization of multiple action states inlớn one state.


Start an activity diagram

xuất hiện the UML mã sản phẩm diagram that contains the UML element for which you want khổng lồ create an activity diagram.

In the tree view, right-clichồng the icon for the package, subsystem, class, operation, or use case in which you want khổng lồ create an activity diagram. Point to lớn New, và then cliông xã Activity Diagram.

A blank page appears, and the UML Activity stencil becomes the top-most stencil. The workspace displays "Activity" as a watermark. An inhỏ representing the diagram is added khổng lồ the tree view.


Note: If the tree view is not visible, on the UML thực đơn, point khổng lồ View, and then cliông chồng Model Explorer.


Design your diagram

If you want lớn indicate responsibility in the activity diagram, drag a Swimlane shape onkhổng lồ the page for each class, person, or organizational unit you want to represent.

From the Activity stencil, drag a Swimlane shape onto lớn the drawing page.

Double-clichồng the shape khổng lồ add a name và other property values.

Repeat steps a & b until you"ve added all the partitions or organizational units you need.

Drag the side selection handles on the Swimlane shapes to lớn make the lanes the kích thước you want.

Drag State, kích hoạt State, Object In State & Signal Receipt or Signal Send shapes into the areas defined by the swimlanes và connect them using Control Flow & Object Flow shapes.

Connect Control Flow shapes to State shapes to indicate the change from one state to another.

In an activity diagram, drag a Control Flow shape onto the drawing page.

Glue the Control Flow shape endpoint (without the arrowhead) khổng lồ a connection point

*
on the source kích hoạt State or State shape.

Glue the Control Flow shape endpoint (with an arrowhead) lớn a connection point on the destination kích hoạt State or State shape.

Double-clichồng the Control Flow shape lớn add a transition string, including an event, guard condition, action expression, & more.

If you want to replace transition strings with signal icons, use the Signal Send & Signal Receipt shapes to represent the signals.

Double-cliông chồng any shape khổng lồ open its UML Properties dialog box where you can add a name, transition string, guard condition, deferred events, & other properties.