Questions tagged [uml]

Unified Modeling Language, an object-oriented modeling and specification language used in software engineering. For questions about user-mode Linux, use the [user-mode-linux] tag.

Introduction

The Unified Modeling Language (UML) is a standardized general-purpose modeling language heavily oriented towards the field of object-oriented software engineering.

UML includes a set of graphic notation techniques to create visual models of object-oriented software-intensive systems.

Enter image description here

The UML specifications and their development process is managed by the Object Management Group (OMG).

History

UML has been evolving since the second half of the 1990s and has its roots in the object-oriented methods developed in the late 1980s and early 1990s. It was created and developed by Grady Booch, Ivar Jacobson and James Rumbaugh at Rational Software (AKA the three amigos) during 1994–95, with further development led by them through 1996.

In 1997 it was adopted as a standard by the Object Management Group (OMG) and has been managed by this organization ever since. In 2005 the Unified Modeling Language was also published by the International Organization for Standardization (ISO) as an approved ISO standard. Since then it has been periodically revised to cover the latest revision of UML.

The current release of the specification can always be found at: http://www.omg.org/spec/UML/Current.

Resources

6907 questions
22
votes
1 answer

PlantUml - Set max width without constraining height

I have a plantUml diagram that looks like this: The image has a width of 1234px and a height of 970px. I need to print the image as part of a report and would like to fit it on a letter sized sheet of paper in portrait orientation. If I could…
sixtyfootersdude
  • 25,859
  • 43
  • 145
  • 213
22
votes
5 answers

How to understand the design and code flow of any product quickly?

I have switched to a new company and I am working on a product that has a huge code base without documentation. I want to quickly get acquainted with the design and the code flow of the product so that I may become a productive member ASAP Slowly…
pankajt
  • 7,642
  • 12
  • 39
  • 60
22
votes
10 answers

How did you learn UML?

I'm going to start learning and using UML. I need to know what considerations do you suggest for me? What is the best way to learn effectively it do you think? Thank you
odiseh
  • 25,407
  • 33
  • 108
  • 151
22
votes
5 answers

Text -> Diagram Tool

I'm looking for an diagram tool for producing diagrams from text. I only really need sequence and state type diagrams for now, but I'm curious as to what people would recommend? I need something which is standalone, not a web based tool that…
Jonathan Holloway
  • 62,090
  • 32
  • 125
  • 150
22
votes
4 answers

UML Class Diagram for User Login

The diagram below is my very first attempt at creating a UML class diagram describing a user login into a website. I'm sure its a poor design and full of flaws, but I'm hoping to learn from you guys how you would design a simple login like this.…
Anthony
  • 3,990
  • 23
  • 68
  • 94
22
votes
3 answers

How to represent calls within same class using UML-Sequence diagram

I am trying to create UML sequence diagram for a particular process in our application. The problem is that most of the business logic is in one class and when I try to map it in sequence diagrams, I am getting multiple calls to the same objects in…
Ashay Batwal
  • 5,415
  • 7
  • 25
  • 30
21
votes
3 answers

How to represent the nested class of C++ in UML?

How to represent the nested class of C++ in UML? class A { class B { } }
Victor S
  • 4,021
  • 15
  • 43
  • 54
21
votes
4 answers

Difference between Sequence Diagram (SD) and a System Sequence Diagram (SSD)?

I'm working on a project for a grad class and still having trouble wrapping my head around them. What is the difference between a sequence diagram (SD) and a system sequence diagram (SSD)? And in what order should they be developed when working on…
Joshua Aslan Smith
  • 335
  • 1
  • 2
  • 12
21
votes
3 answers

Representing loops in a UML activity diagram

I am trying to design an activity diagram (UML) for a networked tic tac toe game that I developed, with sockets. I am using activity partitions (swimlanes). So, there is three partitions: Client1, Server, and Client2. The diagram is looking good,…
littleK
  • 19,521
  • 30
  • 128
  • 188
20
votes
4 answers

UML association vs. composition and detail level

Actually, make that a couple of amateur UML questions! When creating a UML diagram to model some domain concepts and you come across a domain concept that "holds" some information about another concept, is it better to hold a stamp/reference to that…
Roger2233
  • 231
  • 1
  • 2
  • 3
20
votes
1 answer

Is there an agreed UML diagram style for documenting or illustrating the role of (Docker) containers in a system architecture specification?

I'm planning to draw some UML structure diagrams that illustrate the place of Docker images (or containers, in deployment diagrams) in the overall structure of the software I am architecting. I'm interested in illustrating the contents of…
20
votes
4 answers

Difference between a subsystem and a component

I would like to ask what is the difference between a subsystem and a component in the UML sense?
WebMonster
  • 2,981
  • 2
  • 22
  • 29
20
votes
3 answers

Optimal Eclipse CDT (C++) experience in March of 2010

I am a student who will be using C++ next quarter. I really enjoyed using the Galileo release of Eclipse with Java and I would like to continue using Eclipse for for C++ development. I am now experimenting with C++ development on Eclipse. I am…
ahoffer
  • 6,347
  • 4
  • 39
  • 68
20
votes
13 answers

Is UML a programming language?

Could UML be used to program a computer system on its own, without a supporting implementation language, e.g. diagrams straight to machine code (maybe via C or C++ etc), without human coding intervention.
WeNeedAnswers
  • 4,620
  • 2
  • 32
  • 47
20
votes
3 answers

How do you show instantiation in a UML Sequence Diagram?

How do I show that the WebServer instantiates a View and gets back control of the flow? Maybe I'm not using the right type of diagram? Thanks a bunch!
LeWoody
  • 3,593
  • 4
  • 25
  • 31