mermaid
Version:
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
24 lines (23 loc) • 754 B
TypeScript
import type { Node } from '../../types.js';
export declare const solidStateFill: (color: string) => {
fill: string;
hachureAngle: number;
hachureGap: number;
fillWeight: number;
roughness: number;
stroke: string;
seed: number | undefined;
};
export declare const compileStyles: (node: Node) => {
stylesMap: Map<string, string>;
stylesArray: [string, string][];
};
export declare const styles2Map: (styles: string[]) => Map<string, string>;
export declare const styles2String: (node: Node) => {
labelStyles: string;
nodeStyles: string;
stylesArray: [string, string][];
borderStyles: string[];
backgroundStyles: string[];
};
export declare const userNodeOverrides: (node: Node, options: any) => any;