Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [diagrams]

Diagrams are use in modeling techiques to represent graphically a set of software elements.

Filter by
Sorted by
Tagged with
-1 votes
3 answers
165 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
1 answer
85 views

Required sequential actions in use case diagram

I am creating a use case diagram for an elevator control system program, and I am a little confused about using includes for sequential actions. What I mean is that when the user calls the elevator, ...
Carter Karl Falkenberg's user avatar
2 votes
2 answers
164 views

How to document a concurrent communication protocol for less theoretical people

We are developing a multi-user web-based application, where the users can join a "room" and a complicated handshake has to be set up between them, to be able to use a library on each ...
staccato's user avatar
1 vote
3 answers
183 views

Why does this use case diagram consider system behavior a use case

Please help me understand why, in this diagram, "Validate User" is considered a use case. My understanding is that to qualify as one, a use case must: Be initiated by an actor; Represent ...
mxfe's user avatar
  • 113
1 vote
1 answer
221 views

UML Component diagram: Dangling interfaces or connecting two

I'm a novice in UML component diagrams. How would I draw the following situation? I have an << item >> called "DataAquisition". This item consists of a << unit >> ...
Max's user avatar
  • 111
0 votes
2 answers
202 views

What is a possible order of these actions in this Activity Diagram?

Context: This is from a practice exam, and we aren't sure what the proper answer was Question: What is a possible order of actions for this activity diagram? Options: A->B->D or A->B->C-&...
A P's user avatar
  • 111
0 votes
1 answer
926 views

In C4 model, "External" means External to the Org or External to the System scope?

I am currently drawing a "C4 Containers" Architecture diagram using C4 Model. The Core Software System of System Context diagram is now exploded further into the Containers diagram (should ...
KrishPrabakar's user avatar
3 votes
2 answers
580 views

Does UML have a grammar that correlates to its diagrams?

UML is generally taught as a standardized way of diagramming software, however, I've heard recently that there's an actual grammar behind it. I've searched the UML specification and haven't found ...
Visual Studio's user avatar
0 votes
1 answer
141 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 ...
Ben Jaguar Marshall's user avatar
-2 votes
1 answer
1k 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 ...
SSSOF's user avatar
  • 13
0 votes
1 answer
93 views

What does it mean the fish objects on the architecture diagram? [closed]

What does it mean this fish object on the architecture diagram?
J.J. Beam's user avatar
  • 461
4 votes
1 answer
2k views

In a C4 container diagram, should I draw my event message broker or can I define direct relations?

I have a C4 container diagram of a system, in which most of the components communicate with MQTT. The MQTT container is SOUP. Is it necessary that I draw the MQTT container or can I simply draw direct ...
Herr Derb's user avatar
  • 439
0 votes
1 answer
3k 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 ...
EagleRex's user avatar
0 votes
2 answers
1k 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 ...
computerscienceisapain's user avatar
0 votes
3 answers
388 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 ...
Stephen Lew's user avatar
-3 votes
1 answer
519 views

Which are the correct statements about the use case diagram below?

I found this practice question online and I am very confused by it Given the use case diagram below, select the CORRECT statement(s): a. A user cannot Rebalance its portfolio before having all the ...
stevenoakman's user avatar
0 votes
2 answers
257 views

How to automatically manage documentation

Our project consists of a cluster of microservices (let's say 20, mainly JS & PHP) that are communicating among themselves and exchanging data (via MQ) among themselves. Also, clusters have API ...
Petr Bělecký's user avatar
0 votes
2 answers
501 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
  • 343
5 votes
3 answers
151 views

Drawing numbers for software engineering documents? [closed]

Is it common practice for Software Engineering firms to use drawing numbers and drawing templates when creating software diagrams? For example, I find that UML diagrams or flowcharts are particularly ...
John Go-Soco's user avatar
3 votes
1 answer
1k 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 ...
Ari's user avatar
  • 33
1 vote
2 answers
857 views

determine correct relations in ERD - Customer Orders use case

The below ERD is taken from a professional architecture reference, however I have a concern in the relation between Customer and Invoice, I believe that relation between Customer to Order , and Order ...
osama yaccoub's user avatar
-1 votes
1 answer
720 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 ...
Abdelaziz Faki's user avatar
-3 votes
1 answer
966 views

Difference between Activity diagram and normal flow specified in Use case specification table

I'm studying use case and activity diagrams and I get confused about the difference between activity diagram and the normal flow specified in the use case specification table, aren't both of them ...
Abd al rahman shebani's user avatar
-2 votes
1 answer
174 views

Diagrams for System Requirements [closed]

User requirements are considered high-level functional or non-functional requirements have to be understandable by end-users and customers who may not have a technical background. We can use diagrams ...
User 19826's user avatar
-2 votes
1 answer
152 views

What is the proper diagram to describe an event subscriber final graph?

I'm working on a microservice application and I need to describe the complete execution graph of a specific event being published, where each node in the graph is a specific microservice subscription ...
underthevoid's user avatar
1 vote
0 answers
360 views

What do the Trapezoid-shaped boxes mean in this schematic diagram of RISC architectures (from Wirth's compiler construction)

I am currently browsing through Niklas Wirth's compiler construction book. He presents a simple RISC architecture as a target for code generation using the following diagram. The symbols/shapes used ...
wirrbel's user avatar
  • 3,038
5 votes
2 answers
9k views

When is a "port" used in UML component diagram?

I currently stumbled over the the concept of "ports" in UML component diagrams and I'm not entirely sure how they are supposed to be used. Sometimes, ports seem to be used generally as start ...
TiMauzi's user avatar
  • 161
-1 votes
1 answer
332 views

Activity Diagram Feedback

I need some consultation on the correctness of the activity diagram, that I have created for the following scene: I have one dictionary structure, that I want to compare to other dictionaries. for the ...
Hefaz's user avatar
  • 109
4 votes
1 answer
9k views

Is the use case diagram correct?

Here is my UML Diagram: Are the "post answer" and "vote" actions an extension of browsing? Since you have to SELECT / VIEW (?) a question in order to answer or vote. Or can I ...
Dots's user avatar
  • 51
1 vote
1 answer
4k views

Use case diagram (secondary actors)

I have a problem statement that describes an online E-commerce system: An E-commerce software system is going to be developed. This system allows customers to browse the store catalog, pick the items,...
Ahmed Alhallag's user avatar
1 vote
1 answer
287 views

Why Don't We Add `Attributes` To Use Case Diagrams?

I'm a undergraduate, and studying 'Software Design And Analysis' for my current semester. As part of the course, I was handed over a case study from which I had to make out the visual form of the ...
Saif Ul Islam's user avatar
0 votes
2 answers
304 views

Diagrams in the Design Stage in the Lifecycle

I am not clear on the usage of diagrams in the requirements engineering and design stages of the project. I assume the design stage follows the requirements engineering stage in the life cycle. I ...
Melanie A's user avatar
  • 339
2 votes
2 answers
377 views

What is the best way to trigger on object flow with a control flow in an UML activity diagram?

I want to have a control flow decide whether an object can pass through a point in a flow or not. From my understanding of control and object flows, this would not work in the way I have done it, ...
lokus's user avatar
  • 41
-5 votes
1 answer
539 views

Can you have 2 processes modify a data store in a DFD diagram

If I have a Ban User process that should definitely modify the Accounts data store and if I have Create Account that should also should modify the Accounts data store.
mcdonald reversed's user avatar
-2 votes
2 answers
101 views

Nassi Shneiderman diagram: Which player has its turn?

I am trying to program a little game and for that I need to determine which's players turn. I am solving it firstly with a Nassi-Schneiderman diagram with a variable turn whic can be 1 or 2, but my ...
kripss's user avatar
  • 23
1 vote
1 answer
183 views

How to represent this multithread application?

I am having trouble trying to represent some multithread process and I would appreciate some advice. Please let me explain this with code. (in C++'ish because that is what I am familiar but ...
KansaiRobot's user avatar
1 vote
1 answer
2k views

UML Use Case Diagrams Relationship - Required / Optional AND independent

I am learning to create Use Case diagrams using the UML specification, but I have a couple of doubts about Use Case relationships which I cannot solve on my own. My question regards two different ...
Nik Manzotti's user avatar
2 votes
1 answer
2k views

Use case diagram where actions are going through a third party system

I am creating a system which makes static analysis on code when a commit to GitHub is made, the results are then showed as a GitHub review. My problem is, this means that the developer (actor) will ...
Oliver Nybroe's user avatar
2 votes
1 answer
2k views

How to show relationships of the component containing the interface definition when using ball/socket notation in a UML Component Diagram?

I recently found out that I have probably been using ball/socket notation in a wrong way all the time. Now I am confused by the different ways of drawing interface relationships in two regards (I ...
Phil's user avatar
  • 51
1 vote
2 answers
179 views

Should I be attaching diagrams, wire frames and other design artifacts to User Stories in an agile approach?

I'm just starting to put software design principles and agile into practice. I'm taking baby steps and so far I've started implementing the following for my software projects... A github project ...
Salvatore Allegra's user avatar
3 votes
1 answer
248 views

UML Partitioning Decision Nodes

I am attempting to partition a decision node based on environment attributes. The process I am modeling is slightly different depending if a variable scope is public or private. I am trying to ...
pirateofebay's user avatar
7 votes
1 answer
5k views

Is there a UML diagram for functional programming?

For modelling software implemented with the imperative or procedural programming paradigm we have Flowcharts, process diagrams, etc. For object oriented we have UML class diagrams, object diagrams, ...
Pillqu's user avatar
  • 107
9 votes
2 answers
407 views

How should I make it less scary for a team to create diagrams?

Context I am a strong proponent of clear, illustrative diagrams in documentation. When they are properly done, they improve a lot two aspects: the understanding of the documentation and the time a ...
Arseni Mourzenko's user avatar
2 votes
1 answer
158 views

How could I programmatically generate a chart of interservice messaging flows before runtime?

My team is currently developing an application using a microservice architecture with publish/subscribe interservice communication over a message bus. Certain types of HTTP requests and messages ...
Ashok Bhaskar's user avatar
3 votes
1 answer
1k views

initial and final state in activity diagram

As we know , initial state is the initial state of the system before the activity begins and the final state is the final state of the system when the activity ends. But what exactly is the initial ...
John adams's user avatar
4 votes
1 answer
259 views

use case diagrams - need we add validations?

Say I am building a use case diagram, and there is a use case that asks for some user input (a phone number). The requirements ask that the phone number be valid (there is an API that tests for this,...
josinalvo's user avatar
  • 151
3 votes
2 answers
741 views

Object Instance Diagram - What can be modeled?

According to my professor, one of the following relationships cannot be modeled in an object instance diagram: Association Composition Generalization I made the argument that the association could ...
artemis's user avatar
  • 133
2 votes
1 answer
1k views

Do I really need to build a class diagram AND a component diagram? [closed]

I'm modeling a system while improving my knowledge of software engineering. I am building a class diagram and a component diagram, but notice that when I tweak one, I have to alter the other. Also, I ...
Eliaquim Tchitalacumbi's user avatar
0 votes
1 answer
2k views

ER Diagram in Barker Notation

I engineered an ERD diagram using Barker's notation. The problem was to make a database for system of water pipes where one node is connected to another using a section (pipe), each node can have ...
Adrian Setniewski's user avatar
1 vote
1 answer
282 views

Choice of appropriate UML diagram during Analysis phase [closed]

I am new to the formal idea of UML diagrams, but I have drawn and read system type diagrams for years. I wish to set a very simple exercise for the analysis stage of a project. I am considering the ...
Clive Long's user avatar