Skip to main content

Internal Block Diagram

Overview

You can use the internal block diagram to describe the relationships between the properties inside the block diagram. This page describes the operations for using the internal block diagram in the following order.

  • Place an internal block diagram
  • Define a part
  • Define a directed connector

It also provides the following features to assist in user modeling: These will also be explained in order.

  • Set the display contents

Internal Block Diagram

Place an internal block diagram

To place the internal block diagram, follow the steps below.

Place internal block diagram

Operation procedure
  1. Select a block in the model navigator and click Add Model> Internal Block Diagram in the context menu.
  2. The internal block diagram is placed on the child elements of the selected block.

Define a part

Add a part

To add a part, follow the steps below.

Define Part

Operation procedure
  1. Drag and drop [Part] from the toolbox to the displayed internal block diagram.
  2. A new part is added as a sibling element of the displayed internal block diagram.
Elements that can be added from the toolbox

In the internal block diagram, you can place the following elements displayed in the toolbox.

IconName
PartPart
InputInput
OutputOutput
InterfaceInterface
NoteNote
LabelLabels
ShapeShape

Inputs and outputs are arranged as port shapes for the following elements, but cannot be added from the toolbox. By setting a block for the part type, the input/output of the block will be reflected on the figure.

  • part
Add a stereotype to a part

To add a stereotype, do the following:

Add stereotype

Operation procedure
  1. Select a part.
  2. Click the Add button in the Basic information> Stereotype field in the Property inspector to see the choices.
  3. Select a stereotype and press the [OK] button to set the stereotype for the part and display the stereotype for the part shape.
tip

Stereotype choices can be defined in the Detail view of the package model.

tip

You can edit the added stereotype from the internal block diagram by following the steps below.

  1. Double-click the stereotype displayed in the part to enter the edit state.
  2. If you change the stereotype and confirm the edit, it will be reflected on the internal block diagram and the stereotype of the part will be changed.
tip

To display an existing part on the internal block diagram, drag and drop the part on the model navigator onto the internal block diagram.

Set type

To set the type for a part, follow the steps below.

Set part type from inspector

Operation procedure
  1. Select a part in the displayed internal block diagram to display the Property Inspector.
  2. Click the [+] button in the [Type] property, select the block in the displayed finder, and click the [OK] button.
  3. The part is typed and the input and output defined in the block are displayed as ports in the part shape on the internal block diagram.
tip

When editing the input/output of a part, it is automatically reflected by editing the input/output of the block set for the part type.

Define a directed connector

To define a directed connector, do the following:

Add directed connector

Operation procedure
  1. Move the pointer over the output port.
  2. Drag the [โ–ฒ] icon that appears outside the output port and drop it on the input port.
Edit the multiplicity of directed connectors

Edit multiplicity of directed connector

Operation procedure
  1. Select the directed connector.
  2. Double-click the grayed out [*] to enter the editing state.
  3. When you enter the multiplicity you want to set, the multiplicity is set for the directed connector and the multiplicity is displayed for the directed connector in the internal block diagram.
Edit the relevant end name of the directed connector

Edit related end names of directed connectors

Operation procedure
  1. Select the directed connector.
  2. Double-click the grayed out [-] to enter the editing state.
  3. When you enter the related end name you want to set, the related end name is set in the directed connector and the related end name is displayed in the directed connector in the internal block diagram.
Add stereotypes to directed connectors

To add a stereotype, do the following:

Add Stereotype

Operation procedure
  1. Select the directed connector.
  2. Double-click the grayed out [<<stereotype>>] to enter the edit state.
  3. When you enter the stereotype you want to set, the stereotype is displayed on the directed connector in the internal block diagram, and the stereotype is set on the directed connector.

Set the display contents

By making the elements on the internal block diagram a simple display, you can display only the information you are interested in without changing the state of the model. For example, to simplify the related visibility, follow the steps below.

Simple display of text

Operation procedure
  1. Display the internal block diagram for which you want to switch the display.
  2. From the UML Diagram tab in the Inspector, toggle the check box for the Visibility checkbox in the Relationship group.
Elements that can switch the display

You can switch the display of the following elements in the internal block diagram.

CategoryElements
CommonStereotype
RelationshipVisibility

Restrictions

  • Port addition operation corresponding to the part is not possible (it is automatically reflected by adding it to the type block).