Questions tagged [diagrams]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
84 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 ...
4
votes
3answers
124 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 ...
4
votes
1answer
416 views

How can I diagram data-locking scenarios?

There are many different types of charts and diagrams we use to formalize scenarios and study them tangibly -- activity diagrams, sequence diagrams, etc. I've been faced with a pretty complex locking ...
4
votes
1answer
1k 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 ...
5
votes
1answer
2k 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, ...
1
vote
2answers
74 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 ...
-3
votes
1answer
48 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 ...
-1
votes
1answer
46 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 ...
-2
votes
1answer
54 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
43 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
935 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
vote
4answers
8k 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 ...
-1
votes
1answer
111 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 ...
1
vote
1answer
691 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
124 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
111 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
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, ...
6
votes
2answers
1k views

How to read and understand ER diagrams

I've been handed the ER diagram for a quite complex database. Complex to me at least, 849 tables. One of the architects says to understand the code, you need to understand the database and ...
2
votes
2answers
141 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
93 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
71 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
82 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 ...
4
votes
6answers
4k views

Diagram that could explain a state machine's code?

We have a lot of concepts in making diagrams like UML and flowcharting or just making up whatever boxes-and-arrows combination works at the time, but I'm looking at doing a visual diagram on something ...
6
votes
3answers
869 views

What diagrams, other than the class diagram and the workflow diagram, are useful for explaining how an application works?

I am working on a small Delphi project, composed of two units. One unit is for the GUI, and the other for data management, file parsing, list iterating and so on.. I've already made a class diagram, ...
0
votes
1answer
134 views

What are ways of drafting a workflow document that maps elements in the design close to their counterparts in code?

We're starting a medium sized PHP web app, written in MVC fashion, using CodeIgniter. Most of the functional specifications have been written, and there are a few features that will definitely be ...
1
vote
1answer
596 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
990 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
676 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
95 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
101 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 ...
9
votes
2answers
350 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
90 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 ...
4
votes
2answers
441 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 ...
3
votes
1answer
635 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
114 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,...
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 ...
4
votes
1answer
5k 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 ?
14
votes
1answer
15k views

How do I represent a schema diagram of my MongoDB database?

I have a MongoDB database that I want to properly document its schema design. I know that MongoDB is a NoSQL database and is schemaless by nature, but I do enforce a schema through my application and ...
2
votes
2answers
349 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
1answer
879 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
198 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
37 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....
0
votes
1answer
117 views

Automated data processing in BPMN/BPEL?

In order to run complex simulations, I need to do preprocessing of data from various data sources. This is done by a bunch of Postgresql scripts. However, having only these is unsatisfactory, because ...
3
votes
1answer
1k views

What's a good notation for showing MVC interactions?

I'm developing various websites and functionality to cater to various different use-cases up in Django. Is there a good notation for showing what behaviour is at each stage, e.g., swimlanes. I use ...
1
vote
1answer
924 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 ...
5
votes
1answer
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
2answers
452 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
164 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: ...