> ## Documentation Index
> Fetch the complete documentation index at: https://docs.httpmon.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Tree view

> Group flows by host or process with collapsible tree navigation

Tree view groups captured flows by host or process, making it easier to navigate busy sessions with many different origins.

<Frame>
  <img src="https://mintcdn.com/pragmaticoslu/GKMvH6x25ZdEJHbo/images/screenshots/tree-view.png?fit=max&auto=format&n=GKMvH6x25ZdEJHbo&q=85&s=6b9e9c55216abd30301ef6934509d3e1" alt="httpmon tree view grouped by host" width="5877" height="1904" data-path="images/screenshots/tree-view.png" />
</Frame>

## Toggle tree view

Press `t` in the flow list to cycle through grouping modes: **flat** → **host** → **process** → **flat**.

In host mode, flows are grouped by hostname. In process mode, flows are grouped by the OS process that initiated them (see [process identification](/features/process-info)).

<Frame>
  <img src="https://mintcdn.com/pragmaticoslu/GKMvH6x25ZdEJHbo/images/screenshots/process-tree.png?fit=max&auto=format&n=GKMvH6x25ZdEJHbo&q=85&s=5499f063b4b608dee37bb5e8942f2ca0" alt="httpmon tree view grouped by process" width="5877" height="1904" data-path="images/screenshots/process-tree.png" />
</Frame>

## Navigation

| Key               | Action                                      |
| ----------------- | ------------------------------------------- |
| `t`               | Cycle grouping: flat → host → process       |
| `l` / Right arrow | Expand group                                |
| `h` / Left arrow  | Collapse group                              |
| `Enter` on group  | Toggle expand / collapse                    |
| `Enter` on flow   | Open [flow details](/features/flow-details) |
| `j` / `k`         | Move down / up                              |

## Focus a single group

Press `f` on a group header to focus it. This filters the view to show only flows for that group. Press `f` again to clear the focus and return to the full tree.
