# selectLinkAt

Sankey / Chord / Network Graph — pin a link by index; it keeps the accent after pointer leave. A negative or unknown index releases selection. `null` on other types.

Canonical: https://chart.syidax.com/ko/docs/methods/selectLinkAt/

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

## 정의

```typescript
selectLinkAt(index: number): Promise<SankeyLinkEventDetail | ChordLinkEventDetail | NetworkGraphLinkEventDetail | DendrogramHitDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `index` | `number` | 필수 |

반환 타입: `Promise<SankeyLinkEventDetail | ChordLinkEventDetail | NetworkGraphLinkEventDetail | DendrogramHitDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [SankeyLinkEventDetail](https://chart.syidax.com/ko/docs/types/SankeyLinkEventDetail.md) — 타입 정의
- [ChordLinkEventDetail](https://chart.syidax.com/ko/docs/types/ChordLinkEventDetail.md) — 타입 정의
- [NetworkGraphLinkEventDetail](https://chart.syidax.com/ko/docs/types/NetworkGraphLinkEventDetail.md) — 타입 정의
- [DendrogramHitDetail](https://chart.syidax.com/ko/docs/types/DendrogramHitDetail.md) — 타입 정의

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

## 관련 차트

- [sy-dendrogram](https://chart.syidax.com/ko/docs/components/dendrogram.md#method-selectLinkAt)
- [sy-sankey](https://chart.syidax.com/ko/docs/components/sankey.md#method-selectLinkAt)
- [sy-chord](https://chart.syidax.com/ko/docs/components/chord.md#method-selectLinkAt)
- [sy-network-graph](https://chart.syidax.com/ko/docs/components/network-graph.md#method-selectLinkAt)
