Skip to main content

Internal Block Diagram

Overview

An internal block diagram can be used to describe the relationship of properties within the block diagram.
This page explains the operations for using the internal block diagram in the following order.

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

We also provide the following features to assist users in their modeling:
These will also be explained in turn.

  • Set display content

Internal Block Diagram

Place internal block diagram

To place an internal block diagram, follow these steps:

Place internal block diagram

Operating instructions
  1. Select the block in the model navigator and click [Add Model] > [Internal Block Diagram] from the context menu.
  2. The internal block diagram is placed in the child element of the selected block.

Define the part

Add part

To add a part, follow these steps:

Define part

Operating instructions
  1. Drag and drop [Part] from the toolbox onto the displayed internal block diagram.
  2. A new part will be added as a sibling element to the displayed internal block diagram.
Elements that can be added from the toolbox

The following elements displayed in the toolbox can be placed on the internal block diagram.

IconName
PartPart
Input (Deep Blue)Input
OutputOutput
InterfaceInterface
NoteNote
LabelLabel
Add ShapeShape

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

  • part

Add stereotypes to parts

To add a stereotype, follow these steps:

Add stereotype

Operating instructions
  1. Select a part.
  2. Click the Add button in the Basic information > Stereotype field in the Property Inspector to display the choices.
  3. Select a stereotype and press the [OK] button to set the stereotype to the part and display it on the part shape.
tip

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

tip

Once you have added a stereotype, you can edit it from the internal block diagram by following these steps:

  1. Double-click the stereotype displayed in the part to enter editing status.
  2. When you change the stereotype and confirm the edit, it will be reflected on the internal block diagram and the part stereotype 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 the type

To set a type for a part, follow these steps:

Set part type from inspector

Operating instructions
  1. Select the part on the displayed internal block diagram and display the [Property] inspector.
  2. Click the [+] button in the [Type] property, select the block in the finder that appears, and press the [OK] button.
  3. The type is set for the part, and the inputs and outputs defined in the block are displayed as ports on the part shape on the internal block diagram.
tip

If you want to edit the input/output of a part, it will be automatically reflected by editing the input/output of the block set to the part type.

Define a directed connector

To define a directed connector, follow these steps:

Add a directed connector

Operating instructions
  1. Move the pointer over the output port.
  2. Drag the [▲] icon that appears outside the output port and drop it onto the input port.

Edit the multiplicity of a directed connector

Edit the multiplicity of a directed connector

Operating instructions
  1. Select a directed connector.
  2. Double-click the grayed-out [*] to enter editing mode.
  3. Enter the multiplicity you want to set, the multiplicity will be set to the directed connector, and the multiplicity will be displayed on the directed connector in the internal block diagram.

Edit the associated end name of a directed connector

Edit the association end name of a directed connector

Operating instructions
  1. Select a directed connector.
  2. Double-click the grayed out [-] to enter editing mode.
  3. Enter the related end name you want to set, and the related end name will be set in the directed connector and displayed on the directed connector in the internal block diagram.

Add stereotypes to directed connectors

To add a stereotype, follow these steps:

Add stereotype

Operating instructions
  1. Select a directed connector.
  2. Double-click the grayed-out [<<stereotype>>] to enter editing mode.
  3. Enter the stereotype you want to set, the stereotype will be displayed on the directed connector in the internal block diagram, and the stereotype will be set on the directed connector.

Set display content

By simplifying elements on the internal block diagram, you can display only the information you are interested in without changing the state of the model. For example, to quickly view the visibility of relationships, follow these steps:

Simply display text

Operating instructions
  1. Display the internal block diagram whose display you want to switch.
  2. From the Inspector's [UML Diagram] tab, toggle the visibility checkbox in the [Relationship] group.
Elements whose display can be switched

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

CategoryElement
CommonStereotype
RelationshipVisibility

Restrictions

  • It is not possible to add a port corresponding to the part (it will be automatically reflected by adding it to the type block).