> ## Documentation Index
> Fetch the complete documentation index at: https://learn.nextedy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Dependencies Display

> Enable dependency visualization on the Nextedy PLANNINGBOARD so that link relationships between cards are drawn as arrows, making scheduling conflicts and blockers immediately visible.

## Prerequisites

* A Planningboard widget is already embedded in a Polarion LiveDoc or Wiki page.
* The Polarion work item link roles you want to visualize already exist in the project (for example, `depends_on`, `blocks`, or a custom link role).
* You have permission to edit widget parameters on the page.

<Steps>
  <Step title="Open the widget parameters">
    1. Navigate to the Polarion page containing the Planningboard widget.
    2. Click **Edit** to enter page editing mode.
    3. Open the widget's parameter editor (click the widget configuration icon or choose **Edit Widget Parameters** from the widget context menu).
  </Step>

  <Step title="Set the Dependency Roles parameter">
    In the **Parameters for Work Items** section, locate the **Dependency Roles** field.

    Enter one or more work item link role IDs that should be treated as dependencies. Separate multiple roles with a comma.

    ```text theme={null}
    Dependency Roles:  depends_on
    ```

    Or for multiple roles:

    ```text theme={null}
    Dependency Roles:  depends_on, blocks
    ```

    <Warning title="Use exact link role IDs">
      Enter the internal link role ID exactly as defined in the Polarion project configuration — not the display label. Wrong IDs are silently ignored: no dependency arrows will appear, and no error is shown. Check **Administration > Work Items > Link Roles** to confirm the exact ID.
    </Warning>

    <Tip title="Check available link roles">
      In Polarion, go to **Administration > Work Items > Link Roles** to see all defined roles and their IDs. Common defaults include `depends_on` and `parent`. Custom project roles vary.
    </Tip>
  </Step>

  <Step title="Save and reload the page">
    Save the widget parameters and reload the page to apply the change.
  </Step>

  <Step title="Enable the Show Dependencies toolbar button">
    With `Dependency Roles` configured, the **Show Dependencies** button in the Planningboard toolbar becomes functional.

    <Frame>
      <img src="https://mintcdn.com/none-17b4493f/zUlmOSLBIQ0HyaAX/planningboard/diagrams/guides/configuration/dependencies-configuration/diagram-1.svg?fit=max&auto=format&n=zUlmOSLBIQ0HyaAX&q=85&s=ab8168f12c6590b5871af0c896a9f1e0" alt="Planningboard toolbar with Collapse all, Expand all, Refresh, Capacity, Unplanned, Prioritize, and the Show Dependencies button highlighted" width="720" height="180" data-path="planningboard/diagrams/guides/configuration/dependencies-configuration/diagram-1.svg" />
    </Frame>

    Click **Show Dependencies** to toggle dependency arrows on for all cards currently visible on the board. Clicking it again hides the arrows.

    <Note title="Toolbar vs. card-level Show Links">
      The toolbar **Show Dependencies** button reveals all dependency arrows for the entire board at once. The per-card **Show Links** quick action (hover over a card) shows only links for that specific card and dims all others. Both use the same `Dependency Roles` configuration.
    </Note>
  </Step>

  <Step title="Use card-level Show Links for focused inspection">
    When you need to trace a single card's dependencies without visual clutter:

    1. Hover over the card whose dependencies you want to inspect.
    2. Click the **Show Links** icon (chain link icon) that appears in the card's upper-right corner.
    3. All other cards are dimmed; only the selected card and its directly linked cards remain highlighted.
    4. Click the icon again or click elsewhere to return to the full board.

    To create a new dependency link between two cards directly on the board:

    1. Hover over the source card and click the **Add Link** icon (also in the upper-right corner).
    2. The same icon appears on all other cards. A red icon means a link already exists.
    3. Click the target card to establish the link. Click a card with a red icon to remove that link.
  </Step>
</Steps>

## How dependency arrows are visualized

The diagram below shows how dependencies flow between cards across columns (Plans):

<Frame>
  <img src="https://mintcdn.com/none-17b4493f/zUlmOSLBIQ0HyaAX/planningboard/diagrams/guides/configuration/dependencies-configuration/diagram-2.svg?fit=max&auto=format&n=zUlmOSLBIQ0HyaAX&q=85&s=b0c46b0969ed49ec3b8d3b46257a7254" alt="Dependency flow across three sprint columns: WI-101 (done) links to WI-205 (in progress), which links down to WI-206 (open), which links to WI-310 (open) in the next sprint" width="600" height="220" data-path="planningboard/diagrams/guides/configuration/dependencies-configuration/diagram-2.svg" />
</Frame>

Cards with unresolved predecessors in earlier columns indicate scheduling risks: the dependent card may be planned before its dependency is complete.

## Configuration example

The following widget parameter snippet shows a typical dependency configuration alongside related work item parameters:

```properties theme={null}
# Work Items parameters
query         = type:story
sortBy        = priority
dependencyRoles = depends_on,blocks
sidebarFields = title,status,plannedIn
```

<Warning title="Dependency arrows require cards to be loaded">
  Dependency arrows are only drawn between cards that are currently loaded on the board. If a predecessor card is outside the current plan range (filtered out by **Show # of last plans** / **Show # of next plans**), its arrow will not appear even if the link exists in Polarion. Increase the plan window if you need to trace cross-sprint dependencies.
</Warning>

## Verification

After completing these steps you should see:

* A **Show Dependencies** button is active in the toolbar (it was previously greyed out or had no effect without `Dependency Roles` configured).
* Clicking **Show Dependencies** draws arrow lines between cards that have links of the configured role types.
* Hovering over a card and clicking **Show Links** highlights only that card's direct links.
* Clicking **Add Link** on a card, then clicking another card, creates a new Polarion link of the configured role between the two work items.

If no arrows appear after enabling **Show Dependencies**, verify the link role IDs are correct (Step 2) and that linked cards are both within the loaded plan range.

## See also

* [Widget Parameters Overview](/planningboard/guides/configuration/widget-parameters) — full reference for all widget parameters including `Dependency Roles` and `Sidebar Fields`
* [Visualize and Manage Dependencies](/planningboard/guides/planning/dependencies) — planning workflow for working with dependencies day-to-day
* [Basic Board Interactions](/planningboard/getting-started/basic-interactions) — card quick actions including Show Links and Add Link
* [Configure Plans (Columns)](/planningboard/guides/configuration/plans-configuration) — controlling which Plans (and therefore which cards) are visible on the board

<Accordion title="Sources">
  **KB Articles**

  * Planningboard Widget Parameters
  * Planningboard: Customizable Statistics and Capacity Indicators
  * Planningboard interface & basic interactions

  **Support Tickets**

  * [#6174](https://support.nextedy.com/helpdesk/tickets/6174)
  * [#5879](https://support.nextedy.com/helpdesk/tickets/5879)
  * [#5796](https://support.nextedy.com/helpdesk/tickets/5796)

  **Source Code**

  * `PlanningBoardWidget.java`
  * `widget.vm`
  * `Config.java`
  * `viewSetup.vm`
  * `planningboard.js`
</Accordion>
