# Link resources, ADRs and diagrams

Copy as Markdown[View as Markdown](/docs/development/guides/resources/proposals/link-resources.md)

***

**Added in** `eventcatalog@5.21.0`

A proposal can link to three things:

| Field       | What it links to                      | Sidebar section      |
| ----------- | ------------------------------------- | -------------------- |
| `impacts`   | The resources that the change impacts | **Impacts**          |
| `decisions` | The ADRs that came from the review    | **Decision records** |
| `diagrams`  | Diagrams of the proposed architecture | **Diagrams**         |

## Show the resources that a proposal impacts[​](#show-the-resources-that-a-proposal-impacts "Direct link to Show the resources that a proposal impacts")

![The Impacts section in the sidebar of a proposal. It lists the Ordering domain, two services, an event, an entity and a data store](/assets/images/proposal-impacts-ba8c699a7e827a1c39988068f99d156a.png)

Add the `impacts` field to the frontmatter. Give the `type` and the `id` of each resource that the change impacts:

proposals/split-orders-across-warehouses/index.mdx

```
impacts:
  # The change impacts the Ordering domain
  - type: domain
    id: ordering
  # The change impacts the Order Service
  - type: service
    id: order-service
  # The change impacts the Order Fulfilment Started event
  - type: event
    id: order-fulfilment-started
```

A proposal can impact these resource types: `domain`, `system`, `service`, `agent`, `event`, `command`, `query`, `channel`, `flow`, `entity`, `container`, `data-product`, `diagram`, `team` and `user`.

The **Impacts** section in the sidebar lists each impacted resource. Select a resource to open its page. EventCatalog does not show a resource that is not in the catalog.

### Link to a specific version[​](#link-to-a-specific-version "Direct link to Link to a specific version")

EventCatalog links to the latest version of a resource. To link to a specific version, add the `version` field:

```
impacts:
  - type: service
    id: order-service
    version: 1.0.0
  - type: event
    id: order-fulfilment-started
    version: latest # The same as no version
```

## Link ADRs and diagrams[​](#link-adrs-and-diagrams "Direct link to Link ADRs and diagrams")

![The sidebar of a proposal. The Decision records section lists two ADRs. The Diagrams section lists one diagram](/assets/images/proposal-decisions-and-diagrams-9fb32d1f66b9878782056c6612caf8c4.png)

### Link ADRs[​](#link-adrs "Direct link to Link ADRs")

The review of a proposal often produces [architecture decision records (ADRs)](/docs/development/guides/resources/adrs/introduction.md). Add the `decisions` field to link these ADRs:

proposals/real-time-search-indexing/index.mdx

```
decisions:
  - id: adr-001-use-transactional-outbox
  - id: adr-003-offload-async-work-to-worker
```

The **Decision records** section in the sidebar lists each ADR. A reader of the proposal can open each decision that came from it.

### Link diagrams[​](#link-diagrams "Direct link to Link diagrams")

Add the `diagrams` field to link [diagrams](/docs/development/bring-your-own-documentation/diagrams/introduction.md). For example, a diagram that compares the current architecture with the proposed architecture:

proposals/real-time-search-indexing/index.mdx

```
diagrams:
  - id: real-time-indexing-pipeline
```

The **Diagrams** section in the sidebar lists each diagram.

You can keep a diagram in the folder of its proposal:

```
proposals/
  real-time-search-indexing/
    index.mdx
    diagrams/
      real-time-indexing-pipeline/
        index.mdx
```

## Hide a section[​](#hide-a-section "Direct link to Hide a section")

To hide a section in the sidebar, use `detailsPanel`:

```
detailsPanel:
  impacts:
    visible: false
  decisions:
    visible: false
  diagrams:
    visible: false
```

## Next steps[​](#next-steps "Direct link to Next steps")

* [Model proposal relationships](/docs/development/guides/resources/proposals/relationships.md)
* [Add proposals to domains and systems](/docs/development/guides/resources/proposals/domains-and-systems.md)
