Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { EChartsSankeyChart } from "@/components/evilcharts/charts/echarts-sankey-chart"const data = { nodes: [{ name: "Visitors" }, { name: "Pricing" }, { name: "Docs" }, { name: "Signup" }, { name: "Churned" }], links: [ { source: 0, target: 1, value: 420 }, { source: 0, target: 2, value: 310 }, { source: 1, target: 3, value: 180 }, { source: 1, target: 4, value: 60 }, { source: 2, target: 3, value: 150 }, { source: 2, target: 4, value: 90 }, ],}const config = { Visitors: { label: "Visitors", color: "hsl(var(--chart-1))" }, Pricing: { label: "Pricing", color: "hsl(var(--chart-2))" }, Docs: { label: "Docs", color: "hsl(var(--chart-3))" }, Signup: { label: "Signup", color: "hsl(var(--chart-4))" }, Churned: { label: "Churned", color: "hsl(var(--chart-5))" },}export default function SankeyChartDemo() { return ( <EChartsSankeyChart data={data} config={config} className="h-[360px] w-full max-w-xl"> <EChartsSankeyChart.Node isClickable> <EChartsSankeyChart.NodeLabel position="outside" showValues /> </EChartsSankeyChart.Node> <EChartsSankeyChart.Link variant="gradient" /> <EChartsSankeyChart.Tooltip /> </EChartsSankeyChart> )}