API REFERENCE

getPinnedNodes

Network Graph — the pinned nodes at their applied positions; empty on other types.

Definition

typescript
getPinnedNodes(): Promise<NetworkGraphPinnedNode[]>

Return type: Promise<NetworkGraphPinnedNode[]>. Call the method after element registration and await its Promise result.