There are twelve diagrams supported under UML. Four are structural, five are behavioral and three are used for model management, which include packages, subsystems and models. See XMI.
Structural Diagrams
The four structural diagrams are class, object, component and deployment. Following is an example of the class diagram:
Class Diagram
This is one of the structural diagrams.User, User Terminal and Server are three classes that have attributes and operations. An actor is a UML "stereotype" that is external to the system. Lines between classes are "associations." The asterisk means "many," in this case, a many-to-one relationship between client and server.
Behavioral Diagrams
There are five behavioral diagrams: use case, sequence, activity, collaboration and state chart. Following are examples of four of them:
Use Case Diagram
This diagram shows a system's functions from a user's point of view, which in this case is pretty simple. All the following diagrams were created in the Telelogic Tau UML suite by Telelogic for this same example. Five of the nine possible diagrams available in UML are shown below. The Component Diagram (software module interaction), Deployment Diagram (hardware nodes) and the Activity Diagram (tasks) are not included. The Object Diagram (instantiations of classes) is rarely used. (All diagrams courtesy of Telelogic, AB, www.telelogic.com)
Sequence Diagram
Like an MSC (Message Sequence Diagram), the Sequence Diagram depicts the message flow between entities in the system. The items between double left/right arrows are UML "stereotypes." See MSC.
Collaboration Diagram
This diagram emphasizes the structure of the relationships between entities. Note that the user is associated with the user terminal in a session, and the terminal is associated with the server in a connection. The order of messages can be read by interpreting the numbers prefixes.
State Chart
This describes the finite states that take place in the system. The rectangles are the states, and the lines between them are the transitions. The connection state shows three substates. The single circles are starting points, and the double circles are the ends.
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2008 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- Visual Modeler for UML (exe)
- Visual Modeler for UML provides extensive support for UML 2.0 Unified Modeling Language with templates for six most commonly used UML diagrams: class diagram, package diagram, use case diagram, state diagram, sequence diagram, and activity diagram. It supports UML 2.0 and various types of technical diagrams. It supports exporting the...
- Software downloads 2008-08-01
- Microsoft signs onto Unified Modeling Language for SOA
- Microsoft signs onto Unified Modeling Language for SOAUML = Unlimited Money Loss.Lots of pretty pictures. Lots of pretty diagrams. One very very complex, convoluted, bloated language that has very little to do with the act of actually writing any software.Of the 4 major projects I have worked on...
- Discussion threads 2008-06-10
- Microsoft signs onto Unified Modeling Language for SOA
- Microsoft turns to UML to ensure Oslo mass appeal by Joe McKendrick
- Blog posts 2008-06-10
- North State Framework (zip)
- The North State Framework NSF is a .Net class library that provides a one-to-one mapping between UML State Machine diagram elements and library classes, so implementation is a direct translation of the design, making code creation a simple process. Together with NSF's built-in utility classes for threading, timers, and tracing,...
- Software downloads 2008-05-23
- Dia (exe)
- Dia is open-source visual-editing software that can be used to draw many different kinds of diagrams. It currently has special objects to help draw entity relationship diagrams, UML diagrams, flowcharts, network diagrams, and many other diagrams. It is also possible to add support for new shapes by writing simple XML...
- Software downloads 2008-04-21
- Use Case Modeling
- Instantly save $500 off the standard course price when you register on TechRepublic or ZDNet! Offer ends April 30, 2008.View Available Dates and LocationsUse case modeling is a graphical approach to describing requirements for a system. As a fundamental component to identifying requirements for a new...
- Training 2008-04-01
- The worst software failures are successes
- The worst software failures are successesIsnt this was "agile" is all about avoiding?Another common cause of problems that you dont mention: The spec was right at the time it was captured, but the business has moved on by the time the system is delivered. Too many development teams think they...
- Discussion threads 2008-03-27
- Modeling Demystified, Part 3: Extend UML for User Models - Associations, Relationships, and Stereotypes
- A user model is a description of a set of people and how they will work with an IT solution. This type of modeling, which is based on leading usability theory and practice, lets solution architects specify the external design elements of the IT solution so that it's both useful...
- White papers 2008-03-25
- SOA, Enterprise Architecture, BPM all the same underneath
- SOA, Enterprise Architecture, BPM all the same underneathThere never was a lineI recall jumping on to the SOA Yahoo group months ago, hoping to more fully understand the prevailing definition and practice of what is referred to as SOA. I came to the conclusion that SOA as stand-alone entity never...
- Discussion threads 2008-02-06
- How to Use IBM Rational Rose Model Importer: Part 1. How to Migrate UML Models to Rational Software Architect
- Learn how to use the IBM Rational Rose Model Importer to migrate UML models from Rational Rose to IBM Rational Software Architect, IBM Rational Systems Developer, or IBM Rational Software Modeler. This paper guides the user through how to migrate the UML models in a way that enables one to...
- White papers 2008-01-29
- UML Editor (zip)
- An easy-to-use tool, to foster a model driven architecture. UML Editor is a powerful utility designed to foster a model driven architecture. The UML/INTERLIS editor is an attempt to facilitate the application of the model driven approach to a greater number of users. This version is the first release on...
- Software downloads 2008-01-11
- MDG Integration for Eclipse (exe)
- MDG Integration brings many of the benefits and rich modeling power of Enterprise Architect and UML 2.1 to Eclipse. Intuitive navigation and editing of the model is provided directly inside the IDE using the EA Project Explorer. At the click of a button, MDG Integration allows you to reverse engineer...
- Software downloads 2007-12-28
- BOUML (exe)
- BOUML is a free UML 2 tool box allowing you to specify and generate code in C++, Java, IDL and PHP. BOUML is very fast and will not require much memory even f it manages several thousands of classes. BOUML is extensible, and the external tools named plug-outs can be...
- Software downloads 2007-12-27
- EDraw Soft Diagrammer (exe)
- EDraw is a new UML diagram and software diagram drawing tool for software engineers and designers. Easy to draw uml model diagram, COM and OLE, data flow model diagram, Jacobson Use Case, SSADM Diagram, Nassi-Schneiderman diagrams, Booch OOD diagrams, ROOM Diagram, Yourdon and Coad diagrams and Shlaer-Mellor OOA diagrams, program...
- Software downloads 2007-12-21
- Trace Modeler (zip)
- Trace Modeler is an easy to use and smart editor for UML sequence diagrams. Ideal for documenting existing systems and brainstorming new designs. And fast too, It instantly updates the diagram layout, freeing you to focus on the actual content. The look of your diagrams is controlled by style settings...
- Software downloads 2007-12-21
- QuickUML (exe)
- QuickUML is a software design application that tightly integrates a core set of UML models with code generation for several languages. An entire project is presented through a tabbed window that includes use cases, class models, object models, dictionary and code and saved as an XML file. Use cases document...
- Software downloads 2007-12-12
- Metamill (exe)
- Metamill is a professional UML 2.1 software modeling tool. Model files are XMI 2.1 XML files. All 13 UML diagrams supported. Metamill packages can be stored independently as XMI files. Java, C, C++, C# and VB.Net source code can be round-trip engineered. Version 5.0 supports UML 2.1 and XMI 2.1...
- Software downloads 2007-11-29
- yEd Diagram Editor (exe)
- Use yEd to quickly create flow charts, UML diagrams, mind maps, and many other kinds of diagrams, graphs and networks. Choose from a wide range of highly sophisticated layout algorithms to automatically arrange your diagrams in no time. An intuitive and visually appealing user interface makes creating diagrams fun. Once...
- Software downloads 2007-11-15
- Microsoft Oriented Architecture: Is it sooo 2003?
- "I had to pinch myself and ask myself what year this is. Oh, it's 2007, and Microsoft is finally getting modeling religion. In 2003-2004 there was a big up swell of industry interest in model-driven architecture MDA." –Jim Kobelius, analyst Is Microsoft late in getting into the...
- Blog posts 2007-11-14
- BriefingsDirect SOA Insights analysts examine 'Microsoft-Oriented Architecture' and evaluate SOA's role in 'Green IT'
- Read a full transcript. The latest BriefingsDirect SOA Insights Edition, Vol. 27, provides a roundtable discussion and dissection of Services Oriented Architecture SOA-related news and events with a panel of IT analysts and experts. Please join noted IT industry analysts and experts Jim Kobielus,...
- Blog posts 2007-11-14










