All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.diagrams.state.stateRenderer-v3-unified.d.ts Maven / Gradle / Ivy

Go to download

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

There is a newer version: 11.4.0
Show newest version
import type { DiagramStyleClassDef } from '../../diagram-api/types.js';
/**
 * Get the direction from the statement items.
 * Look through all of the documents (docs) in the parsedItems
 * Because is a _document_ direction, the default direction is not necessarily the same as the overall default _diagram_ direction.
 * @param parsedItem - the parsed statement item to look through
 * @param defaultDir - the direction to use if none is found
 * @returns The direction to use
 */
export declare const getDir: (parsedItem: any, defaultDir?: string) => string;
export declare const getClasses: (text: string, diagramObj: any) => Map;
export declare const draw: (text: string, id: string, _version: string, diag: any) => Promise;
declare const _default: {
    getClasses: (text: string, diagramObj: any) => Map;
    draw: (text: string, id: string, _version: string, diag: any) => Promise;
    getDir: (parsedItem: any, defaultDir?: string) => string;
};
export default _default;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy