UNPKG

@wavequery/conductor

Version:
15 lines (14 loc) 422 B
import { GraphNode } from '@/types/interfaces/visualization'; export interface NodeComponentOptions { radius?: number; fill?: string; stroke?: string; strokeWidth?: number; labelOffset?: number; } export declare class NodeComponent { private options; constructor(options?: NodeComponentOptions); render(context: CanvasRenderingContext2D, node: GraphNode): void; private getNodeColor; }