> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ACDB_CMD_GET_GRAPH

## Structures

### `_acdb_subgraph_t`

**Members**

<ParamField path="sg_id" type="uint32_t">
  src Subgraph ID
</ParamField>

<ParamField path="num_dst_sgids" type="uint32_t">
  dst subgraph IDs
</ParamField>

<ParamField path="dst_sg_ids" type="uint32_t" />

### `_acdb_graph_key_vector_t`

**Members**

<ParamField path="num_keys" type="uint32_t">
  number of keys
</ParamField>

<ParamField path="graph_key_vector" type="AcdbKeyValuePair *" />

### `_acdb_get_graph_rsp_t`

**Members**

<ParamField path="num_subgraphs" type="uint32_t">
  Number of SubGraphs for a given key combination
</ParamField>

<ParamField path="size" type="uint32_t">
  Pointer to array of SubGraphs data for a given key combination.
</ParamField>

<ParamField path="subgraphs" type="AcdbSubgraph *" />

## Type Definitions

### `AcdbSubgraph`

```cpp theme={null}
typedef struct _acdb_subgraph_t AcdbSubgraph
```

### `AcdbGraphKeyVector`

Input: Command structure used to qurey ACDB SW for subgraph information.

```cpp theme={null}
typedef struct _acdb_graph_key_vector_t AcdbGraphKeyVector
```

### `AcdbGetGraphRsp`

Output: Response structure containing a subgraph and its dst subgraphs.

```cpp theme={null}
typedef struct _acdb_get_graph_rsp_t AcdbGetGraphRsp
```

## Macros

### `ACDB_CMD_GET_GRAPH`

Queries ACDB SW for a subgraph sequence(a usecase graph) given a graph key vector.

```c theme={null}
#define ACDB_CMD_GET_GRAPH ACDB_CMD_ID(1)
```
