UNPKG

mermaid

Version:

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

25 lines (24 loc) 745 B
import type { DiagramDB } from '../../diagram-api/types.js'; import type { PacketWord } from './types.js'; export declare class PacketDB implements DiagramDB { private packet; getConfig(): { rowHeight: number; bitWidth: number; bitsPerRow: number; showBits: boolean; paddingX: number; paddingY: number; useWidth: number; useMaxWidth: boolean; }; getPacket(): PacketWord[]; pushWord(word: PacketWord): void; clear(): void; setAccTitle: (txt: string) => void; getAccTitle: () => string; setDiagramTitle: (txt: string) => void; getDiagramTitle: () => string; getAccDescription: () => string; setAccDescription: (txt: string) => void; }