In the UML, you use class diagrams and component diagrams to reason about the structure of your software. You use sequence diagrams, collaboration diagrams, statechart diagrams, and activity diagrams to specify the behavior of your software. At the edge of your system's software and hardware, you use deployment diagrams to reason about the topology of processors and devices on which your software executes.
In the UML, deployment diagrams is used to visualize the static aspect of these physical nodes and their relationships and to specify their details for construction.
Deployment diagrams are one of the two kinds of diagrams used in modeling the physical aspects of an object-oriented system. A deployment diagram shows the configuration of run time processing nodes and the components that live on them. Deployment diagrams address the static deployment view of an architecture. They are related to component diagrams in that a node typically encloses one or more components.
Component diagrams and deployment diagrams are similar to class diagrams, except that instead of containing classes, they contain components and nodes, respectively. Deployment diagrams are essentially class diagrams that focus on a system's nodes. You use deployment diagrams to model the static deployment view of a system. For the most part, this involves modeling the topology of the hardware on which your system executes.
We typically use classes to model the concepts and things in a problem domain, and subsequently, we can model them with concrete instances using components and nodes. For example, if you want to model the topology of your organization's network, you'll use deployment diagrams containing instances of nodes. Similarly, if you want to model the components that live on the physical nodes in this network, you'll use component diagrams containing instances of the components.
Finding an online Deployment Diagram tool? Just click the Draw button below to create your Deployment Diagram online. Visual Paradigm Online is free* and intuitive. You can also go through this Deployment Diagram tutorial to learn about Deployment Diagram before you get started.
Draw NowA component is a grouping of classes that work together closely. Components can be classified by their type. Some components exist only at compile time, some exist only at link time, some exist only at run time; and some exist at more than one time.
A node is a run-time physical object that represents a computational resource, generally having memory and processing capability. You can model node types and node instances. You may model the component instances that run or live on a node by drawing them within the node. You may model which nodes communicate with one another using the Connection relationship line.
A dependency indicates that one model element (source) depends on another model element (target), such that a change to the target element may require a change to the source element in the dependency. In a deployment diagram, you can use the dependency relationship to show the capability of a node type to support a component type. You may also use the relationship to show the dependency between component types.
A connection depicts the communication path used by the hardware to communicate usually indicates the method i.e. TCP/IP.
Artifacts represent concrete elements in the physical world that are the result of a development process. Examples of artifacts are executable files, libraries, archives, database schemas, configuration files, etc.
When you model the static deployment view of a system, you'll typically use deployment diagrams in one of three ways.
A Deployment model can be developed by following the steps below.
A Deployment model can be developed by following the steps below.
A component is a code module. Component diagrams are physical analogs of class diagram. Deployment diagrams show the physical configurations of software and hardware. The following deployment diagram shows the relationships among software and hardware components involved in real estate transactions.
The physical hardware is made up of nodes. Each component belongs on a node. Components are shown as rectangles with two tabs at the upper left.
The Deployment Diagram example below shows a Management Information System for a SME which use TCP/IP as network communication protocol for connecting between the web server database, application, email servers and etc. protected by a firewall between the client and server side of the system.
More Class Diagram examples:
Deployment Diagram Example - Corporate Distributed System
Deployment Diagram Example - Modeling a Distributed System
You've learned what a Deployment Diagram is and how to draw a Deployment Diagram step-by-step. It's time to get your hands dirty by drawing a Deployment Diagram of your own. Draw UML diagrams free* with Visual Paradigm Online. It's easy-to-use, intuitive.
Draw Now* The Free edition supports free usage of Visual Paradigm Online for non-commercial use only.