Variability Modeling > Modeling variability in a model > Working with variability items and relationships on diagrams > Adding variability relationships to a diagram > Adding existing requires dependencies to a diagram
Adding existing requires dependencies to a diagram
You can add existing Requires Dependencies to a diagram in the following ways:
Through the Populate > Constraint Dependencies command from a Variation Point or Variant.
Through the Populate > Variability Dependencies command from the diagram background.
Through the Requires Dependency toolbar button.
To populate a variation point's or variant's requires dependencies:
Right-click the Variation Point or Variant, point to Populate, and then click Constraint Dependencies.
Modeler populates missing Requires and Excludes Dependencies for the Variation Point or Variant you right clicked, adding to the diagram any Variation Points or Variants that are required to show those missing Requires Dependencies.
To populate requires dependencies that link items shown on the diagram:
Right-click the background of the diagram, point to Populate, and then click Variability, Artifact, Constraint Dependencies.
Modeler populates Requires Dependencies (and Artifacts, Excludes and Variability Dependencies as well) that are missing between items shown on the diagram.
To add an existing requires dependency to a diagram through the requires dependency toolbar button:
1. Ensure that the two items that are linked by the Requires Dependency are shown on the diagram.
2. On the Variant Diagram or Variability toolbar, click the Requires Dependency button.
3. Click the first Variation Point or Variant.
4. Click the linked Variation Point or Variant.
Modeler adds the Requires Dependency that is missing between the two items on the diagram. If no Requires Dependency exists between the two items, Modeler creates a Requires Dependency.