import { Group, Vector3Tuple } from "three"; import { Styles } from "../../styles/theme"; interface CreatePathProps { data: Vector3Tuple[]; segmentIndexes: number[]; style: Styles; divWidthHeight: { width: number; height: number; }; continuousSegments?: boolean; drawArcs?: boolean; skipLastLineDraw?: boolean; } /** * Creates a group of line meshes to create a 'pulse path' that reflects the element data */ export default function createPath({ data, segmentIndexes, style: { path: { color, lineWidth }, pathCurrentSegment: { lineWidth: currentSegmentLineWidth }, }, divWidthHeight: { width, height }, continuousSegments, drawArcs, skipLastLineDraw, }: CreatePathProps): { segments: Group; }; export {};