nodes:render:tree

Lay out the tree around one node for display, starting from its visible ancestor roots and including siblings and other branches. Returns anchor_node_id, root_node_ids, nodes (node_id, title, depth, lane, is_root, outgoing_ids and incoming_ids within the result), lane_count, max_depth and truncated. Entries contain layout and links, not content: use hosted:node:get for content. truncated is true only when --max_nodes leaves out a qualifying node, not when the count equals the limit. CLI projection defaults to full; MCP defaults to topology.

Reference for flywheel nodes:render:tree.

Command Group

Nodes & Graph Commands

Summary

Lay out the tree around one node for display, starting from its visible ancestor roots and including siblings and other branches. Returns anchor_node_id, root_node_ids, nodes (node_id, title, depth, lane, is_root, outgoing_ids and incoming_ids within the result), lane_count, max_depth and truncated. Entries contain layout and links, not content: use hosted:node:get for content. truncated is true only when --max_nodes leaves out a qualifying node, not when the count equals the limit. CLI projection defaults to full; MCP defaults to topology.

Effect

read-only

Usage

flywheel nodes:render:tree <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--node_idstringNode UUID (not a slug) from node_id in hosted:node:list or graph:get. Missing or hidden: 404 where the command loads it.

Optional flags

FlagValueDefaultChoicesDescription
--projectionstringfullcore, topology, fullcore: node fields with content and summary, no artifacts. topology: same, content and summary empty (a root may keep its banner artifact). full: core plus artifacts (and executions where returned), where offered. Omitted: command default. Relationship IDs vary by command; tree entries are layout only.
--max_nodesinteger5000Most nodes to return, 1-5000, clamped (omitted: 5000). truncated is true only when a node that qualified was left out, not when the count equals the limit.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILESelect a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesConfirm forced compute:release-all --force. Other runtime commands do not read --yes.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Lay out the visible ancestor roots and their branches.

flywheel nodes:render:tree --node_id n_abc --projection topology

Render at most 100 nodes in a core projection.

flywheel nodes:render:tree --node_id n_abc --projection core --max_nodes 100

Output

Default format: json.

FieldType
anchor_node_idstring
root_node_idsarray<string>
nodesarray<object>
lane_countinteger
max_depthinteger
truncatedboolean