Skip to content

DiagnosticsTree

API reference and demos for DiagnosticsTree.

Source

import { DiagnosticsTree } from "@flanksource/clicky-ui/data";
Default · Open in Storybook
Loading · Open in Storybook
Single Node · Open in Storybook

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
expandAll boolean | null null Controlled expand-all state forwarded to Tree.
onSelect* (…) => void — Called with the selected process id.
root ProcessNode — Root process node. Missing root renders a waiting state.
selectedPid number | null — Currently selected process id.