NodeInstance

StarUML

NodeInstance

Top  Previous  Next

Semantics

A node instance is an instance of a node. A collection of component instances may reside on the node instance.

Procedure for creating node instance

In order to create NodeInstance in deployment diagram,

1.Click [Toolbox] -> [Deployment] -> [NodeInstance] button.

ch05_829

2.Click at the position where NodeInstance will be placed in the [main window], a node is created, and quick dialog appears.
3.Enter the node instance name at the quick dialog and press [Enter] key.

ch05_830

4.The result is as follows.

ch05_831

Procedure for adding attribute link to node instance

There are two way to add attribute link to node instance.

·using NodeInstance model in the [main window] or the [model explorer]
·using [collection editor]

In the case of using NodeInstance model

1.Select NodeInstance in the [main window] or in the [model explorer],
2.Right-click the selected NodeInstance, select [Add] -> [Attribute Link] popup menu, and you can add Attribute Link.

ch05_832

3.The node doesn't show attribute link on the view.

In the other case

1.Select [Collection Editor...] popup menu of NodeInstance.

ch05_833

2.Or click ch05_834 button in [Slots] property on properties window.

ch05_835

3.At [Slots] tab of the [collection editor], you can add attribute link by using ch05_836 button.

ch05_837