package.dist.rendering-util.rendering-elements.shapes.handDrawnShapeStyles.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mermaid Show documentation
Show all versions of mermaid Show documentation
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
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;
stylesArray: [string, string][];
};
export declare const styles2Map: (styles: string[]) => Map;
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;