Skip to content

Commit 9d96281

Browse files
committed
fix(graphviz): Add additional exports for Graphviz params
Fixes #92 Signed-off-by: Gordon Smith <[email protected]>
1 parent 74c77ef commit 9d96281

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/graphviz.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
import * as graphvizlib from "../build/graphviz/graphvizlib/graphvizlib";
33
import { loadWasm } from "./util";
44

5-
type Format = "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext";
6-
type Engine = "circo" | "dot" | "fdp" | "sfdp" | "neato" | "osage" | "patchwork" | "twopi";
5+
export type Format = "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext";
6+
export type Engine = "circo" | "dot" | "fdp" | "sfdp" | "neato" | "osage" | "patchwork" | "twopi";
77

8-
interface Image {
8+
export interface Image {
99
path: string;
1010
width: string;
1111
height: string;
1212
}
1313

14-
interface File {
14+
export interface File {
1515
path: string;
1616
data: string;
1717
}
1818

19-
interface Ext {
19+
export interface Ext {
2020
images?: Image[];
2121
files?: File[];
2222
wasmFolder?: string;

0 commit comments

Comments
 (0)