trace_niagara_connection
Trace connections from a Niagara node upstream or downstream to see dependency chains with depth information, filtering by pin name if needed.
Instructions
Breadth-first trace of connections from a starting node through the graph.
Answers "what feeds this node?" (upstream) and "where does this node's output go?" (downstream). Each visited node reports its depth, so the dependency chain is visible without dumping the whole graph.
Args: system_path + module_name OR script_path: Graph resolver node_index / node_class / node_id: Starting node identifier direction: "upstream" | "downstream" | "both" (default) max_depth: Max BFS depth (default 8) pin_name: Optional starting-pin filter — only walk links on pins whose name contains this substring (e.g. "Vector Array")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | ||
| pin_name | No | ||
| direction | No | both | |
| max_depth | No | ||
| node_class | No | ||
| node_index | No | ||
| module_name | No | ||
| script_path | No | ||
| system_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |