export type DiagramPort = { id: number; type: string; name: string; options?: Record; inGroupNodePortId?: number; };