UNPKG

mermaid

Version:

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

10 lines (9 loc) • 365 B
/** * Test-only: make a layered failure throw instead of falling back to dagre, so bugs cannot hide * behind the fallback. The unit-test setup (`src/tests/setup.ts`) turns it on for every spec. * * @internal */ export declare function setLayeredThrowsOnFailure(value: boolean): void; /** @internal */ export declare function layeredThrowsOnFailure(): boolean;