'use client' import { memo } from 'react' import type { NodeProps } from '@xyflow/react' interface CoreNodeData { label: string agentCount: number } /** * Central CORE orchestration node for the agent network graph. * Pulsing concentric cyan rings — the visual identity of Mission Control. */ function AgentCoreNodeInner({ data }: NodeProps & { data: CoreNodeData }) { const { label = 'CORE', agentCount = 0 } = data ?? {} return (
{/* Outer ring — slowest pulse */}
{/* Middle ring */}
{/* Inner ring */}
{/* Core circle */}
{label} {agentCount > 0 && ( {agentCount} )}
) } export const AgentCoreNode = memo(AgentCoreNodeInner)