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

# Visual containers

> Organize your pipeline into containers to group related transformations

Containers allow you to divide your pipeline into logical sections. They help you visually organize related gems, making pipelines easier to read and understand.

For example, you can use containers to group transformations by:

* Pipeline stage: Separate input preparation, transformation logic, and output writing into distinct sections.
* Gem phase: Group transformations that execute together to reflect the sequential flow of the pipeline.
* Input source: Organize steps that prepare data from different sources before they are joined downstream.

<img src="https://mintcdn.com/prophecy-62973bd0/88t3kPk63E5ZR9Oi/data-analysis/development/studio/img/grouped-pipeline.png?fit=max&auto=format&n=88t3kPk63E5ZR9Oi&q=85&s=217225c87ec78f4ea5cd76d7d061eb4b" alt="Pipeline grouped into two visual containers" width="2870" height="1608" data-path="data-analysis/development/studio/img/grouped-pipeline.png" />

## Create a container

To create a container:

1. Drag to select multiple gems on the canvas.
2. At the bottom of the canvas, click **Group**.

The selected gems are added to a new container.

## Manage containers

To manage your created containers:

* **Rename containers** — Click on the container name and enter a new one to clarify its purpose.

* **Move gems in or out of a container** — Drag the gem in and out across the container boundary.

* **Edit container size** — Drag the container edges or corners to resize.

* **Collapse containers** — Click **⋯ > Collapse** to hide the container's gems and simplify the canvas.

* **Remove a container** — Click **⋯ > Ungroup** to remove the group and keep its gems on the canvas.

<img src="https://mintcdn.com/prophecy-62973bd0/88t3kPk63E5ZR9Oi/data-analysis/development/studio/img/collapsed-groups.png?fit=max&auto=format&n=88t3kPk63E5ZR9Oi&q=85&s=13eac856d0f7ac28c4d1aa76520a805e" alt="Pipeline with collapsed container" width="2870" height="1608" data-path="data-analysis/development/studio/img/collapsed-groups.png" />
