Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [uml]

The Unified Modeling Language is the industry standard for modeling software-intensive systems.

1
vote
1answer
56 views

Trying to understand Sequence Diagram

I am trying to understand two sequence diagrams that I have found in the SE course at university of Washington. Can you confirm if my understanding is correct ? Diagram 1: According to my ...
0
votes
1answer
33 views

How to manually model a UML activity Diagram to JSON with Qt C++?

Suppose I have a kind of UML activity diagram with 1-n forks and joins. The assignment of the individual nodes relative to each other is defined by an XML relationship table via UUIDs where each ...
1
vote
1answer
40 views

UML extending class assiciations with generalizations

I have a simple concept like in the image below. Basically there is an Item which can be 1 of 3 types and a character that can be 1 out of 2 types. All generalizations are disjointed. What I'm ...
-2
votes
1answer
41 views

I am creating a use case for an information system which is needed to help deal with the editing of the magazine

I have been tasked to create one use case to cover the main functionality of the scenario below. So far the use case which I have come up with is create magazine issue and the actor is the Editor. I ...
0
votes
0answers
48 views

Confused internal and external use case diagram

I just got an assignment one of the questions is asking me to create 2 use case diagrams for a retailer database one internal and external however I'm not sure what the different is between them and ...
1
vote
2answers
73 views

Why are fork and join nodes necessary in UML

I have some background in Petri nets, and in my last UML training, the trainer explained how activity diagrams are essentially a form of a Petri net with Petri net semantics. Now read that fork and ...
-3
votes
1answer
20 views

Use Case Diagram for Mobile and Web

Do I need to create a different use case diagram for my mobile app and for my web app? I have a mobile and a web app but mobile users cannot access the web application. Only the admins can do that.
1
vote
1answer
34 views

Can I use UML use cases to model settings?

Is correct to represent setting options using use cases? For example the user can: - enable background updates - change map color - change interval updates From https://www.uml-diagrams.org/use-...
0
votes
3answers
94 views

In which case will a token from an activity join node be rejected?

In an UML activity diagram, join nodes synchronise concurrent flows by regulating the flow of tokens. The UML specifications foresees that tokens can be rejected. Section 15.3.3.4 Join Nodes says: ...
1
vote
1answer
42 views

“join node” and “fork node” for a single branch in UML

Section 15.3.3.3 of UML specification says: Fork Nodes A ForkNode is a ControlNode that splits a flow into multiple concurrent flows. Also 15.3.3.4 says: Join Nodes A JoinNode is a ...
5
votes
1answer
115 views

How “selection behavior” works in UML?

After two hours reading/searching in about examples and usages of selection behavior of object flows, I guess that selects all tokens which satisfy a criteria (like a query) and this can change order ...
0
votes
1answer
52 views

offering multiple tokens at the same time in Activity diagram

UML specification says: If multiple tokens are offered at the same time, then the tokens are offered in the same order as if they had been offered one at a time from the source I want to know "...
2
votes
1answer
36 views

Thematic/Semantic tagging of associations in UML

Is it possible to use semantic tags in UML associations (among classes) to express the wider semantic nature of the relationship? For example, consider the relation that Doctor TREATS Patient. Beyond ...
1
vote
1answer
65 views

How to represent a specific type of interface dependency in component diagram?

I'm currently having a hard time with creating a component diagram that should represent a certain type of component/interface dependency and hope that you can give me some hints. As background, I ...
2
votes
1answer
45 views

Where should this component be in Deployment Diagram

I have a quick question. Imagine this scenario: There is a webapp in server X. There is also another component (file) in server Y. In the webapp, starting, it does: <script src="component from ...
3
votes
1answer
199 views

can I send message to the actor in sequence diagram

Is it correct for the user(actor) in sequence diagram to receive a message from object while<< UI>> is exist in the diagram for example user will request to edit some data ..so the request will ...
-3
votes
1answer
156 views

Difference between UML 2.0 vs 2.5 in use case diagram

I got a question in examination asking to draw an Use case diagram using UML 2.5. However I can't figure out what are the changes in UML 2.5 and 2.0 in Use case diagrams.
0
votes
0answers
17 views

“Normalisation” of XMI documents?

I use Umbrello for editing my UML diagrams, and archive them as XMI files. XMI is a nice, textual format, which should be ideal for traditional source based version control tools such as Git, ...
-1
votes
1answer
68 views

Is there unified methods for system modeling?

There are tons of courses and tutorials about specific technologies and programming languages such as: JS, HTML, Python, etc. However, the field of system analysis lacks the same attention that ...
1
vote
0answers
78 views

UML Class Diagram HashMap with different Key datatype using Qualified Association

By using the qualified association element of UML Class Diagram, we can create HashMap as the datatype of one of our class attributes (see here). In my case, I have to use HashMap with different key ...
-3
votes
1answer
491 views

UML Class Diagram HashMap Data Type

How can I show a Java HashMap data type in UML Class Diagram (or C# dictionary)? I.E. This class: public class Test { private Map<String, String> map; private Map<String, int> ...
0
votes
1answer
203 views

UML Class Diagram with reference data type

For the following UML Class diagram, I have a reference data type Nurse, and I am using it in Hospital Class, is it needed all the time to describe the reference data types in UML Class diagram? Is ...
0
votes
0answers
39 views

UML activity diagram: Action and Activity

Most UML software has two kinds of nodes for the activity diagram: Action and Activity. To me it seems that an Activity could represent something that by itsself would be represented by another ...
1
vote
1answer
31 views

How properly include dependencies to artifacts in UML use cases

I want to express a use case diagram involving two stakeholders, where one stakeholder's use case is co-depending on an artifact, that is produced by the other stakeholder's use case. In the ...
0
votes
1answer
84 views

How to define a system class?

My course notes have stated that a system should have a system class which coordinates the behaviour of all other objects in the system and should be one which is instantiated only once. In many ...
0
votes
1answer
208 views

UML Class Diagrams - Too many associations?

I have recently started a course in software development and I'm having some confusion over modelling my system in a Class Diagram. The context of the system is as follows: The user wants to calculate ...
-4
votes
2answers
71 views

minimalistic software modeling standard as a replacement for UML

I've been using UML 2.x for several years and it really worked for Object-Oriented languages like C# and Java especially when the software was big enough to be considered an enterprise-level system. ...
-2
votes
1answer
159 views

How to read an UML abstract class notation

I am trying to understand UML abstract syntax seen in the UML Specifications. This example below is hard to understand. For example, I don't understand: the {subsets ownedElement}, the hybrid ...
2
votes
2answers
271 views

How to depict the relationship between a Back-End and a DB in a component diagram?

I don't think I completely understand what a component diagram should show. Let's say I have a 3-tier web application for a homestay booking system, similar to airbnb. The 3 main components are clear: ...
1
vote
1answer
369 views

What does the UML symbol with a cross inside a circle mean?

I've been trying to figure out what this certain UML symbol means. It is only used in design diagrams (as far as I know). I've got UML distilled (3rd edition), but that too doesn't explain what ...
0
votes
1answer
38 views

Bill Splitter application UML Design

I just want to improve this design, share your thoughts. Q1. I have specialized Splitter class based on monetary unit as "MonetarySplitter" and "NonMonetarySplitter". Whether doing so is correct? To ...
1
vote
0answers
54 views

What is the correct way in UML to have interfaces with properties?

In the example below I would like to have an interface that define a data structure schema with some properties, here foo is a static property of the class. The last inherited class override the ...
4
votes
3answers
190 views

Where to put the the composition?

In the following diagram I have a Car which has a Motor. An Audi A6 is a Car which has a Motor of type 2.4 L V6. So both the Car and the Audi have a composition on a motor. However it looks ...
4
votes
2answers
263 views

Best diagram to show relations between several applications

I'm currently an intern at a company. For my intermediate report I Received some feedback about displaying the relations between multiple applications. So in my image all 3D rectangles are a deployed ...
1
vote
1answer
55 views

Is 'extending' a use case unnecessary when it is directly associated with the actor?

I have an Employee who can view items . he also can checkout an item independently (regardless of manage items use-case ). The problem is that when an Employee view items he can choose to checkout one....
1
vote
1answer
105 views

UML, <<extending>> and <<including>> from the same use case

This is a use case diagram about the enrollment of students at a university. There are several flaws in it, and I have to find them. I am wondering what is happening when you get to use case "Choose ...
1
vote
1answer
287 views

When “Log in” should be a use case and when not?

I know this question has been asked many times in different forms, but I feel that there is still no definitive answer to it. Some say login is not a valid use case because login does not have any ...
1
vote
2answers
124 views

Are repeat, forward, rewind and stop extending usecases of the base usecase “Play Music” in a music player?

I am confused in a scenerio, where i have a music player that has a music playlist. I need help on the following usecase of the music player. Title : Play the music playlist Precondition: ...
1
vote
1answer
54 views

How can we make Use Case Model in UML for given Statement?

I have the following statement for which I have to make Use Case Model I am just stuck at two points, I have completed all the actors and use cases. Problem Statement News Mobile Application offers ...
-2
votes
1answer
65 views

Model component with self dependency

It would be my first system modelling so I am not really familiar with component diagrams. I know that I can use class instead of interface I just did not not attached to the component instead of the ...
-3
votes
1answer
274 views

UML Class Diagram for python flask application

I have developed a web-application using python's Flask framework and MySQL for my software engineering project assignment. My Instructor asked us to submit UML diagrams for the Project, I was able to ...
0
votes
1answer
218 views

UML class diagram for MVC project that run R project

I'm working on ASP.NET MVC project where controller calling static class that run R scripts from external R project Controller public ActionResult Index() { Rscript.Run("...
3
votes
1answer
224 views

Views are not classes how to put them in class diagram in MVC design pattern?

In UML class diagram in MVC software design pattern there are model view controller classes and in ASP.NET MVC all views are cshtml not classes my question is how to put views in class diagram ?
0
votes
1answer
46 views

UML state diagram for N number of approvals

I am writing my first state diagram for an approvals matrix and I am stuck. An Order in our system will go through a number of states and transitions for approval: States Start (state) (submit() ...
1
vote
1answer
126 views

Modelling a UML Use Case Diagram from a scenario with detailed information

I am having trouble gaining an intuition about UML Use Case Diagrams and what to include in them and what not, starting from a given scenario in prose. I have read through my course materials and the ...
0
votes
0answers
257 views

Class Model Diagram vs. Concept Class Diagram?

In the requirements engineering process of gathering requirements, etc., models are used to depict the relationship between various entities. The two mentioned models are just two but I'm trying to ...
2
votes
1answer
96 views

Use case causes other use cases

I am making this independent drone control system that a user can start and stop. When the program is started, the connected drone takes off, hovers, and turns to face the other side. At first I ...
3
votes
2answers
213 views

Use Case Diagram

I'm not sure if my diagram is correct, is it ok to have this number of include relationship? Note: My system scenario: user go to web page and enter any Twitter user account, then my system will ...
1
vote
3answers
312 views

How to display a C# using() statement in sequence diagram

Is there a rule/guideline about how to display a C# using() statement in UML sequence diagrams? I'm right now in the last months of my apprenticeship. And to prove, that I'm able to develop software ...
1
vote
1answer
145 views

Representing handlers on UML diagrams

This question is a follow-up to Representing multiple actions for sequence of objects on activity diagram, but isn't strictly related. The question boils down to: How to present in UML patterns that ...