Customizing the metamodel > Metamodel graphical editor > Creating a metamodel diagram
  
Creating a metamodel diagram
To create a metamodel diagram
1 Perform one of these actions:
From the Explorer, right-click the Diagram group, and then click New Diagram
Click File > New Diagram.
2 Click Meta Model, and then specify a name for it.
3 In the new diagram, click Draw > Create Meta Model. Select one of the new definition or diagram types that you have created through the Meta Model graphical customization facility. Click OK to generate the diagram.
The following example was created by selecting the diagram type as Library Diagram, Depth of 1 and Meta-model arrangement as Network.
The blue symbol represents the LibraryDiagram Diagram type
The yellow symbols represent the symbol types that can be drawn on that diagram type.
The pink symbols represent the definitions that define those symbol types.
If you chose a depth of 2, you would get all definition types related to the initial definition types drawn. A depth of 3 would get definition types related to those definition types, and so forth.
This graphic is described in the surrounding text.
Lines produced are color-coded by their categorization:
Contains: blue
Defines: red
Identifies (keys): pink
other: green
A line is produced for each unique set of the following data: from object, to object, categorization, target cardinality. The details of the relationship are stored in the Graphic Comment: name of relationship / a list of these entries: name of relationship: property label <-- property name. For relationships based on properties, the from cardinality is always ‘One and Only One’ denoted by || , and this identifies the direction in which the relationship can be navigated. Contains relationships are similarly navigated from the diagram to the symbol. Defines relationships are navigated from the symbol to the definition.
4 Right-click any of the new symbols on the diagram, and then click Edit Related Definition Type. This option is available only when a User Defined Definition has been selected and represents a type say (Diagram) and an instance of Definition “User Diagram Type” exist in the encyclopedia with the same name as the Symbol.
Contextmenu option
See also
Importing a user props file into a production encyclopedia
Metamodel graphical editor