# getDrillRoot

Treemap: current branch with its original identity and index, or null for the forest.

Canonical: https://chart.syidax.com/docs/methods/getDrillRoot/

<a id="definition"></a>

## Definition

```typescript
getDrillRoot(): Promise<TreemapNode | null | SunburstNode | IcicleNode | DendrogramNode>
```

Return type: `Promise<TreemapNode | null | SunburstNode | IcicleNode | DendrogramNode>`. Call the method after element registration and await its Promise result.

- [TreemapNode](https://chart.syidax.com/docs/types/TreemapNode.md) — Type definition
- [SunburstNode](https://chart.syidax.com/docs/types/SunburstNode.md) — Type definition
- [IcicleNode](https://chart.syidax.com/docs/types/IcicleNode.md) — Type definition
- [DendrogramNode](https://chart.syidax.com/docs/types/DendrogramNode.md) — Type definition

<a id="related"></a>

## Related charts

- [sy-treemap](https://chart.syidax.com/docs/components/treemap.md#method-getDrillRoot)
- [sy-sunburst](https://chart.syidax.com/docs/components/sunburst.md#method-getDrillRoot)
- [sy-icicle](https://chart.syidax.com/docs/components/icicle.md#method-getDrillRoot)
- [sy-dendrogram](https://chart.syidax.com/docs/components/dendrogram.md#method-getDrillRoot)
