import { Handle, Position, type NodeProps } from '@xyflow/react' /** One box in the access graph: identities show their kind, so "alice" the user and "alice" the entity differ. */ export function GraphNodeCard({ data }: NodeProps) { const { label, kind } = data as { label: string; kind?: string } return (
{kind && {kind}} {label}
) }