Skip to main content

Interface: DiagramModel

The whole schema as plain data: tables, refs, enums, groups, sticky notes and views.

Properties​

entry​

entry: string;

Entry file key, as given in the input.


enums​

enums: Enum[];

files​

files: string[];

Every file the entry reaches through use / reuse, entry first, as input keys.


groups​

groups: TableGroup[];

project?​

project?: ProjectInfo;

records?​

records?: Record<string, number>;

Row count of the Records block per table id; tables without records are absent.


refs​

refs: Ref[];

stickyNotes​

stickyNotes: StickyNote[];

tables​

tables: Table[];

views​

views: DiagramView[];