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 use the integrity checker

The integrity checker validates referential integrity across your model — detecting broken references, orphaned elements, and constraint violations.

The status bar (bottom of the workspace) shows an integrity indicator:

  • Green — no issues detected
  • Yellow/Red — issues found; click for details

Click the integrity indicator in the status bar to trigger a full check. The results show:

  • Broken references (elements pointing to deleted targets)
  • Orphaned diagram nodes (nodes referencing elements that no longer exist)
  • Constraint violations (relationships connecting invalid source/target types based on M2 constraints)
  • Property type mismatches

In Settings > Preferences, you can toggle automatic integrity checking:

  • Enabled — the checker runs reactively as changes are made
  • Disabled — checks only run when you trigger them manually

Auto-checking is useful during active modelling but can be disabled if it causes performance concerns on very large models.

Each issue in the results identifies the affected element and the nature of the problem. Common fixes:

  • Broken reference — delete the orphaned element or relationship, or recreate the missing target
  • Constraint violation — delete the invalid relationship, or update the M2 constraints to allow the combination
  • Orphaned diagram node — remove the node from the diagram