Contain elements within a node in a UML deployment diagram
-
In a deployment diagram, drag a Node or Node Instance shape from the UML Deployment stencil onto the drawing page.
-
Double-click the node to add a name, attributes, operations and other property values.
-
Drag a corner selection handle to resize the node so it can accommodate the elements you want it to contain.
-
Drag Component, Component Instance, and Object shapes on top of the Node shape, and then connect the shapes with dependency relationships where appropriate.
-
Do one of the following:
-
Double-click each node. In the UML Node Properties dialog box, click Components. Under Choose the components which are deployed by this node, select the appropriate components, and then click OK.
-
Double-click each component. In the UML Component Properties dialog box, click Nodes. Under Choose the nodes which deploy this component, select the appropriate nodes, and then click OK.
Important: Do not group a node and the shapes it contains. If you need to move a node and the elements within it, drag a selection rectangle around the node to select all the shapes, and then drag them to the position you want.
-
No comments:
Post a Comment