"use client";
import { useEffect, useState } from "react";
import { Mic2, Drum, Activity, Music, Cpu, FileAudio } from "lucide-react";
export default function ExtractionFlowDiagram({ isProcessing, progress }: { isProcessing: boolean, progress: number }) {
const [mounted, setMounted] = useState(false);
useEffect(() => {
setMounted(true);
}, []);
if (!mounted) return null;
return (
{/* Dynamic Background Glows */}
{/* SVG CONNECTING LINES */}
{/* NODES LAYER */}
{/* TOP NODE */}
{/* MIDDLE NODE */}
TARGET(engine)
{isProcessing ? `processing.invoke(${progress}%)` : 'engine.ready()'}
{/* BOTTOM NODES */}
Vocals
{isProcessing &&
}
);
}