Questions tagged [diagrams]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
74 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 ...
-2
votes
0answers
32 views

Diagram about concurrency, flags, mutexes

In my studies I got taught a specific type of diagrams, containing the following: Controllers Flags Mutexes Queues Pools The goal of this type of diagram is to show which controllers communicate ...
1
vote
2answers
57 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
59 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
39 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
68 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
73 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
121 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
130 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
83 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
70 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
77 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 ...
3
votes
1answer
593 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
339 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
78 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
271 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
55 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
169 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 ...
0
votes
1answer
316 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
78 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
888 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
231 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 ...
4
votes
1answer
901 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
354 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
135 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
760 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
552 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
229 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
202 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
335 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
1k 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
937 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
137 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
766 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 ...
0
votes
3answers
4k 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 implementing for example a Clean Architecture. With software architecture, I mean a set ...
2
votes
3answers
650 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
327 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
1k 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
134 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" ...
-2
votes
1answer
2k 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 ...
0
votes
1answer
170 views

How to include multiple servers in DFD

I want to draw a DFD to show data in a multi server (about 10 servers) process, how the data files are passed around between servers, including schedule. I googled and got a DFD style named "Gane and ...
-1
votes
3answers
1k views

Architecture, database design, avoid a circular reference

I have to design a database in a Rails application, where I have users (who can login), companies and jobs. Each user belongs to a company, and each job belongs to a company, so when a user logs in, ...
0
votes
1answer
112 views

Do I have to state the value of elapsed time in state-charts?

I am modelling a system that requires a state-chart before implementation. Given These Images: Main Questions: Can I use the word "Elapsed Time" if I do not know how long it will take to finish the ...
4
votes
1answer
3k views

Representing a user event in a flow chart

I was wondering which symbol should be used for representing a user event (i.e. button click). seems like it should suffice, but isn't a user click technically ?
6
votes
3answers
5k views

Software Requirement Specification and diagrams

I'm a computer science student at some college out there but i'm a little confused with using the SRS and various diagram such as activity diagram or use-case diagram. I know the objective of the SRS ...
-1
votes
1answer
50 views

Correct Use Case in S/W requirements

So in S/W Requirements how to know a correct use case ? for Example : this one here seems wrong but I'm not sure