# selectNodeAt

Sankey / Chord / Network Graph — pin a node by index; its neighbourhood stays highlighted after pointer leave. A negative or unknown index releases selection. `null` on other types.

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

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

## Definition

```typescript
selectNodeAt(index: number): Promise<SankeyNodeEventDetail | ChordNodeEventDetail | NetworkGraphNodeEventDetail | TreemapHitDetail | null | SunburstHitDetail | IcicleHitDetail | GanttHitDetail | ParallelCoordinatesHitDetail | DendrogramHitDetail | GeoMapHitDetail>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `index` | `number` | Required |

Return type: `Promise<SankeyNodeEventDetail | ChordNodeEventDetail | NetworkGraphNodeEventDetail | TreemapHitDetail | null | SunburstHitDetail | IcicleHitDetail | GanttHitDetail | ParallelCoordinatesHitDetail | DendrogramHitDetail | GeoMapHitDetail>`. Call the method after element registration and await its Promise result.

- [SankeyNodeEventDetail](https://chart.syidax.com/docs/types/SankeyNodeEventDetail.md) — Type definition
- [ChordNodeEventDetail](https://chart.syidax.com/docs/types/ChordNodeEventDetail.md) — Type definition
- [NetworkGraphNodeEventDetail](https://chart.syidax.com/docs/types/NetworkGraphNodeEventDetail.md) — Type definition
- [TreemapHitDetail](https://chart.syidax.com/docs/types/TreemapHitDetail.md) — Type definition
- [SunburstHitDetail](https://chart.syidax.com/docs/types/SunburstHitDetail.md) — Type definition
- [IcicleHitDetail](https://chart.syidax.com/docs/types/IcicleHitDetail.md) — Type definition
- [GanttHitDetail](https://chart.syidax.com/docs/types/GanttHitDetail.md) — Type definition
- [ParallelCoordinatesHitDetail](https://chart.syidax.com/docs/types/ParallelCoordinatesHitDetail.md) — Type definition
- [DendrogramHitDetail](https://chart.syidax.com/docs/types/DendrogramHitDetail.md) — Type definition
- [GeoMapHitDetail](https://chart.syidax.com/docs/types/GeoMapHitDetail.md) — Type definition

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

## Related charts

- [sy-treemap](https://chart.syidax.com/docs/components/treemap.md#method-selectNodeAt)
- [sy-sunburst](https://chart.syidax.com/docs/components/sunburst.md#method-selectNodeAt)
- [sy-icicle](https://chart.syidax.com/docs/components/icicle.md#method-selectNodeAt)
- [sy-dendrogram](https://chart.syidax.com/docs/components/dendrogram.md#method-selectNodeAt)
- [sy-sankey](https://chart.syidax.com/docs/components/sankey.md#method-selectNodeAt)
- [sy-chord](https://chart.syidax.com/docs/components/chord.md#method-selectNodeAt)
- [sy-network-graph](https://chart.syidax.com/docs/components/network-graph.md#method-selectNodeAt)
- [sy-geo-map](https://chart.syidax.com/docs/components/geo-map.md#method-selectNodeAt)
