You are on page 1of 17

Step To Generate From StarUML

Use Case Diagram


Activity Diagram
Class Diagram

AUG2023 ISP550
Use case diagram

A use case diagram is a graphic depiction of the interactions among the elements of a system. A use
case is a methodology used in system analysis to identify, clarify, and organize system requirements.
UML use case diagram is the primary form of system or software requirements for a new software
program underdeveloped. Use cases once specified can be denoted both textual and visual
representation. In the other view, the concept of use case modelling is that it help us design a
system from the end user’s perspective. In use case diagram usually contain system boundary,
association and actor.

Figure 1: Example of Use Case diagram

Step to granerate use case diagram:

1. Open page of StarUML

AUG2023 ISP550
2. Right click at the Model tab, then click Add Diagram and Use Case Diagram.

3. Click on Actor and create Food Critic and Chef.

AUG2023 ISP550
4. Click on the Use Case Subject and create a box and rename it as RESTAURANT.

And

AUG2023 ISP550
5. Then click Use Case and create oval shape and rename Eat Food, Pay for Food, Drink wine and
Cook Food.

6.Click the Association tab and create the line.

AUG2023 ISP550
7.After that click File and Save.

8. Or else Export Diagram As and choose the file that want to use such as PNG, JPEG or SVG.

AUG2023 ISP550
Activity Diagram

Activity diagram is another important diagram in UML to describe the dynamic aspects of the
system. Activity diagram is basically a flowchart to represent the flow from one activity to another
activity. The activity can be described as an operation of the system. The control flow is drawn from
one operation to another. The activity diagram is made to understand the flow of activities and it
mainly used by the business users. The four main activities is drawn for the diagram which is send
order by the customer, receipt of the order, confirm the order and dispatch the order. After
receiving the order request, condition checks are performed to check if it is normal or special order.
Then the type of order is identify, dispatch activity is performed and that is marked as the
termination of the process.

Figure 2: Example of activity diagram

AUG2023 ISP550
Step of activity diagram:

1. Open page of StarUML.

2. Get the idea of what activity diagram to be design.

AUG2023 ISP550
3. Click on the Model tab and select Add Diagram and choose Activity Diagram.

4. Select Initial tab to create a dot and select Text to rename Admin on the top.

AUG2023 ISP550
5. Then select The Action tab to create Log In.

6. Then select Decision to create the diamond and select Control Flow to make the arrow.

AUG2023 ISP550
7. Use the same tab like Action, Control Flow and Initial to create Display Error, Logged In,
arrow and Dot.

8. Save the diagram after finish or Export Diagram As to JPEG, PNG, or SVG.

AUG2023 ISP550
CLASS DIAGRAM
In software engineering, a class diagram in Unified Modelling Language (UML) is a type of
static structure diagram that describe the structure of a system by showing the system’s
classes, attributes, operation or methods, and the relationships among objects. A UML class
diagram is made up of a set of classes and a set of relationship between classes.
Class describe of a group of objects all with similar roles in the system which consists of:
• Structural features (attributes) define what objects of the class “know”
- Represent the state of an object of the class
- Are description of the structural or static features of a class
• Behavioural features (operations) define what objects of the class “can do”
- Define the way in which objects may interact
- Operations are descriptions of behavioural or dynamic features of a class

Figure 3: Example of class diagram

AUG2023 ISP550
Step to generate class diagram:

1. Open the page of StarUML.

2. Get the idea to make a simple class diagram.

AUG2023 ISP550
3. Select the Model tab, then Add Diagram and Class Diagram.

4. After that, select Class to make a table and rename Login. Click the (+) button to insert
the attribute.

AUG2023 ISP550
5. Select the Class tab to make the other table.

6. To add the attribute in the table, left click under the table and click Add and the
operation.

AUG2023 ISP550
7. Click the (+) button to add attribute.

8. Click the Directed Association to make arrow to connect the two table.

AUG2023 ISP550
9. Finally save the file or export as the file to JPEG, PNG, and SVG.

AUG 2023 ISP550

You might also like