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

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

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| top_k_paths | <span class="proto-type proto-type-primitive">uint64</span> | The number of top-K paths to use when rendering the Sankey chart.  Defaults to 100 if not provided. |
| compaction_target | <span class="proto-type proto-type-primitive">uint64</span> | The compaction target size for the Sankey chart. If the chart exceeds this  value, `other` nodes are inserted to reduce the chart size. Defaults to 20  if not provided. |

</section>
<p class="h4">Example</p>
```json
{
  "compaction_target": 1,
  "top_k_paths": 1
}
```

