Property description
The graphMetamodels asset configures how metadata are presented visually in metamodels.
We recommend creating a separate package for the graph metamodels configuration.
Minimal JSON
{
"key": "",
"name": "",
"viewTypeKey": ""
}{
"key": "diagram",
"name": "Diagram",
"viewTypeKey": "conceptual_model",
"isDefault": false,
"defaultDisableAutoLayout": false,
"defaultDisableShowAllPaths": false,
"displayLevels": [
{
"key": "diagram_simple",
"name": "diagram_simple",
"displayTypeKey": "simple",
"isSingleHideable": false,
"isSelfTargeting": false
}
],
"relationTypes": [
{
"key": "related",
"lineDisplayTypeKey": "specialization",
"isDefault": true
},
{
"key": "core_used_in",
"lineDisplayTypeKey": "association",
"isDefault": true
},
{
"key": "described_by",
"lineDisplayTypeKey": "verbal_concept",
"isDefault": true
}
]
}Example taken from the core package.
Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey. | string | Yes |
name | Name of the asset, used as the default EN translation. | string | Yes |
viewTypeKey | Key of the diagram type. Supported values are: conceptual_model: Diagram for conceptual models. Disables metamodel validation to allow creating relations between different object types or adding one object multiple times. For more information, see Modeling diagrams., data_lineage: Diagram for data lineages. For more information, see Data lineage., entity_relation: Diagram for entity relation diagrams (ERD)., relation: Diagram for all object relations. | string | Yes |
defaultDisableAutolayout | Determines whether automatic layout is enabled by default for data lineage type graphs. Default is false. | boolean | No |
defaultDisableShowAllPaths | Determines whether relation paths between all displayed objects are shown by default for data lineage type graphs. Default is false. | boolean | No |
defaultLabels | Array of labels (e.g., data steward) that are displayed next to objects by default. | array | No |
description | Description of the property. | string | No |
displayLevels | Array of hierarchy levels that are displayed by default. | array | No |
isDefault | Determines whether this visual presentation of graphs is set as the default. | boolean | No |
relationTypes | Array of relation types displayed in the graph. Only relations defined in the core package should be specified. For more information, see graphLines. | array | No |
state | Current status of the asset. Supported options are: active (asset is active and visible in the environment), inactive (asset is inactive and hidden, serves as a soft delete), hidden (asset is active but hidden in the environment). | string | No |
translations | Array of translation keys and their definitions that determine how the text is displayed in the UI for the specific asset. For more information, see Translations. | array | No |