Skip to main content

Diagram

A named element that contains the visual representation (i.e., the concrete syntax) of an OntoUML model, or of a portion of it. A diagram groups the views that draw a model's elements; the same model can be depicted across several diagrams.

PropertyTypeDescription
type"Diagram"Discriminator.
ownerid or nullThe model element that owns the diagram, if any.
viewsid[]The views contained in the diagram.

Unlike views and shapes, a Diagram is a named element. It therefore carries both the identity properties (id, created, modified) and the descriptive properties (name, alternativeNames, description, editorialNotes, creators, contributors) common to all named elements.

{
"type": "Diagram",
"id": "diagram_1",
"name": { "en": "Main Diagram" },
"owner": null,
"views": ["classview_1", "classview_2", "relationview_1"],
"created": "2024-09-04",
"modified": null,
"alternativeNames": [],
"description": null,
"editorialNotes": [],
"creators": [],
"contributors": []
}