Questions tagged [diagrams]

Diagrams are use in modeling techiques to represent graphically a set of software elements.

Diagrams are use in modeling techiques to represent graphically a set of software elements.

This tag is best used together with a modeling tag such as if the question is about the syntax or diagrams of a specific method.

155 questions
40
votes
11 answers

Is code commonly generated from UML?

So when I was at university I was educated on the benefits of UML and its future in code development. But from my industry experience, I've found that while we do use diagrams—ranging from ER diagrams, class diagrams, state diagrams, to work flow…
RoboShop
  • 2,770
  • 6
  • 29
  • 38
33
votes
12 answers

How often do you use Formal UML?

I used ad-hoc MUML (made-up modeling language) to design and explain system fairly frequently. It looks similar to UML and tends to be pretty well understood. However, I've had a professor or two that harped on the use of strict, formal UML, as…
Fishtoaster
  • 25,909
  • 15
  • 111
  • 154
17
votes
4 answers

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 issues aren't simple programming mistakes but design…
Winter
  • 705
  • 8
  • 24
16
votes
2 answers

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 is not OOP, just functions and modules. I've tried…
Leonardo
  • 261
  • 1
  • 2
  • 5
14
votes
1 answer

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 I want to represent it in a better way than a…
Zanon
  • 329
  • 2
  • 3
  • 16
13
votes
5 answers

Making an attractive, yet still technical architecture diagram

Does anyone have any advice for making an "attractive" software architecture diagram? My manager told me to make my current architecture diagram (which was built just using Visio and basic icons) more "attractive" for a presentation I have to give…
user36555
10
votes
1 answer

Diagramming messages on a service bus

I'm looking for a way to clearly diagram how multiple applications communicate via a service bus. The best I've come up with so far is a sequence diagram, but I really don't like that. Sequence diagrams necessarily relate some sort of sequence, and…
p.s.w.g
  • 4,135
  • 4
  • 28
  • 40
9
votes
2 answers

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 developer spends reading the documentation when he…
Arseni Mourzenko
  • 134,780
  • 31
  • 343
  • 513
9
votes
1 answer

What UML diagram should I use to show a platform's architecture?

I have been learning UML and have a basic understanding now, but I keep seeing these sort of high level architecture diagrams. Here's one from Microsoft: Source: A bad picture is worth a thousand long discussions. Is this a UML diagram? Are there…
Martin
  • 201
  • 1
  • 2
  • 4
9
votes
3 answers

What's the formal name of this diagram?

I'd also want to know how can I draw them.
user49943
8
votes
8 answers

Are Nassi-Shneiderman diagrams actually used?

I learned about them in a Structured Programming course, but never saw them used thereafter either at the analysis phase or for documentation purposes. Not even for highly structured languages like Pascal (Delphi). Does any of you actually use…
stevenvh
  • 239
  • 3
  • 8
8
votes
1 answer

Diagram to show code responsibility

Does anyone know how to visually diagram the ways in which the flow of control in code passes between code produced by different groups and how that affects the amount of code that needs to be carefully written/reviewed/tested for system properties…
Mike Samuel
  • 1,840
  • 14
  • 19
8
votes
3 answers

Do activity diagrams always end in one endpoint?

For example an activity diagram for a simple program: Get User data. If User Exists DO something, ELSE do nothing. End. I often see diagrams with multiple endpoints but also with just one. Should activity diagrams merge both ways to one final…
KhDonen
  • 133
  • 1
  • 2
  • 9
7
votes
1 answer

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, state diagrams, etc. Is there an UML diagram…
7
votes
1 answer

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 structured format for drawing source control…
Anthony Mastrean
  • 337
  • 2
  • 13
1
2 3
10 11