import type { ClassMember } from './members.js'; export type RelationEnd = number | 'none'; export interface ClassNode { id: string; type: string; label: string; cssClasses: string; methods: ClassMember[]; members: ClassMember[]; annotations: string[]; styles: string[]; parent?: string; link?: string; linkTarget?: string; haveCallback?: boolean; tooltip?: string; } export interface ClassRelation { id1: string; id2: string; relationTitle1: string; relationTitle2: string; title?: string; relation: { type1: RelationEnd; type2: RelationEnd; lineType: number; }; } export interface ClassNote { id: string; class: string | undefined; text: string; index: number; parent?: string; } export interface ClassInterface { id: string; label: string; classId: string; } export interface NamespaceNode { id: string; label: string; classes: Map; notes: Map; children: Map; parent?: string; explicit: boolean; } export interface StyleClass { id: string; styles: string[]; textStyles: string[]; } export interface ClassModel { type: 'class'; direction: string; classes: Map; relations: ClassRelation[]; notes: Map; namespaces: Map; interfaces: ClassInterface[]; styleClasses: Map; title?: string; accTitle?: string; accDescr?: string; }