API REFERENCE

getSelection

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

정의

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로 기다리세요.