DiagnosticsTree
API reference and demos for DiagnosticsTree.
Import
Section titled “Import”import { DiagnosticsTree } from "@flanksource/clicky-ui/data";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. |