Skip to content

ExecutionTree

API reference and demos for ExecutionTree.

Source

import { ExecutionTree } from "@flanksource/clicky-ui/data";

No dedicated Storybook demo is available for this component yet.

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
className string — —
costThreshold number — Costs at or above this value render in red (slow-path highlight).
defaultOpenDepth number 1 Open nodes shallower than this depth on first render (default 1).
empty ReactNode — —
loadChildren (…) => Promise<T[]> — —
renderAfterChildren (…) => ReactNode — Render a call's return or error after its nested calls.
renderDetail (…) => ReactNode — Render extra content beneath a node's row and above its children (e.g. the decompiled source line a call was made from). Rendered for leaf and parent nodes alike; a click or keydown inside it never toggles the row. Returning `null`/`undefined`/`false` renders nothing.
renderRow (…) => ReactNode — Override the entire row rendering.
roots* T[] — —
showControls boolean — —