Questions tagged [diagrams]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-3
votes
1answer
35 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
1answer
37 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
0answers
38 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
2answers
512 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
1answer
101 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 ...
2
votes
1answer
768 views

Is the use case diagram correct?

Are "post answer" and "vote" an extension of browsing? Since you have to SELECT / VIEW (?) a question in order to answer or vote. Or can I simply say in my use case text that you ...
1
vote
1answer
460 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
1answer
105 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
2answers
98 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
2answers
126 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
1answer
75 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
2answers
69 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
1answer
78 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
1answer
500 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 ...
1
vote
1answer
839 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
1answer
502 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
2answers
93 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
1answer
93 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 ...
4
votes
1answer
1k 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
2answers
348 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
1answer
86 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
1answer
582 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
1answer
105 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
2answers
286 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 ...
1
vote
1answer
813 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
1answer
1k 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
1answer
188 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
1answer
36 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
1answer
922 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
2answers
380 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
1answer
1k 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
2answers
428 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
3answers
157 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
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 ...
-1
votes
1answer
780 views

Is there such thing as an internal entity in DFD?

According to my teacher, A CONTEXT diagram NEVER shows what goes on INSIDE a system! It only shows the EXTERNAL entities and the circle is the SYSTEM BOUNDARY. ie the boundary between what is ...
5
votes
1answer
271 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
2answers
212 views

Is there a name for these diagrams that show the flow of a valid value [duplicate]

Here's an example taken from http://json.org/ Is there a name for this kind of diagram?
1
vote
2answers
484 views

Is there any diagram for unit-tests?

I'm writing a software library for some numerical computations. I'd like to use Boost Unit Test framework to write a hierarchical unit-test covering not only basic input/output behavior of functions ...
3
votes
1answer
2k 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 ...
2
votes
2answers
1k 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: ...
-2
votes
1answer
183 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 ...
0
votes
1answer
821 views

Microservice dependency diagram

What is the best way to capture dependency between microservices. I want to create a diagram which show the interfaces and the microservices using the interfaces. The aim is to easily do a impact ...
1
vote
4answers
7k views

What is a proper diagram to describe software architecture

I wonder if there are well accepted/standardized types of diagrams to describe the architecture of a software implementation, for example, a Clean Architecture. By software architecture, I mean a set ...
2
votes
3answers
699 views

I'm trying to set up a database, to run a small pig farm. What should my events model look like?

I'm trying to set up a database, to run a small pig farm. The idea is the following: I have a table called BELLIES, where I codify the sows along with relevant information about them (weight, id, ...
0
votes
1answer
3k views

Finite State Vending Machine Diagram

In class, we are asked to draw a finite state machine with the following instructions: Design a finite state machine to model a vending machine that accepts only quarters and gives a container of ...
0
votes
2answers
350 views

Which diagram to use for visualizing connections between enterprise applications? [closed]

We got 30 or so enterprise applications, some interacting with each other. And I'd like to create a diagram to see the big picture. Which diagram should I use? System context diagram?
1
vote
1answer
2k views

Are there different symbols for "database server" vs "database"?

I am writing some user documentation where I need to depict a Microsoft Server Express installed on a computer. (Note: in my user documentation, the idea is that Microsoft Server Express is installed ...
1
vote
2answers
148 views

Is there a name for a "network overview diagram"?

I have a highest-level diagram / map / picture of connected networks where internet is pictured as a cloud, some physical machines, firewall, switches etc which describe an overview of the "ecosystem" ...
0
votes
1answer
3k views

What kind of diagrams should I use for design before starting a programming a project? [closed]

I am starting to design the architecture of my family's small hotel business. But I'm a junior js developper and I miss the big picture when programming on the go. I am afraid that this might lead to ...
17
votes
4answers
3k views

How to visualize the design of a physics engine?

I'm making a physics engine and its becoming quite hard to keep track of the whole thing. Often when I get back to my code after a break I just don't remember why that's not working. Most of the ...