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

# Node Details

> A side panel that shows the type, status, source code, inputs, and outputs for any node you select on the graph canvas.

The node details panel gives you a deep look at a single node: what type it is, what state it is in, what source code it represents, and what values were captured during its execution.

## Opening and closing the panel

**To open:** Click any node on the [graph canvas](https://desme.mintlify.site/ui/graph-canvas.md). The panel slides in from the left.

**To close:** Click the canvas background, or click the **X** button in the top corner of the panel.

> [!TIP]
>
> During playback, the panel automatically follows the active node — it switches to show the node that is currently executing without any action from you. You do not need to click individual nodes to track execution.

## Panel contents

### Node type badge and status

The top of the panel shows the node's type badge (`fn`, `db`, or `t`) alongside its current execution status. The status reflects the same color coding used on the graph canvas.

| Status | Color | Meaning |
| - | - | - |
| Idle | Gray | Not yet reached at the current playback position |
| Running | Orange | Currently executing |
| Success | Green | Completed without errors |
| Failure | Red | Returned an error or caused a test failure |

### Source code view

Below the node header, you see a collapsible view of the source code for the traced function. The code is Rust syntax-highlighted.

Click the section header to collapse or expand the source view. Collapsing it gives more vertical space for the input and output sections when you are focused on values.

> [!NOTE]
>
> Source code is only shown for function nodes (`fn` badge). Data nodes and test nodes do not have an associated source view.

### Input section

The **Input** section lists the function arguments that were captured when the function was called. Each argument shows its name and the value it held at the time of the call.

Values are rendered using Rust's `Debug` format, the same output you would see from `{:?}` in a `println!`.

### Output section

The **Output** section shows two kinds of captured data:

| Entry | Description |
| - | - |
| Return value | The value the function returned when it exited |
| Snapshots | Values captured mid-execution via `emit_snapshot`, labeled with the name you passed |

Snapshots appear in the order they were emitted. If a function calls `emit_snapshot` multiple times, each snapshot is listed separately.

> [!NOTE]
>
> `emit_snapshot` is only available on types annotated with `#[ui_debug]`. See the [`#[ui_debug]` reference](https://desme.mintlify.site/macros/ui-debug) for details on instrumenting your types.

## Resizing the panel

Drag the right edge of the panel to adjust its width. Make it wider to read long values or deeply nested debug output, or narrower to keep more of the graph canvas visible.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.