Skip to main content

Basics of model editing

Overview

In Next Design, you can edit the model while switching the expression format (view) of the model.

Model editing is mainly performed with the main editor in the center of the screen and the sub-editors that can be displayed side by side. Main editors and sub-editors let you edit different models side by side, or edit the same model in different views.

In addition, the model navigator also allows you to add a model or change the structure of the model while viewing the structure of the model in a tree format.

The basic operations for model editing in Next Design are described in the following order.

  • Edit in main editor
  • Edit sub-editors side by side
  • Edit in model navigator

Edit in the main editor

Select model

To select a model to edit in the main editor, proceed as follows:

Select model

Operation procedure
  1. Find the model you want to edit by expanding the tree in the model navigator.
  2. Click a model in the model navigator to display it in the main editor for editing.
note
  • If the main editor is not displayed, click [Home] > [View] > [Editor] on the ribbon to switch the screen.

Switch views

To switch views of a model:

Switch view

Operation procedure
  1. When the model to be edited is displayed in the editor, a button for switching the representation format (view) of the model is displayed in the upper right of the editing area.
  2. Click those buttons to switch views.
    (In the example above, select from three views: UseCase Diagram/List/Details)
  3. Editing the model in one view is automatically reflected in the other views.
info
  • Views that can be used in model editing differ for each model type (entity).
  • Available views can be customized in your profile.
Collapse list of views

The list of views can be collapsed so that you can see the information displayed at the top of the editor, such as the path bar, more widely.
The operation method is as follows.

collapse view list

Method of operation

  • If more than one view is displayed in the list, you can collapse the view list by clicking the [>>] button.
  • If the views are collapsed, you can uncollapse the list of views by clicking the [<] button.
  • When a view is collapsed, hovering over the toggle view button will show all views.

Add Model from Toolbox

To add a model in diagrammatic view:

Add a model from the toolbox

Operation procedure
  1. The toolbox below the model navigator displays the types of models that can be added.
  2. Select the type of model to add and drag and drop it from the toolbox onto the view to add the model to the diagram.
  3. Details are provided for each type of view.
Other operating procedures
  • Models can also be added from the sub toolbox displayed on the left of the editing area of ​​the editor.
  • Models can also be added from the model navigator context menu.

delete the model

To delete a model in the editor, do the following:

delete model

Operation procedure
  1. Select the model you want to delete in the editor.
  2. Do one of the following:
    • Click the Delete Model command in the context menu.
    • Press the delete key.
  3. The model is deleted from the editor.

Edit sub-editors side by side

show sub-editor

To display the sub-editor:

Show subeditor

Operation procedure
  1. Click View > Pane > Sub Editor from the ribbon.
  2. Display/hide is switched each time you click.

Switch model to edit

Follow the steps below to switch the model to be displayed/edited in the sub-editor.

Switch the model to display

Operation procedure
  1. Select one of the following table from the [Switch display mode] pull-down list at the top of the sub-editor.
  2. If [Manual] is selected for the display mode, or if there are multiple models corresponding to [Input (Deep Blue)] and [Output], select Select the model to display.
Display ModeModel to be displayed
ManualAny model specified in the sub-editor
DetailModel selected on the main editor
Details (type)Model specified for the type of lifeline or message selected in the sequence diagram
Input (Deep Blue)Model for inputting trace information
OutputModel that outputs trace information
Same as mainModel being edited in main editor
See

Switch views

To switch views in the sub-editor, just like in the main editor, click the view choices displayed in the top right of the editing area.

Switch subeditor view

Edit with model navigator

Add a model

To add a model in the model navigator:

Model Navigator

Operation procedure
  1. Right-click the model on the model navigator to open the context menu.
  2. The types of models (entities) that can be added are displayed under the [Add Model] command in the context menu.
  3. Click the type of model to add from among them, and the model will be added as a child of the target model.
info
  • Entities that can be added depend on the parent entity in the hierarchy and are defined in the profile.

Duplicate a model

To add a model with the same structure by duplicating an existing model and its descendants:

Model duplication

Operation procedure
  1. Select the model to be duplicated on the model navigator.
  2. Click the Clone command in the context menu.
  3. A duplicate model is added to the position immediately after the selected model.
info
  • Based on the model to be duplicated, the following contents will be duplicated.

    • field input value 1
    • Descendant models owned by the target model
    • Relations whose origin is the target model
      • If the related destination is included in the replication target, the related destination is the model of the replication destination
      • If the related destination is not included in the replication target, the related destination is the same as the related destination of the original model
    • Order relation of models in owned/referenced fields of the target model 2
    • Editing information in each view (shape position in ER diagram, etc.)
  • The following content will not be duplicated.

    • Feature assignments and feature expressions
    • Relation to which the target model is the related destination
caution
  • If the model cannot be added due to the multiplicity constraint, the message "The model cannot be duplicated because it exceeds the multiplicity constraint." is displayed and the model is not duplicated.

move the model

To change the order of models in the model navigator or change the hierarchical structure, follow these steps:

move model

Operation procedure
  1. To change the order of models, drag and drop the target model on the tree.
  2. To move a model to another parent and change the hierarchical structure, drag and drop the target model onto another parent on the tree.
caution
  • Since models in the same hierarchy are classified and displayed by entity, it is not possible to move between different entities. The order of entities can be customized in Profiles.
  • In the case of a move that changes the hierarchical structure (move to another parent), it can be moved only if the entity to be moved can be added to the destination parent entity.

Footnotes

  1. If the field has an initial value and the value of the inner field is null, the initial value will be set during duplication.
    The values ​​of null internal fields are only set at model creation time if there is no initial value, or via the extension's API.

  2. Empty indexes are padded forward because "relationships to which the target model is the destination" are not duplicated.