Use staruml for modeling

Source: Internet
Author: User
Tags staruml

Use staruml for modeling

Staruml is a professional UML modeling tool and is the first software for beginners because it is free and open-source. Start:

1. Interface introduction:

There are four main aspects: toolbar, workspace, browsing area, and attribute area. The structure is as follows:

2. Create a model diagram:

UML has a lot of diagrams, and there are about nine types, but not all diagrams are required, so we only need to draw several types. Because of the length and time, here we only introduce the two types of graph painting, use case diagram and class diagram. These two types of graphs use the most.

Create an example:

Right-click usecasemodel In the browsing area and select Add digoal. In the pop-up menu, select Use Case digoal. A Use Case chart is created. The default name is usecasediagram1, by default, the canvas of the use case chart will be opened in the workspace, where you can create a model.

You can see the workspace of the use case diagram:

Create a class diagram:

The method for creating a class chart is the same as that for creating a Use Case chart.

3. Add an object:

There are two ways to add an object

First, click the object in the toolbar and drag it in the workspace.

Enter the object name. You can modify the attributes in the attribute area. The same applies to use cases.

Type 2: Right-click usecasemodel, select add, and select actor or usecase in the pop-up menu. The corresponding object will appear in the browsing area, after editing the attributes, drag the object to the workspace.

The object is added here and dragged directly to the Workspace:

After an object is added, you can establish a connection. Common contacts include direct connections, directedassociation, inheritance, and generalization. After selecting in the toolbar, click on the actor, and then drag it to the use case. The inherited link is on the parent case and drag it to the sub-case. In this way, we can basically meet the needs of creating a use case map.

For a class chart, the methods are basically the same. The difference is that the class chart has different objects.

Double-click class digoal In the browsing area and you will see the workspace of the class graph. You can use the above method to add objects, which are basically the same.

More things need to be explored by yourself.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.