mermaid
Version:
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
10 lines (9 loc) • 395 B
TypeScript
import type { LayoutData } from '../../types.js';
export type SwimlaneDirection = 'TB' | 'LR' | 'BT' | 'RL';
/**
* Pure swimlane layout core shared by browser rendering and DDLT.
*
* The browser measures DOM nodes before this runs; DDLT injects captured sizes
* before calling the same function.
*/
export declare function runSwimlaneLayoutCore(data4Layout: LayoutData): SwimlaneDirection;