Get the App
SLTechnology News&Howtos  ›  Development  › 

How to create activity Diagram in UML Modeling

Shulou Source: shulou.com Published: 2022-06-01 04:56:22 09月23日 Update

This article mainly explains "how to create an activity diagram in UML modeling". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to create an activity diagram in UML modeling".

Use activity diagrams

An UML activity diagram is a visual representation of the data flow or judgment of any system activity and between activities. When you click the diagram editor tab of the activity diagram, IDE displays a specific set of icon options in its modeling component panel. The activity diagram provides a very comprehensive view of business processes.

The figure has the following purposes:

◆ describes activities and the data flow or judgment between activities

◆ provides a comprehensive view of business processes

◆ describes the activities that occur in the use case

◆ uses completely different symbols to show many different activities

◆ displays parallel threads

Create UML activity diagrams

There are two parts when you create an activity diagram in UML modeling:

Create a UML project

Create a package that contains an empty activity diagram with a specified scope

Create a UML project

1. From the main menu, select File > New Project, and then do the following:

Under Category, select UML.

Under projects, select platform-independent models.

Click next.

Type a name and location for the project.

Note that after typing the project name, IDE automatically recommends that this name be used as the name of the project folder.

Click finish.

two。 The New wizard opens, which displays the create New Picture page.

For this example, click cancel.

IDE will do the following:

Create an empty modeling project independent of the platform.

Displays the project icon in the Project window. Let's take a look at the second part of how to create a UML activity diagram in UML modeling.

Create a package that contains a UML activity diagram with a specified scope

1. In the Project window, right-click the Model node.

Select add > package from the pop-up menu.

two。 In the name field, type a name for the package.

Accept the default value in the Namespace field.

3. Select the create a graph with a specified scope check box.

In the figure name field, type a name for the diagram.

4. Select activity Diagram from the Diagram Type list, and then click finish.

IDE will do the following:

Create a package node under the Model node using the package name you entered.

Create a graph node under the package node.

Display the new diagram in the diagram editor (at this point, it is empty).

Opens the modeling component panel, which displays the icon used to generate the activity diagram.

Thank you for reading, the above is the content of "how to create an activity diagram in UML modeling". After the study of this article, I believe you have a deeper understanding of how to create an activity diagram in UML modeling, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Activities projects names create activities nodes selections roles icons fields models learning differences business business processes between content platform data data flows files Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux OPPO Reno MariaDB MySQL Shulou Information