Docs Menu
Docs Home
/
Relational Migrator
/ / /

Toggle Visibility of Entities

On this page

  • About this Task
  • Hide Entities using the Schema Model Pane
  • Hide Entities using a Diagram
  • Showing Entities
  • Learn More

You can show or hide entities in your diagrams. Showing and hiding entities only affects the current diagram and does not affect the model. By toggling the visibility of entities, you can focus your attention on specific entities and relationships and reduce clutter in your diagram.

The visibility of an entity:

  • Applies per diagram. If you have multiple diagrams, toggling the visibility of an entity in one diagram does not affect that entity in other diagrams.

  • Persists as part of the diagram. For example, if you hide an entity, that entity remains hidden when you reload the diagram.

Changing the visibility of an entity does not affect the placement of other entities in the diagram.

Changing the visibility of an entity in one view (either the Relational or MongoDB view) can affect the visibility of entities in the other view. Specifically:

  • When you hide an entity, any entities from the opposite view that are linked to the current entity with mapping rules are automatically hidden, provided those linked entities are not also linked to other visible entities in the original view.

  • When you revert the hiding of an entity, any entities from the opposite view that are linked to the current entity with mapping rules are automatically unhidden.

To hide an entity, hover over the entity in the Schema Model pane and click the eye icon.

  • An open eye icon indicates that the entity is visible.

  • An eye icon with a line through it indicates that the entity is hidden.

  1. Select the entities you want to hide.

  2. Press the delete key on your keyboard. Relational Migrator prompts removal commands.

  3. Select Hide from the diagram.

  4. Click the red Hide button.

Note

You can also right-click an entity and select Hide entity to hide it.

You can show hidden entities in both collections and tables.

To show hidden entities, in the Schema Model pane, click they eye symbol next to the collection or table you want to be visible in your diagram. The open eye icon indicates that the entity is visible.

Back

Copy