Questions tagged [diagrams]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
43 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
59 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
70 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
266 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
327 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
74 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
88 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
43 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
127 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
83 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
178 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
56 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
35 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
43 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
155 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
621 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
283 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
125 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
499 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
406 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
200 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
187 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
278 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
784 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
716 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
100 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
689 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 ...
-2
votes
3answers
3k 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
546 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
2k 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
304 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
109 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
2k 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
132 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
96 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
2k 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
4k 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
47 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
1
vote
1answer
131 views

Should Authentication Use Cases be represented in a UC diagram?

Should Authentication Use Cases be represented in a UC diagram? Should there even be a use case describing authentication or, as it is usually common-sense, can it be hidden?
1
vote
1answer
3k views

What does the environment means in Ishikawa (fishbone) diagram

I am designing an Information System for the French Social security system and would like advice on how to use Ishikawa (fishbone) diagrams to model said information system. My question specifically ...
0
votes
1answer
92 views

Do context diagrams have cardinalities?

Can someone explain if the context diagrams(as used in requirements engineering) have cardinalities(as defined in UML diagrams)? What I want to ask is, are cardinalities part of a context diagram's ...
4
votes
2answers
1k views

Should we include external services in a deployment diagram

I am designing a Deployment diagram and a Component diagram for an existing Java EE application. The app has integration with 3 external systems through soap web services and ftp. I am including ...
1
vote
1answer
178 views

Can you use a state machine diagram in the development view (4+1 Architecture)

I have seen several different diagrams in several different views. Is is possible to use the state machine diagram in the development view in 4+1 Architecture?
0
votes
1answer
104 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
235 views

Is there a standard for this type of component diagram?

Came across this open source project called fruit. In the documentation are some diagrams of the code. Here is an example from the tutorial page: Is there a standard for this type of diagram or is it ...
2
votes
1answer
504 views

In UML, can a component be placed inside a node?

in UML deployment diagrams, the node element is used to represent a "computational resource" (in other words, something that can run software). I know that nodes may have other nodes placed inside ...
12
votes
1answer
12k 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 ...