1 | export interface IOptions {
|
2 | name?: string;
|
3 | output?: string;
|
4 | displayLegend?: boolean;
|
5 | outputFormats?: string;
|
6 | silent?: boolean;
|
7 | dot?: {
|
8 | shapeModules: string;
|
9 | shapeProviders: string;
|
10 | shapeDirectives: string;
|
11 | colorScheme: string;
|
12 | };
|
13 | }
|
14 | export declare class DotEngine {
|
15 | template: string;
|
16 | cwd: string;
|
17 | files: {
|
18 | component: any;
|
19 | };
|
20 | paths: {
|
21 | dot: any;
|
22 | json: any;
|
23 | png: any;
|
24 | svg: any;
|
25 | html: any;
|
26 | };
|
27 | options: IOptions;
|
28 | constructor(options: IOptions);
|
29 | updateOutput(output: string): void;
|
30 | generateGraph(deps: any): Promise<any[]>;
|
31 | private cleanGeneratedFiles;
|
32 | private preprocessTemplates;
|
33 | private generateJSON;
|
34 | private escape;
|
35 | private generateDot;
|
36 | private generateSVG;
|
37 | private generateHTML;
|
38 | private generatePNG;
|
39 | }
|