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

PropertyDescriptionValuesMandatory
keyUnique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey.stringYes
nameName of the asset, used as the default EN translation.stringYes
viewTypeKeyKey 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.stringYes
defaultDisableAutolayoutDetermines whether automatic layout is enabled by default for data lineage type graphs. Default is false.booleanNo
defaultDisableShowAllPathsDetermines whether relation paths between all displayed objects are shown by default for data lineage type graphs. Default is false.booleanNo
defaultLabelsArray of labels (e.g., data steward) that are displayed next to objects by default.arrayNo
descriptionDescription of the property.stringNo
displayLevelsArray of hierarchy levels that are displayed by default.arrayNo
isDefaultDetermines whether this visual presentation of graphs is set as the default.booleanNo
relationTypesArray of relation types displayed in the graph. Only relations defined in the core package should be specified. For more information, see graphLines.arrayNo
stateCurrent 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).stringNo
translationsArray 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.arrayNo