type PropertiesType = { [key: string]: string | number | number[] | string[]; }; interface VertexOrEdge { id?: string | number; label?: string; properties?: PropertiesType; } export interface GrootDataType { id: string; label: string; inV?: VertexOrEdge; outV?: VertexOrEdge; properties?: PropertiesType; } export interface InteranctiveDataType { elementId: string; startNodeElementId?: string; endNodeElementId?: string; key?: string; labels?: string[]; type?: string; data?: { [key: string]: string | string[] | { [key: string]: string; }; }; } export {};