Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
3 answers
186 views

Mixing up UML and non-UML diagrams

When designing a data-intensive software, or any kind of software, regardless of the platform, is it appropriate to mix UML and non-UML diagrams together in the design document of the software? For ...
Acemad's user avatar
  • 115
3 votes
2 answers
96 views

In a deployment diagram, when should I underline the name of the Deployment or put a colon beforehand?

Per the UML 2.5.1 specification: DeployedTargets are shown as a perspective view of cube labeled with the name of the DeployedTarget shown prepended by a colon. System elements deployed on a ...
patrickekw's user avatar
1 vote
1 answer
343 views

Should I include an actor to represent the database in a use case diagram? [duplicate]

I'm working on the documentation of software management system. That system can be linked with an e-commerce website to get financial data directly. For example when a transaction will be made it will ...
Laila Ejaz's user avatar
0 votes
2 answers
479 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,...
Thomas Herondale's user avatar
1 vote
1 answer
120 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 ...
Luca Pedersoli's user avatar
2 votes
1 answer
824 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-...
Nordin's user avatar
  • 31
1 vote
2 answers
138 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 ...
cidra's user avatar
  • 353
0 votes
2 answers
548 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 ...
cidra's user avatar
  • 353
1 vote
1 answer
400 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 ...
Afia R. S.'s user avatar
5 votes
1 answer
775 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. ...
Karl 17302's user avatar
1 vote
4 answers
136 views

Class Diagram - Aggregating over a class that has physical presence or logical presence?

In the below figure, a CD shop has CD cupboards, and inside it has shelves. CDs could be rented, and class CD Copy represents the actual CDs that are rented. My question is, should I represent Shelves ...
Melanie A's user avatar
  • 349
5 votes
3 answers
3k views

Non Functional Requirements and Use Case Diagrams

My software provides two functional requirements, and I represent them as Do A and Do B in the figure 1 below. At the same time, my software has a non-functional requirement to provide the interface ...
User 19826's user avatar
2 votes
2 answers
368 views

Actors and their representation in the system

I am trying to understand the relationship between actors and their representation in the system. Please see the below figure In the figure on left, I have an abstract representation of my system. In ...
Afia R. S.'s user avatar
1 vote
2 answers
670 views

Use case scenario based on a use case using "uses" or "extends"

In a use case diagram, use case A "uses" use case B. I need to write the scenario based on steps of use case A. Since A "uses" B, I just wanted to confirm that I need to include ...
Afia R. S.'s user avatar
1 vote
5 answers
922 views

Actors participating in use case diagram

Suppose a customer needs to approach a staff member to register her. To model this, I have drawn the image below. However, I am not sure if what I have drawn, actually means both of them can register ...
Melanie A's user avatar
  • 349
2 votes
1 answer
335 views

What is a good way to understand the relationship between a UML class diagram and an implementation?

At my uni the software design teachers like to ask questions about UML diagrams, such as this: In the following class diagram, can class Bar’s bar() operation modify Bar’s b attribute? Can it modify ...
bp99's user avatar
  • 131
-2 votes
2 answers
952 views

Is the UML diagram a good solution for project design and documentation? [duplicate]

I want to lead an Angular + NodeJS project. As this is my first experience, I thought about using UML diagram as both designing/architecting the project and also the project's documentation. But I am ...
user3486308's user avatar
3 votes
4 answers
2k views

When are Description classes useful

A book called 'Applying uml and patterns by craig larm' emphasized the use of Description classes in software designing. For example, the book pointed out why putting attributes such as description, ...
Maak's user avatar
  • 67
0 votes
3 answers
75 views

"Assign" Role Association between two classes

If there is Class A and Class B and there is an association that B can be assigned to A.And the multiplicity is 1:M or M:1 from A to B.Example: 1.Room has Collection of Keys, and Key can can assigned ...
rahul sharma's user avatar
2 votes
1 answer
1k views

How to design a social media follower/followed relation with UML?

I am working on a UML diagram for social media website like Facebook: The main class of this system is User, which has members as userid, email, phone, address, Friends, etc. A user may follow a set ...
rahul sharma's user avatar
3 votes
1 answer
517 views

Is the class stereotype implicit in an UML class diagram ? Should it be specified?

Commonly I see class diagrams where there is no <<class>> stereotype. Others where there is the common <<interface>> and others with some interesting ones as <<shape>&...
sɪʒɪhɪŋ βɪstɦa kxɐll's user avatar
0 votes
1 answer
349 views

Is DO-331 applicable to UML diagrams used in the software design?

DO-178C, Software Considerations in Airborne Systems and Equipment Certification is the primary document by which the certification authorities such as FAA, EASA, and Transport Canada approve all ...
JTmasked's user avatar
0 votes
1 answer
1k views

How do I represent parallel (multiple) inputs in a UML Sequence diagrams?

I am new to UML sequence diagrams. I saw a few YouTube videos and a few tutorials such as this one. I have a system with multiple inputs, that can interact with the system asynchronously. For example,...
universe's user avatar
  • 113
2 votes
2 answers
183 views

How can I improve this design to achieve a more loosely coupled system and better testability?

My question I built an inverted pendulum on an Arduino using C (ie. everything was done procedurally). I'm trying to self study application design and would like to refactor my code into a more OO ...
Hunter's user avatar
  • 187
0 votes
1 answer
1k views

CRUD use case and relative sequence diagram

I'm building my project with Visual Paradigm and I have some use cases that implements the CRUD pattern. As specified in the book Use Cases: Patterns and Blueprints, Övergaard and Palmkvist suggest ...
aculf's user avatar
  • 21
-4 votes
1 answer
661 views

Where to put the server in my Messaging System UML diagram?

I try to design a client application for a messaging application. The client can send and receive messages, the client can connect/disconnect. My problem is that I don't know how to incorporate the ...
John Smith's user avatar
1 vote
1 answer
2k views

Sequence diagram: explicitly show websocket creation?

I am trying to draw up a sequence diagram to show how my web client will interact with my backend over a websocket connection. I am using a websocket middleware to manage the stream connections. ...
Anthony Kong's user avatar
1 vote
1 answer
146 views

Does it make sense for a package to depend on, e.g. import, its nested packages?

I think depending on nested packages is wrong, because the nested packages are always going to depend on the parent —aren't they?– and this can lead to cyclic dependency issues. When I look at how ...
clapas's user avatar
  • 121
1 vote
2 answers
159 views

Drawing UML activity diagram for Statistics feature

I need to draw a UML Activity diagram for a school java software engineering project I’m required to do. I’m quite new to this and I’m not sure what should be shown and what should not be shown. For ...
Prashin Jeevaganth's user avatar
1 vote
4 answers
1k views

Class diagram for electric guitar and bass

Hi I was recently asked this in an interview to represent a 6 string guitar and a 4 string bass in class structure. I am still new to software design and analysis so was not able to complete the ...
Swets's user avatar
  • 29
1 vote
4 answers
1k views

Can systems have only one use case?

I'm building a news aggregation system that collects news articles from several websites, then classifies them into categories, tags them with keywords and saves them to a database. All actions are ...
Dong Nguyen Chi's user avatar
0 votes
1 answer
133 views

When designing a system how could I describe the way sequence diagrams are related?

After the sequence diagram are made the sequence methods become code, before writing some code that would alter database records I would like to know how to detect if a sequence is doing the job ...
Jonathan Solorzano's user avatar
0 votes
2 answers
2k views

Usage of composition relationship between two class in UML

I'm having quite a difficulty with what i think would suit a Patient class and a Record class in UML Basically the Record class stores the patient's information such as name, vitals, gender, age and ...
Maxxx's user avatar
  • 109
0 votes
2 answers
2k views

Is it possible to represent an if statement in a system sequence diagram?

I'd like to highlight that this questions is about a System Sequence Diagram (SSD) and not a simple Sequence Diagram and of course any help would be appreciated! I'm reading Graig Larman's book ...
Johnny boy's user avatar
1 vote
1 answer
700 views

Problem in creating a correct finite-state-machine for a given short text

I like to create a finite-state machine for the given text below. While solving this, I came accross with several problems I listed at the bottom. (This example is in terms of testing (where you later ...
cnmesr's user avatar
  • 113
-1 votes
2 answers
91 views

Problem in modelling this because too slow calculation (robot football)

I like to build a component connector view / UML diagram for the given problem but I realized it's way too slow if you try to do it exactly as it's given in the following text. My question is what ...
kathelk's user avatar
  • 157
2 votes
5 answers
2k views

Design pattern for creating object hidden from client

I am having difficulty understanding which design pattern would be best for the following scenario. An application uses a database. That database can either be the production version (SQL) or a test ...
Corey P's user avatar
  • 1,224
2 votes
2 answers
2k 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 ...
SimStil's user avatar
  • 41
-5 votes
2 answers
459 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. ...
Geekmard's user avatar
  • 101
2 votes
2 answers
2k 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: ...
antonro's user avatar
  • 249
0 votes
1 answer
215 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 ...
VINOTH ENERGETIC's user avatar
0 votes
3 answers
1k 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....
ghassen lassoued's user avatar
4 votes
2 answers
5k 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 ...
ghassen lassoued's user avatar
1 vote
1 answer
671 views

UML - Design Class Model diagrams

I have several questions about UML diagrams as I am not finding them very clear (they are new to me). 1) When making a diagram with generalizations/specialization: if I do not have all of the ...
PeteyM's user avatar
  • 53
3 votes
2 answers
3k views

Design pattern for applying different taxes based on many different factors

I've been given the task to design a system that has a product's price have different amounts of different taxes based on different factors. For example in the US you would get a few - one based on ...
SpooXter's user avatar
3 votes
1 answer
7k views

How to model two-step Login in UML via Use Cases and Sequence diagrams properly?

I need to create a login page for a basic accountancy-related application. Login action should be two-step one: User enters their username and password and hits "Authorize" button, After successful ...
Rafichu's user avatar
  • 39
3 votes
2 answers
1k views

How do I design a buffer for a console?

Problem I have a graphical console widget that receives output from an interpreter. Unfortunately the console is not fast enough to paint the output in real-time. So I had to implement a buffer(FIFO ...
Vivek Joshy's user avatar
21 votes
5 answers
3k views

What are the benefits of modeling software systems vs. doing it all in code?

Most, if not all IT people I know believe that it is beneficial to model software with UML or other types of diagrams before coding. (My question is not about UML specifically, it could be any ...
Frank Puffer's user avatar
  • 6,439
4 votes
2 answers
3k views

Should we include external services in a deployment diagram

I am designing a Deployment diagram and a Component diagram for an existing Java EE application. The app has integration with 3 external systems through soap web services and ftp. I am including ...
David Lizárraga's user avatar
3 votes
0 answers
632 views

Understand the service term in DDD and matching class diagram

I m trying to learn how to make my code better. This way, I try to learn some books and understand them. I m having some troubles dealing with Domain Objects. From the first year of my IT school, I'...
mfrachet's user avatar
  • 1,561