API REFERENCE
SankeyStreamSource
SankeyStreamSource 타입 선언과 관련 타입입니다. 선택 필드는 ?로 표시됩니다.
타입 선언
export interface SankeyStreamSource {
readonly length: number;
readonly capacity: number;
readonly dropped: number;
push(link: SankeyLinkInput): void;
pushBatch(links: ReadonlyArray<SankeyLinkInput>): void;
shift(count: number): void;
replace(links: ReadonlyArray<SankeyLinkInput>): void;
snapshot(): SankeyLinkInput[];
subscribe(listener: (event: SankeyStreamEvent) => void): () => void;
}