@assistant-ui/elements-diagramloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. 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
'use client'import { useState } from 'react'import { Diagram } from '@/components/assistant-ui/elements/diagram'export default function DiagramDemo() {  const [zoom, setZoom] = useState(1)  return (    <Diagram      title='Architecture'      zoom={zoom}      className='w-full max-w-lg'      onZoomIn={() => setZoom(Math.min(zoom + 0.25, 3))}      onZoomOut={() => setZoom(Math.max(zoom - 0.25, 0.25))}      onReset={() => setZoom(1)}    >      <svg width='360' height='160' viewBox='0 0 360 160' role='img' aria-label='System architecture diagram' className='text-foreground'>        <rect x='8' y='54' width='96' height='52' rx='8' fill='none' stroke='currentColor' strokeWidth='1.5' />        <text x='56' y='84' textAnchor='middle' fontSize='13' fill='currentColor'>Client</text>        <rect x='132' y='54' width='96' height='52' rx='8' fill='none' stroke='currentColor' strokeWidth='1.5' />        <text x='180' y='84' textAnchor='middle' fontSize='13' fill='currentColor'>API</text>        <rect x='256' y='54' width='96' height='52' rx='8' fill='none' stroke='currentColor' strokeWidth='1.5' />        <text x='304' y='84' textAnchor='middle' fontSize='13' fill='currentColor'>Database</text>        <line x1='104' y1='80' x2='132' y2='80' stroke='currentColor' strokeWidth='1.5' />        <line x1='228' y1='80' x2='256' y2='80' stroke='currentColor' strokeWidth='1.5' />      </svg>    </Diagram>  )}