Questions tagged [uml]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

How to Represent actions in a UML state diagram that may be executed from a base state or as a result of another action from that state

I am creating a UML state diagram to help me plan the card game simulator I'm working on. At the moment I'm stuck on an issue where actions that can be performed from the "Main" state, the ...
1 vote
2 answers
45 views

Is inheritance in use case diagrams between actors limited to one specific diagram

Is inheritance in use case diagrams between actors limited to one specific diagram or is it applies to other diagrams too? e.g. I got 2 actors let's say Actor A, Actor B. I got also two use case ...
-1 votes
0 answers
6 views

How to unlock a locked enterprise architect diagram? [migrated]

I got an Enterprise Architect document which has its diagrams locked, see screenshot below from clicking in the diagram background using the context menu: The Lock Diagram option is active and cannot ...
2 votes
1 answer
86 views

How should I model the actors in a use case diagram for a platform that allows users to both watch videos and create their own channels, like YouTube?

Should I use separate actors for "Video Watcher" and "Channel Creator," or a single actor called "User" that represents all users of the system? i have a webapp where ...
  • 33
0 votes
2 answers
109 views

Mapping class diagrams to source code

I'm attending a software engineering class at my university, and my final consists of a fully-documented desktop application to be built in a four people team. While designing and coding this software,...
2 votes
1 answer
68 views

UML Class Diagram Excersise

Problem statement: The information system of a university must manage information relating to its employees, departments, institutes, courses provided, and research projects. Information relating to ...
0 votes
1 answer
65 views

I'm very confused coming from MYSQL, is it necessary to "connect" classes via matching IDs as attributes or are associations enough?

I'm making a class diagram for my school project, an Inventory Management System. So far, I've made the use-case and activity diagrams, however, I'm struggling with the class diagram and mostly ...
0 votes
0 answers
45 views

Is this the main difference between Composition and Aggregation? [duplicate]

I think the difference between Composition and Aggregation is as follows. Composition: When the parent object is killed, the child object cannot be used by another object. Ex: Employee and BankAccount....
2 votes
1 answer
143 views

UML Diagram double arrow

In a Microsoft Learn article on MVVM there is an, what I assume, UML diagram that didn't make sense to me. (https://learn.microsoft.com/en-us/archive/msdn-magazine/2009/february/patterns-wpf-apps-with-...
  • 31
-2 votes
1 answer
48 views

How to add methods in a class that uses other classes in UML class diagrams?

I have an index file that uses three main JS classes each defining one method. The JS application is about listing a folder datasets, deleting a dataset from that folder, or uploading a dataset from ...
  • 13
0 votes
2 answers
114 views

Is there a UML symbol representing instantiation? This one doesn't seem to be one

The following figure comes from https://spring.io/guides/topicals/spring-security-architecture I refer to it as a "figure" rather than a "diagram" as I'm not sure if it is. the ...
  • 111
0 votes
2 answers
72 views

Use case diagram feedback; is this correct?

I'm trying to learn to create use case diagrams and would appreciate some pointers. The sample problem is to create a use case diagram for a seller in an online magazine selling site, I only have to ...
  • 11
2 votes
1 answer
63 views

Can we use external parties as objects in a sequence diagram?

I am currently building a sequence diagram for a website to allow customers to make online bookings for a travel agency. If a customer books a flight, he/she can use an online payment method to pay ...
0 votes
0 answers
87 views

How to show C++ concept relations in UML

A C++ concept can be constructed by combining other concepts or a list of required expressions, with boolean operators. When a class A inherits from B, there is only one relation (mostly resembles ...
1 vote
1 answer
55 views

UML design for data analytics of aggregated Survey Data

First and foremost, let me say that I do not have a Software Engineering background . I need help from the community as I have been assigned to create a UML (Unified Modeling Language) design from ...
2 votes
1 answer
139 views

UML State Machine Diagram - How to model an event that occours repeatedly

I'm trying to model the evolution of a player's energy in a game. I have an "alive" state, and a transition to it from the initial pseudostate that has the effect of setting the initial ...
0 votes
1 answer
72 views

Deployment diagram condradictions

I am trying to understand how a deployment diagram works by making one and reading up on it. I have come across multiple different (contradicting) statements or I am flat out misunderstanding them. ...
-1 votes
1 answer
68 views

Object Diagram help [closed]

I'm making an object diagram. This is based on a random time during a Cataract Surgery, which is when surgeon replace a lens in your eye. Students are observing the surgery through VR. The basis of ...
1 vote
2 answers
127 views

How to deal with often repeated relations in UML Class Diagrams / ERM?

Suppose you have a ERM containing about 40 Classes / Entities. Most of them in quantified relations to others, some of them as standing there alone. How to deal with a very often used relation/...
28 votes
6 answers
9k views

Is documenting a big project with UML Diagrams needed, good to have or even not possible?

I developed a big(ger) project, which is in use already and grows, gets altered, fixed, etc. every week. Until now I am the only developer. Since the team has to grow, also we will be more developers ...
0 votes
0 answers
47 views

UML Statecharts

I have been using an implementation of UML statecharts in C++ similar to that defined in the book "Practical Statecharts in C/C++" by Miro Samek (https://www.state-machine.com/psicc). One of ...
4 votes
1 answer
498 views

Use Cases in Clean Architecture, in Requirements Specifications from Software Engineering and Use Case Diagrams in UML

Well, I've been studying software architecture a lot, Clean Architecture in specific and I came across some multi meanings terms and "Use Case" is one of them. I'd read in some places that ...
2 votes
3 answers
271 views

Documenting my abstract class/interface - what is important?

I am still an beginner/intermediate programmer at best so apologies if I misuse terminology. I work with SCADA software for my job, specifically Ignition by Inductive Automation. It's made for rapid ...
0 votes
1 answer
392 views

Two actors have same use case but can access different extends (Use Case Diagram)

I am trying to create a use case diagram. In the diagram, I have two actors that have access to the same use case (View Properties) but they have different functions related to the use case. Can ...
1 vote
1 answer
87 views

How to present my Actors and Objects inside Sequence diagram for an Online Management Exam system

I am working on an online exam management system, which have those main actors:- Super Admin. Can manage questions/answers under all functional areas. Functional Admin. Can add questions/answers ...
  • 123
1 vote
1 answer
152 views

How to represent NoSQL entities

I've mainly studied SQL structures, and I know that the representation of the entities can look something like this: However, I'm building this app with MongoDB, so NoSQL DB. I'm aware that MongoDB ...
  • 13
1 vote
2 answers
90 views

Regarding generalization and classification in UML

Currently I am reading UML Distilled - Third Edition (Martin Fowler) to catch up some new thoughts and spot interesting things I am not yet aware of. On of those things I came up is the ...
  • 121
0 votes
2 answers
125 views

Use case diagram question confusion

For this question we got for a mock test we did and I have put the correct options in bold Consider the following use case diagram, is it correct to state that: a. Customer directly interacts with ...
0 votes
3 answers
77 views

UML - State Machine Diagrams: Mapping States which can be transitioned to from anywhere

I am trying to model a case management system in a UML State Machine Diagram. It is an approval style process and the case can enter a withdrawn state at any time if it is no longer required. This ...
0 votes
1 answer
137 views

Sequence diagram question

For this question: Considering the following sequence diagram, it is CORRECT to state that: Select one or more: a. Message 4 might never be executed. b. Message 5 is not complete until the Customer ...
1 vote
1 answer
106 views

UML arrowhead confusion

The answer to this question is A however I can't wrap my head around how there is a inheritance given the only information is the quote below (ie. a player is not a kind of team). It would make more ...
  • 11
1 vote
2 answers
298 views

How to document a NoSQL document-based data model?

How do you document the logical data model of a document-oriented database like MongoDB? For relational databases, Entity-Relationship diagrams or UML class diagrams are used. What is the practice for ...
  • 71
1 vote
2 answers
111 views

Instance of component inside a (non-instance) component. Does it make sense?

A colleague of mine did this UML component diagram to represent both the required/provided interfaces and the internal structure of the subsystems that compose the system we're working on: (The ...
  • 311
3 votes
2 answers
215 views

When modeling requirements, how can I depict class diagram attributes whose allowed values are custom defined and in finite number?

I'm drawing the class diagram that depicts the domain model of a system. This diagram is for requirements analysis purposes so it is completely implementation-agnostic. I want to communicate the ...
  • 311
2 votes
1 answer
474 views

In a sequence diagram, where do message parameters come from?

I'm drawing some sequence diagrams to give a graphical depiction of the use cases written during the requirements elicitation phase for my project. This is a simple one: Vote Post Use Case ...
  • 311
0 votes
2 answers
211 views

Can a socket be connected to many balls in a component diagram?

I have to draw a component diagram that depicts the architecture of my system with its subsystem decomposition and its dependencies. My system has a 3 tier architecture: The top layer just acts as a ...
  • 311
1 vote
2 answers
166 views

Depicting association between list and a class inside this list in UML

I'm making an UML class diagram representing classes used for authentication. There are 3 classes: X509AuthenticationFilter ProviderManager X509AuthenticationProvider The X509AuthenticationFilter ...
  • 113
-1 votes
2 answers
90 views

Is an abstract role needed to ensure that a customer can only have one role out of several? [closed]

I have the following UML class diagram in a C++ context. I want to make sure that a Customer can have only one role: Can the Customer now only assume one role, and what does <<abstract>> ...
  • 11
5 votes
3 answers
140 views

UML Composition parent association end

The Wikipedia article on the Composite Design Pattern includes the following diagram: As you see, there is an association relationship which is child 0..* – 1 parent (association). However, shouldn't ...
1 vote
1 answer
199 views

UML Composition parent multiplicity

The Wikipedia article on the Composite Design Pattern includes the following diagram: As you see, there is an association relationship which is child 0..* – 1 parent. However, given that: a ...
0 votes
2 answers
450 views

Front end (or View) classes compared to back end classes

I am developing an E-Commerce Web application using C# (back-end) and JavaScript (front-end) for a computing shop. This application mainly displays each stored computer, and all information about it (...
  • 311
3 votes
1 answer
288 views

UML activity diagram modeling for multiple input/output Program

I have to create a overview documentation for a simple PLC (programmable logic controller aka industrial automation controller) program (happens to be written in Step 7 but not really important). The ...
  • 33
0 votes
0 answers
172 views

Drawing a sequence diagram for a "View posts in a section" use case

As title says, I'm currently working on an alaysis model for a little website similar to Reddit for academic purposes. I have one use cases written like this (They're not in English so they may not ...
  • 311
-1 votes
1 answer
161 views

Drawing UML Activity Diagram - Fetching data decision logic

I have a function to fetch data from remote API and store it in local database. Its logic is: Is network available, if yes proceed to next step, if no show error massage. Is app launched for first ...
0 votes
1 answer
104 views

Time consideration in multiplicity of classes

In the following image, regarding a CD shop that rents its music CDs. My question is regarding the correct multiplicity of X. I can think of several possibilities for X: X= 1..1 as each copy of ...
1 vote
1 answer
124 views

ECB and multiple similar views

My teacher told me that in the entity-control-boundary we need to create a boundary class for each view of mock-up but I can't really understand if this is always true. For example if i have a mock up ...
  • 13
1 vote
1 answer
149 views

Do State diagrams Only Represent Individual Objects states?

On website uml-diagrams.org it is mentioned that state machine diagram is a behavior diagram which shows discrete behavior of a part of designed system through finite state transitions. To the best of ...
4 votes
1 answer
166 views

Using Choice Node in State Machine Diagrams

In State Machine diagrams, in some online resources, the condition is merely drawn on the arrow (the left figure below) and in others similar to right figure, where a choice node is specifically used. ...
1 vote
1 answer
66 views

Videotape copy as an attribute or Class

I am going over tutorials regarding class design; in one, a videotape can have multiple copies and each copy can be borrowed by a borrower. Please see figure A: I am trying to understand why the ...
2 votes
4 answers
803 views

A single sequence diagram for the whole system?

Sequence diagrams are used to model use case scenarios i.e., main success scenarios and alternate scenarios. That's what I understand from Craig Larman's book. I understand that it depends a lot on ...
  • 135

1
2 3 4 5
13