UNPKG

mermaid

Version:

Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.

34 lines (33 loc) 662 B
export interface EntityNode { id: string; label: string; attributes: Attribute[]; alias: string; shape: string; look?: string; cssClasses?: string; cssStyles?: string[]; cssCompiledStyles?: string[]; } export interface Attribute { type: string; name: string; keys: ('PK' | 'FK' | 'UK')[]; comment: string; } export interface Relationship { entityA: string; roleA: string; entityB: string; relSpec: RelSpec; } export interface RelSpec { cardA: string; cardB: string; relType: string; } export interface EntityClass { id: string; styles: string[]; textStyles: string[]; }