You can share your refactored data model with other teams to receive feedback and align on final schema design decisions. To share your refactored schema, you can export your entity-relationship diagram from Atlas.
You can export your entity-relationship diagram as a:
Diagram File.
PNG image.
JSON file.
When you export your entity-relationship diagram as a Diagram File, Atlas
exports it as a .mdm file. This file format allows you to
import the entity-relationship diagram into Atlas and share it with collaborators in the
Compass or Atlas data modeling experience.
When you export your entity-relationship diagram as a PNG image, Atlas exports the collections and their relationships as they appear in the Data Modeling tab. This format helps you share a visual representation of your schema in documentation or presentations.
When you export your entity-relationship diagram as a JSON file, it includes:
A
collectionsarray with the collection namespaces and theirjsonSchema.A
relationshipsarray with the namespaces of the related collections and their linked fields.
Before You Export Your Entity-Relationship Diagram
Before you export your schema visualization, ensure you generate a diagram.
Procedure
In Atlas, go to the Data Explorer page for your project.
If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.
If it's not already displayed, select your project from the Projects menu in the navigation bar.
In the sidebar, click Data Explorer under the Database heading.
The Data Explorer displays.
Note
You can also go to the Clusters page, and click Data Explorer under the Shortcuts heading.