Hello Berhanu,
A subset constraint (along with an equality constraint and an exclusion constraint) is classified as a set comparison constraint. This means that these constraints compare the population of ordered sets of roles, not individual roles. (The instructions and error messages in NORMA refer to these sets role sequences.)
So, to enter a set comparison constraint, you click in sets of roles, not individual roles. The sets are separated by double-clicking the final role in the set. If your set comparison constraint happens to be single-column (one role per set), you still need to signal the end of the set by double-clicking to complete.
You can see constraint editing instructions by hover over the constraint shape while a constraint editor is active. The instructions will differ for set comparison constraints (subset, equality, exclusion) and other constraints that span multiple roles (external uniqueness and xor, disjunctive mandatory, ring, frequency, value comparison).
So, to enter a subset constraint between two individual roles you would do the following:
- Click the toolbox (don't drag, or you'll have to activate the constraint editor yourself by double-clicking the shape).
- Click on the diagram to place the constraint shape.
- Double-click the first role.
- Double-click the second role.
-Matt