Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [diagrams]

The tag has no usage guidance.

4
votes
1answer
395 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
89 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
102 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
111 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
96 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
120 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
108 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
174 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 ...
1
vote
0answers
32 views

How to visualize events? (UML/Django)

I work in Django web framework. When a project gets bigger, I have the same problem again and again. There is some Model. This model needs to have another objects connected. For example when User is ...
3
votes
1answer
333 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
329 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
73 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
466 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 ...
-3
votes
3answers
805 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
370 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
1k 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
209 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
610 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
77 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
888 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
102 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
602 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
62 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 ...
3
votes
0answers
1k 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 ?
5
votes
3answers
3k 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
46 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
104 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
1k 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
70 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
845 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 ...
0
votes
0answers
28 views

Sort an 2D entity-diagram

Entity-relationship-diagrams can really be a mess. I am looking for a good sortion algorithm. So what is good? My current algorithm calculates the badness-factor: No lines cross (badness-factor x2). ...
0
votes
1answer
157 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
83 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
185 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
396 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 ...
7
votes
1answer
9k 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 ...
3
votes
0answers
267 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
7k views

Is login a use-case for a user of a system?

I've been researching since my last project last semester and I haven't found a definitive answer for this question. Now I've got one more project to draw a Use-Case diagram and I'm still confused ...
2
votes
1answer
337 views

Is there a valid symbol for “two or more” with Crow's Foot notation?

I have a database design for which one entity of Class A always has at least two entities of Class B. Can I express this with valid Crow's Foot notation? One possible idea I had was this: Excuse the ...
1
vote
2answers
669 views

Can a UML class diagram show two different relationships between two classes?

I have a class which has an inner (nested) class. I have shown this relationship between the two classes in my class diagram. However, I am also using the inner class within the outer class... do I ...
1
vote
1answer
353 views

How to show link between a java class which gets JSON data from PHP script

I am trying to show the relationship that a java class has with a PHP script. The PHP script gets data from a database and then converts it into JSON format. This is then read by the java file. In my ...
10
votes
2answers
4k views

Draw a Call Graph

I'm maintaining an old code base written in python. In particular there is a complex piece of code that from a module calls other functions from other modules that call other functions and so on. It ...
1
vote
2answers
179 views

Forming heavy use case diagram

We have a use case diagram for our software engineering course project that we have many use cases in every system and about 5-6 actors. How should we separate this heavy diagram to light weight ...
2
votes
1answer
1k views

ER Diagram Multiplicity (UML)

Schema: #=PK Employee (#NIN, fName, lName, address, DOB, sex, salary, taxCode, deptNo) Department (#deptNo, deptName, managerNIN, businessAreaNo, regionNo) Project (#projNo, projName, contractPrice, ...
1
vote
1answer
445 views

When, if ever, should I draw the use-case diagram of the existing system?

When I want to design a software I usually think about the use-cases of my software, but I have heard some sort of analyzing the existing (non-automated) system is required. To be specific, is ...
6
votes
1answer
4k views

Is there some structured format for drawing source control branching diagrams?

Everyone on my team draws branch diagrams differently, including how branches exit or reintegrate to the parent, how cherry-pick merges are shown, and a host of other aesthetic choices. Is there some ...
3
votes
2answers
391 views

What's the name for those diagram used to sketch the flow of a program?

What's the name for those diagram used to sketch the flow of a program? What are these sketches called? The shapes of the objects are by convention ellipse for an action, rhombus for a question, ...
1
vote
3answers
9k views

Database design: 4 types of users but have different functionality , separate or one table?

I have 4 types of users: Admins , normal user , company , service provider admins and normal user share some attributes (id .first name ,last name ,phone ,mail) company and service provider share ...
1
vote
1answer
709 views

Functional dependencies diagram

I'm searching for the correct type of diagram in which I can see all dependencies between the functions, classes and files of my Python program (multiple files). It's for cleaning purposes. So my ...