"use client"; /* ─── SVG Node Icons ──────────────────────────────────────────────────── */ function IconInbox({ color = "currentColor", size = 20 }: { color?: string; size?: number }) { return ( ); } function IconClipboard({ color = "currentColor", size = 20 }: { color?: string; size?: number }) { return ( ); } function IconUser({ color = "currentColor", size = 20 }: { color?: string; size?: number }) { return ( ); } function IconPackage({ color = "currentColor", size = 20 }: { color?: string; size?: number }) { return ( ); } function IconCalendar({ color = "currentColor", size = 20 }: { color?: string; size?: number }) { return ( ); } function IconCheckCircle({ color = "currentColor", size = 20 }: { color?: string; size?: number }) { return ( ); } function IconReceipt({ color = "currentColor", size = 20 }: { color?: string; size?: number }) { return ( ); } /* ─── Data ────────────────────────────────────────────────────────────── */ const nodes = [ { id: "inbox", title: "Anfrage eingeht", desc: "Formular, E-Mail, Telefon", color: "#4F46E5", Icon: IconInbox }, { id: "order", title: "Auftrag erstellt", desc: "Automatisch aus Anfrage", color: "#F1B729", Icon: IconClipboard }, { id: "assign", title: "Techniker zuweisen", desc: "Basierend auf Verfügbarkeit", color: "#0D6E6E", Icon: IconUser }, { id: "material", title: "Material bestellen", desc: "Automatisch reserviert", color: "#F97316", Icon: IconPackage }, { id: "schedule", title: "Einsatz geplant", desc: "Termin nach Kapazität", color: "#3B82F6", Icon: IconCalendar }, { id: "done", title: "Arbeit erledigt", desc: "Dokumentiert via App", color: "#22C55E", Icon: IconCheckCircle }, { id: "invoice", title: "Rechnung versendet", desc: "Automatisch per Mail", color: "#8B5CF6", Icon: IconReceipt }, ]; /* ─── Arrow between nodes ─────────────────────────────────────────────── */ function Arrow() { return (
Variante 1 — Horizontal Pipeline (n8n-Stil)
Variante 2 — Vertikale Node-Kette
Variante 3 — Canvas mit Verbindungen
Drei Workflow-Visualisierungen im n8n-Stil. Jeder Node ist ein automatisierter Schritt.