Skip to content
🤷

Forgive us! These docs are a work in progress. Some pages may be incomplete or describe features that aren't quite finished yet. Farkitect is in early development and we don't recommend using it for real work just yet. Feel free to explore — just be aware that things are still being built.

How to set up relationship multiplicities

Multiplicities show how many instances of each end can participate in a relationship — like cardinality in data modelling.

Enable multiplicities on a relationship type

Section titled “Enable multiplicities on a relationship type”
  1. Select the M2 relationship type
  2. In the Properties panel, find the Notation section
  3. Enable Show Multiplicities

When enabled, edges of this relationship type display multiplicity labels at the source and target ends.

Set multiplicity values on M1 relationships

Section titled “Set multiplicity values on M1 relationships”
  1. Select an M1 relationship instance (click the edge on a diagram or find it in the Explorer)
  2. In the Properties panel, set:
    • Source Multiplicity — e.g., “1”, “0..”, “1..
    • Target Multiplicity — e.g., “1”, “0..1”, ”*“
ValueMeaning
1Exactly one
0..1Zero or one (optional)
0..* or *Zero or more
1..*One or more
  • Multiplicity display is controlled at the M2 level (on/off per relationship type)
  • Multiplicity values are set at the M1 level (per relationship instance)
  • If multiplicities are enabled but no value is set, the labels appear empty