forked from naddison36/sol2uml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
converter.d.ts
11 lines (11 loc) · 1.03 KB
/
converter.d.ts
1
2
3
4
5
6
7
8
9
10
11
import { ClassOptions } from './dotGenerator';
import { UmlClass } from './umlClass';
export declare type OutputFormats = 'svg' | 'png' | 'dot' | 'all';
export declare const generateFilesFromUmlClasses: (umlClasses: UmlClass[], outputBaseName: string, outputFormat?: OutputFormats, outputFilename?: string, clusterFolders?: boolean, classOptions?: ClassOptions) => Promise<void>;
export declare const convertUmlClassesToSvg: (umlClasses: UmlClass[], clusterFolders?: boolean) => Promise<string>;
export declare function convertUmlClasses2Dot(umlClasses: UmlClass[], clusterFolders?: boolean, classOptions?: ClassOptions): string;
export declare function addAssociationsToDot(umlClasses: UmlClass[], classOptions?: ClassOptions): string;
export declare function convertDot2Svg(dot: string): any;
export declare function writeDot(dot: string, dotFilename?: string): void;
export declare function writeSVG(svg: any, svgFilename?: string, outputFormats?: OutputFormats): Promise<void>;
export declare function writePng(svg: any, filename: string): Promise<void>;