The Professional edition of Moon Modeler lets you work with more sub-diagrams. A sub-diagram is like an extra diagram in a project where you can only see part of your data model.
The Main diagram and sub-diagrams
Main diagram:
- Contains all objects
- Objects can be displayed or hidden

Sub-diagram (other diagrams):
- Contains a subset of objects of the Main diagram
- Objects can be added to or removed from the diagram, but cannot be hidden

Adding a new diagram
You can click the button Add diagram to create a new, empty diagram.

This can be useful if you plan to create a new part of your database design from scratch. If you wish to add already existing objects to a new or existing diagram, select the objects and right-click any of them either in the Object List panel

or on the active diagram

and select Add to another diagram.
Setting the diagram name and properties
If you wish to rename the diagram or set other graphical properties, either right-click the tab name and click Edit to open the modal form or edit the properties directly in the side panel.
Displaying items from the Main diagram
At bottom of the left side panel, you can find switch Show items from the Main diagram.

Enable the switch to display items that exist in the project & the main diagram, but are not in the active diagram.
The items are displayed as disabled. You can right-click any of them and select Add to diagram.

Diagram items management
If you wish to see a list of all objects, search in the list and add or remove additional objects, right-click the diagram area, and select Manage diagram items.

The Diagram items modal form opens. See the objects included (checkbox checked, see 1) and objects that are available for addition. You can also filter the grid by specifying the object name in the Filter input field (2).

Removing objects
If you want to remove an object, you can use the Diagram items modal form, or select the object and press the Del key or click the Delete icon on the toolbar. Then you can choose to either remove the object from the diagram or delete it from the project.

Changing where tabs are displayed
In the Settings, you can select if you want to display the tabs above the diagram or below the diagram.
Diagram specific features
- Diagram specific colors/background colors
- Objects in each diagram can be formatted differently (color, position, size etc.)
- Objects alignment and resize
- Print to PDF
- Creation of HTML reports for selected diagram
- Script generation for selected diagram – see below
Generating scripts for a sub-diagram
In case you have multiple sub-diagrams in your project, you can generate the resulting script only for the selected diagram.
See how to work with sub-diagrams in Luna Modeler
#