# Pipeline

TypeScript source: `components/Pipeline.tsx`

## Types

### PipelineProps

Source: `components/Pipeline.tsx:11`

Props for the DepthAI pipeline visualization wrapper.

#### Members

| Name | Type | Description |
| --- | --- | --- |
| `isPipelineSwitching?` | `boolean` | Shows the pipeline loading state while the parent application swaps pipeline presets. |

## Functions

### Pipeline

Source: `components/Pipeline.tsx:30`

```ts
(props: PipelineProps) => Element
```

Renders the current DepthAI pipeline graph and its live node state when pipeline debugging is available.

#### Remarks

The component reads pipeline data from ConnectionProvider. It prefers the default pipeline when available and falls back to the
full pipeline.

#### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| `props` | `PipelineProps` |  |

#### Example

```tsx
<Pipeline isPipelineSwitching={isPresetChanging} />
```
