Skip to content

Models, elements & properties

Everything you do in ModelDesk is built from three ideas: models, elements, and properties. This page explains what each one is and how they fit together.

A model is an information model you manage in ModelDesk: a structured description of a subject, such as a set of concepts, classes, or data types and the way they relate. It is the top-level thing you open, edit, version, and export.

Every model:

  • Conforms to one metamodel, the schema that decides which kinds of element and property the model can contain. You choose the metamodel, and with it a standard such as UML, when you create the model. See Metamodels & standards.
  • Has an owner (you or an organization) and an access mode. A shared model is available to your organization; an individual model is just for you.
  • Keeps a full history of every change, and can be tagged with named versions. See Versioning & history.

The model’s Overview page shows this at a glance: its name, owner, the metamodel and standard version it uses, and how many elements it contains.

You create a model from scratch or by importing an existing file.

An element is a single item inside a model. Every piece of subject matter in a model is an element: a class, an attribute, a package, a data type, and so on. Which kinds of element exist depends on the model’s metamodel.

Each element has a type from the metamodel (for example, a class or a package). The type controls which properties the element can carry and how it may relate to other elements.

You browse a model’s elements in the model tree on the left of the editor. The tree is hierarchical: an element that contains others (a package, for instance) shows them nested beneath it. This parent-child structure comes from ownership. When one element owns another, the owned element appears under it, and deleting the owner also removes what it owns.

Select an element in the tree to open its details in a form on the right, where you see and edit its properties.

A property is a piece of information on an element. The form groups an element’s properties into sections. There are two kinds.

An attribute is a data value on an element, such as a name, a definition, an identifier, or a yes/no flag. Attributes hold plain values: text, numbers, true or false, or web identifiers (IRIs).

Some attributes are multilingual: a single attribute (a definition, say) can hold parallel values in several languages. A language selector in the editor lets you switch which language you are viewing or editing.

A relation is a link from one element to another. Where an attribute holds a value, a relation points at another element: a class to its supertype, a property to its data type, and so on.

A relation can point to:

  • another element in the same model, or
  • an element in a model that yours depends on, so you can reuse shared vocabularies and standards without copying them.

The metamodel decides what each relation may point to and how many targets it may have, and ModelDesk checks your entries against those rules.

Your model can use another model on ModelDesk, so its relations can point at that model’s elements. You add the other model in Model settings, under Dependencies, and choose the version your model uses; see Manage model settings. In a MIM model, creating an Extern for a model on ModelDesk, or picking one of its elements with From another model…, adds it too. The elements are used as they are in that version, and you do not edit them in your model.

Some standards also put the elements of another model in a package of their own. In MIM, that is an Extern package. Such a package is in one of two states, and both are valid for good:

  • Unconnected: it holds its own copies of the other model’s elements, the way other tools such as Enterprise Architect write it. Every copy is editable, and the package is exported as it is. An Extern from a MIM-LD import can also point at elements the file only names.
  • Connected: it is linked to a model on ModelDesk and holds that model’s elements as they are in the version your model uses. They are read-only.

A connected package follows the other model: when you move to another version of it, the package holds the elements of that version. Exports write a connected package in full, as other tools expect, and an unconnected one as it is. See Reuse elements of another model in a MIM model and Connect an imported package.

A model is a container of elements. Each element has a type from the model’s metamodel, and that type gives the element its properties: attributes (data) and relations (links to other elements). Ownership relations turn the set of elements into the tree you navigate.