Facts are only available in the NIAM view, and they are used for modeling relations between the entities. A fact consists of two predicates, each defining the role of one of the entities involved in the relationship.
On this page:
A fact can be modeled in two ways, by adding it as an object or as a relation. Both ways have the same end result in the view: a modeled relation between entities.
Adding a fact as a relation
The quickest way to model a fact is by adding it as a relation. Just connect two entities using the Fact relation. Next, a fact object is added with two Link relations connecting the fact to the entities.
Adding a fact as an object
If you add a fact as an object, you first add the object. Next, connect the fact to the two entities using a Link relation.
If you want to move a fact or resize it, click just outside the border of the object to select it. If you click the border or in the object, you select a predicate of the fact, not the fact itself.
Naming the predicates of a fact
The predicates of a fact represent both sides of the relation between two entities. They describe how the two entities relate to each other. To name a predicate for one of the sides of the relation, do as follows:
- Click one side of the fact, and directly type the name.
Changing the orientation of a fact
By default, a fact is positioned horizontally when added to a NIAM view. If your model prefers this, you can change the fact to a vertical orientation. To do this, do as follows:
- Click just outside the fact, and then click the
To change it back to a horizontal position, click thecontrol.