For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Import an Entity-Relationship Diagram in Compass

You can import an entity-relationship diagram into Compass from an .mdm file. Importing diagrams can be helpful for when you want to view or edit a diagram that a collaborator shares in Compass.

To import your entity-relationship diagram, follow the procedures to export your diagram as a .mdm file. Compass can import an entity-relationship diagram only from .mdm files and cannot import diagrams from PNG or JSON files.

1

In the left sidebar, click Data Modeling.

2
3

After you select the .mdm file you want to import, Compass displays the entity-relationship diagram in the Data Modeling tab.