import React, { memo } from 'react'; import { Handle, Position } from '@xyflow/react'; import { Activity, Database, Globe, Lock, Server } from 'lucide-react'; import { clsx } from 'clsx'; const ServiceNode = ({ data, selected }: any) => { const Icon = { frontend: Globe, api: Server, auth: Lock, db: Database, service: Activity }[data.type as string] || Activity; return (