Skip to content

Review your changes

Review changes shows everything your draft changes in one place: every changed element as a card with its values before and after, or marked on the model’s diagrams. Use it to check your work before you commit. The same screen compares two branches; see Compare two branches.

For what a draft is, see Drafts & branches.

  1. On any page of the model, select the count on the draft chip in the bar at the top, for example Draft · 3 steps.
  2. In your draft, select Review changes.

Review changes opens as a dialog over the page you were on, which keeps its state underneath. To close it, select the × in its corner, press Escape, or select anywhere outside it. Reloading the page shows the page without the dialog.

The dialog opens on List. The line at the top counts the changed elements by kind, for example “4 elements: 2 added, 1 changed, 1 removed”, and then what changed among the diagrams and namespaces, for example “1 diagram changed”. Below it, every changed element has a card, grouped under the package it sits in. A card shows:

  • what happened to the element (Added, Changed, Removed, or Moved) and its type;
  • its name and where it sits in the model;
  • for a moved element, where it was and where it is now, under Was in and Now in;
  • a table of the properties that changed, with each value under Before (the model without your draft) and After (the model after you commit). In a changed text, the words that differ are highlighted.

Properties left at their default value are not listed; the card says how many there are. A value you accepted from a suggestion says under it which element it came from, and a value you edited afterwards says that it no longer follows that suggestion. After the packages, the dialog lists the diagrams you changed, each under its own name. The diagram’s card shows the elements it gained and lost under Elements, and its settings where those changed. A layout rule or hierarchy group you added, changed or removed has a card of its own under the diagram, named by what it says, such as Woonplaats above Gemeente. Namespaces you changed are listed together under Namespaces. Anything else the model owns that your draft changed, such as a dependency, a base model, a lineage link, an attribute template or its settings, or the model’s metadata, has a card under a heading that names its kind, such as Dependencies or Base models.

The Review changes dialog over the model editor on List, with the summary line, the List and Diagram switch, Commit, and two cards under a package heading, one Changed with its Before and After table and one Added

A dependency you added, updated, made direct or removed in your draft has a card under Dependency, or Dependencies when there are several, and the line at the top counts it, for example “1 dependency added”. The card is named after the model the dependency is on. Besides its properties, it can show:

  • Version: for a dependency on a model in your workspace, the version it uses, before and after for a dependency you updated. A published version reads as its name, such as 2.2. The current working version reads as Snapshot and the first eight characters of the commit it was taken from, such as Snapshot 3f9a2c1d, so refreshing it reads Snapshot 3f9a2c1d before and Snapshot 8b07d4e2 after.
  • Brings along: on a dependency you added, the dependencies it brings with it, by name. They get no cards of their own.

Changes to the model’s metamodel have cards too: under Metamodel for the metamodel itself, and under Metamodel extension (Metamodel extensions when there are several) for an extension that was added, removed or moved to another version, and under Metamodel add-on (Metamodel add-ons) for an add-on. Each card is named after the metamodel, extension or add-on and has a Version row. When a pin moved to another metamodel altogether, a Metamodel, Metamodel extension or Metamodel add-on row names both. These changes are saved to main directly rather than to your draft, so you see their cards in Commit details and when you compare branches.

  1. Select Diagram at the top of the dialog. It opens on the diagram that shows the most changes.
  2. If the changes appear on more than one diagram, choose another one under Diagram.
  3. Read the marks against the legend: Added, Changed, Removed, and Moved each have their own colour.
  4. Select a marked element to see its card.
  5. Scroll to zoom and drag to move around. Select Fit to bring all the changes back into view.

Removed elements are drawn back in their old place, so you can see what goes. When some changes appear on no diagram, a line under the legend says so; find those in the List. When none of your changes appear on a diagram, Diagram is unavailable.

Select Open in editor on a card. The dialog closes and the element is selected in the model editor, where you can change it further. Each change you save there joins your draft like any other. For a removed element, Open in editor takes you to the element that held it, when that is still in the model.

Select Commit… at the top right of the dialog. The Commit changes dialog opens; see Commit your changes. After the commit, Review changes closes.

  • Diagram cannot be selected. None of your changes appear on a diagram. Hovering it reads None of these changes appear on a diagram.
  • The dialog says Nothing has changed. Your draft holds changes that, taken together, leave the model as it was, such as an edit a later edit put back.
  • The dialog says The changes could not be loaded. Select Try again.
  • Undo and redo do nothing. They are unavailable while Review changes is open. Close it first.