MongoDB ER Diagram graphics can be defined on three levels in Moon Modeler. Global graphics can be specified on a project level, you can modify colors on diagram level and properties can be modified also on selected object level.
Dark and light themes for the MongoDB ER diagram
You can choose a dark or light theme. The following screenshot shows the light theme. Other screenshots in this article display the dark theme.

Levels of settings
Settings for graphics can be defined on three levels in Moon Modeler. On a project level, diagram level and on a selected object level.
Colors and graphics defined on the project level
If you wish to change the footer color (e.g. for easier recognition of the project you currently work with), click the ER diagram area to make sure no object is selected. Then change the colors in section Graphics.

Graphics on the diagram level
Click the diagram area to display diagram properties in the right side panel. Change background color, relationship color and choose the relationship mode etc.
- Background color: specify a color for the diagram background. You can change the background color to any color or use transparent color. Transparent color is useful if you change the application theme from Light to Dark. If the Light theme is selected and the transparent color is activated, the background is set automatically to a slightly gray color. In case you enable the Dark theme, the background color is automatically set to dark gray color.
- Reference color: can be specified for graphical representatives of references among collections. Transparent color works similarly to how background color setting behaves.
- Reference mode: allows you to switch from Basic line graphics rendering to Detailed and vice versa.
- Keys displayed graphically: choose if the id and referenced field should be displayed with red/yellow key or with textual marks.

A selected object in MongoDB ER diagram
Colors for selected collection, note or other objects can also be specified in section Graphics. To change colors, select an object in your MongoDB ER diagram. Then specify values in the right-side panel. You can also double click any object and open modal form. There you can specify the text and background colors comfortably.

# MongoDB ER diagram & graphics