# Dependency map

> What blocks what, for a search or a section's cards, with the critical path and cycles.

A dependency map asks GitHub what blocks each item in a search, or each card in a section, and draws the graph: blockers on the left, what they block to the right.

## Settings

- In the picker

  **Dependency map**: What blocks what, for a search or a section's cards: the critical path, and cycles.

- New size

  780 × 440

- Refreshes

  At least every 10 minutes while someone's looking, and when cards move between sections

| Setting                                                           | Stored as | Accepts                                    | Default      |
| ----------------------------------------------------------------- | --------- | ------------------------------------------ | ------------ |
| Title (named after what it maps if empty)                         | `title`   | Text, at most 120                          | empty        |
| Map: A search, or A section's cards                               | `source`  | One of `search`, `section`                 | `search`     |
| Forge (for a search; only shown when the board has more than one) | `host`    | Text, at least 1 character and at most 253 | `github.com` |
| Search                                                            | `q`       | Text, at most 1000                         | empty        |
| Section                                                           | `section` | A section on the board                     | empty        |
| Ask about up to: 10, 20 or 40                                     | `limit`   | A whole number from 5 to 40                | `20`         |

For a section, it maps the cards in the section (however deeply nested), in reading order, and updates as cards move in and out. Relationships come from GitHub’s blocked-by and blocking links, including items one step outside the set.

## Using it

- **Ready** marks open items that nothing open blocks.
- **Cycles** are flagged (“A cycle”): items in one can’t start until it’s broken.
- **The critical path** is the chain with the most open items, highlighted (“Critical path · 4”).
- Click an item to see what blocks it and what it blocks, and **Show on the board** or **Add to the board**.
- Items with no dependencies are listed below the graph.

**Put the map on the board** turns the map into cards and connectors: a card for each item not yet on the board, in columns beside the widget, and red “blocks” connectors for each dependency. Cards already on the board are connected where they are, and nothing is connected twice.

Like every widget, it asks as whoever’s looking: items you can’t read show as “Not visible to you”.
