Skip to content

As a user, I want to expand/collapse levels in the generated tree structure

Who: As a user,

What: I want to expand and collapse levels in the generated tree structure,

Why: So I can more easily navigate and visualize large amounts of hierarchical information.

Acceptance criteria

  • By default, all levels of the tree are fully expanded when the component loads.

  • A "Expand/Collapse All" button is available above the tree.

    • Clicking this button toggles all levels between expanded and collapsed states.
  • Each parent node in the tree has a chevron icon next to its label.

    • Clicking the chevron expands or collapses only that specific node and its children.
  • The chevron icons rotate to visually indicate whether the state is expanded or collapsed.

Edited by Ivan Rodrigues