# getSelection

The selection: the selected node's / link's detail (`null` = none); its anchors are Pro-derived, refused without a valid license.

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

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

## 정의

```typescript
getSelection(): Promise<SankeySelection | ChordSelection | NetworkGraphSelection | TreemapSelection | null | SunburstSelection | IcicleSelection | GanttSelection | ParallelCoordinatesSelection | DendrogramSelection | GeoMapSelection | Surface3DSelection | Scatter3DSelection | FlowLinesSelection | ThemeRiverSelection | Bar3DSelection>
```

반환 타입: `Promise<SankeySelection | ChordSelection | NetworkGraphSelection | TreemapSelection | null | SunburstSelection | IcicleSelection | GanttSelection | ParallelCoordinatesSelection | DendrogramSelection | GeoMapSelection | Surface3DSelection | Scatter3DSelection | FlowLinesSelection | ThemeRiverSelection | Bar3DSelection>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [SankeySelection](https://chart.syidax.com/ko/docs/types/SankeySelection.md) — 타입 정의
- [ChordSelection](https://chart.syidax.com/ko/docs/types/ChordSelection.md) — 타입 정의
- [NetworkGraphSelection](https://chart.syidax.com/ko/docs/types/NetworkGraphSelection.md) — 타입 정의
- [TreemapSelection](https://chart.syidax.com/ko/docs/types/TreemapSelection.md) — 타입 정의
- [SunburstSelection](https://chart.syidax.com/ko/docs/types/SunburstSelection.md) — 타입 정의
- [IcicleSelection](https://chart.syidax.com/ko/docs/types/IcicleSelection.md) — 타입 정의
- [GanttSelection](https://chart.syidax.com/ko/docs/types/GanttSelection.md) — 타입 정의
- [ParallelCoordinatesSelection](https://chart.syidax.com/ko/docs/types/ParallelCoordinatesSelection.md) — 타입 정의
- [DendrogramSelection](https://chart.syidax.com/ko/docs/types/DendrogramSelection.md) — 타입 정의
- [GeoMapSelection](https://chart.syidax.com/ko/docs/types/GeoMapSelection.md) — 타입 정의
- [Surface3DSelection](https://chart.syidax.com/ko/docs/types/Surface3DSelection.md) — 타입 정의
- [Scatter3DSelection](https://chart.syidax.com/ko/docs/types/Scatter3DSelection.md) — 타입 정의
- [FlowLinesSelection](https://chart.syidax.com/ko/docs/types/FlowLinesSelection.md) — 타입 정의
- [ThemeRiverSelection](https://chart.syidax.com/ko/docs/types/ThemeRiverSelection.md) — 타입 정의
- [Bar3DSelection](https://chart.syidax.com/ko/docs/types/Bar3DSelection.md) — 타입 정의

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

## 관련 차트

- [sy-treemap](https://chart.syidax.com/ko/docs/components/treemap.md#method-getSelection)
- [sy-sunburst](https://chart.syidax.com/ko/docs/components/sunburst.md#method-getSelection)
- [sy-icicle](https://chart.syidax.com/ko/docs/components/icicle.md#method-getSelection)
- [sy-dendrogram](https://chart.syidax.com/ko/docs/components/dendrogram.md#method-getSelection)
- [sy-sankey](https://chart.syidax.com/ko/docs/components/sankey.md#method-getSelection)
- [sy-chord](https://chart.syidax.com/ko/docs/components/chord.md#method-getSelection)
- [sy-network-graph](https://chart.syidax.com/ko/docs/components/network-graph.md#method-getSelection)
- [sy-theme-river](https://chart.syidax.com/ko/docs/components/theme-river.md#method-getSelection)
- [sy-parallel-coordinates](https://chart.syidax.com/ko/docs/components/parallel-coordinates.md#method-getSelection)
- [sy-geo-map](https://chart.syidax.com/ko/docs/components/geo-map.md#method-getSelection)
- [sy-flow-lines](https://chart.syidax.com/ko/docs/components/flow-lines.md#method-getSelection)
- [sy-surface-3d](https://chart.syidax.com/ko/docs/components/surface-3d.md#method-getSelection)
- [sy-bar-3d](https://chart.syidax.com/ko/docs/components/bar-3d.md#method-getSelection)
- [sy-scatter-3d](https://chart.syidax.com/ko/docs/components/scatter-3d.md#method-getSelection)
- [sy-gantt-chart](https://chart.syidax.com/ko/docs/components/gantt.md#method-getSelection)
