Organization Tree Widget
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Reusable interactive tree visualization widget built on a React tree library. Handles recursive node rendering, selection state, keyboard navigation, and accessibility annotations for screen readers.
organization-tree-widget
Responsibilities
- Recursively render organization nodes from hierarchy data
- Handle node selection, expansion, and collapse interactions
- Emit events for node actions (select, move, context menu)
- Support keyboard navigation and ARIA tree role semantics
Interfaces
render(nodes: TreeNode[], onSelect: Fn, onMove: Fn): JSX
setExpanded(nodeId: string, expanded: boolean): void
getSelectedNode(): TreeNode | null