Questions tagged [diagrams]
Diagrams are use in modeling techiques to represent graphically a set of software elements.
152
questions
0
votes
1
answer
54
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 ...
-2
votes
1
answer
110
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 ...
0
votes
1
answer
68
views
What does it mean the fish objects on the architecture diagram? [closed]
What does it mean this fish object on the architecture diagram?
-1
votes
1
answer
71
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 ...
2
votes
1
answer
237
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 ...
0
votes
1
answer
556
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 ...
0
votes
2
answers
172
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
95
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 ...
-3
votes
1
answer
234
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 ...
0
votes
2
answers
161
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 ...
0
votes
2
answers
232
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 ...
4
votes
3
answers
138
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 ...
3
votes
1
answer
330
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 ...
1
vote
2
answers
318
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 ...
-1
votes
1
answer
209
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 ...
-3
votes
1
answer
385
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 ...
-2
votes
1
answer
112
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 ...
-2
votes
1
answer
51
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 ...
1
vote
0
answers
125
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 ...
2
votes
2
answers
4k
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 ...
-1
votes
1
answer
198
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 ...
4
votes
1
answer
3k
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 ...
1
vote
1
answer
2k
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,...
1
vote
1
answer
186
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 ...
0
votes
2
answers
225
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 ...
2
votes
2
answers
219
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, ...
-5
votes
1
answer
232
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.
-2
votes
2
answers
85
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 ...
1
vote
1
answer
100
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 ...
1
vote
1
answer
973
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 ...
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 ...
1
vote
1
answer
1k
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 ...
1
vote
2
answers
118
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 ...
3
votes
1
answer
168
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 ...
7
votes
1
answer
3k
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, ...
9
votes
2
answers
397
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 ...
1
vote
1
answer
101
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 ...
3
votes
1
answer
851
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 ...
4
votes
1
answer
181
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,...
2
votes
2
answers
472
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 ...
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 ...
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 ...
1
vote
1
answer
235
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 ...
1
vote
1
answer
63
views
Entity Relationship Model do I have to connect a table which is not using attributes from another table?
I tried creating an Entity-Relationship-Model, but I just don't get if I have to connect some tables and if I have to connect all, how do I connect tables which don't use attributes from another table....
1
vote
1
answer
926
views
"Screen-states": How to express all of them in a concise way? [closed]
If my software has some screens, how do i express the various states of those screens? If, for example, I have 3 checkboxes in a screen, so I have 8 combinations total and at first thought, 8 states ...
4
votes
2
answers
601
views
How to convert a use case to a use case diagram?
Suppose I have a use case, like this example.
Normal Flow:
The user will indicate that she wants to order the items that have already
been selected.
The system will present the billing and shipping ...
5
votes
1
answer
2k
views
How do you correctly turn this text into an activity diagram (problem with timer)?
This is only an extract from a very long text, the one I'm not sure about. It's about a photo booth (an automata that makes a picture of you if you insert coin).
The automata has a camera that is ...
1
vote
2
answers
535
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 ...
0
votes
3
answers
200
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
1
answer
1k
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 ...