API REFERENCE
pinNode
Sankey / Chord / Network Graph — { node, link } selection details, each nullable; null on other types. Network Graph — hold a node at a plot-local position (as a drag does); null on other types or unknown ids.
정의
pinNode(id: string, x: number, y: number): Promise<NetworkGraphPinnedNode | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
id | string | 필수 |
x | number | 필수 |
y | number | 필수 |
반환 타입: Promise<NetworkGraphPinnedNode | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.