About this task
In
an activity diagram, you can associate
an object node to a class/type to represent the class type using one
of the following methods:
- Right-click the
object node in the diagram to display
the Features window and select the class/type from the list in the Represents field.
- Dragging a
class/type from the browser into the
activity diagram automatically associates the class/type with the
object node.
In the activity diagram, the
associated node
displays the name of its associated class/type in the name compartment.