mermaid
Version:
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
15 lines (14 loc) • 726 B
TypeScript
import type { FlowChartStyleOptions } from '../flowchart/styles.js';
/**
* Swimlanes reuses the flowchart styles and appends the lane-specific rule.
*
* As a "layout-variant diagram" (see `swimlanesDiagram.ts` and diagrams/CLAUDE.md),
* swimlanes deliberately consumes flowchart's public `styles` export rather than
* duplicating it — the one sanctioned exception to the cross-diagram isolation rule.
*
* The swimlane cluster shape draws its own lane border, so the generic
* `.cluster rect` border is suppressed by matching its stroke to the cluster
* background — theme-adaptive, rather than a hardcoded colour.
*/
declare const getStyles: (options: FlowChartStyleOptions) => string;
export default getStyles;