# Blockers — the dependency picture, drawn from the declared `blocks`
# relation. The graph selects RECORDS (rows, not documents): rel:blocks draws
# the stored direction, rel:blocked-by the same edges reversed. The Blocked
# table is the derived query field: `blocked_by` is truthy on any issue some
# other issue's Blocks cell points at.
view:
  label: Blockers
  widgets:
    - widget: graph
      label: Dependency graph
      nodes: { records: issues, where: "status != Done" }
      edges: [rel:blocks]
    - widget: rows
      label: Blocked
      from: issues
      where: "blocked_by"
