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-2009 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- Altova MissionKit for Enterprise Software Architects 2010 (Windows)
- The Altova MissionKit 2010 for Enterprise Software Architects is an integrated suite of XML, database, and UML tools from the developers of XMLSpy. It delivers eight tools for less than the price of two! The Altova MissionKit for Enterprise Software Architects includes Enterprise Editions of Altova XMLSpy, MapForce, StyleVision, UModel,...
- Software downloads 2009-11-17
- Altova UModel Professional Edition 2010 (Windows)
- Altova UModel Professional Edition is the simple, cost-effective way to draw on UML. Use UModel to create and interpret software designs with the power of UML 2.2. Design application models and generate Java, C#, or Visual Basic .NET code. Reverse engineer existing programs into clear, accurate UML diagrams to quickly...
- Software downloads 2009-11-17
- Altova UModel Enterprise Edition 2010 (Windows)
- Altova UModel Enterprise Edition is the starting point for successful software development. Use UModel to create and interpret software designs via the power of UML 2. Design application models and generate Java, C#, or Visual Basic .NET code. Reverse engineer existing programs into clear, accurate UML diagrams to quickly analyze...
- Software downloads 2009-11-17
- Altova MissionKit for Professional Software Architects 2010 (Windows)
- The Altova MissionKit for Professional Software Architects is an integrated suite of XML, database, and UML tools from the developers of XMLSpy. The Altova MissionKit for Professional Software Architects includes Professional Editions of Altova XMLSpy, MapForce, StyleVision, and UModel, plus DatabaseSpy - all at substantial savings. When you purchase this...
- Software downloads 2009-11-17
- MyUML 091116 (Windows)
- MyUML is a powerful UML software modeling tool, which allows you to create UML models, draw UML Diagrams,and generate code for UML models. It supports the most important UML diagrams: Use Case Diagram, Class Diagram, Object Diagram, State Diagram, Activity Diagram, Collaboration Diagram, Sequence Diagram, Component Diagram, Deployment Diagram. Generate...
- Software downloads 2009-11-14
- M2Spring 1.2 (Windows)
- Building Spring Enterprise applications is now easier and faster than ever. With M2Spring, experience the perfect combination of best of breed Model Driven technologies, MagicDraw UML and BLU AGE Agile Model Transformation, and dramatically enhance your productivity by easily modeling and automatically generating 100% of your Spring SOA applications, with...
- Software downloads 2009-11-06
- Introducing Xomega for XML Object Modeling and Code Generation
- XML-based Model Driven Development can be a simple, but very powerful alternative to the UML-based MDA and can result in significantly increased productivity, clean and robust designs and improved system portability. Xomega technology coupled with the Xomega.Net for Visual Studio can help one quickly adopt this development approach for projects.
- White papers 2009-11-01
- Edraw Max 5.0 (Windows)
- Edraw Max enables students, teachers and business professionals to reliably create and publish kinds of diagrams to represent any ideas. Edraw provides you a versatile, easy, quick and professional solution to let you enjoy your working. In a corporate environment, the folks over in human resources need to be able...
- Software downloads 2009-10-28
- Enterprise Architect 7.5 build 848 (Windows)
- Use Enterprise Architect with UML 2.1 to model, design, and build your next software or business project. Leverage MDA and code generation support (ActionScript, Java, C#, C++, C, VB.Net, VB, Python, and DDL) to rapidly move from analysis to design and build. Create reports. Manage tests, resources, and heaps more....
- Software downloads 2009-09-08
- Edraw UML Diagram 4.7 (Windows)
- UML Diagram is ideal for software engineers and software designers who need to draw detailed software design documentation. Edraw UML Diagram is a new UML design tool which works in the following drawing fields: UML Model Diagram, COM and OLE, Data Flow Model Diagram, Jacobson Use Case, SSADM, Program Structure...
- Software downloads 2009-08-31
- MaintainJ Plugin 2.8 (Windows)
- MaintainJ, an Eclipse plug-in, generates sequence and class diagrams for a given use case, helping the users to quickly understand a complex Java or J2EE application. MaintainJ logs runtime method execution sequence to a file and uses that trace file to render sequence and class diagrams. MaintainJ Instrumentation Wizard instruments...
- Software downloads 2009-08-18
- Pacestar UML Diagrammer 6.20.2040 (Windows)
- Creates UML 2.0 diagrams, develop, document, and communicate your designs in a systematic yet flexible commonly understood notation. Supports activity, class and object, use case, sequence, state, package, and component deployment diagrams. This specialized drawing and design tool helps you exploit the best aspect of UML, the standardized visual design...
- Software downloads 2009-08-10
- FDD Tools 2.0 (Windows)
- FDD Tools - multi-platform Java based application supporting the Feature Driven Development FDD project management methodology. The application can be used to create/edit/display/print FDD-style progress tracking diagrams as described in the book "Java Modeling In Color With UML"Version 2.0 migrated to FDDI as the native file persistence format. Adds basic...
- Software downloads 2009-07-28
- Enterprise architecture heads north: report from Open Group
- John Meyer of The Open Group sent some detailed dispatches from the group’s 23rd Enterprise Architecture Practitioners Conference, being held this week in Toronto. Thanks to John for a great job summarizing many of the key insights coming from the conference -- some highlights from day one are summarized below:...
- Blog posts 2009-07-23
- FDD Tools 2.0 (Mac)
- FDD Tools is a multi-platform Java based application supporting the Feature Driven Development FDD project management methodology. The application can be used to create/edit/display/print FDD-style progress tracking diagrams as described in the book "Java Modeling In Color With UML". FDD Tools is written in Java and cross-platform, but smooth integration...
- Software downloads 2009-07-18
- StarUML 5.0 (Windows)
- StarUML is an open source project to develop fast, flexible, extensible, featureful, and freely-available UML/MDA platform running on Win32 platform. UML is continuously expanding standard managed by OMGObject Management Group. Recently, UML 2.0 is released and StarUML supports UML 2.0 and will support lastest UML standard.
- Software downloads 2009-07-15
- Gaffr 1.0 (Windows)
- Gaffr.net is a modelling and prototyping tool, contains a UML-class modeller, contains a UML-state machine modeller, lets you execute your model including the state machines, uses the standard OCL as constraint and query language, can reverse engineer existing databases, contains a prototyper so that you can verify your thoughts, brings...
- Software downloads 2009-07-14
- uCertify OCUP - UM0-100 Practice Test 8.02.05 (Windows)
- PrepKit OCUP UM0-100, OMG-Certified UML Professional Fundamental Exam is an interactive software application that helps you learn, tracks your progress, identifies areas for improvements and simulates the actual exam. This PrepKit contains 4 interactive practice tests with over 160 challenging questions guaranteed to comprehensively cover all the objectives for the...
- Software downloads 2009-07-06
- BOUML 4.13 (Windows)
- 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 2009-07-04
- Visual Paradigm for UML 7.0 (Windows)
- Visual Paradigm for the Unified Modeling Language (VP-UML) is a UML tool. The tool is designed for a wide range of users including software engineers, system analysts, business analysts and system architects, or for anyone who is interested in reliably building large-scale software systems using an object-oriented approach. In addition,...
- Software downloads 2009-07-03
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Microsoft Dynamics CRM Online - Free Six-Month Trial for Eligible Organizations
-
Microsoft Dynamics CRM Online provides fast online access, simple contact management and better sales performance for a low monthly cost - the best value on the market today.

- Learn more about the free, six-month trial offer>>
- New Online Dashboard for IT Leaders
-
Read about top issues IT decision-makers face every day, plus get cost-effective solutions to real-life IT problems.
- Learn more >>
- Reduce risk. Reduce complexity. Increase reliability.
-
A simplified IT environment isn't just less complex. It's also more reliable. Standardize on a single Linux platform with SUSE Linux Enterprise from Novell, and get the world's most interoperable Linux
- Learn more >>
Meet Doc
-
Here to help you with your Document Management Needs
- Check out Doc’s Blog on ZDNet
- Help your company, help the earth I want to share with you the Environmental Defense Fund Paper Calculator, which allows you to gauge your organization's environmental impact.
- Which is Greener: Paper or Digital? The Answer May Surprise You Anything we can do to reduce paper consumption is good. But what about the impact of digital waste?
-
Produced by
ZDNet and








