# <a id="bitdrift.public.unary.dashboards.v1.SankeyChartResponse"></a>SankeyChartResponse

**Source definition:** [`src/bitdrift/public/unary/dashboards/v1/api.proto#L193-L220`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/dashboards/v1/api.proto#L193-L220>)

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| nodes | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">dashboards</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">SankeyChartResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">Node</i>](#bitdrift.public.unary.dashboards.v1.SankeyChartResponse.Node "bitdrift.public.unary.dashboards.v1.SankeyChartResponse.Node")</span> | The nodes of the diagram. |
| links | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">dashboards</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">SankeyChartResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">Link</i>](#bitdrift.public.unary.dashboards.v1.SankeyChartResponse.Link "bitdrift.public.unary.dashboards.v1.SankeyChartResponse.Link")</span> | The links of the diagram. |

</section>
<p class="h4">Example</p>
```json
{
  "links": [
    {
      "source_node_id": "node-1",
      "target_node_id": "node-2",
      "value": 42
    }
  ],
  "nodes": [
    {
      "id": "node-1",
      "name": "Launch"
    }
  ]
}
```

# <a id="bitdrift.public.unary.dashboards.v1.SankeyChartResponse.Node"></a>SankeyChartResponse.Node

**Source definition:** [`src/bitdrift/public/unary/dashboards/v1/api.proto#L195-L201`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/dashboards/v1/api.proto#L195-L201>)

A single state in the diagram.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| id | <span class="proto-type proto-type-primitive">string</span><br><em class="proto-field-annotation">at least 1 char</em> | The ID of the node. |
| name | <span class="proto-type proto-type-primitive">string</span> | The name of the node. |

</section>
<p class="h4">Example</p>
```json
{
  "id": "node-1",
  "name": "Launch"
}
```

# <a id="bitdrift.public.unary.dashboards.v1.SankeyChartResponse.Link"></a>SankeyChartResponse.Link

**Source definition:** [`src/bitdrift/public/unary/dashboards/v1/api.proto#L204-L213`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/dashboards/v1/api.proto#L204-L213>)

A connection between two nodes in a diagram.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| source_node_id | <span class="proto-type proto-type-primitive">string</span><br><em class="proto-field-annotation">at least 1 char</em> | The ID of the source node. |
| target_node_id | <span class="proto-type proto-type-primitive">string</span><br><em class="proto-field-annotation">at least 1 char</em> | The ID of the target node. |
| value | <span class="proto-type proto-type-primitive">uint64</span> | The value of the link. |

</section>
<p class="h4">Example</p>
```json
{
  "source_node_id": "node-1",
  "target_node_id": "node-2",
  "value": 42
}
```

